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] refetch qemu if QEMU_TAG changed

To: Ian Campbell <Ian.Campbell@xxxxxxxxxx>
Subject: Re: [Xen-devel] [PATCH] refetch qemu if QEMU_TAG changed
From: Juergen Gross <juergen.gross@xxxxxxxxxxxxxx>
Date: Fri, 29 Oct 2010 09:31:46 +0200
Cc: "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Fri, 29 Oct 2010 00:33:30 -0700
Dkim-signature: v=1; a=rsa-sha256; c=simple/simple; d=ts.fujitsu.com; i=juergen.gross@xxxxxxxxxxxxxx; q=dns/txt; s=s1536b; t=1288337508; x=1319873508; h=message-id:date:from:mime-version:to:cc:subject: references:in-reply-to:content-transfer-encoding; z=Message-ID:=20<4CCA7862.40109@xxxxxxxxxxxxxx>|Date:=20Fr i,=2029=20Oct=202010=2009:31:46=20+0200|From:=20Juergen =20Gross=20<juergen.gross@xxxxxxxxxxxxxx>|MIME-Version: =201.0|To:=20Ian=20Campbell=20<Ian.Campbell@xxxxxxxxxx> |CC:=20"xen-devel@xxxxxxxxxxxxxxxxxxx"=20<xen-devel@lists .xensource.com>|Subject:=20Re:=20[Xen-devel]=20[PATCH]=20 refetch=20qemu=20if=20QEMU_TAG=20changed|References:=20<f ca5fe608144ae6e82f4.1288335458@nehalem1>=20<1288336835.80 69.18.camel@xxxxxxxxxxxxxxxxxxxxx>|In-Reply-To:=20<128833 6835.8069.18.camel@xxxxxxxxxxxxxxxxxxxxx> |Content-Transfer-Encoding:=207bit; bh=9stw65bV5ZamYUuTsCBqSpBu8dL4XvqjhqiJOzGA1/s=; b=WJ6qR15W60VRnVWLioPuUTtSEPQDePwC8CxeZ8sqijg/J1WzbXIn+H3I PZH6A8X8e/6jgPX7xEekto39tCfmx00vGTGU8DglHhWTKjcP5Qy1hI4y6 L22eqHtQ9QYUDvuXn8X55gYSYHcixr4sCK45uniUFvTrzIFbtqqZQ9FAN URDWHcq7faEnips72leXnAjPZ0T6owwfn9R4oPB16H+Et7RRy5Rsr0oZl c6XFftm2T/dikqVGplDxU5tJ/f2fQ;
Domainkey-signature: s=s1536a; d=ts.fujitsu.com; c=nofws; q=dns; h=X-SBRSScore:X-IronPort-AV:Received:X-IronPort-AV: Received:Received:Message-ID:Date:From:Organization: User-Agent:MIME-Version:To:CC:Subject:References: In-Reply-To:Content-Type:Content-Transfer-Encoding; b=EVETSR0d4y4qFClan81lUuvcL2CRJx4GnNcOYpGqfvAWykCMeSaWTbXe GiIyzyk1HVibh23XUXV3oCxUWsMZyauBAUFuPRmiG8xqIam0n8d7NgAgN TD7O0tCwjgna9eK27ToqdVTdQsLKOuHdGa+qZanirxDRwgArZ6rCMp+dJ VnczKEsYWJpOo+/XOmhMNsku9/PfuXss6emlQ12B9JVyys2qLwuVEtbKb 5AN669UUmSEf0NLSLXsE7tsZGjE07;
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <1288336835.8069.18.camel@xxxxxxxxxxxxxxxxxxxxx>
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>
Organization: Fujitsu Technology Solutions
References: <fca5fe608144ae6e82f4.1288335458@nehalem1> <1288336835.8069.18.camel@xxxxxxxxxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.12) Gecko/20100913 Iceowl/1.0b1 Icedove/3.0.7
On 10/29/10 09:20, Ian Campbell wrote:
On Fri, 2010-10-29 at 07:57 +0100, Juergen Gross wrote:
Check for a changed QEMU_TAG. If it has changed since last build, delete old
qemu sources and refetch with new QEMU_TAG.

Deleteing and recloning seems like an awfully big hammer. Can the same
not be achieved with a "git fetch origin" and a "git reset<tag>"?

I'm no git expert :-)
I just created an automated version of the currently supported "official" way
to handle this kind of problem (make distclean) without deleting everything.

I don't know if there are any nasty side effects possible with your proposal,
so it would be nice if someone with more git experience could set up a better
solution.


Juergen

--
Juergen Gross                 Principal Developer Operating Systems
TSP ES&S SWE OS6                       Telephone: +49 (0) 89 3222 2967
Fujitsu Technology Solutions              e-mail: juergen.gross@xxxxxxxxxxxxxx
Domagkstr. 28                           Internet: ts.fujitsu.com
D-80807 Muenchen                 Company details: ts.fujitsu.com/imprint.html

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

<Prev in Thread] Current Thread [Next in Thread>