V2: AppImage updates: support pre-releases and document/relax the exact X-CachyOS-PI-Release tag match
Los mantenedores suelen responder en 1 día
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Aptitud para principiantes
- 48/100
- Tipo de issue
- Nueva funcionalidad
- Claridad
- Bastante claro
- Estado de actividad
- Activo
- Stack tecnológico
- cpp, github
- Área
- backend-api-design, desktop
Línea de trabajo
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.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
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.
- Lenguaje dominante
- C++
- Estrellas
- 93
- Forks
- 53
- Merge medio
- 1 d 4 h
- PR fusionados (30 d)
- 24
Preparar el entorno
Este proyecto no incluye contenedor de desarrollo, Dockerfile ni guía de contribución, así que la configuración corre por tu cuenta: empieza por su README y consulta nuestra guía para la primera contribución para los pasos generales.
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de CachyOS/packageinstaller
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
CachyOS/packageinstaller#211 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 66/100
CachyOS/packageinstaller#203 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 67/100
CachyOS/packageinstaller#201 ·
Los mantenedores suelen responder en 1 día
-
[Bug]: Flatpak page shows flathub/stable for an app installed from flathub-beta (PrusaSlicer: 2.9.7 offered, 3.0.0 installed)Posiblemente ocupada @Gvolexe la tomó hace 7 días. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
CachyOS/packageinstaller#144 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 66/100
CachyOS/packageinstaller#76 ·
Los mantenedores suelen responder en 1 día
Todos los issues de CachyOS/packageinstaller
Issues similares
-
Flow Needs: Triage :mag:
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
react/react-native#60447 ·
Los mantenedores suelen responder en 1 día
-
[bug] [documentation] Document STRPCCMD setup and that PCCMD must be quoted to keep lowercaseAbiertobug documentation
Dificultad 1/5 1-3 horas Aptitud para principiantes 88/100
Los mantenedores suelen responder en 1 día
-
TransformInteract: a circle drag through the centre sets Scale to its minimum, which can't grow backAbiertodifficulty:easy prio:low type:bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 74/100
NatronGitHub/openfx-supportext#311 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 79/100
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 70/100
OpenEmu-Silicon/OpenEmu-Silicon#920 · 1 comentario ·
Los mantenedores suelen responder en 1 día