Project

General

Profile

Getting associated revisions to show up...

Added by Jesse Proudman almost 14 years ago

I feel like I'm missing something obvious, but with our git repo hooks, associated revisions aren't showing up. Google is leaving me guessing. What's the magic?


Replies (6)

RE: Getting associated revisions to show up... - Added by Felix Schäfer almost 14 years ago

1. Make sure you have the required syntax in the commit message, 2. Make redmine update it's knowledge of those commit message, per default this happens only when you visit the repository tab in a project, other options are cron or post-commit hooks.

RE: Getting associated revisions to show up... - Added by Jesse Proudman almost 14 years ago

I'm pretty sure I'm using the required syntax. I added # to the list of syntax statements, and when I view the commit itself, I can see it linked back to the issue.

We also added a post commit hook to run the updates. Even after those run, we still don't see the associated revisions show up...

RE: Getting associated revisions to show up... - Added by Felix Schäfer almost 14 years ago

Ok, so adding # to the list of statements would mean you'd need # #123 in the commit log :-) if you want every #123 to reference the ticket, you need to change the setting to *, see RedmineSettings.

RE: Getting associated revisions to show up... - Added by Felix Schäfer almost 14 years ago

(oh, and it will only reference issues on fetching the logs, so you will need to delete the repository from the project and re-add it for old logs to reference tickets)

RE: Getting associated revisions to show up... - Added by Jesse Proudman almost 14 years ago

Will give it a shot.

Thanks

- Jesse

RE: Getting associated revisions to show up... - Added by Jānis Elmeris over 8 years ago

I've got the same problem. Did you get it solved?

OK, I misread the reply. '*' worked.

    (1-6/6)