0.0.10 • Published 9 years ago
glg-hook-installer v0.0.10
GLG Git Hooks
Install the required local GLG Git Hooks
What Is It
GLG requires special tags to be present on all git commits. GitHub does not support an elegant way to install pre-commit hooks. To work around this limitation GLG requires that all developers run this git hook installer.
How does it work
- Listen for FSEvents on .git directories
- Determine if the repo has references to GLG
- Install our standard pre-commit hooks
- Ping GLG to verify the developer has installed this package
commit-msg Hook
The commit-msg
hook validates that the commit message contains the
required glg tags and rejects invalid commit logs missing these tags.
Current tags:
- for:$email_address
Github Event Listener
Another component to this process is the GitHub event listener which listens for all git commit messages and injects those messages into the database for analytics.
Caveat
This package assumes the developer is running on a Apple Macintosh