[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

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



Lasse Schuirmann <lasse schuirmann 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


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]