[Libosinfo] [PATCH] mageia: add Mageia 4 and 5 info

Fabiano Fidêncio fabiano at fidencio.org
Wed Mar 15 19:30:49 UTC 2017


On Wed, Mar 15, 2017 at 6:28 PM, Pino Toscano <ptoscano at redhat.com> wrote:
> ---
>  data/os/mageia.org/mageia-4.xml.in | 31 +++++++++++++++++++++++++++++++
>  data/os/mageia.org/mageia-5.xml.in | 35 +++++++++++++++++++++++++++++++++++
>  2 files changed, 66 insertions(+)
>  create mode 100644 data/os/mageia.org/mageia-4.xml.in
>  create mode 100644 data/os/mageia.org/mageia-5.xml.in
>
> diff --git a/data/os/mageia.org/mageia-4.xml.in b/data/os/mageia.org/mageia-4.xml.in
> new file mode 100644
> index 0000000..e4db996
> --- /dev/null
> +++ b/data/os/mageia.org/mageia-4.xml.in
> @@ -0,0 +1,31 @@
> +<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://mageia.org/mageia/4">
> +    <short-id>mageia4</short-id>
> +    <_name>Mageia 4</_name>
> +    <_vendor>Mageia</_vendor>
> +    <family>linux</family>
> +    <distro>mageia</distro>
> +    <version>4</version>
> +    <derives-from id="http://mageia.org/mageia/3"/>
> +    <release-date>2014-02-01</release-date>
> +    <eol-date>2015-09-19</eol-date>
> +
> +    <media arch="i686">
> +      <iso>
> +        <volume-id>Mageia-4(.1)?(-i586)?</volume-id>
> +      </iso>
> +    </media>
> +    <media arch="x86_64">
> +      <iso>
> +        <volume-id>Mageia-4(.1)?(-x86_64)?</volume-id>
> +      </iso>
> +    </media>
> +    <media live="true" arch="i686">
> +      <iso>
> +        <volume-id>Mageia-4(.1)?-(GNOME|KDE4)-Live(CD|DVD)</volume-id>
> +      </iso>
> +    </media>
> +  </os>
> +</libosinfo>
> diff --git a/data/os/mageia.org/mageia-5.xml.in b/data/os/mageia.org/mageia-5.xml.in
> new file mode 100644
> index 0000000..f6e8c46
> --- /dev/null
> +++ b/data/os/mageia.org/mageia-5.xml.in
> @@ -0,0 +1,35 @@
> +<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://mageia.org/mageia/5">
> +    <short-id>mageia5</short-id>
> +    <_name>Mageia 5</_name>
> +    <_vendor>Mageia</_vendor>
> +    <family>linux</family>
> +    <distro>mageia</distro>
> +    <version>5</version>
> +    <derives-from id="http://mageia.org/mageia/4"/>
> +    <release-date>2015-06-19</release-date>
> +
> +    <media arch="i686">
> +      <iso>
> +        <volume-id>Mageia-5(.1)?(-i586)?</volume-id>
> +      </iso>
> +    </media>
> +    <media arch="x86_64">
> +      <iso>
> +        <volume-id>Mageia-5(.1)?(-x86_64)?</volume-id>
> +      </iso>
> +    </media>
> +    <media live="true" arch="i686">
> +      <iso>
> +        <volume-id>Mageia-5(.1)?-(GNOME|KDE4)-Live(CD|DVD)</volume-id>
> +      </iso>
> +    </media>
> +    <media live="true" arch="x86_64">
> +      <iso>
> +        <volume-id>Mageia-5(.1)?-(GNOME|KDE4)-Live(CD|DVD)</volume-id>
> +      </iso>
> +    </media>
> +  </os>
> +</libosinfo>
> --
> 2.9.3
>
> _______________________________________________
> Libosinfo mailing list
> Libosinfo at redhat.com
> https://www.redhat.com/mailman/listinfo/libosinfo

Pino,

Do you have the ISOs from where you get the data?
If yes, could you also submit a patch to libosinfo adding the data to
our test data base?

`isoinfo -d -i /path/to/file` is what we're interested in.

You can just create new folders under mageia dir, as you can see here:
https://gitlab.com/libosinfo/libosinfo/tree/master/test/isodata/mageia

Best Regards,
-- 
Fabiano Fidêncio




More information about the Libosinfo mailing list