[rancid] Rancid 3.1.99 Alpha git integration issues.
Thomas Greer
tgreer at tsone.net.uk
Thu Mar 12 18:42:59 UTC 2015
Is the following output expected then?
./bin/rancid-cvs
Initialized empty Git repository in /usr/local/rancid/var/CVS/lon/
Initialized empty Git repository in /usr/local/rancid/var/lon/.git/
warning: You appear to have cloned an empty repository.
[master (root-commit) 523f48d] new
1 files changed, 2 insertions(+), 0 deletions(-)
create mode 100644 configs/.gitignore
No refs in common and none specified; doing nothing.
Perhaps you should specify a branch such as 'master'.
fatal: The remote end hung up unexpectedly
error: failed to push some refs to '/usr/local/rancid/var/CVS/lon'
[master 2638f0b] new
0 files changed, 0 insertions(+), 0 deletions(-)
create mode 100644 router.db
No refs in common and none specified; doing nothing.
Perhaps you should specify a branch such as 'master'.
fatal: The remote end hung up unexpectedly
error: failed to push some refs to '/usr/local/rancid/var/CVS/lon'
Initialized empty Git repository in /usr/local/rancid/var/CVS/gs1/
Initialized empty Git repository in /usr/local/rancid/var/gs1/.git/
warning: You appear to have cloned an empty repository.
[master (root-commit) 523f48d] new
1 files changed, 2 insertions(+), 0 deletions(-)
create mode 100644 configs/.gitignore
No refs in common and none specified; doing nothing.
Perhaps you should specify a branch such as 'master'.
fatal: The remote end hung up unexpectedly
error: failed to push some refs to '/usr/local/rancid/var/CVS/gs1'
[master 2638f0b] new
0 files changed, 0 insertions(+), 0 deletions(-)
create mode 100644 router.db
No refs in common and none specified; doing nothing.
Perhaps you should specify a branch such as 'master'.
fatal: The remote end hung up unexpectedly
error: failed to push some refs to '/usr/local/rancid/var/CVS/gs1'
Initialized empty Git repository in /usr/local/rancid/var/CVS/tal/
Initialized empty Git repository in /usr/local/rancid/var/tal/.git/
warning: You appear to have cloned an empty repository.
[master (root-commit) 523f48d] new
1 files changed, 2 insertions(+), 0 deletions(-)
create mode 100644 configs/.gitignore
No refs in common and none specified; doing nothing.
Perhaps you should specify a branch such as 'master'.
fatal: The remote end hung up unexpectedly
error: failed to push some refs to '/usr/local/rancid/var/CVS/tal'
[master 2638f0b] new
0 files changed, 0 insertions(+), 0 deletions(-)
create mode 100644 router.db
No refs in common and none specified; doing nothing.
Perhaps you should specify a branch such as 'master'.
fatal: The remote end hung up unexpectedly
error: failed to push some refs to '/usr/local/rancid/var/CVS/tal'
> On 12 Mar 2015, at 18:23, heasley <heas at shrubbery.net> wrote:
>
> Thu, Mar 12, 2015 at 11:09:00AM +0000, Thomas Greer:
>> ?I tried changing the line in rancid-cvs to say matching instead of simple... still many errors, suspect it's not just a simple swap out a keyword fix.
>
> It does work for me; git 1.7.10.4. make sure that you start with a clean
> slate, including ~/.gitconfig.
>
> Thanks Per Carlson.
>
>> ________________________________
>> From: Per Carlson <pelle at hemmop.com>
>> Sent: 11 March 2015 22:30
>> To: heasley
>> Cc: Thomas Greer; rancid-discuss at shrubbery.net
>> Subject: Re: [rancid] Rancid 3.1.99 Alpha git integration issues.
>>
>> Hi.
>>
>> On 11 March 2015 at 22:42, heasley <heas at shrubbery.net<mailto:heas at shrubbery.net>> wrote:
>>
>> I'm not certain why this error occurs; it occurs with git 1.7, but not git
>> 2.3.
>>
>> ?The default push mode did change in git 2.0.0 (https://github.com/git/git/blob/master/Documentation/RelNotes/2.0.0.txt#L7-L23). Before 2.0.0 it was "matching" but from 2.0.0 it's "simple". The error occurs when using a git version less than 1.7.11 (when "simple" where introduced, see https://github.com/git/git/blob/master/Documentation/RelNotes/1.7.11.txt#L9-L14).?
>>
>> To fix that a compatible mode must be used, like "current" (or "matching"). This can be set by running "git config push.default <mode>" or manually editing the repository git config file (please don't set this globally).
>>
>> For more information of the available modes (and what they do), search for "push.default" in http://git-scm.com/docs/git-config.
>>
>> --
>> Pelle
>>
>> Research is what I'm doing when I don't know what I'm doing.
>> - Wernher von Braun
-------------- 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/20150312/ff1b8b64/attachment.sig>
More information about the Rancid-discuss
mailing list