Re: [osinfo-db PATCH v2 4/4] rhel: Add RHEL unknown info

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

 



On Fri, Nov 16, 2018 at 10:39 AM Christophe Fergeau <cfergeau@xxxxxxxxxx> wrote:
>
> On Thu, Nov 15, 2018 at 10:43:24PM +0100, Fabiano Fidêncio wrote:
> > From: Fabiano Fidêncio <fabiano@xxxxxxxxxxxx>
> >
> > In a similar way of what's done on openSUSE and Fedora, let's have an
> > "unknown" entry for RHEL that would cover any possible future releases
> > while the proper release is not added to our db.
> >
> > Signed-off-by: Fabiano Fidêncio <fabiano@xxxxxxxxxxxx>
> > ---
> >  data/os/redhat.com/rhel-unknown.xml.in | 80 ++++++++++++++++++++++++++
> >  1 file changed, 80 insertions(+)
> >  create mode 100644 data/os/redhat.com/rhel-unknown.xml.in
> >
> > diff --git a/data/os/redhat.com/rhel-unknown.xml.in b/data/os/redhat.com/rhel-unknown.xml.in
> > new file mode 100644
> > index 0000000..180c666
> > --- /dev/null
> > +++ b/data/os/redhat.com/rhel-unknown.xml.in
> > @@ -0,0 +1,80 @@
> > +<libosinfo version="0.0.1">
> > +<!-- Licensed under the GNU General Public License version 2 or later.
> > +     See http://www.gnu.org/licenses/ for a copy of the license text -->
> > +  <os id="http://redhat.com/rhel/unknown";>
> > +    <short-id>rhel-unknown</short-id>
> > +    <_name>Red Hat Enterprise Linux Unknown</_name>
> > +    <version>unknown</version>
> > +    <_vendor>Red Hat, Inc</_vendor>
> > +    <family>linux</family>
> > +    <distro>rhel</distro>
> > +    <upgrades id="http://redhat.com/rhel/8-unknown"/>
>
> I guess I would mark it as updating rhel 8.0, not an unreleased version
> of RHEL8. Apart from that, this looks good to me,

Upgrading 8-unknown gives us one less file to update whenever
8.something gets released, as 8-unknown is going to be updated
together.

[snip]

_______________________________________________
Libosinfo mailing list
Libosinfo@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libosinfo




[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Fedora Users]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux