diff options
author | Alexander Larsson <alexl@redhat.com> | 2019-09-18 16:21:55 +0200 |
---|---|---|
committer | Atomic Bot <atomic-devel@projectatomic.io> | 2019-09-18 14:55:38 +0000 |
commit | 5026f01153c21a2906f7c7b7b573543691daccfd (patch) | |
tree | e66ec64158f94ba8815841c90b513047139bd9f5 /doc/flatpak-metadata.xml | |
parent | 62117308c1dd0f10f82d274d542da0d9b7f7d426 (diff) | |
download | flatpak-5026f01153c21a2906f7c7b7b573543691daccfd.tar.gz |
Support multiple versions in required-flatpak metadata key
Support a list of versions that are supported. This will be useful
for e.g. the extra_data for extensions once that is backported to
1.2, because that will require it to say that it is supported for
> 1.2.5 in the 1.2 series and > 1.4.2 otherwise.
Closes: #3112
Approved by: alexlarsson
Diffstat (limited to 'doc/flatpak-metadata.xml')
-rw-r--r-- | doc/flatpak-metadata.xml | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/doc/flatpak-metadata.xml b/doc/flatpak-metadata.xml index 13f91a4c..b28fe675 100644 --- a/doc/flatpak-metadata.xml +++ b/doc/flatpak-metadata.xml @@ -100,12 +100,19 @@ </listitem> </varlistentry> <varlistentry> - <term><option>required-flatpak</option> (string)</term> + <term><option>required-flatpak</option> (string list)</term> <listitem><para> The required version of Flatpak to run this application or runtime. For applications, this was available since 0.8.0. For runtimes, this was available since 0.9.1, and backported to 0.8.3 for the 0.8.x branch. + </para><para> + Flatpak after version 1.4.3 and 1.2.5 support multiple versions here. + This can be useful if you need to support features that are backported + to a previous stable series. For example if you want to use a feature + added in 1.6.0 that was also backported to 1.4.4 you would use + <literal>1.6.0;1.4.4;</literal>. Note that older versions of flatpak will + just use the first element in the list, so make that the largest version. </para></listitem> </varlistentry> <varlistentry> |