WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

Re: [Xen-devel] [PATCH] use git smart server protocol for qemu tree by d

To: "Cui, Dexuan" <dexuan.cui@xxxxxxxxx>, Ian Jackson <Ian.Jackson@xxxxxxxxxxxxx>, "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: Re: [Xen-devel] [PATCH] use git smart server protocol for qemu tree by default
From: Keir Fraser <keir.fraser@xxxxxxxxxxxxx>
Date: Fri, 17 Jul 2009 07:59:19 +0100
Cc: Tom Rotenberg <tom.rotenberg@xxxxxxxxx>
Delivery-date: Fri, 17 Jul 2009 00:00:26 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <EADF0A36011179459010BDF5142A457501CA05BD3C@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcoGHjAcOCDNwkB8R5qX0jQUOmawTwAY4peQAAqYH1A=
Thread-topic: [Xen-devel] [PATCH] use git smart server protocol for qemu tree by default
User-agent: Microsoft-Entourage/12.19.0.090515
It may make sense to document the git server path in Config.mk but not
enable it by default?

 -- Keir

On 17/07/2009 02:59, "Cui, Dexuan" <dexuan.cui@xxxxxxxxx> wrote:

> Hi Ian,
> git clone http://xenbits.xensource.com/git-http/qemu-xen-unstable.git
> and 
> git clone git://xenbits.xensource.com/qemu-xen-unstable.git
> 
> should always return the exactly same repository, correct?
> 
> I can't access the latter since I'm behind a firewall. I can only access the
> http interface.
> 
> Thanks,
> -- Dexuan
> 
> 
> 
> -----Original Message-----
> From: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
> [mailto:xen-devel-bounces@xxxxxxxxxxxxxxxxxxx] On Behalf Of Ian Jackson
> Sent: 2009?7?16? 22:02
> To: xen-devel@xxxxxxxxxxxxxxxxxxx
> Cc: Tom Rotenberg
> Subject: [Xen-devel] [PATCH] use git smart server protocol for qemu tree by
> default
> 
> Tom Rotenberg writes ("[Xen-devel] Can the qemu-xen git repository be moved to
> a 'git://' protocol? It can save a lot of time..."):
>> Currently, xen clones the qemu-xen using an 'http://' protocol, and
>> this takes a lot of time.  It can be improved a lot if it will be
>> moved to be shared by a 'git://' protocol, which is much faster.
>> Can this be done?
> 
> Yes.  We were using http:// because we didn't have a git server on
> xenbits, but now we do.
> 
> Keir: this patch is for xen-unstable but given that the git daemon is
> a property of the xenbits system configuration rather of the specific
> branch, it wouldn't be unreasonable to apply it to the older trees
> too.
> 
> Ian.
> 
> use git smart server protocol for qemu tree by default
> 
> xenbits supports the git protocol now, which is much faster (and
> produces less noise in the build log too).
> 
> Signed-off-by: Ian Jackson <ian.jackson@xxxxxxxxxxxxx>
> 
> diff -r e07726c03d31 Config.mk
> --- a/Config.mk Thu Jul 16 10:32:55 2009 +0100
> +++ b/Config.mk Thu Jul 16 14:58:49 2009 +0100
> @@ -141,7 +141,7 @@ XEN_EXTFILES_URL=http://xenbits.xensourc
>  # the internet.  The original download URL is preserved as a comment
>  # near the place in the Xen Makefiles where the file is used.
>  
> -QEMU_REMOTE=http://xenbits.xensource.com/git-http/qemu-xen-unstable.git
> +QEMU_REMOTE=git://xenbits.xensource.com/qemu-xen-unstable.git
>  
>  # Specify which qemu-dm to use. This may be `ioemu' to use the old
>  # Mercurial in-tree version, or a local directory, or a git URL.
> 
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@xxxxxxxxxxxxxxxxxxx
> http://lists.xensource.com/xen-devel
> 
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@xxxxxxxxxxxxxxxxxxx
> http://lists.xensource.com/xen-devel



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