Packaging LTS versions of software

Alexander Larsson alexl at redhat.com
Mon Aug 10 11:50:18 UTC 2020


On Sun, Aug 9, 2020 at 10:40 PM Aleix Pol <aleixpol at kde.org> wrote:
>
> Dear flatpakers,
> I keep getting requests [1] to package the LTS version of this
> software besides the last stable version of it.
>
> Does anyone know how that would work?

I can't speak to whether this is the right thing to do, but in
practice this is possible in two ways. Either you package it with the
same app id but a different branchname. I'm not sure how well this
works with the flathub builssystem atm. I mean, we do support this for
e.g. extensions and runtimes (where you need a custom branch name). I
*think* it may work if you store your lts files on a git branch called
e.g. "branch/lts", but it would need some testing.

Alternatively you can create a separate app id for the lts version and
treat it as a completely separate app.

Which you choose is up to you, if you use multiple app ids they both
get visible as two parallell desktop files, but can't typically see
each others files, whereas if you use a branchname only one is active
(startable via desktop file) at once.

-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
 Alexander Larsson                                Red Hat, Inc
       alexl at redhat.com         alexander.larsson at gmail.com



More information about the Flatpak mailing list