[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [virt-tools-list] [libosinfo 2/5] Add Mandriva OS metadata



On Thu, Jun 16, 2011 at 02:51:26AM +0300, Zeeshan Ali wrote:
> From: "Zeeshan Ali (Khattak)" <zeeshanak gnome org>
> 
> ---
>  data/oses/Makefile.am  |    2 +-
>  data/oses/mandriva.xml |   41 +++++++++++++++++++++++++++++++++++++++++
>  2 files changed, 42 insertions(+), 1 deletions(-)
>  create mode 100644 data/oses/mandriva.xml
> 
> diff --git a/data/oses/Makefile.am b/data/oses/Makefile.am
> index c16686f..842e962 100644
> --- a/data/oses/Makefile.am
> +++ b/data/oses/Makefile.am
> @@ -1,5 +1,5 @@
>  
>  databasedir = $(pkgdatadir)/data/oses/
> -database_DATA = fedora.xml rhel.xml centos.xml suse.xml
> +database_DATA = fedora.xml rhel.xml centos.xml suse.xml mandriva.xml
>  
>  EXTRA_DIST = $(database_DATA)
> diff --git a/data/oses/mandriva.xml b/data/oses/mandriva.xml
> new file mode 100644
> index 0000000..5984cf0
> --- /dev/null
> +++ b/data/oses/mandriva.xml
> @@ -0,0 +1,41 @@
> +<libosinfo version="0.0.1">
> +
> +  <os id="http://www.mandriva.com/linux/2009";>
> +    <short-id>mandriva2009</short-id>
> +    <name>Mandriva Linux 2009 and earlier</name>
> +    <version>2009</version>
> +    <vendor>Mandriva</vendor>
> +  </os>
> +
> +  <os id="http://www.mandriva.com/linux/2010";>
> +    <short-id>mandriva2010</short-id>
> +    <name>Mandriva Linux 2010 and later</name>
> +    <version>2010</version>
> +    <vendor>Mandriva</vendor>
> +
> +    <devices>
> +      <device id="http://pciids.sourceforge.net/v2.2/pci.ids/1af4/1000";>
> +      <device id="http://pciids.sourceforge.net/v2.2/pci.ids/1af4/1001";>
> +    </devices>
> +  </os>
> +
> +  <os id="http://www.mandriva.com/linux/server/5.0";>
> +    <short-id>mes5</short-id>
> +    <name>Mandriva Enterprise Server 5.0</name>
> +    <version>5.0</version>
> +    <vendor>Mandriva</vendor>
> +  </os>
> +
> +  <os id="http://www.mandriva.com/linux/server/5.1";>
> +    <short-id>mes5.1</short-id>
> +    <name>Mandriva Enterprise Server 5.1 and later</name>
> +    <version>5.1</version>
> +    <vendor>Mandriva</vendor>
> +
> +    <devices>
> +      <device id="http://pciids.sourceforge.net/v2.2/pci.ids/1af4/1000";>
> +      <device id="http://pciids.sourceforge.net/v2.2/pci.ids/1af4/1001";>
> +    </devices>
> +  </os>

Phrases like 'and later' or 'and earlier' don't really belong here.
The <name> should be the vendor's preferred title for the OS
release in question.

We also need some <upgrades/> elements in there.

Daniel
-- 
|: http://berrange.com      -o-    http://www.flickr.com/photos/dberrange/ :|
|: http://libvirt.org              -o-             http://virt-manager.org :|
|: http://autobuild.org       -o-         http://search.cpan.org/~danberr/ :|
|: http://entangle-photo.org       -o-       http://live.gnome.org/gtk-vnc :|


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]