Project

General

Profile

Update repositories automatically

Added by Andrew Burcin about 14 years ago

I often use the "Fixes #XXX" format in git commits. However, redmine is only aware of new commits after I click on the repositories tab of a project. Until then, the commits don't show on the ticket they fix.

I'm sure there must be a way to regularly get all project repos for changes, either via cron or via git commit hooks (Im using gitolite on the same box, so it is a single user commiting).

It would be great if someone could point me to existing documentation for this, or help me to figure out the best way to implement this.


Replies (1)

RE: Update repositories automatically - Added by Felix Schäfer about 14 years ago

You can either go the cron way (see FAQ) or post-receive hook, though for the second choice, I'd advise against the solution described in the FAQ (as it will try to fetch new commits for all repositories defined in the redmine installation, rather see #3667 for example for alternatives.

    (1-1/1)