[Libosinfo] [osinfo-db PATCH v2 7/8] debian: Add new <short-id>s for several releases

Andrea Bolognani abologna at redhat.com
Thu Apr 18 12:10:21 UTC 2019


On Thu, 2019-04-18 at 10:59 +0100, Daniel P. Berrangé wrote:
> On Thu, Apr 18, 2019 at 10:02:18AM +0200, Andrea Bolognani wrote:
> > To match the version number.
> > 
> > Signed-off-by: Andrea Bolognani <abologna at redhat.com>
> > ---
> >  data/os/debian.org/debian-3.xml.in | 1 +
> >  data/os/debian.org/debian-4.xml.in | 1 +
> >  data/os/debian.org/debian-5.xml.in | 1 +
> >  data/os/debian.org/debian-6.xml.in | 1 +
> >  4 files changed, 4 insertions(+)
> 
> I'm on the fence about whether we should do this one, given that
> we can't change the ID URL to have the extra digit, I'm not sure
> supporting the extra digit in the short-id is worth bothering
> about.

Tools like virt-install take <short-id> as an argument, and
osinfo-query will show all information in a neat table, and in
that context it makes sense to me to have

  debian2.2 | Debian 2.2 | 2.2 | http://debian.org/debian/2.2
  debian3.0 | Debian 3.0 | 3.0 | http://debian.org/debian/3
  debian3.1 | Debian 3.1 | 3.1 | http://debian.org/debian/3.1
  debian4.0 | Debian 4.0 | 4.0 | http://debian.org/debian/4

rather than

  debian2.2 | Debian 2.2 | 2.2 | http://debian.org/debian/2.2
  debian3   | Debian 3.0 | 3.0 | http://debian.org/debian/3
  debian3.1 | Debian 3.1 | 3.1 | http://debian.org/debian/3.1
  debian4   | Debian 4.0 | 4.0 | http://debian.org/debian/4

considering that the effort required is really minimal.

-- 
Andrea Bolognani / Red Hat / Virtualization




More information about the Libosinfo mailing list