* Re: Problem cloning Linus' GIT tree!
2007-04-17 10:42 Problem cloning Linus' GIT tree! Gerald Ruescher
@ 2007-04-17 10:28 ` Laurent Pinchart
2007-04-17 14:09 ` Gerald Ruescher
0 siblings, 1 reply; 5+ messages in thread
From: Laurent Pinchart @ 2007-04-17 10:28 UTC (permalink / raw)
To: linuxppc-embedded
Hi Gerald,
> stupid newbie question:
>
> I'm trying to get Grant Likelys latest TEMAC driver from his git-tree.
> Follwing the directions on the secretlab.ca website I start by cloning
> Linus' tree. Since I'm behind a firewall which blocks the git port I use:
>
> git clone
> http://www.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git
>
> At first everything is fine and git happily seems to download the tree.
> After a while however, git exits with the following error message:
>
> error: Couldn't get
> http://www.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git/refs/
>tags/v2.6.11 for tags/v2.6.11 The requested URL returned error: 404
> error: Could not interpret tags/v2.6.11 as something to pull
> rm: cannot remove directory
> `/cygdrive/c/home/git/linux-2.6/.git/clone-tmp': Directory not empty
>
> Any hint what I did wrong?
Try upgrading git to the last version.
Best regards,
Laurent Pinchart
^ permalink raw reply [flat|nested] 5+ messages in thread
* Problem cloning Linus' GIT tree!
@ 2007-04-17 10:42 Gerald Ruescher
2007-04-17 10:28 ` Laurent Pinchart
0 siblings, 1 reply; 5+ messages in thread
From: Gerald Ruescher @ 2007-04-17 10:42 UTC (permalink / raw)
To: Linuxppc-embedded
[-- Attachment #1: Type: text/plain, Size: 1272 bytes --]
Hi Folks,
stupid newbie question:
I'm trying to get Grant Likelys latest TEMAC driver from his git-tree.
Follwing the directions on the secretlab.ca website I start by cloning
Linus' tree. Since I'm behind a firewall which blocks the git port I use:
git clone http://www.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git
At first everything is fine and git happily seems to download the tree.
After a while however, git exits with the following error message:
error: Couldn't get http://www.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git/refs/tags/v2.6.11 for tags/v2.6.11
The requested URL returned error: 404
error: Could not interpret tags/v2.6.11 as something to pull
rm: cannot remove directory `/cygdrive/c/home/git/linux-2.6/.git/clone-tmp': Directory not empty
Any hint what I did wrong?
Many thanks in advance,
Gerald
_______________________________________________
Gerald Rüscher
Software Development Engineer
Core Real-Time Implementation
dSPACE GmbH Tel.: +49 5251 1638-1826
Technologiepark 25 Fax: +49 5251 16198-1826
33100 Paderborn http://www.dspace.de
Germany mailto:GRuescher@dspace.de
_______________________________________________
[-- Attachment #2: Type: text/html, Size: 3513 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Problem cloning Linus' GIT tree!
2007-04-17 14:09 ` Gerald Ruescher
@ 2007-04-17 13:31 ` Laurent Pinchart
2007-04-21 19:23 ` David Woodhouse
0 siblings, 1 reply; 5+ messages in thread
From: Laurent Pinchart @ 2007-04-17 13:31 UTC (permalink / raw)
To: linuxppc-embedded
> > > After a while however, git exits with the following error message:
> > >
> > > error: Couldn't get
> > > http://www.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git/r
> > >efs/tags/v2.6.11 for tags/v2.6.11 The requested URL returned error: 404
> > > error: Could not interpret tags/v2.6.11 as something to pull
> > > rm: cannot remove directory
> > > `/cygdrive/c/home/git/linux-2.6/.git/clone-tmp': Directory not empty
> >
> > Try upgrading git to the last version.
>
> I'm already using the latest version (1.5.1) of git but the error still
> persists. A "http 404" error usually reports that something is missing on
> the server. In fact, if I copy the URL above to web browser, the same error
> occurs.
I had the same issue some time ago. Git used to store tags in the .git/tags
directory. Linus repository has somehow been 'stripped' from those tags,
which are now stored in the git objects (I'm not sure if the repository has
been stripped on purpose, or if the .git/tags directory is just deprecated).
I thought upgrading to a newer git release had fixed the problem, but after
checking it turns out I had to switch to git:// as well. The http:// protocol
might not support stripped repositories.
> Question:
>
> Do
> git://git.kernel.org
> and http://www.kernel.org <-- Note the *www*(!)
>
> physically access the same repository? Or is the http server maybe just
> a mirror of the git server (which could mean that the two could be out of
> sync)
I'm not sure about that. The http repository is not broken, it's just
stripped. The http:// protocol handler in git might need to be fixed.
> If all fails I could harass our company's network admins to open
> the git port in the firewall :-) but I'd prefer to fetch the tree
> via http.
>
> Any advice? Is there anyone else who is using Linus' tree via http?
You could ask on the git mailing list or IRC channel.
Best regards,
Laurent Pinchart
^ permalink raw reply [flat|nested] 5+ messages in thread
* RE: Problem cloning Linus' GIT tree!
2007-04-17 10:28 ` Laurent Pinchart
@ 2007-04-17 14:09 ` Gerald Ruescher
2007-04-17 13:31 ` Laurent Pinchart
0 siblings, 1 reply; 5+ messages in thread
From: Gerald Ruescher @ 2007-04-17 14:09 UTC (permalink / raw)
To: Linuxppc-embedded
Dear Laurent,
> > After a while however, git exits with the following error message:
> >
> > error: Couldn't get =
http://www.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git/ref=
s/tags/v2.6.11 for tags/v2.6.11=20
> > The requested URL returned error: 404
> > error: Could not interpret tags/v2.6.11 as something to pull
> > rm: cannot remove directory
> > `/cygdrive/c/home/git/linux-2.6/.git/clone-tmp': Directory not =
empty
>
> Try upgrading git to the last version.
I'm already using the latest version (1.5.1) of git but the error still =
persists.
A "http 404" error usually reports that something is missing on the =
server.
In fact, if I copy the URL above to web browser, the same error occurs.
Question:=20
Do=20
git://git.kernel.org=20
and http://www.kernel.org <-- Note the *www*(!)
physically access the same repository? Or is the http server maybe just
a mirror of the git server (which could mean that the two could be out =
of sync)
If all fails I could harass our company's network admins to open
the git port in the firewall :-) but I'd prefer to fetch the tree
via http.
Any advice? Is there anyone else who is using Linus' tree via http?
Many thanks and kind regards,
Gerald
_______________________________________________
Gerald R=FCscher
Software Development Engineer
Core Real-Time Implementation
dSPACE GmbH Tel.: +49 5251 1638-1826
Technologiepark 25 Fax: +49 5251 16198-1826
33100 Paderborn http://www.dspace.de
Germany mailto:GRuescher@dspace.de
_______________________________________________
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Problem cloning Linus' GIT tree!
2007-04-17 13:31 ` Laurent Pinchart
@ 2007-04-21 19:23 ` David Woodhouse
0 siblings, 0 replies; 5+ messages in thread
From: David Woodhouse @ 2007-04-21 19:23 UTC (permalink / raw)
To: Laurent Pinchart; +Cc: linuxppc-embedded
On Tue, 2007-04-17 at 15:31 +0200, Laurent Pinchart wrote:
> I'm not sure about that. The http repository is not broken, it's just
> stripped. The http:// protocol handler in git might need to be fixed.
The http:// protocol handler is rarely going to work properly. If your
firewall is broken, I would suggest just fixing it.
--
dwmw2
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2007-04-21 19:23 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-04-17 10:42 Problem cloning Linus' GIT tree! Gerald Ruescher
2007-04-17 10:28 ` Laurent Pinchart
2007-04-17 14:09 ` Gerald Ruescher
2007-04-17 13:31 ` Laurent Pinchart
2007-04-21 19:23 ` David Woodhouse
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).