From: Ian Jackson Subject: Re: [PATCH] tools/xl: Add 'xen_version' to `xl info` [and 3 more messages] Date: Fri, 12 Jul 2013 17:40:19 +0100 Message-ID: <20960.12659.304068.860858@mariner.uk.xensource.com> References: <1373474790-31760-1-git-send-email-andrew.cooper3@citrix.com> <51DE7674.8010508@citrix.com> <51DE7914.7070403@eu.citrix.com> <20130711174922.GA7435@u109add4315675089e695.ant.amazon.com> <20130710170735.GB22174@u109add4315675089e695.ant.amazon.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1373474790-31760-1-git-send-email-andrew.cooper3@citrix.com>, <20130710170735.GB22174@u109add4315675089e695.ant.amazon.com>, , <20130711174922.GA7435@u109add4315675089e695.ant.amazon.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: George Dunlap , Matt Wilson , Andrew Cooper Cc: Ian Campbell , Xen-devel List-Id: xen-devel@lists.xenproject.org Andrew Cooper writes ("[PATCH] tools/xl: Add 'xen_version' to `xl info`"): > Getting the full Xen version in an easily scriptable way is awkward, > especially if trying to piece together from xen_{major,minor,extra}. > > This reflects $(XEN_FULLVERSION) in the build system (but under a more > sensible name, as $(XEN_VERSION) is just the major number). Applied, thanks. Matt Wilson writes ("Re: [Xen-devel] [PATCH] tools/xl: Add 'xen_version' to `xl info`"): > On Thu, Jul 11, 2013 at 10:21:24AM +0100, George Dunlap wrote: > > Is there actually a reason to print it separately at all? Why not > > replace the individual lines with the unified line? > > Please don't do that. I'm sure that there are scripts out there that > stitch together the parts into a version string. They'll break if we > remove the parts. Quite. Thanks, Ian.