bitboxer/git-commit-notifier — Issue #123: gitweb link_files only works for top-level projects
Author: tfnico
Created: 2011-12-29 14:50:30+00:00
State: open

We sometimes like to organize our repositories into folders, but the notifier doesn't produce links for these correctly.

Example-wise, consider a directory that contain three git repos like this:

* fizzle.git
* goggle.git
* bubble.git

The respective urls for these are:

* https://webserver.com/gitweb/?p=fizzle.git
* https://webserver.com/gitweb/?p=goggle.git
* https://webserver.com/gitweb/?p=bubble.git

The git-commit-notifier produces links to these repos just fine.

However, if we want to organize fizzle.git and goggle.git together in a directory "funky" like this:

* funky/fizzle.git
* funky/goggle.git
* bubble.git

.. git-commit-notifier keeps on generating links the way they were before, instead of how they should be:

* https://webserver.com/gitweb/?p=funky/fizzle.git
* https://webserver.com/gitweb/?p=funky/goggle.git
* https://webserver.com/gitweb/?p=bubble.git