[rancid] Rancid 3.1.99 Alpha git integration issues.

Thomas Greer tgreer at tsone.net.uk
Sun Feb 8 07:37:22 UTC 2015


> On 8 Feb 2015, at 06:22, heasley <heas at shrubbery.net> wrote:
> 
> 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
> 


Either make install, or rancid-cvs. I rm’d the /usr/local/rancid directory before running make install
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 842 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://www.shrubbery.net/pipermail/rancid-discuss/attachments/20150208/3c23423a/attachment.sig>


More information about the Rancid-discuss mailing list