Project

General

Profile

Bug #6922

Updated by Brett Smith over 8 years ago

As a matter of practice, we require at least git 1.7.10.    CentOS 6 ships with git 1.7.2.    There are at least two git-related things that don't work with 1.7.2: 

 * Our Gitolite installation instructions tell you to set @git config push.default simple@.    "simple" is not an accepted value for this setting on 1.7.2. 
 * The Commit class in API server runs @git check-ref-format --allow-onelevel@.    git 1.7.2 does not have the @--allow-onelevel@ switch, causing API operations that require a git lookup to fail. 

 I think we can get away without setting @push.default@, or setting it to @current@.    @--allow-onelevel@ is maybe slightly trickier, but we might want to investigate if there's a 1.7.2-compatible way to do the same thing. 

 If we decide it's reasonable to do this, support 1.7.2: make the changes, and document that we've tested with 1.7.2. 

 If the required changes aren't reasonable: document that we should also update require 1.7.10.    Unfortunately, it seems like the install guides, and maybe Rails package dependencies, best way to note the lower version requirement. get git 1.7.10 on CentOS 6 right now is from rpmforge.

Back