ericpaulbishop/redmine_git_hosting — Issue #133: Question: redmine_git_hosting with Redmine.pm 
Author: Jehreg
Created: 2011-12-10 22:13:27+00:00
State: open

I *think* I need Redmine.pm in order to have authenticated access to the repositories using HTTP/HTTPS and Smart HTTP.

I have a site called git.ircan.gc.ca with Apache using Redmine.pm for authenticated access. Here's the catch:

redmine_git_hosting specifically calls the Git repositories with myproject.git; I imagine that's because Gitolite also adds a .git at the end of any repo found in the gitolite.conf file.

BUT here's a an extract of the Redmine.pm comments:

>Make sure that all the names of the repositories under /var/www/git/ match
>exactly the identifier for some project: /var/www/git/myproject.git won't work,
>due to the way this module extracts the identifier from the URL.
>/var/www/git/myproject will work, though. You can put both bare and non-bare
>repositories in /var/www/git, though bare repositories are strongly
>recommended.

So, even when my repositories are stored correctly in gitolite, I cannot access them via HTTP using Redmine.pm authentication.

How do others do it, if not using Redmine.pm ? The installation instructions are rather sketchy when it comes to HTTP/HTTPS access to the repositories constructed and managed via redmine_git_hosting. It bascally says: "Get Smart HTTP, install it, and it works."