On each commit of Ruby's Git repository, following git hooks are triggered:
- Verify committer email from
SVN_ACCOUNT_NAMEassociated to SSH key used forgit push - Reject merge commits (ask @mame about why)
- Send notification to [email protected]
- Commit automatic styling:
- remove trailing spaces
- append newline at EOF
- translit ChangeLog
- expand tabs
- Update version.h if date is changed
- Request Redmine to fetch changesets
- Mirror cgit to GitHub
- Notify committer's Slack
/data/svn/repos/ruby: SVN repository of Rubyhooks/post-commit: Run/home/git/ruby-commit-hook/hooks/post-commit.sh
/data/git/ruby.git: Bare Git repository of rubyhooks/post-receive:- Update
/home/git/ruby-commit-hook - Run
/home/git/ruby-commit-hook/hooks/post-receive.sh
- Update
/data/git/ruby-commit-hook.git: Bare Git repository of ruby-commit-hook/home/git/ruby-commit-hook: Cloned Git repository of ruby-commit-hook
- There's a symlink
/var/git->/data/git. - User
git's$HOMEis NOT/home/gitbut/var/git.