-
Notifications
You must be signed in to change notification settings - Fork 15
Storeman & vendor changes
olf edited this page May 7, 2023
·
8 revisions
A vendor change of a package (RPM file) by setting the Vendor:
tag in its spec file differently blocks its update path on SailfishOS. I.e., a newer version of a package with a different vendor set (or unset when the older version had it set) will not be recognised as an update candidate by all tools which directly or indirectly utilise libzypp
(e.g., pkcon
/ packagekitd
on RPM-based Linux distributions, zypper
, Storeman, SailfishOS:Chum GUI app, Jolla Store client). For some background information, see OpenSUSE's documentation on "vendor stickiness".
Storeman has had a single deliberate vendor change, plus a few accidental diversions:
- Historically Storeman had no vendor tag set for all Storeman releases which were primarily distributed via OpenRepos; i.e., Storeman < 0.2.9.
- When Storeman started being built and distributed via SailfishOS-OBS, it automatically set the vendor tag to
meego
, because that is how Jolla configured the SailfishOS-OBS.
Side note: This can be overridden by a OBS project configuration, as SailfishOS:Chum does by setting the vendor tochum
, and both settings can be overridden by a vendor tag in a spec file.< br/> This vendor tag change form unset tomeego
was deliberate, because when updating an installed Storeman < 0.2.9 to any higher version, Storeman must be reinstalled, i.e., the old version must be removed before the new one can be installed. This can be performed via the Storeman Installer or manually. Hence it was crucial that Storeman releases ≥ 0.2.9 were not presented as a update candidate for prior releases. - Thus the Storeman Installer must not have the vendor tag set in order to be recognised as an update candidate for an installed Storeman release < 0.2.9. Unfortunately it seems to be impossible to unset the vendor tag, hence any Storeman Installer built at the SailfishOS-OBS is unsuitable; hence Storeman Installer was removed from SailfishOS:Chum and the principal Storeman repository at SailfishOS-OBS on 7. May 2023 (after being available there for more than a year).< br/> Consequently only Storeman Installer releases built by the GitHub CI are suitable to be deployed via OpenRepos!