public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* Problem with http URL for stable git tree?
@ 2007-06-04 19:10 Tim Bird
  2007-06-04 21:13 ` Greg KH
  0 siblings, 1 reply; 5+ messages in thread
From: Tim Bird @ 2007-06-04 19:10 UTC (permalink / raw)
  To: Greg KH; +Cc: linux kernel

Greg,

I'm having problems cloning the stable git tree for 2.6.21.
Here's what I get:

$ git clone http://www.kernel.org/pub/scm/linux/kernel/git/stable/linux-2.6.21.y.git stable-2.6.21.y
Cannot get remote repository information.
Perhaps git-update-server-info needs to be run there?

------
I believe I cloned this tree a few weeks ago successfully.
Did something break?

Thanks,
 -- Tim

=============================
Tim Bird
Architecture Group Chair, CE Linux Forum
Senior Staff Engineer, Sony Corporation of America
=============================


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Problem with http URL for stable git tree?
  2007-06-04 19:10 Problem with http URL for stable git tree? Tim Bird
@ 2007-06-04 21:13 ` Greg KH
  2007-06-04 21:48   ` Tim Bird
  0 siblings, 1 reply; 5+ messages in thread
From: Greg KH @ 2007-06-04 21:13 UTC (permalink / raw)
  To: Tim Bird; +Cc: linux kernel

On Mon, Jun 04, 2007 at 12:10:01PM -0700, Tim Bird wrote:
> Greg,
> 
> I'm having problems cloning the stable git tree for 2.6.21.
> Here's what I get:
> 
> $ git clone http://www.kernel.org/pub/scm/linux/kernel/git/stable/linux-2.6.21.y.git stable-2.6.21.y
> Cannot get remote repository information.
> Perhaps git-update-server-info needs to be run there?

Ick, don't clone by "http://", please use the git protocol instead:
	git clone git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-2.6.21.y.git

that should work better.

thanks,

greg k-h

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Problem with http URL for stable git tree?
  2007-06-04 21:13 ` Greg KH
@ 2007-06-04 21:48   ` Tim Bird
  2007-06-05  6:16     ` Tuncer Ayaz
  2007-06-13 20:34     ` Phillip Susi
  0 siblings, 2 replies; 5+ messages in thread
From: Tim Bird @ 2007-06-04 21:48 UTC (permalink / raw)
  To: Greg KH; +Cc: linux kernel

Greg KH wrote:
> On Mon, Jun 04, 2007 at 12:10:01PM -0700, Tim Bird wrote:
>> Greg,
>>
>> I'm having problems cloning the stable git tree for 2.6.21.
>> Here's what I get:
>>
>> $ git clone http://www.kernel.org/pub/scm/linux/kernel/git/stable/linux-2.6.21.y.git stable-2.6.21.y
>> Cannot get remote repository information.
>> Perhaps git-update-server-info needs to be run there?
> 
> Ick, don't clone by "http://", please use the git protocol instead:
> 	git clone git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-2.6.21.y.git
> 
> that should work better.

I'm behind a firewall that doesn't allow it.  Luckily, the
firewall has some holes to allow me ssh access to a few
external machines.  It looks like I can use a "git:" url on a
box outside the firewall, then clone that to inside Sony
with a "git+ssh:" url.

I'll do that, unless someone else has a better suggestion.
Pushes and pulls will be two steps each, but at least it works.
 -- Tim

=============================
Tim Bird
Architecture Group Chair, CE Linux Forum
Senior Staff Engineer, Sony Corporation of America
=============================


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Problem with http URL for stable git tree?
  2007-06-04 21:48   ` Tim Bird
@ 2007-06-05  6:16     ` Tuncer Ayaz
  2007-06-13 20:34     ` Phillip Susi
  1 sibling, 0 replies; 5+ messages in thread
From: Tuncer Ayaz @ 2007-06-05  6:16 UTC (permalink / raw)
  To: Tim Bird; +Cc: linux kernel

On 6/4/07, Tim Bird <tim.bird@am.sony.com> wrote:
> Greg KH wrote:
> > On Mon, Jun 04, 2007 at 12:10:01PM -0700, Tim Bird wrote:
> >> Greg,
> >>
> >> I'm having problems cloning the stable git tree for 2.6.21.
> >> Here's what I get:
> >>
> >> $ git clone http://www.kernel.org/pub/scm/linux/kernel/git/stable/linux-2.6.21.y.git stable-2.6.21.y
> >> Cannot get remote repository information.
> >> Perhaps git-update-server-info needs to be run there?
> >
> > Ick, don't clone by "http://", please use the git protocol instead:
> >       git clone git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-2.6.21.y.git
> >
> > that should work better.
>
> I'm behind a firewall that doesn't allow it.  Luckily, the
> firewall has some holes to allow me ssh access to a few
> external machines.  It looks like I can use a "git:" url on a
> box outside the firewall, then clone that to inside Sony
> with a "git+ssh:" url.
>
> I'll do that, unless someone else has a better suggestion.
> Pushes and pulls will be two steps each, but at least it works.

if you have :22 outbound access you could try git+ssh on git.kernel.org.
I guess you don't have :22 outbound open, do you?

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Problem with http URL for stable git tree?
  2007-06-04 21:48   ` Tim Bird
  2007-06-05  6:16     ` Tuncer Ayaz
@ 2007-06-13 20:34     ` Phillip Susi
  1 sibling, 0 replies; 5+ messages in thread
From: Phillip Susi @ 2007-06-13 20:34 UTC (permalink / raw)
  To: Tim Bird; +Cc: Greg KH, linux kernel

Tim Bird wrote:
> I'm behind a firewall that doesn't allow it.  Luckily, the
> firewall has some holes to allow me ssh access to a few
> external machines.  It looks like I can use a "git:" url on a
> box outside the firewall, then clone that to inside Sony
> with a "git+ssh:" url.
> 
> I'll do that, unless someone else has a better suggestion.
> Pushes and pulls will be two steps each, but at least it works.
>  -- Tim

I thought there was a switch somewhere to override the command executed 
on the other machine?  You could try pulling from the machine outside 
the firewall via ssh, and changing the command from git-upload-pack to 
another ssh command to connect to kernel.org and invoke git-upload-pack 
there.  That should bounce the connection off the one machine you can 
ssh to outside the firewall.

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2007-06-13 20:34 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-06-04 19:10 Problem with http URL for stable git tree? Tim Bird
2007-06-04 21:13 ` Greg KH
2007-06-04 21:48   ` Tim Bird
2007-06-05  6:16     ` Tuncer Ayaz
2007-06-13 20:34     ` Phillip Susi

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox