I am considering moving from svn and Trac to git and Redmine. I\'m just wondering what everyone\'s experience is of this. How well does git integrate with Redmine?
I
I stumbled upon this thread when searching on how to integrate Redmine with Gitorious properly. Since we managed to achieve this and now have some long (or medium) term expierience with it, I thought I'd share it.
We took a different approach than cronjobs, since it was a bit too inflexible for us. We also refer to other tutorials for the installation part of Redmine and Gitorious in our blog post:
http://codepool.at/blog/archives/12
We are using this system for about 5 months now and are pretty happy with it. The only "issue" is that everytime you create a new project in Redmine, you have to run some terminal command so you can connect the project to the repository. Since we are not creating projects en masse, it is just the right approach for us.
I hope this helps!
Hello I wrote a guide for this some time ago. The guide installs a clean git and a clean redmine. No other extra software needed. It even lets you handle accounts within redmine though http git.
You can find it here: http://codersopinion.com/blog/install-redmine-with-automated-git-on-centos-redhat/
Because I wrote this guide a while ago the versions might not match but it should still work with current versions.
I built a system last year which used Gitorious and Redmine. You can integrate git directly with Redmine, no problems there but I would strongly suggest you have a look at Gitorious as well as the tool to control your repositories and follow their events. It can also be used to control access to the repositories etc.
Integrating Gitorious and Redmine is pretty simple. I wrote a script that unhashes the Gitorious paths. They are saved in the file system hashed when you use Gitorious so linking those repositories to Redmine would be a bit complex otherwise. My script makes links to those repositories in a much more readable format so linking them to Redmine is really simple, and only required once when you create the project. You can find the script here.
Basically you don't need to worry about the integration a lot since Redmine supports git out-of-box - sort of. Of course you need to have the git service running on the server where you "production" repositories are (those that you link to Redmine, do your automated tests etc), but this is also solved with Gitorious.
I actually wrote my Bachelor's thesis about this issue. It's already slightly outdated since both Gitorious and Redmine have developed a lot, but I could make it available if you want to read it. The thesis explains what needs to be done (some of the problems have already been solved by the two tools) and it also includes a continuous integration environment which automatically builds packages when users push changes to the repositories and puts them into a reprepro repository where testers etc. can easily download them with a web browser.
Redmine had some issues last year, especially the lack of sub-projects was a bit annoying but that has been rectified in the 0.9 version. Also the plug-ins should be tested well before taken into production use, some just don't mix well and some don't work at all (probably a clash of Redmine version vs. plug-in version). All in all, though, Redmine works pretty well and should be easily expandable to your needs. Support for Gitorious is superb, for Redmine a bit more sporadic (damn French?) but both tools have large enough user bases that they should be safe bets.
Git is a very good version control tool especially for agile teams. It takes some learning and you should write a guide on how to use it for your developers to get the most out of it, but once you learn it, it's extremely productive. We wrote our own which just states the normal working process. Branching, merging etc. should be explained, for instance working on your personal repository's master branch is not such a good idea. Always create a branch and work there. When you pull changes to your master branch from some other repository, it's easier to handle the merging this way - and you won't accidentally push something you didn't mean to.
it is a great match due to flexibility in those nice two platform
please take a look at my blogs ALM – From requirement to implementation and deployment and ALM – redmine integration with git, well done
Anyway I am happy with the integration.
One thing I noticed is it can't support multi git repositories, see feature http://www.redmine.org/issues/779
Also when you setup the git repository for first time, it can't be changed, be aware of this