Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature suggestion] Ability to manually block specific apps from showing updates and being updated #92

Open
Olf0 opened this issue Apr 22, 2019 · 7 comments
Labels
feature request A request for a new feature

Comments

@Olf0
Copy link
Member

Olf0 commented Apr 22, 2019

There are many reasons for being conservative about upgrading to new SailfishOS releases and some app (and Patch) authors do not mark their RPMs as incompatible with older SFOS releases, plus sometimes apps loose functionality or usability relevant to one, hence it is sometimes desirable to block updates for an app to be displayed and to be installed.
For example, I currently have to ignore four app upgrades on my "production" phone under SFOS 2.2.1, carefully avoiding to upgrade these four when other apps are updated.

Note that an list of blocked apps has to be accessible, to be able to easily find an app for which updating is blocked and unblock it there, at any later time. E.g., YALP Store and Aptoide do this fine, while the F-Droid client app makes finding apps blocked from being updated very tedious (one has to open every app-specific sub-page in "Installed applications").

Side note: Implementing this feature may nicely complement the functionality suggested in issue #13.

P.S.: Manually triggering an installation of the current (or any, per issue #13) version of an app should always be possible (i.e., even if the app is blocked from showing as updateable and the update will not be installed when triggering "Update all"), IMO.

@Olf0 Olf0 changed the title [Feature suggestion] Block specific apps from showing updates [Feature suggestion] Block specific apps from showing updates and being updated Apr 22, 2019
@Olf0 Olf0 changed the title [Feature suggestion] Block specific apps from showing updates and being updated [Feature suggestion] Ability to manually block specific apps from showing updates and being updated Apr 22, 2019
@Olf0
Copy link
Member Author

Olf0 commented Apr 22, 2019

Actually, if enhancement #13 is implemented, this enhancement becomes more or less a must in terms of usability, otherwise Storeman would permanently offer updates for a deliberately installed, older version of an app.

@mentaljam
Copy link
Collaborator

Currently it couldn't be implemented due to the PackageKit issue. Currently triggering update of one package causes update of all available packages. I have a plan to drop PackageKit in favour of libzypp (which can fix the issue).

@Olf0
Copy link
Member Author

Olf0 commented Apr 23, 2019

Oh, I did not think of this (known) package kit limitation, when writing this feature suggestion, but obviously implementing it with package kit is impossible or extremely hard.

My primary intention was to finally document this feature suggestion, which I had in mind for more than a year, and to point out that implementing enhancement #13 does not make much sense without it.

Switching Storeman from using Package Kit to libzypp sounds like a good plan in general, as libzypp provides a richer feature set, more control, seems to be better maintained etc.
As other, "official" SFOS tools also use libzypp (IIRC, the Jolla Store app and SSU), its future maintenance and availability for SFOS is supposedly ensured by Jolla.

@Thaodan
Copy link
Contributor

Thaodan commented May 30, 2019

Did you reported the issue to packagekit? Some backends have bugs and some are more limited.
On my desktop I don't have the issue you mention.

@Olf0
Copy link
Member Author

Olf0 commented May 30, 2019

As for Storeman the environment SailfishOS provides is relevant and @mentaljam is considering using libzypp directly, it may not be worth the effort investigating potential flaws in packagekit on SFOS, as the goal is to make Storeman work as expected.

@mentaljam
Copy link
Collaborator

I've already changed my decision about libzypp. All the same PackageKit is more convenient in case of possible changing or extension of backends. Currently I'm refactoring the OrnPm class which is a wrapper on PackageKit API. After this work finished I would be more confident that it's exact a PackageKit issue. If it is then I'll report an issue.

@Thaodan
Copy link
Contributor

Thaodan commented May 31, 2019 via email

@Olf0 Olf0 added the feature request A request for a new feature label Mar 17, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request A request for a new feature
Projects
None yet
Development

No branches or pull requests

3 participants