All of lore.kernel.org
 help / color / mirror / Atom feed
* Dom0 source download issue
@ 2011-07-21 22:21 Huang2, Wei
  2011-07-21 23:24 ` Jeremy Fitzhardinge
  2011-07-22  7:50 ` Ian Campbell
  0 siblings, 2 replies; 8+ messages in thread
From: Huang2, Wei @ 2011-07-21 22:21 UTC (permalink / raw)
  To: xen-devel@lists.xensource.com; +Cc: Jeremy Fitzhardinge


[-- Attachment #1.1: Type: text/plain, Size: 554 bytes --]

I can't download Jeremy's dom0 code in the past two days. Did anyone have the same problem?


walk 9be1f347f3939adc7729ef7c7d6400c468d9b25b
walk 1ddf23e66de1497e481b3e2562f697907a385fa6
Getting pack list for http://www.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git/
error: Unable to find dcb8baeceaa1c629bbd06f472cea023ad08a0c33 under http://www.kernel.org/pub/scm/linux/kernel/git/jeremy/xen.git
Cannot obtain needed object dcb8baeceaa1c629bbd06f472cea023ad08a0c33
while processing commit 1ddf23e66de1497e481b3e2562f697907a385fa6.

[-- Attachment #1.2: Type: text/html, Size: 2671 bytes --]

[-- Attachment #2: Type: text/plain, Size: 138 bytes --]

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel

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

* Re: Dom0 source download issue
  2011-07-21 22:21 Dom0 source download issue Huang2, Wei
@ 2011-07-21 23:24 ` Jeremy Fitzhardinge
  2011-07-22  7:50 ` Ian Campbell
  1 sibling, 0 replies; 8+ messages in thread
From: Jeremy Fitzhardinge @ 2011-07-21 23:24 UTC (permalink / raw)
  To: Huang2, Wei; +Cc: xen-devel@lists.xensource.com

On 07/21/2011 03:21 PM, Huang2, Wei wrote:
>
> I can’t download Jeremy’s dom0 code in the past two days. Did anyone
> have the same problem?
>
> walk 9be1f347f3939adc7729ef7c7d6400c468d9b25b
>
> walk 1ddf23e66de1497e481b3e2562f697907a385fa6
>
> Getting pack list for
> http://www.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git/
>
> error: Unable to find dcb8baeceaa1c629bbd06f472cea023ad08a0c33 under
> http://www.kernel.org/pub/scm/linux/kernel/git/jeremy/xen.git
>
> Cannot obtain needed object dcb8baeceaa1c629bbd06f472cea023ad08a0c33
>
> while processing commit 1ddf23e66de1497e481b3e2562f697907a385fa6.
>

I haven't seen this, but I'm generally pushing rather than pulling. I'll
look into it.

J

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

* Re: Dom0 source download issue
  2011-07-21 22:21 Dom0 source download issue Huang2, Wei
  2011-07-21 23:24 ` Jeremy Fitzhardinge
@ 2011-07-22  7:50 ` Ian Campbell
  2011-07-22  8:44   ` Vincent Hanquez
  2011-07-22 14:43   ` Huang2, Wei
  1 sibling, 2 replies; 8+ messages in thread
From: Ian Campbell @ 2011-07-22  7:50 UTC (permalink / raw)
  To: Huang2, Wei; +Cc: Fitzhardinge, xen-devel@lists.xensource.com, Jeremy

On Thu, 2011-07-21 at 23:21 +0100, Huang2, Wei wrote:
> I can’t download Jeremy’s dom0 code in the past two days. Did anyone
> have the same problem?
> 
>  
> 
>  
> 
> walk 9be1f347f3939adc7729ef7c7d6400c468d9b25b
> 
> walk 1ddf23e66de1497e481b3e2562f697907a385fa6
> 
> Getting pack list for
> http://www.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git/
> 
> error: Unable to find dcb8baeceaa1c629bbd06f472cea023ad08a0c33 under
> http://www.kernel.org/pub/scm/linux/kernel/git/jeremy/xen.git
> 
> Cannot obtain needed object dcb8baeceaa1c629bbd06f472cea023ad08a0c33
> 
> while processing commit 1ddf23e66de1497e481b3e2562f697907a385fa6.

The are some server-side indices which need to be updated on git push in
order for the http method to work correctly. This sort of thing often
happens when this hasn't happened correctly for one reason or another.

The git:// method is much more reliable since it does not require this
step (and it's more efficient on the wire etc). I'd strongly recommend
using git://git.kernel.org/pub/scm/linux/kernel/git/jeremy/xen.git if
you can.

Ian.

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

* Re: Dom0 source download issue
  2011-07-22  7:50 ` Ian Campbell
@ 2011-07-22  8:44   ` Vincent Hanquez
  2011-07-22  8:50     ` Ian Campbell
  2011-07-22 14:43   ` Huang2, Wei
  1 sibling, 1 reply; 8+ messages in thread
From: Vincent Hanquez @ 2011-07-22  8:44 UTC (permalink / raw)
  To: xen-devel

On 07/22/2011 08:50 AM, Ian Campbell wrote:
> The are some server-side indices which need to be updated on git push in
> order for the http method to work correctly. This sort of thing often
> happens when this hasn't happened correctly for one reason or another.
>
> The git:// method is much more reliable since it does not require this
> step (and it's more efficient on the wire etc). I'd strongly recommend
> using git://git.kernel.org/pub/scm/linux/kernel/git/jeremy/xen.git if
> you can.

(a bit out of date information..)

git supports smart http (which is as efficient as git://) since end of 2009, and 
it's definitely supported by g.k.o.

In this case, Wei you have a choice of either switching to git protocol or 
upgrading your git version.

-- 
Vincent

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

* Re: Dom0 source download issue
  2011-07-22  8:44   ` Vincent Hanquez
@ 2011-07-22  8:50     ` Ian Campbell
  2011-07-22 11:07       ` Vincent Hanquez
  0 siblings, 1 reply; 8+ messages in thread
From: Ian Campbell @ 2011-07-22  8:50 UTC (permalink / raw)
  To: Vincent Hanquez; +Cc: xen-devel@lists.xensource.com

On Fri, 2011-07-22 at 09:44 +0100, Vincent Hanquez wrote:
> On 07/22/2011 08:50 AM, Ian Campbell wrote:
> > The are some server-side indices which need to be updated on git push in
> > order for the http method to work correctly. This sort of thing often
> > happens when this hasn't happened correctly for one reason or another.
> >
> > The git:// method is much more reliable since it does not require this
> > step (and it's more efficient on the wire etc). I'd strongly recommend
> > using git://git.kernel.org/pub/scm/linux/kernel/git/jeremy/xen.git if
> > you can.
> 
> (a bit out of date information..)
> 
> git supports smart http (which is as efficient as git://) since end of 2009, and 
> it's definitely supported by g.k.o.

Ah, good info thanks.

I presume this smart http does not require any push time hooks to be
called (the docs don't mention them either positively or negatively
which suggests they aren't needed now).

> In this case, Wei you have a choice of either switching to git protocol or 
> upgrading your git version.
> 

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

* Re: Dom0 source download issue
  2011-07-22  8:50     ` Ian Campbell
@ 2011-07-22 11:07       ` Vincent Hanquez
  0 siblings, 0 replies; 8+ messages in thread
From: Vincent Hanquez @ 2011-07-22 11:07 UTC (permalink / raw)
  To: Ian Campbell; +Cc: xen-devel@lists.xensource.com

On 07/22/2011 09:50 AM, Ian Campbell wrote:
> Ah, good info thanks.
>
> I presume this smart http does not require any push time hooks to be
> called (the docs don't mention them either positively or negatively
> which suggests they aren't needed now).
>

indeed, it shouldn't need it anymore; however i'm not totally sure how things 
are done with old versions not supporting smart http.

https://git.wiki.kernel.org/index.php/GitFaq#My_HTTP_repository_has_updates.2C_which_git_clone_misses._What_happened.3F

-- 
Vincent

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

* RE: Dom0 source download issue
  2011-07-22  7:50 ` Ian Campbell
  2011-07-22  8:44   ` Vincent Hanquez
@ 2011-07-22 14:43   ` Huang2, Wei
  2011-07-22 15:24     ` Konrad Rzeszutek Wilk
  1 sibling, 1 reply; 8+ messages in thread
From: Huang2, Wei @ 2011-07-22 14:43 UTC (permalink / raw)
  To: Ian Campbell; +Cc: Fitzhardinge, xen-devel@lists.xensource.com, Jeremy

Unfortunately git port is blocked by IT firewall. HTTP is the only method available. 

Thanks,
-Wei
________________________________________
From: Ian Campbell [Ian.Campbell@citrix.com]
Sent: Friday, July 22, 2011 2:50 AM
To: Huang2, Wei
Cc: xen-devel@lists.xensource.com; Jeremy Fitzhardinge
Subject: Re: [Xen-devel] Dom0 source download issue

On Thu, 2011-07-21 at 23:21 +0100, Huang2, Wei wrote:
> I can’t download Jeremy’s dom0 code in the past two days. Did anyone
> have the same problem?
>
>
>
>
>
> walk 9be1f347f3939adc7729ef7c7d6400c468d9b25b
>
> walk 1ddf23e66de1497e481b3e2562f697907a385fa6
>
> Getting pack list for
> http://www.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git/
>
> error: Unable to find dcb8baeceaa1c629bbd06f472cea023ad08a0c33 under
> http://www.kernel.org/pub/scm/linux/kernel/git/jeremy/xen.git
>
> Cannot obtain needed object dcb8baeceaa1c629bbd06f472cea023ad08a0c33
>
> while processing commit 1ddf23e66de1497e481b3e2562f697907a385fa6.

The are some server-side indices which need to be updated on git push in
order for the http method to work correctly. This sort of thing often
happens when this hasn't happened correctly for one reason or another.

The git:// method is much more reliable since it does not require this
step (and it's more efficient on the wire etc). I'd strongly recommend
using git://git.kernel.org/pub/scm/linux/kernel/git/jeremy/xen.git if
you can.

Ian.

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

* Re: Dom0 source download issue
  2011-07-22 14:43   ` Huang2, Wei
@ 2011-07-22 15:24     ` Konrad Rzeszutek Wilk
  0 siblings, 0 replies; 8+ messages in thread
From: Konrad Rzeszutek Wilk @ 2011-07-22 15:24 UTC (permalink / raw)
  To: Huang2, Wei
  Cc: Fitzhardinge, xen-devel@lists.xensource.com, Jeremy, Ian Campbell

On Fri, Jul 22, 2011 at 09:43:53AM -0500, Huang2, Wei wrote:
> Unfortunately git port is blocked by IT firewall. HTTP is the only method available. 

Nonsense. It is there for you to subvert it. Like this:

If you are behind a firewall, git will have trouble. You need
to get 'corkscrew' and setup git to tunnel the traffic via
the appropiate port.


1). In your .gitconfig have this:
[core]
    gitproxy = $HOME/git-proxy

2). Create a file call $HOME/git-proxy with:
#!/bin/sh
exec /usr/local/bin/corkscrew <your internal proxy address> 80 $*

And that will fix your problem.

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

end of thread, other threads:[~2011-07-22 15:24 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-07-21 22:21 Dom0 source download issue Huang2, Wei
2011-07-21 23:24 ` Jeremy Fitzhardinge
2011-07-22  7:50 ` Ian Campbell
2011-07-22  8:44   ` Vincent Hanquez
2011-07-22  8:50     ` Ian Campbell
2011-07-22 11:07       ` Vincent Hanquez
2011-07-22 14:43   ` Huang2, Wei
2011-07-22 15:24     ` Konrad Rzeszutek Wilk

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.