[rancid] Rancid 3.1.99 Alpha git integration issues.

heasley heas at shrubbery.net
Wed Mar 11 21:42:04 UTC 2015


Wed, Feb 18, 2015 at 01:01:25PM +0000, Thomas Greer:
> >>> I’ve recently (read today) installed the above alpha in anticipation of the git support. I’ve setup rancid a few times before, but I’m struggling with the git stuff.
> >>> 
> >>> When I run rancid-cvs after a fresh install, I get a load of errors.
> >>> 
> >>> -bash-4.1$ ./bin/rancid-cvs
> >>> error: Malformed value for push.default: simple
> >>> error: Must be one of nothing, matching, tracking or current.
> >>> fatal: bad config file line 6 in /usr/local/rancid//.gitconfig
> >>> error: Malformed value for push.default: simple
> >>> error: Must be one of nothing, matching, tracking or current.
> >>> fatal: bad config file line 6 in /usr/local/rancid//.gitconfig
> >> 
> >> entirely possible that i've screwed-up the git support; i'll have to re-test
> >> it.  but, this error is odd.  rancid-cvs doesnt create .gitconfig itself.
> >> so, what is the source of that file and thus this error?
> >> 
> >>> fatal: Not a git repository (or any of the parent directories): .git

	...

> >>> fatal: Not a git repository (or any of the parent directories): .git
> >>> 
> >>> My rancid.conf contains:
> >>> 
> >>> # Select which RCS system to use, "cvs" (default), "svn" or "git".  Do not
> >>> # change this after CVSROOT has been created with rancid-cvs.  Changing between
> >>> # these requires manual conversions.
> >>> RCSSYS=git; export RCSSYS
> >>> 
> >>> The README and UPGRADING mention nothing specific to initialising git other than to run rancid-cvs.
> >>> 
> >>> Running on Centos 6.6
> >>> git version 1.7.1

I'm not certain why this error occurs; it occurs with git 1.7, but not git
2.3.  Is it reasonable to just upgrade your installation of git?


More information about the Rancid-discuss mailing list