AUR -git packages: detail page shows the AUR’s version as “Installed”, and VCS updates don’t show up

Aperta
#106 1 commento 1 reazione 0 assegnatari Vedi su GitHub

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
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
cpp
Ambito
backend, databases

Direzione di ricerca

Start by tracing how the package detail page gets the installed version and how AUR updates are compared for VCS packages; the issue does not name source files or tests, so locate those entry points first. Compare the local package database version with the AUR metadata and inspect how cachy-update detects newer commits. Done means the page shows the installed version and a -git package with a newer upstream commit appears as updatable.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

Version: cachyos-packageinstaller-git 2.0.0.r95.g49b5f6b-1

Package: deadlock-modmanager-git

  • Installed (pacman -Q): 2.3.0.r280.g41afe0e-1
  • AUR metadata version: 1.0.0.r16.g2868189-4 (PKGBUILD pkgver not refreshed by the maintainer)
  • Upstream HEAD: 9f09270 (newer than the installed commit)

Problems:

  1. The package detail page shows "Installed · 1.0.0.r16.g2868189-4". That's the AUR metadata version, not the installed one (should be 2.3.0.r280.g41afe0e-1).
  2. The AUR section shows no update for this package, while cachy-update correctly lists it (→ latest-commit). The installer seems to compare only the AUR pkgver (older) with the installed version, so it never detects new upstream commits for VCS packages.

Expected:

  • The detail page shows the real installed version from the local package database.
  • -git packages with new upstream commits show as updatable, like paru --devel / cachy-update does.
image image image
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

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di CachyOS/packageinstaller

Tutte le issue di CachyOS/packageinstaller

Issue simili

Altre issue su C++

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.