ericpaulbishop/redmine_git_hosting — Issue #117: gitolite.conf not correctly updated while Repository.fetch_changesets is running
Author: bakerjonas
Created: 2011-11-07 09:29:19+00:00
State: open

I recently converted a largeish project, with 1.5 million lines of code and 15 years worth of commit logs, from SVN + Trac, to git + redmine. In the process it became painfully evident that there is a severe performance problem with Repository.fetch_changesets: The initial run took no less than 52 hours!!! After the first run, it now takes "only" 2-3 minutes to chew through all projects. I know the performance of fetch_changesets has been a topic of discussion at the redmine site, and I strongly feel that this issue must be somehow resolved. The problem is that I don't know if this is an issue of redmine_git_hosting or redmine.

During the initial update we noticed a nasty problem: While fetch_changesets was running, gitolite.conf was not updated correctly for any project: Sometimes users were correctly added or removed to projects (we have about 100 different projects), but most of the time they were not. We now have a mess with projects where redmine thinks a user is member, but gitolite does not, and vice versa.