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

Zeeshan Ali (Khattak) zeeshanak at gnome.org
Thu Nov 27 13:50:46 UTC 2014


On Wed, Nov 26, 2014 at 4:47 PM, Lasse Schuirmann
<lasse.schuirmann at gmail.com> wrote:
> The regex to match the future openSUSE version follows the same
> structure as the one for fedora. Thus it is not perfect but kept simple.
> ---

* Same comment about the shortlog.
* super nitpick: 'fedora' -> 'Fedora' in description above while we
are using correct casing for openSUSE.

Fine otherwise.

>  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 eb5b500..0a01cec 100644
> --- a/data/oses/opensuse.xml.in
> +++ b/data/oses/opensuse.xml.in
> @@ -441,4 +441,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-9][4-9]|[0-9]{3,})-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-9][4-9]|[0-9]{3,})-DVD-x86_64</volume-id>
> +        <system-id>LINUX</system-id>
> +        <publisher-id>SUSE LINUX GmbH</publisher-id>
> +      </iso>
> +      <kernel>boot/x86_64/loader/linux</kernel>
> +      <initrd>boot/x86_64/loader/initrd</initrd>
> +    </media>
> +
> +    <resources arch="all">
> +    <!-- http://en.opensuse.org/Hardware_requirements -->
> +      <minimum>
> +        <cpu>500000000</cpu>
> +        <n-cpus>1</n-cpus>
> +        <ram>1073741824</ram>
> +        <storage>3221225472</storage>
> +      </minimum>
> +      <recommended>
> +        <cpu>2400000000</cpu>
> +        <ram>2147483648</ram>
> +        <storage>5368709120</storage>
> +      </recommended>
> +    </resources>
> +  </os>
> +
>  </libosinfo>
> --
> 1.9.3
>
> _______________________________________________
> Libosinfo mailing list
> Libosinfo at redhat.com
> https://www.redhat.com/mailman/listinfo/libosinfo



-- 
Regards,

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




More information about the Libosinfo mailing list