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

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

 



On Sun, Aug 10, 2014 at 3:55 PM, Lasse Schuirmann
<lasse.schuirmann@xxxxxxxxx> wrote:
> ---
>  data/oses/opensuse.xml.in | 50 +++++++++++++++++++++++++++++++++++++++++++++++
>  1 file changed, 50 insertions(+)
>
> diff --git a/data/oses/opensuse.xml.in b/data/oses/opensuse.xml.in
> index c368d10..d424b5c 100644
> --- a/data/oses/opensuse.xml.in
> +++ b/data/oses/opensuse.xml.in
> @@ -418,4 +418,54 @@
>      </resources>
>    </os>
>
> +  <!-- Generic entry for future openSUSE releases. Please update the
> +       'upgrades', 'derives-from', 'volume-id' and 'resources' nodes
> +       accordingly each time you add a new (specific) entry for a new
> +       release. -->
> +  <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"; />
> +    <release-status>prerelease</release-status>
> +
> +    <media arch="i686">
> +      <iso>
> +        <volume-id>openSUSE-1([4-9]..|3.[2-9])-DVD</volume-id>
> +        <system-id>LINUX</system-id>
> +        <publisher-id>SUSE LINUX GmbH</publisher-id>
> +      </iso>
> +      <kernel>boot/i386/loader/linux</kernel>
> +      <initrd>boot/i386/loader/initrd</initrd>
> +    </media>
> +    <media arch="x86_64">
> +      <iso>
> +        <volume-id>openSUSE-1([4-9]..|3.[2-9])-DVD-x86_64</volume-id>

Regex seems weird. Isn't it assuming that:

* 1[4-9] versions' minor version will be only 1 character and it can
be any character?
* 13 versions' is also assumed to be only 1 character but in this case
its been restricted to numerics only?

-- 
Regards,

Zeeshan Ali (Khattak)
________________________________________
Befriend GNOME: http://www.gnome.org/friends/

_______________________________________________
Libosinfo mailing list
Libosinfo@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libosinfo




[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Fedora Users]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux