On Sat, Jun 11, 2011 at 01:06:27AM +0300, Zeeshan Ali wrote: > From: "Zeeshan Ali (Khattak)" <[email protected]> > > Now libosinfo knows every RHEL OS known to python-virtinst. > --- > data/oses/rhel.xml | 45 +++++++++++++++++++++++++++++++++++++++++++++ > 1 files changed, 45 insertions(+), 0 deletions(-) > > diff --git a/data/oses/rhel.xml b/data/oses/rhel.xml > index 67cfc70..ef2a84e 100644 > --- a/data/oses/rhel.xml > +++ b/data/oses/rhel.xml > @@ -1,5 +1,19 @@ > <libosinfo version="0.0.1"> > > + <os id="http://redhat.com/rhel/2.1"> > + <short-id>rhel-2.1</short-id> > + <name>Red Hat Enterprise Linux 2.1</name> > + <version>2.1</version> > + <vendor>Red Hat, Inc</vendor> > + </os> > + > + <os id="http://redhat.com/rhel/3"> > + <short-id>rhel-3</short-id> > + <name>Red Hat Enterprise Linux 3</name> > + <version>3</version> > + <vendor>Red Hat, Inc</vendor> > + </os> > + > <os id="http://redhat.com/rhel/4.8"> > <short-id>rhel-4.8</short-id> > <name>Red Hat Enterprise Linux 4.8</name> > @@ -15,6 +29,21 @@ > <upgrades id="http://redhat.com/rhel/4.8"/> > </os> > > + <os id="http://redhat.com/rhel/4"> > + <short-id>rhel-4</short-id> > + <name>Red Hat Enterprise Linux 4</name> > + <version>4</version> > + <vendor>Red Hat, Inc</vendor> > + <clones id="http://redhat.com/rhel/4.9"> > + </os>
Ah, interesting idea providing a OS for the latest current update. I'm wondering whether this is actually needed in the data files though. I'm not sure it is currently possible, but I'd think our APIs ought to allow an application to apply a filter to fetch only OS instances, which are *not* upgraded by any other OS. Then we would not need to explicitly list latest OS in the data files. > + > + <os id="http://redhat.com/rhel/5.4"> > + <short-id>rhel-5.4</short-id> > + <name>Red Hat Enterprise Linux 5.4</name> > + <version>5.6</version> > + <vendor>Red Hat, Inc</vendor> > + </os> > + > <os id="http://redhat.com/rhel/5.6"> > <short-id>rhel-5.6</short-id> > <name>Red Hat Enterprise Linux 5.6</name> > @@ -35,6 +64,14 @@ > <upgrades id="http://redhat.com/rhel/5.6"/> > </os> > > + <os id="http://redhat.com/rhel/5"> > + <short-id>rhel-5</short-id> > + <name>Red Hat Enterprise Linux 5</name> > + <version>5</version> > + <vendor>Red Hat, Inc</vendor> > + <clones id="http://redhat.com/rhel/5.7"> > + </os> Same comment here as the one above > + > <os id="http://redhat.com/rhel/6.0"> > <short-id>rhel-6.0</short-id> > <name>Red Hat Enterprise Linux 6.0</name> > @@ -56,4 +93,12 @@ > <upgrades id="http://redhat.com/rhel/6.0"/> > </os> > > + <os id="http://redhat.com/rhel/6"> > + <short-id>rhel-6</short-id> > + <name>Red Hat Enterprise Linux 6</name> > + <version>6</version> > + <vendor>Red Hat, Inc</vendor> > + <clones id="http://redhat.com/rhel/6.1"> > + </os> And here. 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 :| _______________________________________________ virt-tools-list mailing list [email protected] https://www.redhat.com/mailman/listinfo/virt-tools-list
