[Libosinfo] [PATCH] opensuse-tumbleweed: upgrade and derivate from stable
Felipe Borges
feborges at redhat.com
Thu Mar 1 14:53:45 UTC 2018
In gnome-boxes we resolve OS logos by providing a custom osinfo-db.
This folder[0] contains one xml file per operating system. Therefore
we match OS versions to their logos by iterating over their
DERIVES_FROM property[1].
Currently we are able to resolve the logo for Debian Testing because
its osinfo data explicitly sets it as a derivative of a stable Debian
release[2].
We (Boxes) could provide a custom opensuse-tumbleweed.xml file with no
problem[3], but I feel this info belongs in osinfo-db instead.
[0] https://gitlab.gnome.org/GNOME/gnome-boxes/blob/master/data/osinfo
[1] https://gitlab.gnome.org/GNOME/gnome-boxes/blob/master/src/downloader.vala#L38
[2] https://gitlab.com/libosinfo/osinfo-db/blob/master/data/os/debian.org/debian-testing.xml.in#L11
[3] https://gitlab.gnome.org/GNOME/gnome-boxes/merge_requests/26/diffs?commit_id=aefdfd
On Thu, Mar 1, 2018 at 3:42 PM, Felipe Borges <felipe10borges at gmail.com> wrote:
> It is possible to upgrade from an older openSUSE release (eg. Leap
> or openSUSE 13.2) to Tumbleweed.
>
> See https://en.opensuse.org/openSUSE:Tumbleweed_upgrade
>
> Signed-off-by: Felipe Borges <feborges at redhat.com>
> ---
> data/os/opensuse.org/opensuse-tumbleweed.xml.in | 2 ++
> 1 file changed, 2 insertions(+)
>
> diff --git a/data/os/opensuse.org/opensuse-tumbleweed.xml.in b/data/os/opensuse.org/opensuse-tumbleweed.xml.in
> index 84598d4..7f99ded 100644
> --- a/data/os/opensuse.org/opensuse-tumbleweed.xml.in
> +++ b/data/os/opensuse.org/opensuse-tumbleweed.xml.in
> @@ -8,6 +8,8 @@
> <_vendor>openSUSE</_vendor>
> <family>linux</family>
> <distro>opensuse</distro>
> + <upgrades id="http://opensuse.org/opensuse/42.3"/>
> + <derives-from id="http://opensuse.org/opensuse/42.3"/>
>
> <devices>
> <device id="http://usb.org/usb/80ee/0021"/> <!-- USB tablet -->
> --
> 2.14.3
>
More information about the Libosinfo
mailing list