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

Open
#106 1 comment 1 reaction 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
48/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Active
Tech stack
cpp
Domain
backend, databases

Research direction

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.

Written by the indexing model from the issue text.

Description

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
Dominant language
C++
Stars
93
Forks
53
Avg merge
1d 4h
Merged PRs (30d)
24

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from CachyOS/packageinstaller

All issues in CachyOS/packageinstaller

Similar issues

More C++ issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.