V2: AppImage updates: support pre-releases and document/relax the exact X-CachyOS-PI-Release tag match
I maintainer di solito rispondono entro 1 giorno
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 48/100
- Tipo di issue
- Funzionalità
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Attiva
- Stack tecnologico
- cpp, github
- Ambito
- backend-api-design, desktop
Direzione di ricerca
Start by tracing the AppImage update flow that queries GitHub releases and the Gear Lever importer that reads allow_prereleases; the issue does not name the files or tests. Check how X-CachyOS-PI-Release is compared with tag_name and how release asset digests are exposed. Done means pre-release tracking and migration behavior are defined, mismatched versions do not cause false updates, and the relevant cases are covered.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Hi, and thanks for the new AppImage manager in v2.
I migrated my AppImages from Gear Lever and found three problems with update tracking. I'm on cachyos-packageinstaller-git 2.0.0.r111.
- Pre-releases can't be tracked
The updater only queries https://api.github.com/repos/{owner}/{repo}/releases/latest, which never returns pre-releases. Several projects publish all their builds as pre-releases (for example nightly or daily builds), so for them the installer either sees nothing or an old stable release.
Example: Eglantine-Community/Eglantine publishes daily-YYYYMMDD builds, all flagged as pre-releases. /releases/latest returns v0.1.0-rc4, which is older than the daily build I have installed. Tracking it would offer a downgrade.
Suggested solution: a per-app option (for example X-CachyOS-PI-Prereleases=true) that queries /releases and picks the newest entry, similar to the allow_prereleases option in Gear Lever.
- X-CachyOS-PI-Release must equal the release tag_name exactly, and this isn't documented
Update detection seems to compare X-CachyOS-PI-Release in the .desktop file with the release's tag_name. If they differ, an update is offered even when the installed file is byte-identical to the latest asset.
Example: Frizti/Fritchii has tag fritchii-v6.2, but the entry had X-CachyOS-PI-Release=v6.2-6dd5b02 (the X-AppImage-Version from inside the AppImage). The installer offered an "update" to the version I already had. The SHA256 of my file matched the asset digest from the GitHub API. Setting it to fritchii-v6.2 fixed it. Same with zortos293/Lichii (tag build-341, entry had build-341-9c9a1df).
Suggested solution: compare the SHA256 digest that the API already returns against the local file, or at least fall back to it when the tag differs. Otherwise, write the tag into X-CachyOS-PI-Release at import time.
- The Gear Lever importer silently drops apps with allow_prereleases = True
Of the apps in my gearlever.conf, only the one with allow_prereleases = False got an X-CachyOS-PI-Source after migration. The others (all with GithubUpdater and a valid repo) were imported without a source, so no updates were offered and there was no message about why.
Suggested solution: import the source anyway, or tell the user which apps were imported without update tracking and why.
Related
- #89 (AppImage configuration / changing the source): editing the source from the UI would also help with the cases above.
I can test fixes or provide more details if useful.
- Lingua principale
- C++
- Stelle
- 93
- Fork
- 53
- Merge medio
- 1g 4h
- PR unite (30g)
- 24
Preparare l'ambiente
Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di CachyOS/packageinstaller
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
CachyOS/packageinstaller#211 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 66/100
CachyOS/packageinstaller#203 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 67/100
CachyOS/packageinstaller#201 ·
I maintainer di solito rispondono entro 1 giorno
-
[Bug]: Flatpak page shows flathub/stable for an app installed from flathub-beta (PrusaSlicer: 2.9.7 offered, 3.0.0 installed)Forse già presa @Gvolexe l’ha presa 7 giorni fa. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
CachyOS/packageinstaller#144 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 66/100
CachyOS/packageinstaller#76 ·
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di CachyOS/packageinstaller
Issue simili
-
Flow Needs: Triage :mag:
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
react/react-native#60447 ·
I maintainer di solito rispondono entro 1 giorno
-
[bug] [documentation] Document STRPCCMD setup and that PCCMD must be quoted to keep lowercaseApertabug documentation
Difficoltà 1/5 1-3 ore Idoneità per principianti 88/100
I maintainer di solito rispondono entro 1 giorno
-
TransformInteract: a circle drag through the centre sets Scale to its minimum, which can't grow backApertadifficulty:easy prio:low type:bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 74/100
NatronGitHub/openfx-supportext#311 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 79/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
OpenEmu-Silicon/OpenEmu-Silicon#920 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno