[Libosinfo] [PATCH v2 27/52] data: split mandriva into one file per OS

Daniel P. Berrange berrange at redhat.com
Mon Oct 5 15:31:31 UTC 2015


Signed-off-by: Daniel P. Berrange <berrange at redhat.com>
---
 data/oses/Makefile.am                         |   1 -
 data/oses/mandriva.com/mandriva-2006.0.xml.in |  13 ++
 data/oses/mandriva.com/mandriva-2007.1.xml.in |  13 ++
 data/oses/mandriva.com/mandriva-2007.xml.in   |  13 ++
 data/oses/mandriva.com/mandriva-2008.0.xml.in |  13 ++
 data/oses/mandriva.com/mandriva-2008.1.xml.in |  13 ++
 data/oses/mandriva.com/mandriva-2009.0.xml.in |  13 ++
 data/oses/mandriva.com/mandriva-2009.1.xml.in |  13 ++
 data/oses/mandriva.com/mandriva-2010.0.xml.in |  17 +++
 data/oses/mandriva.com/mandriva-2010.1.xml.in |  13 ++
 data/oses/mandriva.com/mandriva-2010.2.xml.in |  13 ++
 data/oses/mandriva.com/mandriva-2011.xml.in   |  14 ++
 data/oses/mandriva.com/mbs-1.0.xml.in         |  11 ++
 data/oses/mandriva.com/mes-5.0.xml.in         |  11 ++
 data/oses/mandriva.com/mes-5.1.xml.in         |  17 +++
 data/oses/mandriva.xml.in                     | 176 --------------------------
 po/POTFILES.in                                |  15 ++-
 17 files changed, 201 insertions(+), 178 deletions(-)
 create mode 100644 data/oses/mandriva.com/mandriva-2006.0.xml.in
 create mode 100644 data/oses/mandriva.com/mandriva-2007.1.xml.in
 create mode 100644 data/oses/mandriva.com/mandriva-2007.xml.in
 create mode 100644 data/oses/mandriva.com/mandriva-2008.0.xml.in
 create mode 100644 data/oses/mandriva.com/mandriva-2008.1.xml.in
 create mode 100644 data/oses/mandriva.com/mandriva-2009.0.xml.in
 create mode 100644 data/oses/mandriva.com/mandriva-2009.1.xml.in
 create mode 100644 data/oses/mandriva.com/mandriva-2010.0.xml.in
 create mode 100644 data/oses/mandriva.com/mandriva-2010.1.xml.in
 create mode 100644 data/oses/mandriva.com/mandriva-2010.2.xml.in
 create mode 100644 data/oses/mandriva.com/mandriva-2011.xml.in
 create mode 100644 data/oses/mandriva.com/mbs-1.0.xml.in
 create mode 100644 data/oses/mandriva.com/mes-5.0.xml.in
 create mode 100644 data/oses/mandriva.com/mes-5.1.xml.in
 delete mode 100644 data/oses/mandriva.xml.in

diff --git a/data/oses/Makefile.am b/data/oses/Makefile.am
index 77efd50..fa8ade2 100644
--- a/data/oses/Makefile.am
+++ b/data/oses/Makefile.am
@@ -14,7 +14,6 @@ SUBDIRS = \
 
 databasedir = $(pkgdatadir)/db/oses/
 database_in_files =	\
-	mandriva.xml.in \
 	netbsd.xml.in	\
 	netware.xml.in  \
 	openbsd.xml.in  \
diff --git a/data/oses/mandriva.com/mandriva-2006.0.xml.in b/data/oses/mandriva.com/mandriva-2006.0.xml.in
new file mode 100644
index 0000000..abb726b
--- /dev/null
+++ b/data/oses/mandriva.com/mandriva-2006.0.xml.in
@@ -0,0 +1,13 @@
+<libosinfo version="0.0.1">
+  <os id="http://mandriva.com/mandriva/2006.0">
+    <short-id>mandriva2006.0</short-id>
+    <_name>Mandriva Linux 2006.0</_name>
+    <_vendor>Mandriva</_vendor>
+    <family>linux</family>
+    <distro>mandriva</distro>
+    <version>2006.0</version>
+    <upgrades id="http://mandriva.com/mandrake/10.2"/>
+    <derives-from id="http://mandriva.com/mandrake/10.2"/>
+
+  </os>
+</libosinfo>
diff --git a/data/oses/mandriva.com/mandriva-2007.1.xml.in b/data/oses/mandriva.com/mandriva-2007.1.xml.in
new file mode 100644
index 0000000..70a09c8
--- /dev/null
+++ b/data/oses/mandriva.com/mandriva-2007.1.xml.in
@@ -0,0 +1,13 @@
+<libosinfo version="0.0.1">
+  <os id="http://mandriva.com/mandriva/2007.1">
+    <short-id>mandriva2007.1</short-id>
+    <_name>Mandriva Linux 2007 Spring</_name>
+    <_vendor>Mandriva</_vendor>
+    <family>linux</family>
+    <distro>mandriva</distro>
+    <version>2007.1</version>
+    <upgrades id="http://mandriva.com/mandriva/2007"/>
+    <derives-from id="http://mandriva.com/mandriva/2007"/>
+
+  </os>
+</libosinfo>
diff --git a/data/oses/mandriva.com/mandriva-2007.xml.in b/data/oses/mandriva.com/mandriva-2007.xml.in
new file mode 100644
index 0000000..032780d
--- /dev/null
+++ b/data/oses/mandriva.com/mandriva-2007.xml.in
@@ -0,0 +1,13 @@
+<libosinfo version="0.0.1">
+  <os id="http://mandriva.com/mandriva/2007">
+    <short-id>mandriva2007</short-id>
+    <_name>Mandriva Linux 2007</_name>
+    <_vendor>Mandriva</_vendor>
+    <family>linux</family>
+    <distro>mandriva</distro>
+    <version>2007</version>
+    <upgrades id="http://mandriva.com/mandriva/2006.0"/>
+    <derives-from id="http://mandriva.com/mandriva/2006.0"/>
+
+  </os>
+</libosinfo>
diff --git a/data/oses/mandriva.com/mandriva-2008.0.xml.in b/data/oses/mandriva.com/mandriva-2008.0.xml.in
new file mode 100644
index 0000000..da9743c
--- /dev/null
+++ b/data/oses/mandriva.com/mandriva-2008.0.xml.in
@@ -0,0 +1,13 @@
+<libosinfo version="0.0.1">
+  <os id="http://mandriva.com/mandriva/2008.0">
+    <short-id>mandriva2008.0</short-id>
+    <_name>Mandriva Linux 2008</_name>
+    <_vendor>Mandriva</_vendor>
+    <family>linux</family>
+    <distro>mandriva</distro>
+    <version>2008.0</version>
+    <upgrades id="http://mandriva.com/mandriva/2007.1"/>
+    <derives-from id="http://mandriva.com/mandriva/2007.1"/>
+
+  </os>
+</libosinfo>
diff --git a/data/oses/mandriva.com/mandriva-2008.1.xml.in b/data/oses/mandriva.com/mandriva-2008.1.xml.in
new file mode 100644
index 0000000..64593d8
--- /dev/null
+++ b/data/oses/mandriva.com/mandriva-2008.1.xml.in
@@ -0,0 +1,13 @@
+<libosinfo version="0.0.1">
+  <os id="http://mandriva.com/mandriva/2008.1">
+    <short-id>mandriva2008.1</short-id>
+    <_name>Mandriva Linux 2008 Spring</_name>
+    <_vendor>Mandriva</_vendor>
+    <family>linux</family>
+    <distro>mandriva</distro>
+    <version>2008.1</version>
+    <upgrades id="http://mandriva.com/mandriva/2008.0"/>
+    <derives-from id="http://mandriva.com/mandriva/2008.0"/>
+
+  </os>
+</libosinfo>
diff --git a/data/oses/mandriva.com/mandriva-2009.0.xml.in b/data/oses/mandriva.com/mandriva-2009.0.xml.in
new file mode 100644
index 0000000..1f2d9b3
--- /dev/null
+++ b/data/oses/mandriva.com/mandriva-2009.0.xml.in
@@ -0,0 +1,13 @@
+<libosinfo version="0.0.1">
+  <os id="http://mandriva.com/mandriva/2009.0">
+    <short-id>mandriva2009.0</short-id>
+    <_name>Mandriva Linux 2009</_name>
+    <_vendor>Mandriva</_vendor>
+    <family>linux</family>
+    <distro>mandriva</distro>
+    <version>2009.0</version>
+    <upgrades id="http://mandriva.com/mandriva/2008.1"/>
+    <derives-from id="http://mandriva.com/mandriva/2008.1"/>
+
+  </os>
+</libosinfo>
diff --git a/data/oses/mandriva.com/mandriva-2009.1.xml.in b/data/oses/mandriva.com/mandriva-2009.1.xml.in
new file mode 100644
index 0000000..c8bfb97
--- /dev/null
+++ b/data/oses/mandriva.com/mandriva-2009.1.xml.in
@@ -0,0 +1,13 @@
+<libosinfo version="0.0.1">
+  <os id="http://mandriva.com/mandriva/2009.1">
+    <short-id>mandriva2009.1</short-id>
+    <_name>Mandriva Linux 2009 Spring</_name>
+    <_vendor>Mandriva</_vendor>
+    <family>linux</family>
+    <distro>mandriva</distro>
+    <version>2009.1</version>
+    <upgrades id="http://mandriva.com/mandriva/2009.0"/>
+    <derives-from id="http://mandriva.com/mandriva/2009.0"/>
+
+  </os>
+</libosinfo>
diff --git a/data/oses/mandriva.com/mandriva-2010.0.xml.in b/data/oses/mandriva.com/mandriva-2010.0.xml.in
new file mode 100644
index 0000000..d2d6d64
--- /dev/null
+++ b/data/oses/mandriva.com/mandriva-2010.0.xml.in
@@ -0,0 +1,17 @@
+<libosinfo version="0.0.1">
+  <os id="http://mandriva.com/mandriva/2010.0">
+    <short-id>mandriva2010.0</short-id>
+    <_name>Mandriva Linux 2010</_name>
+    <_vendor>Mandriva</_vendor>
+    <family>linux</family>
+    <distro>mandriva</distro>
+    <version>2010.0</version>
+    <upgrades id="http://mandriva.com/mandriva/2009.1"/>
+    <derives-from id="http://mandriva.com/mandriva/2009.1"/>
+
+    <devices>
+      <device id="http://pcisig.com/pci/1af4/1000"/>
+      <device id="http://pcisig.com/pci/1af4/1001"/>
+    </devices>
+  </os>
+</libosinfo>
diff --git a/data/oses/mandriva.com/mandriva-2010.1.xml.in b/data/oses/mandriva.com/mandriva-2010.1.xml.in
new file mode 100644
index 0000000..f17651c
--- /dev/null
+++ b/data/oses/mandriva.com/mandriva-2010.1.xml.in
@@ -0,0 +1,13 @@
+<libosinfo version="0.0.1">
+  <os id="http://mandriva.com/mandriva/2010.1">
+    <short-id>mandriva2010.1</short-id>
+    <_name>Mandriva Linux 2010 Spring</_name>
+    <_vendor>Mandriva</_vendor>
+    <family>linux</family>
+    <distro>mandriva</distro>
+    <version>2010.1</version>
+    <upgrades id="http://mandriva.com/mandriva/2010.0"/>
+    <derives-from id="http://mandriva.com/mandriva/2010.0"/>
+
+  </os>
+</libosinfo>
diff --git a/data/oses/mandriva.com/mandriva-2010.2.xml.in b/data/oses/mandriva.com/mandriva-2010.2.xml.in
new file mode 100644
index 0000000..c4e9ec1
--- /dev/null
+++ b/data/oses/mandriva.com/mandriva-2010.2.xml.in
@@ -0,0 +1,13 @@
+<libosinfo version="0.0.1">
+  <os id="http://mandriva.com/mandriva/2010.2">
+    <short-id>mandriva2010.2</short-id>
+    <_name>Mandriva Linux 2010.2</_name>
+    <_vendor>Mandriva</_vendor>
+    <family>linux</family>
+    <distro>mandriva</distro>
+    <version>2010.2</version>
+    <upgrades id="http://mandriva.com/mandriva/2010.1"/>
+    <derives-from id="http://mandriva.com/mandriva/2010.1"/>
+
+  </os>
+</libosinfo>
diff --git a/data/oses/mandriva.com/mandriva-2011.xml.in b/data/oses/mandriva.com/mandriva-2011.xml.in
new file mode 100644
index 0000000..3bec234
--- /dev/null
+++ b/data/oses/mandriva.com/mandriva-2011.xml.in
@@ -0,0 +1,14 @@
+<libosinfo version="0.0.1">
+  <os id="http://mandriva.com/mandriva/2011">
+    <short-id>mandriva2011</short-id>
+    <_name>Mandriva Linux 2011</_name>
+    <_vendor>Mandriva</_vendor>
+    <family>linux</family>
+    <distro>mandriva</distro>
+    <codename>Hydrogen</codename>
+    <version>2011</version>
+    <upgrades id="http://mandriva.com/mandriva/2010.2"/>
+    <derives-from id="http://mandriva.com/mandriva/2010.2"/>
+
+  </os>
+</libosinfo>
diff --git a/data/oses/mandriva.com/mbs-1.0.xml.in b/data/oses/mandriva.com/mbs-1.0.xml.in
new file mode 100644
index 0000000..0c8f19a
--- /dev/null
+++ b/data/oses/mandriva.com/mbs-1.0.xml.in
@@ -0,0 +1,11 @@
+<libosinfo version="0.0.1">
+  <os id="http://mandriva.com/mbs/1.0">
+    <short-id>mbs1.0</short-id>
+    <_name>Mandriva Business Server 1.0</_name>
+    <version>1.0</version>
+    <_vendor>Mandriva</_vendor>
+    <family>linux</family>
+    <distro>mbs</distro>
+
+  </os>
+</libosinfo>
diff --git a/data/oses/mandriva.com/mes-5.0.xml.in b/data/oses/mandriva.com/mes-5.0.xml.in
new file mode 100644
index 0000000..547ffdc
--- /dev/null
+++ b/data/oses/mandriva.com/mes-5.0.xml.in
@@ -0,0 +1,11 @@
+<libosinfo version="0.0.1">
+  <os id="http://mandriva.com/mes/5.0">
+    <short-id>mes5</short-id>
+    <_name>Mandriva Enterprise Server 5.0</_name>
+    <version>5.0</version>
+    <_vendor>Mandriva</_vendor>
+    <family>linux</family>
+    <distro>mes</distro>
+
+  </os>
+</libosinfo>
diff --git a/data/oses/mandriva.com/mes-5.1.xml.in b/data/oses/mandriva.com/mes-5.1.xml.in
new file mode 100644
index 0000000..d4a0f25
--- /dev/null
+++ b/data/oses/mandriva.com/mes-5.1.xml.in
@@ -0,0 +1,17 @@
+<libosinfo version="0.0.1">
+  <os id="http://mandriva.com/mes/5.1">
+    <short-id>mes5.1</short-id>
+    <_name>Mandriva Enterprise Server 5.1</_name>
+    <version>5.1</version>
+    <_vendor>Mandriva</_vendor>
+    <family>linux</family>
+    <distro>mes</distro>
+    <upgrades id="http://mandriva.com/mes/5.0"/>
+    <derives-from id="http://mandriva.com/mes/5.0"/>
+
+    <devices>
+      <device id="http://pcisig.com/pci/1af4/1000"/>
+      <device id="http://pcisig.com/pci/1af4/1001"/>
+    </devices>
+  </os>
+</libosinfo>
diff --git a/data/oses/mandriva.xml.in b/data/oses/mandriva.xml.in
deleted file mode 100644
index 3184516..0000000
--- a/data/oses/mandriva.xml.in
+++ /dev/null
@@ -1,176 +0,0 @@
-<libosinfo version="0.0.1">
-
-  <os id="http://mandriva.com/mandriva/2006.0">
-    <short-id>mandriva2006.0</short-id>
-    <_name>Mandriva Linux 2006.0</_name>
-    <_vendor>Mandriva</_vendor>
-    <family>linux</family>
-    <distro>mandriva</distro>
-    <version>2006.0</version>
-    <upgrades id="http://mandriva.com/mandrake/10.2"/>
-    <derives-from id="http://mandriva.com/mandrake/10.2"/>
-
-  </os>
-
-  <os id="http://mandriva.com/mandriva/2007">
-    <short-id>mandriva2007</short-id>
-    <_name>Mandriva Linux 2007</_name>
-    <_vendor>Mandriva</_vendor>
-    <family>linux</family>
-    <distro>mandriva</distro>
-    <version>2007</version>
-    <upgrades id="http://mandriva.com/mandriva/2006.0"/>
-    <derives-from id="http://mandriva.com/mandriva/2006.0"/>
-
-  </os>
-
-  <os id="http://mandriva.com/mandriva/2007.1">
-    <short-id>mandriva2007.1</short-id>
-    <_name>Mandriva Linux 2007 Spring</_name>
-    <_vendor>Mandriva</_vendor>
-    <family>linux</family>
-    <distro>mandriva</distro>
-    <version>2007.1</version>
-    <upgrades id="http://mandriva.com/mandriva/2007"/>
-    <derives-from id="http://mandriva.com/mandriva/2007"/>
-
-  </os>
-
-  <os id="http://mandriva.com/mandriva/2008.0">
-    <short-id>mandriva2008.0</short-id>
-    <_name>Mandriva Linux 2008</_name>
-    <_vendor>Mandriva</_vendor>
-    <family>linux</family>
-    <distro>mandriva</distro>
-    <version>2008.0</version>
-    <upgrades id="http://mandriva.com/mandriva/2007.1"/>
-    <derives-from id="http://mandriva.com/mandriva/2007.1"/>
-
-  </os>
-
-  <os id="http://mandriva.com/mandriva/2008.1">
-    <short-id>mandriva2008.1</short-id>
-    <_name>Mandriva Linux 2008 Spring</_name>
-    <_vendor>Mandriva</_vendor>
-    <family>linux</family>
-    <distro>mandriva</distro>
-    <version>2008.1</version>
-    <upgrades id="http://mandriva.com/mandriva/2008.0"/>
-    <derives-from id="http://mandriva.com/mandriva/2008.0"/>
-
-  </os>
-
-  <os id="http://mandriva.com/mandriva/2009.0">
-    <short-id>mandriva2009.0</short-id>
-    <_name>Mandriva Linux 2009</_name>
-    <_vendor>Mandriva</_vendor>
-    <family>linux</family>
-    <distro>mandriva</distro>
-    <version>2009.0</version>
-    <upgrades id="http://mandriva.com/mandriva/2008.1"/>
-    <derives-from id="http://mandriva.com/mandriva/2008.1"/>
-
-  </os>
-
-  <os id="http://mandriva.com/mandriva/2009.1">
-    <short-id>mandriva2009.1</short-id>
-    <_name>Mandriva Linux 2009 Spring</_name>
-    <_vendor>Mandriva</_vendor>
-    <family>linux</family>
-    <distro>mandriva</distro>
-    <version>2009.1</version>
-    <upgrades id="http://mandriva.com/mandriva/2009.0"/>
-    <derives-from id="http://mandriva.com/mandriva/2009.0"/>
-
-  </os>
-
-  <os id="http://mandriva.com/mandriva/2010.0">
-    <short-id>mandriva2010.0</short-id>
-    <_name>Mandriva Linux 2010</_name>
-    <_vendor>Mandriva</_vendor>
-    <family>linux</family>
-    <distro>mandriva</distro>
-    <version>2010.0</version>
-    <upgrades id="http://mandriva.com/mandriva/2009.1"/>
-    <derives-from id="http://mandriva.com/mandriva/2009.1"/>
-
-    <devices>
-      <device id="http://pcisig.com/pci/1af4/1000"/>
-      <device id="http://pcisig.com/pci/1af4/1001"/>
-    </devices>
-  </os>
-
-  <os id="http://mandriva.com/mandriva/2010.1">
-    <short-id>mandriva2010.1</short-id>
-    <_name>Mandriva Linux 2010 Spring</_name>
-    <_vendor>Mandriva</_vendor>
-    <family>linux</family>
-    <distro>mandriva</distro>
-    <version>2010.1</version>
-    <upgrades id="http://mandriva.com/mandriva/2010.0"/>
-    <derives-from id="http://mandriva.com/mandriva/2010.0"/>
-
-  </os>
-
-  <os id="http://mandriva.com/mandriva/2010.2">
-    <short-id>mandriva2010.2</short-id>
-    <_name>Mandriva Linux 2010.2</_name>
-    <_vendor>Mandriva</_vendor>
-    <family>linux</family>
-    <distro>mandriva</distro>
-    <version>2010.2</version>
-    <upgrades id="http://mandriva.com/mandriva/2010.1"/>
-    <derives-from id="http://mandriva.com/mandriva/2010.1"/>
-
-  </os>
-
-  <os id="http://mandriva.com/mandriva/2011">
-    <short-id>mandriva2011</short-id>
-    <_name>Mandriva Linux 2011</_name>
-    <_vendor>Mandriva</_vendor>
-    <family>linux</family>
-    <distro>mandriva</distro>
-    <codename>Hydrogen</codename>
-    <version>2011</version>
-    <upgrades id="http://mandriva.com/mandriva/2010.2"/>
-    <derives-from id="http://mandriva.com/mandriva/2010.2"/>
-
-  </os>
-
-  <os id="http://mandriva.com/mes/5.0">
-    <short-id>mes5</short-id>
-    <_name>Mandriva Enterprise Server 5.0</_name>
-    <version>5.0</version>
-    <_vendor>Mandriva</_vendor>
-    <family>linux</family>
-    <distro>mes</distro>
-
-  </os>
-
-  <os id="http://mandriva.com/mes/5.1">
-    <short-id>mes5.1</short-id>
-    <_name>Mandriva Enterprise Server 5.1</_name>
-    <version>5.1</version>
-    <_vendor>Mandriva</_vendor>
-    <family>linux</family>
-    <distro>mes</distro>
-    <upgrades id="http://mandriva.com/mes/5.0"/>
-    <derives-from id="http://mandriva.com/mes/5.0"/>
-
-    <devices>
-      <device id="http://pcisig.com/pci/1af4/1000"/>
-      <device id="http://pcisig.com/pci/1af4/1001"/>
-    </devices>
-  </os>
-
-  <os id="http://mandriva.com/mbs/1.0">
-    <short-id>mbs1.0</short-id>
-    <_name>Mandriva Business Server 1.0</_name>
-    <version>1.0</version>
-    <_vendor>Mandriva</_vendor>
-    <family>linux</family>
-    <distro>mbs</distro>
-
-  </os>
-
-</libosinfo>
diff --git a/po/POTFILES.in b/po/POTFILES.in
index 24de532..b7f38d4 100644
--- a/po/POTFILES.in
+++ b/po/POTFILES.in
@@ -131,10 +131,23 @@ data/oses/mandriva.com/mandrake-9.2.xml.in
 data/oses/mandriva.com/mandrake-10.0.xml.in
 data/oses/mandriva.com/mandrake-10.1.xml.in
 data/oses/mandriva.com/mandrake-10.2.xml.in
+data/oses/mandriva.com/mandriva-2006.0.xml.in
+data/oses/mandriva.com/mandriva-2007.1.xml.in
+data/oses/mandriva.com/mandriva-2007.xml.in
+data/oses/mandriva.com/mandriva-2008.0.xml.in
+data/oses/mandriva.com/mandriva-2008.1.xml.in
+data/oses/mandriva.com/mandriva-2009.0.xml.in
+data/oses/mandriva.com/mandriva-2009.1.xml.in
+data/oses/mandriva.com/mandriva-2010.0.xml.in
+data/oses/mandriva.com/mandriva-2010.1.xml.in
+data/oses/mandriva.com/mandriva-2010.2.xml.in
+data/oses/mandriva.com/mandriva-2011.xml.in
+data/oses/mandriva.com/mbs-1.0.xml.in
+data/oses/mandriva.com/mes-5.0.xml.in
+data/oses/mandriva.com/mes-5.1.xml.in
 data/oses/microsoft.com/msdos-6.22.xml.in
 data/oses/netware.xml.in
 data/oses/solaris.xml.in
-data/oses/mandriva.xml.in
 data/oses/suse.xml.in
 data/oses/rhel.xml.in
 data/oses/windows.xml.in
-- 
2.4.3




More information about the Libosinfo mailing list