[Libosinfo] [PATCH 1/2] opensuse: Recognize future versions

Giuseppe Scrivano gscrivan at redhat.com
Tue Jul 29 11:59:58 UTC 2014


Lasse Schuirmann <lasse.schuirmann at gmail.com> writes:

> ---
>  data/oses/opensuse.xml.in | 45 +++++++++++++++++++++++++++++++++++++++++++++
>  1 file changed, 45 insertions(+)
>
> diff --git a/data/oses/opensuse.xml.in b/data/oses/opensuse.xml.in
> index c368d10..318019b 100644
> --- a/data/oses/opensuse.xml.in
> +++ b/data/oses/opensuse.xml.in
> @@ -418,4 +418,49 @@
>      </resources>
>    </os>
>  
> +  <os id="http://opensuse.org/opensuse/unknown">
> +    <short-id>opensuse-unknown</short-id>
> +    <_name>openSUSE</_name>
> +    <version>unknown</version>
> +    <_vendor>openSUSE</_vendor>
> +    <family>linux</family>
> +    <distro>opensuse</distro>
> +    <upgrades id="http://opensuse.org/opensuse/13.1" />
> +    <derives-from id="http://opensuse.org/opensuse/13.1" />
> +
> +    <media arch="i686">
> +      <iso>
> +        <volume-id>openSUSE-.*-DVD</volume-id>

this will match any version, not only future releases.

There are some other entries in data/oses/opensuse.xml.in that need the
same fix, as the specified regex doesn't match only a single version.

Regards,
Giuseppe




More information about the Libosinfo mailing list