[Libosinfo] [osinfo-db PATCH 5/7] debian: Include <version> in <name>

Andrea Bolognani abologna at redhat.com
Wed Apr 17 15:24:31 UTC 2019


Debian releases are often referred to by their version name,
so it makes sense to include it along with the codename when
displaying information to the user.

Note that for some releases (namely 3.0, 4.0, 5.0 and 6.0)
the version number added to <name> does *not* match the value
contained in the <version> element, but rather the one used
by the Debian Project itself to refer to the release: the
corresponding <version>s and <short-id>s should arguably be
adjusted to match, but I'm not addressing that issue here.

Source: https://www.debian.org/releases/

Signed-off-by: Andrea Bolognani <abologna at redhat.com>
---
 data/os/debian.org/debian-1.1.xml.in | 2 +-
 data/os/debian.org/debian-1.2.xml.in | 2 +-
 data/os/debian.org/debian-1.3.xml.in | 2 +-
 data/os/debian.org/debian-2.0.xml.in | 2 +-
 data/os/debian.org/debian-2.1.xml.in | 2 +-
 data/os/debian.org/debian-2.2.xml.in | 2 +-
 data/os/debian.org/debian-3.1.xml.in | 2 +-
 data/os/debian.org/debian-3.xml.in   | 2 +-
 data/os/debian.org/debian-4.xml.in   | 2 +-
 data/os/debian.org/debian-5.xml.in   | 2 +-
 data/os/debian.org/debian-6.xml.in   | 2 +-
 data/os/debian.org/debian-7.xml.in   | 2 +-
 data/os/debian.org/debian-8.xml.in   | 2 +-
 data/os/debian.org/debian-9.xml.in   | 2 +-
 14 files changed, 14 insertions(+), 14 deletions(-)

diff --git a/data/os/debian.org/debian-1.1.xml.in b/data/os/debian.org/debian-1.1.xml.in
index cc3e47d..39aa6dc 100644
--- a/data/os/debian.org/debian-1.1.xml.in
+++ b/data/os/debian.org/debian-1.1.xml.in
@@ -4,7 +4,7 @@
   <os id="http://debian.org/debian/1.1">
     <short-id>debian1.1</short-id>
     <short-id>debianbuzz</short-id>
-    <_name>Debian Buzz</_name>
+    <_name>Debian 1.1 (Buzz)</_name>
     <version>1.1</version>
     <_vendor>Debian Project</_vendor>
     <family>linux</family>
diff --git a/data/os/debian.org/debian-1.2.xml.in b/data/os/debian.org/debian-1.2.xml.in
index 8f2003f..ffef8dc 100644
--- a/data/os/debian.org/debian-1.2.xml.in
+++ b/data/os/debian.org/debian-1.2.xml.in
@@ -4,7 +4,7 @@
   <os id="http://debian.org/debian/1.2">
     <short-id>debian1.2</short-id>
     <short-id>debianrex</short-id>
-    <_name>Debian Rex</_name>
+    <_name>Debian 1.2 (Rex)</_name>
     <version>1.2</version>
     <_vendor>Debian Project</_vendor>
     <family>linux</family>
diff --git a/data/os/debian.org/debian-1.3.xml.in b/data/os/debian.org/debian-1.3.xml.in
index 049f93e..f62d36a 100644
--- a/data/os/debian.org/debian-1.3.xml.in
+++ b/data/os/debian.org/debian-1.3.xml.in
@@ -4,7 +4,7 @@
   <os id="http://debian.org/debian/1.3">
     <short-id>debian1.3</short-id>
     <short-id>debianbo</short-id>
-    <_name>Debian Bo</_name>
+    <_name>Debian 1.3 (Bo)</_name>
     <version>1.3</version>
     <_vendor>Debian Project</_vendor>
     <family>linux</family>
diff --git a/data/os/debian.org/debian-2.0.xml.in b/data/os/debian.org/debian-2.0.xml.in
index 00d5522..61f5302 100644
--- a/data/os/debian.org/debian-2.0.xml.in
+++ b/data/os/debian.org/debian-2.0.xml.in
@@ -4,7 +4,7 @@
   <os id="http://debian.org/debian/2.0">
     <short-id>debian2.0</short-id>
     <short-id>debianhamm</short-id>
-    <_name>Debian Hamm</_name>
+    <_name>Debian 2.0 (Hamm)</_name>
     <version>2.0</version>
     <_vendor>Debian Project</_vendor>
     <family>linux</family>
diff --git a/data/os/debian.org/debian-2.1.xml.in b/data/os/debian.org/debian-2.1.xml.in
index e59fe38..9be91cb 100644
--- a/data/os/debian.org/debian-2.1.xml.in
+++ b/data/os/debian.org/debian-2.1.xml.in
@@ -4,7 +4,7 @@
   <os id="http://debian.org/debian/2.1">
     <short-id>debian2.1</short-id>
     <short-id>debianslink</short-id>
-    <_name>Debian Slink</_name>
+    <_name>Debian 2.1 (Slink)</_name>
     <version>2.1</version>
     <_vendor>Debian Project</_vendor>
     <family>linux</family>
diff --git a/data/os/debian.org/debian-2.2.xml.in b/data/os/debian.org/debian-2.2.xml.in
index af2c94b..5acb56d 100644
--- a/data/os/debian.org/debian-2.2.xml.in
+++ b/data/os/debian.org/debian-2.2.xml.in
@@ -4,7 +4,7 @@
   <os id="http://debian.org/debian/2.2">
     <short-id>debian2.2</short-id>
     <short-id>debianpotato</short-id>
-    <_name>Debian Potato</_name>
+    <_name>Debian 2.2 (Potato)</_name>
     <version>2.2</version>
     <_vendor>Debian Project</_vendor>
     <family>linux</family>
diff --git a/data/os/debian.org/debian-3.1.xml.in b/data/os/debian.org/debian-3.1.xml.in
index b03b114..cc49ac1 100644
--- a/data/os/debian.org/debian-3.1.xml.in
+++ b/data/os/debian.org/debian-3.1.xml.in
@@ -4,7 +4,7 @@
   <os id="http://debian.org/debian/3.1">
     <short-id>debian3.1</short-id>
     <short-id>debiansarge</short-id>
-    <_name>Debian Sarge</_name>
+    <_name>Debian 3.1 (Sarge)</_name>
     <version>3.1</version>
     <_vendor>Debian Project</_vendor>
     <family>linux</family>
diff --git a/data/os/debian.org/debian-3.xml.in b/data/os/debian.org/debian-3.xml.in
index 386f7ba..3a78d98 100644
--- a/data/os/debian.org/debian-3.xml.in
+++ b/data/os/debian.org/debian-3.xml.in
@@ -4,7 +4,7 @@
   <os id="http://debian.org/debian/3">
     <short-id>debian3</short-id>
     <short-id>debianwoody</short-id>
-    <_name>Debian Woody</_name>
+    <_name>Debian 3.0 (Woody)</_name>
     <version>3</version>
     <_vendor>Debian Project</_vendor>
     <family>linux</family>
diff --git a/data/os/debian.org/debian-4.xml.in b/data/os/debian.org/debian-4.xml.in
index 876f7a3..a5365c8 100644
--- a/data/os/debian.org/debian-4.xml.in
+++ b/data/os/debian.org/debian-4.xml.in
@@ -4,7 +4,7 @@
   <os id="http://debian.org/debian/4">
     <short-id>debian4</short-id>
     <short-id>debianetch</short-id>
-    <_name>Debian Etch</_name>
+    <_name>Debian 4.0 (Etch)</_name>
     <version>4</version>
     <_vendor>Debian Project</_vendor>
     <family>linux</family>
diff --git a/data/os/debian.org/debian-5.xml.in b/data/os/debian.org/debian-5.xml.in
index 9ef400a..23561ae 100644
--- a/data/os/debian.org/debian-5.xml.in
+++ b/data/os/debian.org/debian-5.xml.in
@@ -4,7 +4,7 @@
   <os id="http://debian.org/debian/5">
     <short-id>debian5</short-id>
     <short-id>debianlenny</short-id>
-    <_name>Debian Lenny</_name>
+    <_name>Debian 5.0 (Lenny)</_name>
     <version>5</version>
     <_vendor>Debian Project</_vendor>
     <family>linux</family>
diff --git a/data/os/debian.org/debian-6.xml.in b/data/os/debian.org/debian-6.xml.in
index 949211f..4ec61f7 100644
--- a/data/os/debian.org/debian-6.xml.in
+++ b/data/os/debian.org/debian-6.xml.in
@@ -4,7 +4,7 @@
   <os id="http://debian.org/debian/6">
     <short-id>debian6</short-id>
     <short-id>debiansqueeze</short-id>
-    <_name>Debian Squeeze</_name>
+    <_name>Debian 6.0 (Squeeze)</_name>
     <version>6</version>
     <_vendor>Debian Project</_vendor>
     <family>linux</family>
diff --git a/data/os/debian.org/debian-7.xml.in b/data/os/debian.org/debian-7.xml.in
index 3a14189..cad7cde 100644
--- a/data/os/debian.org/debian-7.xml.in
+++ b/data/os/debian.org/debian-7.xml.in
@@ -4,7 +4,7 @@
   <os id="http://debian.org/debian/7">
     <short-id>debian7</short-id>
     <short-id>debianwheezy</short-id>
-    <_name>Debian Wheezy</_name>
+    <_name>Debian 7 (Wheezy)</_name>
     <version>7</version>
     <_vendor>Debian Project</_vendor>
     <family>linux</family>
diff --git a/data/os/debian.org/debian-8.xml.in b/data/os/debian.org/debian-8.xml.in
index 52d9f1a..cee824d 100644
--- a/data/os/debian.org/debian-8.xml.in
+++ b/data/os/debian.org/debian-8.xml.in
@@ -4,7 +4,7 @@
   <os id="http://debian.org/debian/8">
     <short-id>debian8</short-id>
     <short-id>debianjessie</short-id>
-    <_name>Debian Jessie</_name>
+    <_name>Debian 8 (Jessie)</_name>
     <version>8</version>
     <_vendor>Debian Project</_vendor>
     <family>linux</family>
diff --git a/data/os/debian.org/debian-9.xml.in b/data/os/debian.org/debian-9.xml.in
index a0a88d9..da82deb 100644
--- a/data/os/debian.org/debian-9.xml.in
+++ b/data/os/debian.org/debian-9.xml.in
@@ -4,7 +4,7 @@
   <os id="http://debian.org/debian/9">
     <short-id>debian9</short-id>
     <short-id>debianstretch</short-id>
-    <_name>Debian Stretch</_name>
+    <_name>Debian 9 (Stretch)</_name>
     <version>9</version>
     <_vendor>Debian Project</_vendor>
     <family>linux</family>
-- 
2.20.1




More information about the Libosinfo mailing list