Re: [PATCH] opensuse-tumbleweed: upgrade and derivate from stable

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

 



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@xxxxxxxxx> 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@xxxxxxxxxx>
> ---
>  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
>

_______________________________________________
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