[Libosinfo] [osinfo-db PATCH v2 8/8] debian: Update <id>s for several releases

Andrea Bolognani abologna at redhat.com
Thu Apr 18 08:02:19 UTC 2019


To match the version number.

Signed-off-by: Andrea Bolognani <abologna at redhat.com>
---
I'm pretty sure this is a backwards-incompatible change and thus not
suitable for merging, but I'm not familiar enough with libosinfo to
be able to say with absolute certainty, so I figured I'd just throw
it in and see what happens O:-)

 data/os/debian.org/{debian-3.xml.in => debian-3.0.xml.in} | 2 +-
 data/os/debian.org/debian-3.1.xml.in                      | 4 ++--
 data/os/debian.org/{debian-4.xml.in => debian-4.0.xml.in} | 2 +-
 data/os/debian.org/{debian-5.xml.in => debian-5.0.xml.in} | 6 +++---
 data/os/debian.org/{debian-6.xml.in => debian-6.0.xml.in} | 6 +++---
 data/os/debian.org/debian-7.xml.in                        | 4 ++--
 6 files changed, 12 insertions(+), 12 deletions(-)
 rename data/os/debian.org/{debian-3.xml.in => debian-3.0.xml.in} (94%)
 rename data/os/debian.org/{debian-4.xml.in => debian-4.0.xml.in} (94%)
 rename data/os/debian.org/{debian-5.xml.in => debian-5.0.xml.in} (88%)
 rename data/os/debian.org/{debian-6.xml.in => debian-6.0.xml.in} (94%)

diff --git a/data/os/debian.org/debian-3.xml.in b/data/os/debian.org/debian-3.0.xml.in
similarity index 94%
rename from data/os/debian.org/debian-3.xml.in
rename to data/os/debian.org/debian-3.0.xml.in
index eddb1a9..3f28fc4 100644
--- a/data/os/debian.org/debian-3.xml.in
+++ b/data/os/debian.org/debian-3.0.xml.in
@@ -1,7 +1,7 @@
 <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://debian.org/debian/3">
+  <os id="http://debian.org/debian/3.0">
     <short-id>debian3.0</short-id>
     <short-id>debian3</short-id>
     <short-id>debianwoody</short-id>
diff --git a/data/os/debian.org/debian-3.1.xml.in b/data/os/debian.org/debian-3.1.xml.in
index 6cdcba6..987ce8b 100644
--- a/data/os/debian.org/debian-3.1.xml.in
+++ b/data/os/debian.org/debian-3.1.xml.in
@@ -10,8 +10,8 @@
     <family>linux</family>
     <distro>debian</distro>
     <codename>sarge</codename>
-    <upgrades id="http://debian.org/debian/3"/>
-    <derives-from id="http://debian.org/debian/3"/>
+    <upgrades id="http://debian.org/debian/3.0"/>
+    <derives-from id="http://debian.org/debian/3.0"/>
 
     <release-date>2005-06-06</release-date>
     <eol-date>2008-03-31</eol-date>
diff --git a/data/os/debian.org/debian-4.xml.in b/data/os/debian.org/debian-4.0.xml.in
similarity index 94%
rename from data/os/debian.org/debian-4.xml.in
rename to data/os/debian.org/debian-4.0.xml.in
index 161a404..3116145 100644
--- a/data/os/debian.org/debian-4.xml.in
+++ b/data/os/debian.org/debian-4.0.xml.in
@@ -1,7 +1,7 @@
 <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://debian.org/debian/4">
+  <os id="http://debian.org/debian/4.0">
     <short-id>debian4.0</short-id>
     <short-id>debian4</short-id>
     <short-id>debianetch</short-id>
diff --git a/data/os/debian.org/debian-5.xml.in b/data/os/debian.org/debian-5.0.xml.in
similarity index 88%
rename from data/os/debian.org/debian-5.xml.in
rename to data/os/debian.org/debian-5.0.xml.in
index 7b502f5..510d8f2 100644
--- a/data/os/debian.org/debian-5.xml.in
+++ b/data/os/debian.org/debian-5.0.xml.in
@@ -1,7 +1,7 @@
 <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://debian.org/debian/5">
+  <os id="http://debian.org/debian/5.0">
     <short-id>debian5.0</short-id>
     <short-id>debian5</short-id>
     <short-id>debianlenny</short-id>
@@ -11,8 +11,8 @@
     <family>linux</family>
     <distro>debian</distro>
     <codename>lenny</codename>
-    <upgrades id="http://debian.org/debian/4"/>
-    <derives-from id="http://debian.org/debian/4"/>
+    <upgrades id="http://debian.org/debian/4.0"/>
+    <derives-from id="http://debian.org/debian/4.0"/>
 
     <release-date>2009-02-14</release-date>
     <eol-date>2012-02-06</eol-date>
diff --git a/data/os/debian.org/debian-6.xml.in b/data/os/debian.org/debian-6.0.xml.in
similarity index 94%
rename from data/os/debian.org/debian-6.xml.in
rename to data/os/debian.org/debian-6.0.xml.in
index eb2110f..021607e 100644
--- a/data/os/debian.org/debian-6.xml.in
+++ b/data/os/debian.org/debian-6.0.xml.in
@@ -1,7 +1,7 @@
 <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://debian.org/debian/6">
+  <os id="http://debian.org/debian/6.0">
     <short-id>debian6.0</short-id>
     <short-id>debian6</short-id>
     <short-id>debiansqueeze</short-id>
@@ -11,8 +11,8 @@
     <family>linux</family>
     <distro>debian</distro>
     <codename>squeeze</codename>
-    <upgrades id="http://debian.org/debian/5"/>
-    <derives-from id="http://debian.org/debian/5"/>
+    <upgrades id="http://debian.org/debian/5.0"/>
+    <derives-from id="http://debian.org/debian/5.0"/>
 
     <release-date>2011-02-06</release-date>
     <eol-date>2016-02-29</eol-date>
diff --git a/data/os/debian.org/debian-7.xml.in b/data/os/debian.org/debian-7.xml.in
index 74421b9..f342f49 100644
--- a/data/os/debian.org/debian-7.xml.in
+++ b/data/os/debian.org/debian-7.xml.in
@@ -10,8 +10,8 @@
     <family>linux</family>
     <distro>debian</distro>
     <codename>wheezy</codename>
-    <upgrades id="http://debian.org/debian/6"/>
-    <derives-from id="http://debian.org/debian/6"/>
+    <upgrades id="http://debian.org/debian/6.0"/>
+    <derives-from id="http://debian.org/debian/6.0"/>
 
     <release-date>2013-05-04</release-date>
     <eol-date>2018-05-31</eol-date>
-- 
2.20.1




More information about the Libosinfo mailing list