Description
SailfishOS VERSION (Settings → About product → Build): 3.2.1, likely all supported versions 3.1.0 to 4.5.0
HARDWARE (Settings → About product → Manufacturer & Product name): Xperia X, likely hardware independent
Storeman VERSION (Storeman → <Top pulley> → About Storeman): 0.3.2
BUG DESCRIPTION
Storeman does not find its own updates, i.e., it does not offer its newer versions as update candidates to install. I currently have v0.3.2 installed on this older device, and there have been two newer releases published as of 2023-03-18 in its own OBS sub-repository: 0.3.3 and 0.3.4
STEPS TO REPRODUCE
- Install an older Storeman release from GitHub's releases page of Storeman.
- Check that its "Check for self-updates" switch is on in Storeman's settings, see /~https://github.com/storeman-developers/harbour-storeman/blob/devel/qml/pages/SettingsPage.qml#L180-L185
- See that it does not find its updates.
ADDITIONAL INFORMATION
Maybe I broke something when adapting all the links (primarily by v0.2.12), but I cannot see what!
- The URL and repo name is correct and consistent, see
- /~https://github.com/storeman-developers/harbour-storeman/blob/devel/qml/pages/SettingsPage.qml#L180-L185
ssu lr
displays this repo as first user repo.- /~https://github.com/storeman-developers/harbour-storeman/blob/devel/src/ornpm.cpp#L28
- The repo address is correct, see e.g.: https://repo.sailfishos.org/obs/home:/olf:/harbour-storeman/4.3.0.15_aarch64
What I completely fail to understand is what src/ornrepo.cpp
is for and does: /~https://github.com/storeman-developers/harbour-storeman/blob/devel/src/ornrepo.cpp
I also wonder about the empty pair of braces { }
at its end?!? Is that correct?
The same applies to the corresponding header file (no clue): /~https://github.com/storeman-developers/harbour-storeman/blob/devel/src/ornrepo.h
What is the alias
for and how does it work?
Maybe this was never working, i.e., maybe this bug exists since the switch to OBS-based builds with Storeman 0.2.9?!?
P.S.: I still have to determine how to enable the debug output (and where it writes to) to see /~https://github.com/storeman-developers/harbour-storeman/blob/devel/src/ornpm.cpp#L118-L119
When started at the command line as regular user by execution harbour-storeman
, I usually see a couple of warnings and errors, but they always were there (I opened a bug report for that years ago which was closed, because these errors and warnings were deemed "normal").
- But often when triggering a repositories refresh manually (Repositories → [Top pulley] Refresh cache) an endless chain of launcher notifications (literally: it does not stop until Storeman is closed) pops up:
An error occurred
Failed to obtain authentication.
- When Storeman was started at the command line, concurrently a long (maybe also endless; I usually stopped Storeman after many 10 such lines) chain of debug output messages is printed at the terminal:
[D] unknown:0 - Specified Desktop file does not exist ""
Note that I was successfully logged in at OpenRepos via Storeman all the time; the "authentication" mentioned seems to address something different (OpenRepos' API auth?)
P.P.S.: As a dirty workaround, I consider re-submitting Storeman to SailfishOS:Chum again. While this may trigger social conflicts (again), it would make Storeman updatable again vie, e.g., the SailfishOS:Chum GUI application.
I also considered switching the update OBS repo from a personal one to SailfishOS:Chum, which would free me from timely maintenance of the personal OBS repo after a new SailfishOS releasee. But then the Storeman-Installer has to enable the SailfishOS:Chum OBS-repo, which need some technical coordination so that the SailfishOS:Chum GUI app does not complain about other apps also handling this repo (it may work just fine, though). One would have to model all cases with both installers and the applications proper being installed or removed in any order. Nevertheless, this bug has to resolved for any of these considerations.