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-api

RE: [Xen-API] [PATCH] Fix parsing of the tools .iso filename

To: Magnus Therning <Magnus.Therning@xxxxxxxxxxxxx>
Subject: RE: [Xen-API] [PATCH] Fix parsing of the tools .iso filename
From: Dave Scott <Dave.Scott@xxxxxxxxxxxxx>
Date: Fri, 27 Nov 2009 11:21:09 +0000
Accept-language: en-US
Acceptlanguage: en-US
Cc: "xen-api@xxxxxxxxxxxxxxxxxxx" <xen-api@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Fri, 27 Nov 2009 03:21:11 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <4B0F8570.6020704@xxxxxxxxxxxxx>
List-help: <mailto:xen-api-request@lists.xensource.com?subject=help>
List-id: Discussion of API issues surrounding Xen <xen-api.lists.xensource.com>
List-post: <mailto:xen-api@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-api>, <mailto:xen-api-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-api>, <mailto:xen-api-request@lists.xensource.com?subject=unsubscribe>
References: <c512a7857329c62e8ba4.1259253892@xxxxxxxxxxxxxxxxxxxx> <4B0F8570.6020704@xxxxxxxxxxxxx>
Sender: xen-api-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcpvNslEOUb2s5vJRQytV4Na5T94VgAHJL8g
Thread-topic: [Xen-API] [PATCH] Fix parsing of the tools .iso filename
> On 26/11/09 16:44, David Scott wrote:
> > # HG changeset patch
> > # User David Scott<dave.scott@xxxxxxxxxxxxx>
> > # Date 1259253843 0
> > # Node ID c512a7857329c62e8ba44bc76e70f1068a0d1abb
> > # Parent  6fd77ef2569ead1d2cbc5ca6a6d496519e966fc0
> > CA-35383: if the tools filename build number has a non-digit suffix,
> disregard it.
> >
> > XCP hosts currently have tools isos in
> >    /opt/xensource/packages/iso/xs-tools-<version>-<build><suffix>.iso
> > where<build>  is an integer and<suffix>  is a string.
> 

Magnus wrote:
> I think we'll continue to have the "old style" isos as well, ie both
> 
>   /opt/xensource/packages/iso/xs-tools.iso
>   /opt/xensource/packages/iso/xs-tools-<ver>-<build><suffix>.iso
> 
> would need to be handled.  Right?

Good point -- my commit comment is misleading. The code change is actually just 
to ignore the <suffix> in the case where <build><suffix> is present; it 
shouldn't affect the 'regular' case when we have 'xs-tools.iso' or 
'xs-tools-<ver>.iso'

I've got some notes on the filename convention used for the tools iso sitting 
around. I'll try to tidy them up and stick them on the wiki.

Cheers,
Dave


_______________________________________________
xen-api mailing list
xen-api@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/mailman/listinfo/xen-api

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