On Mon, 2023-06-05 at 13:05 -0500, Chris Adams wrote:
> Once upon a time, Stephen Smoogen <ssmoo...@redhat.com> said:
> > 1. What is a flatpak and what does it mean to have an application in it? Is
> > it everything bundled in it or does it use layers?
> 
> It's layered, but from what I understand, an upper layer depends on a
> specific build of a lower layer.  So using the up-thread example, if
> there's a security update to zlib, the lower layer can rebuild to pick
> it up, but until the upper layer (like say LO) also rebuilds on top of
> the new lower layer, they'll be running on the old version.

No, I don't believe that's accurate. It's more of a major/minor thing.
The 'lower layer' can be updated with bug and security fixes without
any rebuild or change needed to 'upper layers'. You only need a rebuild
if the 'lower layer' is doing a "major" incompatible update (this is
something the lower layer is in charge of defining).

For e.g., in my `flatpak list` right now, I have these:

Name                          Application ID                                
Version             Branch              Origin          Installation

Fedora Platform               org.fedoraproject.Platform                    38  
                f38                 fedora          system
Freedesktop Platform          org.freedesktop.Platform                      
22.08.12.1          22.08               flathub         system

the "branch" there is the 'major' version. App flatpaks will say they
require "f38" Fedora platform or "22.08" Freedesktop platform, and
there can be updates within those branches (e.g. maybe I'll get
22.08.12.2 or 22.08.13.1 of the Freedesktop platform as an update)
without the app flatpaks changing. But for an app flatpak to 'rebase'
to "f39" or "23.04" (or whatever the next version is gonna be, I don't
actually know), *that* would require a rebuild.
-- 
Adam Williamson (he/him/his)
Fedora QA
Fedora Chat: @adamwill:fedora.im | Mastodon: @ad...@fosstodon.org
https://www.happyassassin.net



_______________________________________________
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue

Reply via email to