Commit wiki markup and DVCS
Added by John Koleszar over 15 years ago
We have a couple instances where we associate multiple git repositories with a single issue tracker. This is done by defining a redmine project for each of the repos, and one "super project." The issue tracker is disabled on the repo projects, and the repo browser is disabled on the super project.
This leads to the problem that you can't write wiki markup (eg commit:0123abcde) to link to commits, because the repos are associated with different redmine projects. However, with Git (and other DVCSs) the commit ID is globally unique. I found the code in app/helpers/application_helper.rb that generates the markup, and I see that it gets the list of changesets from the current project object. Is there another object I could look at here to find the changeset in ANY project?
Thanks,
John