Project

General

Profile

Advcanced Integration Git 1.9.1 -> Redmine 3.1.2

Added by Tobias Arndt about 9 years ago

Hi guys,

Anyone using Git 1.9.1 integrated in Redmine 3.1.2 ? I'm trying to setup a this since 2 days reading posts, blogs , manuals how-tos - no success so far. The whole setup is easy for me with Subversion, with Git things are getting complicated so far... I'm not very familiar with git and I hope someone can point me into the right direction. I'm confused by different how-tos and I guess I have a lack in Apache configuration and Git Know-How. I'm using Apache 2.4.7 with Passenger.

My goals:

1. Automatic Git repository creation if a new redmine project is created within the webinterface. Im using cronjobs/reposman.rb and the output says the repository is created. I already tried different repository creation options. --url /opt/redmine/git-repos and --url http://redminehost.local/projects/test2
reposman.rb -r localhost --scm git --svn-dir /opt/redmine/git-repos --owner redmine --group redmine --url /opt/redmine/git-repos --key=18923490813 --verbose

2. If I click on the project repository tab within the Redmine Webinterface I'm getting a 404 error. That's where I'm stuck right now. Apache error logs say "stderr: fatal: Not a git repository"

3. Using TortoiseGIT and point it to http://redminehost.local/projects/<projectid> in order to checkout and checkin. For authentication the Redmine Account should be used (Redmine.pm)

4. Gitolite / SSL-Public Keys are not the goal so far. Focus right now is a simple setup/usage with TortoiseGIT under Windows at the expense of security.

Best regards