[rancid] Rancid 3.1.99 Alpha git integration issues.

heasley heas at shrubbery.net
Sun Feb 8 04:22:57 UTC 2015


Sat, Feb 07, 2015 at 01:31:54PM +0000, Thomas Greer:
> Hi All
> 
> 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
> fatal: Not a git repository (or any of the parent directories): .git
> fatal: Not a git repository (or any of the parent directories): .git
> fatal: Not a git repository (or any of the parent directories): .git
> fatal: Not a git repository (or any of the parent directories): .git
> 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
> fatal: Not a git repository (or any of the parent directories): .git
> fatal: Not a git repository (or any of the parent directories): .git
> fatal: Not a git repository (or any of the parent directories): .git
> fatal: Not a git repository (or any of the parent directories): .git
> fatal: Not a git repository (or any of the parent directories): .git
> fatal: Not a git repository (or any of the parent directories): .git
> 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
> fatal: Not a git repository (or any of the parent directories): .git
> fatal: Not a git repository (or any of the parent directories): .git
> fatal: Not a git repository (or any of the parent directories): .git
> fatal: Not a git repository (or any of the parent directories): .git
> 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
> 
> Any help would be appreciated with this.
> 
> Thanks
> 
> Thomas



> _______________________________________________
> Rancid-discuss mailing list
> Rancid-discuss at shrubbery.net
> http://www.shrubbery.net/mailman/listinfo/rancid-discuss



More information about the Rancid-discuss mailing list