Mailing List Archive

git problem
I'm trying to get the head source so I can try the patch Ram mentioned
in his email but without success. I have not used git/cogito before.

The output below is from a cygwin session but I get similar results on
Ubuntu as well (a bit more of the html ending with 'as an object to
pull'). So whatever is wrong is common to my cygwin and Ubuntu setup.

Thanks,
Andrew

$ cg clone -s http://www.kernel.org/pub/scm/boot/syslinux/syslinux.git
Initialized empty Git repository in .git/
cg-init: Note that some files were not added due to the default ignore
rules.
cg-init: You can list them by invoking 'cg-status -x'.
Fetching head...
Fetching objects...
error: Could not interpret <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2
Final//EN
">
<html>
<head>
<title>Index of /pub/scm/boot/syslinux/syslinux.git</title>
</head>
<body>
<h1>Index of /pub/scm/boot/syslinux/syslinux.git</h1>
<pre><a href="?C=N;O=D">Name</a> <a
href="?C=M;O=A">Last modi
fied</a> <a href="?C=S;O=A">Size</a> <hr><a
href="/pub/scm/boot/syslinux/"
>Parent Directory</a> -
<a href="branches/">branches/</a> 25-Sep-2005 21:56 -
<a href="hooks/">hooks/</a> 25-Sep-2005 21:56 -
<a href="info/">info/</a> 13-Apr-2007 23:09 -
<a href="objects/">objects/</a> 13-Apr-2007 23:08 -
<a href="refs/">refs/</a> 25-Sep-2005 21:56 -
<a href="remotes/">remotes/</a> 25-Sep-2005 21:56 -
<a href="HEAD">HEAD</a> 10-Apr-2007 23:19 41
<a href="description">description</a> 25-Sep-2005 22:34 26
<hr></pre>
progress: 0 objects, 0 bytes
cg-fetch: objects fetch failed

_______________________________________________
SYSLINUX mailing list
Submissions to SYSLINUX@zytor.com
Unsubscribe or set options at:
http://www.zytor.com/mailman/listinfo/syslinux
Please do not send private replies to mailing list traffic.
Re: git problem [ In reply to ]
Cristi wrote:
> On 4/18/07, Andrew Goodbody <agoodbody@itronix.co.uk> wrote:
> [...]
>> >
>> > You cannot fetch directly from the gitweb (HTML) interface, try :
>> >
>> > git clone git://git.kernel.org/pub/scm/boot/syslinux/syslinux.git
>> >
>> > This works fine on my cygwin installation using git 1.5.0.3
>>
>> Well somebody should fix http://syslinux.zytor.com/devel.php in that
>> case as that is where I got the directions from.
>>
>> The command line you gave also fails for me with:
>> fatal: The remote end hung up unexpectedly
>>
>> It looks like it must be a network/firewall issue here at work. Does
>> anyone know the default ports used by git so I can check if they are
>> blocked or not?
>
> Well, I think the page is right, I just tried a 'git clone
> http://www.kernel.org/pub/scm/boot/syslinux/syslinux.git' and it
> worked.
> Git port is 9481/tcp; maybe you have a proxy or the git/cogito
> version is not recent enough ?
>
On Cygwin I am using the latest binary install packages, git is
1.5.0.3 so they should be OK. No proxy that I am aware of.

I found a typo in my git command line and now it gets further but still
does not complete. This does not look like a network issue to me but
then I don't know what it could be either.

Andrew

$ git clone git://git.kernel.org/pub/scm/boot/syslinux/syslinux.git
Initialized empty Git repository in /cygdrive/h/src/syslinux/syslinux/.git/
remote: Generating pack...
remote: Done counting 8727 objects.
remote: Deltifying 8727 objects.
remote: 100% (8727/8727) done
Indexing 8727 objects.
remote: Total 8727 (delta 5801), reused 8143 (delta 5217)
100% (8727/8727) done
Resolving 5801 deltas.
100% (5801/5801) done
: not a valid SHA1f63cfeb84e9bb1243df03808c2fff
fatal: Not a valid object name HEAD


_______________________________________________
SYSLINUX mailing list
Submissions to SYSLINUX@zytor.com
Unsubscribe or set options at:
http://www.zytor.com/mailman/listinfo/syslinux
Please do not send private replies to mailing list traffic.
Re: git problem [ In reply to ]
On Thu, Apr 19, 2007 at 10:47:14AM +0100, Andrew Goodbody wrote:
> Cristi wrote:
> > On 4/18/07, Andrew Goodbody <agoodbody@itronix.co.uk> wrote:
> > [...]
> >> >
> >> > You cannot fetch directly from the gitweb (HTML) interface, try :
> >> >
> >> > git clone git://git.kernel.org/pub/scm/boot/syslinux/syslinux.git
> >> >
> >> > This works fine on my cygwin installation using git 1.5.0.3
> >>
> >> Well somebody should fix http://syslinux.zytor.com/devel.php in that
> >> case as that is where I got the directions from.
> >>
> >> The command line you gave also fails for me with:
> >> fatal: The remote end hung up unexpectedly

This happens sometimes with kernel.org. Just retry the operation after
some time. I don't know if git pull would work on a git clone error, but
it's worth trying instead of a full clone.


> >>
> >> It looks like it must be a network/firewall issue here at work. Does
> >> anyone know the default ports used by git so I can check if they are
> >> blocked or not?
> >
> > Well, I think the page is right, I just tried a 'git clone
> > http://www.kernel.org/pub/scm/boot/syslinux/syslinux.git' and it
> > worked.
> > Git port is 9481/tcp; maybe you have a proxy or the git/cogito
> > version is not recent enough ?
> >
> On Cygwin I am using the latest binary install packages, git is
> 1.5.0.3 so they should be OK. No proxy that I am aware of.
>
> I found a typo in my git command line and now it gets further but still
> does not complete. This does not look like a network issue to me but
> then I don't know what it could be either.
>
> Andrew
>
> $ git clone git://git.kernel.org/pub/scm/boot/syslinux/syslinux.git
> Initialized empty Git repository in /cygdrive/h/src/syslinux/syslinux/.git/
> remote: Generating pack...
> remote: Done counting 8727 objects.
> remote: Deltifying 8727 objects.
> remote: 100% (8727/8727) done
> Indexing 8727 objects.
> remote: Total 8727 (delta 5801), reused 8143 (delta 5217)
> 100% (8727/8727) done
> Resolving 5801 deltas.
> 100% (5801/5801) done
> : not a valid SHA1f63cfeb84e9bb1243df03808c2fff
> fatal: Not a valid object name HEAD

Just now:
$ git clone git://git.kernel.org/pub/scm/boot/syslinux/syslinux.git
Initialized empty Git repository in /tmp/syslinux/.git/
remote: Generating pack...
remote: Done counting 8727 objects.
remote: Deltifying 8727 objects.
remote: 100% (8727/8727) done
Indexing 8727 objects.
remote: Total 8727 (delta 5801), reused 8143 (delta 5217)
100% (8727/8727) done
Resolving 5801 deltas.
100% (5801/5801) done
Checking files out...
100% (569/569) done
$

It could be that you're getting corrupted data via your network or from
your memory.

--
lfr
0/0

_______________________________________________
SYSLINUX mailing list
Submissions to SYSLINUX@zytor.com
Unsubscribe or set options at:
http://www.zytor.com/mailman/listinfo/syslinux
Please do not send private replies to mailing list traffic.