[Libosinfo] [PATCH v3 07/60] data: fix RHEL Xen platform versions & adjust IDs

Christophe Fergeau cfergeau at redhat.com
Fri Oct 16 10:01:52 UTC 2015


On Mon, Oct 12, 2015 at 06:10:28PM +0100, Daniel P. Berrange wrote:
> Currently the RHEL Xen platform is returning the same version
> number for multiple entities. Fix this by suffixing the Xen
> version with the RHEL version. Change the short-id and URI
> IDs so they are of the form 'xen-rhel-$VERSION' eg
> 
>   http://redhat.com/xen-rhel/3.1.0.5.6
>   xen-rhel-3.1.0.5.6
> 
> Signed-off-by: Daniel P. Berrange <berrange at redhat.com>
> ---
>  data/hypervisors/rhel-xen.xml.in | 60 ++++++++++++++++++++--------------------
>  1 file changed, 30 insertions(+), 30 deletions(-)
> 
> diff --git a/data/hypervisors/rhel-xen.xml.in b/data/hypervisors/rhel-xen.xml.in
> index a14103f..851946b 100644
> --- a/data/hypervisors/rhel-xen.xml.in
> +++ b/data/hypervisors/rhel-xen.xml.in
> @@ -1,7 +1,7 @@
>  <libosinfo version="0.0.1">
>  
> -  <platform id="http://redhat.com/rhel/5.0/xen/3.0.3">
> -    <short-id>xen-3.0.3-rhel-5.0</short-id>
> +  <platform id="http://redhat.com/xen-rhel/3.0.3.5.0">
> +    <short-id>xen-rhel-3.0.3.5.0</short-id>
>      <_name>Xen 3.0.3 (RHEL 5.0)</_name>
>      <_vendor>Red Hat, Inc.</_vendor>
>      <version>3.0.3</version>

Version change is missing here.

> @@ -13,73 +13,73 @@
>      </devices>
>    </platform>
>  
> -  <platform id="http://redhat.com/rhel/5.1/xen/3.1.0">
> -    <short-id>xen-3.1.0-rhel-5.1</short-id>
> +  <platform id="http://redhat.com/xen-rhel/3.1.0.5.1">
> +    <short-id>xen-rhel-3.1.0.5.1</short-id>
>      <_name>Xen 3.1.0 (RHEL 5.1)</_name>
>      <_vendor>Red Hat, Inc.</_vendor>
> -    <version>3.1.0</version>
> +    <version>3.1.0.5.1</version>
>  
> -    <upgrades id="http://redhat.com/rhel/5.0/xen/3.0.3"/>
> +    <upgrades id="http://redhat.com/xen-rhel/3.0.3.5.0"/>
>      <derives-from id="http://xen.org/xen/3.1.0"/>
>    </platform>
>  
> -  <platform id="http://redhat.com/rhel/5.2/xen/3.1.0">
> -    <short-id>xen-3.1.0-rhel-5.2</short-id>
> +  <platform id="http://redhat.com/xen-rhel/3.1.0.5.2">
> +    <short-id>xen-rhel-3.1.0.5.2</short-id>
>      <_name>Xen 3.1.0 (RHEL 5.2)</_name>
>      <_vendor>Red Hat, Inc.</_vendor>
> -    <version>3.1.0</version>
> +    <version>3.1.0.5.2</version>
>  
> -    <upgrades id="http://redhat.com/rhel/5.1/xen/3.1.0"/>
> +    <upgrades id="http://redhat.com/xen-rhel/3.1.0.5.1"/>
>      <derives-from id="http://xen.org/xen/3.1.0"/>
>    </platform>
>  
> -  <platform id="http://redhat.com/rhel/5.3/xen/3.1.0">
> -    <short-id>xen-3.1.0-rhel-5.3</short-id>
> +  <platform id="http://redhat.com/xen-rhel/3.1.0.5.3">
> +    <short-id>xen-rhel-3.1.0.5.3</short-id>
>      <_name>Xen 3.1.0 (RHEL 5.3)</_name>
>      <_vendor>Red Hat, Inc.</_vendor>
> -    <version>3.1.0</version>
> +    <version>3.1.0.5.3</version>
>  
> -    <upgrades id="http://redhat.com/rhel/5.2/xen/3.1.0"/>
> +    <upgrades id="http://redhat.com/xen-rhel/3.1.0.5.2"/>
>      <derives-from id="http://xen.org/xen/3.1.0"/>
>    </platform>
>  
> -  <platform id="http://redhat.com/rhel/5.4/xen/3.1.0">
> -    <short-id>xen-3.1.0-rhel-5.4</short-id>
> +  <platform id="http://redhat.com/xen-rhel/3.1.0.5.4">
> +    <short-id>xen-rhel-3.1.0.5.4</short-id>
>      <_name>Xen 3.1.0 (RHEL 5.4)</_name>
>      <_vendor>Red Hat, Inc.</_vendor>
> -    <version>3.1.0</version>
> +    <version>3.1.0.5.4</version>
>  
> -    <upgrades id="http://redhat.com/rhel/5.3/xen/3.1.0"/>
> +    <upgrades id="http://redhat.com/xen-rhel/3.1.0.5.3"/>
>      <derives-from id="http://xen.org/xen/3.1.0"/>
>    </platform>
>  
> -  <platform id="http://redhat.com/rhel/5.5/xen/3.1.0">
> -    <short-id>xen-3.1.0-rhel-5.5</short-id>
> +  <platform id="http://redhat.com/xen-rhel/3.1.0.5.5">
> +    <short-id>xen-rhel-3.1.0.5.5</short-id>
>      <_name>Xen 3.1.0 (RHEL 5.5)</_name>
>      <_vendor>Red Hat, Inc.</_vendor>
> -    <version>3.1.0</version>
> +    <version>3.1.0.5.5</version>
>  
> -    <upgrades id="http://redhat.com/rhel/5.4/xen/3.1.0"/>
> +    <upgrades id="http://redhat.com/xen-rhel/3.1.0.5.4"/>
>      <derives-from id="http://xen.org/xen/3.1.0"/>
>    </platform>
>  
> -  <platform id="http://redhat.com/rhel/5.6/xen/3.1.0">
> -    <short-id>xen-3.1.0-rhel-5.6</short-id>
> +  <platform id="http://redhat.com/xen-rhel/3.1.0.5.6">
> +    <short-id>xen-rhel-3.1.0.5.6</short-id>
>      <_name>Xen 3.1.0 (RHEL 5.6)</_name>
>      <_vendor>Red Hat, Inc.</_vendor>
> -    <version>3.1.0</version>
> +    <version>3.1.0.5.6</version>
>  
> -    <upgrades id="http://redhat.com/rhel/5.5/xen/3.1.0"/>
> +    <upgrades id="http://redhat.com/xen-rhel/3.1.0.5.5"/>
>      <derives-from id="http://xen.org/xen/3.1.0"/>
>    </platform>
>  
> -  <platform id="http://redhat.com/rhel/5.7/xen/3.1.0">
> -    <short-id>xen-3.1.0-rhel-5.7</short-id>
> +  <platform id="http://redhat.com/xen-rhel/3.1.0.5.7">
> +    <short-id>xen-rhel-3.1.0.5.7</short-id>
>      <_name>Xen 3.1.0 (RHEL 5.7)</_name>
>      <_vendor>Red Hat, Inc.</_vendor>
> -    <version>3.1.0</version>
> +    <version>3.1.0.5.7</version>
>  
> -    <upgrades id="http://redhat.com/rhel/5.6/xen/3.1.0"/>
> +    <upgrades id="http://redhat.com/xen-rhel/3.1.0.5.6"/>
>      <derives-from id="http://xen.org/xen/3.1.0"/>
>    </platform>
>  
> -- 
> 2.4.3
> 
> _______________________________________________
> Libosinfo mailing list
> Libosinfo at redhat.com
> https://www.redhat.com/mailman/listinfo/libosinfo
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libosinfo/attachments/20151016/ac14492c/attachment.sig>


More information about the Libosinfo mailing list