]> source.dussan.org Git - nextcloud-server.git/commit
Check php compatibility of app store app releases 24698/head
authorChristoph Wurst <christoph@winzerhof-wurst.at>
Fri, 27 Nov 2020 15:44:55 +0000 (16:44 +0100)
committerbackportbot[bot] <backportbot[bot]@users.noreply.github.com>
Mon, 14 Dec 2020 17:22:10 +0000 (17:22 +0000)
commit0ae5c8dd3b88e1eb22981815cc1e86a478047772
tree2864e688bbb87bc1cab8bef4fabe13395c1e5794
parent24fe3ee4391fc06c005a43455cf650b1813904d7
Check php compatibility of app store app releases

Apps might increase the minimum php version requirement, in which case
an update could break the app or even the whole instance. We must not
install those releases, or better, don't even show them for
update/installation. This extends the app fetcher code to filter out the
releases that are not installable.

The filter respects minimum and maximum requirements. E.g. apps that are
still only released for php7.3 won't show up for php7.4 instances. This
behavior is new but if an app lists an explicit version requirement,
then we ought to repect that.

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
lib/private/App/AppStore/Fetcher/AppFetcher.php