Packaging: accepter les fournisseurs Paru compatibles #41

Merged
mathieu merged 1 commit from work/issue-40-la-dependance-sur-paru-git-fait-echouer-makepkg into main 2026-09-04 13:54:54 +00:00
Owner

Closes #40.

Diagnosis:

  • makepkg --syncdeps asks Pacman to install an unsatisfied concrete paru-git dependency, but Pacman cannot fetch AUR packages;
  • the current AUR paru-git package exposes the unversioned virtual capability provides=('paru');
  • neither the provider name nor paru --version distinguishes stable 2.1.0 from the required post-fix stream/order behavior.

Changes:

  • depend on the virtual paru capability and bump the package to 0.1.0.r3.g7311508-3;
  • keep paru-git as the documented, currently tested bootstrap provider;
  • make the disposable package gate install a paru-git provider with provides=('paru'), assert exact .SRCINFO metadata, and prove makepkg --syncdeps accepts it;
  • document that AURoscope enforces the actual Paru selection/order contract behaviorally and fails closed.

Verification:

  • TDD RED: the package gate exited 1 on the new exact depends = paru assertion before the metadata fix;
  • CGO_ENABLED=1 go test ./... — pass;
  • go vet ./... — pass;
  • packaging/aur/scripts/test-package.sh — pass; built/installed 0.1.0.r3.g7311508-3, .SRCINFO parity and virtual provider resolution verified;
  • AUROSCOPE_E2E_DISPOSABLE_ARCH=1 scripts/e2e-disposable-arch.sh — pass;
  • AUROSCOPE_E2E_SUPPORTED_PARU=1 scripts/e2e-supported-paru.sh — pass against pinned Paru 9ac3578;
  • bash -n on packaging/E2E scripts, gofmt, git diff --check, and namcap PKGBUILD — pass.

Risk:

  • the unversioned virtual dependency allows stable paru to satisfy package metadata. That is intentional because paru-git does not publish a versioned provides; incompatible selection/order output remains rejected by AURoscope's executable contract. A missing AUR provider still must be installed before makepkg -si.

Review guidance:

  • verify PKGBUILD and .SRCINFO both use exact dependency paru and pkgrel=3;
  • inspect the disposable provider's provides=('paru') assertion and successful makepkg --syncdeps path;
  • confirm the docs do not claim a package name or version string proves the post-release contract.
Closes #40. Diagnosis: - `makepkg --syncdeps` asks Pacman to install an unsatisfied concrete `paru-git` dependency, but Pacman cannot fetch AUR packages; - the current AUR `paru-git` package exposes the unversioned virtual capability `provides=('paru')`; - neither the provider name nor `paru --version` distinguishes stable 2.1.0 from the required post-fix stream/order behavior. Changes: - depend on the virtual `paru` capability and bump the package to `0.1.0.r3.g7311508-3`; - keep `paru-git` as the documented, currently tested bootstrap provider; - make the disposable package gate install a `paru-git` provider with `provides=('paru')`, assert exact `.SRCINFO` metadata, and prove `makepkg --syncdeps` accepts it; - document that AURoscope enforces the actual Paru selection/order contract behaviorally and fails closed. Verification: - TDD RED: the package gate exited 1 on the new exact `depends = paru` assertion before the metadata fix; - `CGO_ENABLED=1 go test ./...` — pass; - `go vet ./...` — pass; - `packaging/aur/scripts/test-package.sh` — pass; built/installed `0.1.0.r3.g7311508-3`, `.SRCINFO` parity and virtual provider resolution verified; - `AUROSCOPE_E2E_DISPOSABLE_ARCH=1 scripts/e2e-disposable-arch.sh` — pass; - `AUROSCOPE_E2E_SUPPORTED_PARU=1 scripts/e2e-supported-paru.sh` — pass against pinned Paru `9ac3578`; - `bash -n` on packaging/E2E scripts, `gofmt`, `git diff --check`, and `namcap PKGBUILD` — pass. Risk: - the unversioned virtual dependency allows stable `paru` to satisfy package metadata. That is intentional because `paru-git` does not publish a versioned `provides`; incompatible selection/order output remains rejected by AURoscope's executable contract. A missing AUR provider still must be installed before `makepkg -si`. Review guidance: - verify `PKGBUILD` and `.SRCINFO` both use exact dependency `paru` and `pkgrel=3`; - inspect the disposable provider's `provides=('paru')` assertion and successful `makepkg --syncdeps` path; - confirm the docs do not claim a package name or version string proves the post-release contract.
Author
Owner
No description provided.
<!-- auroscope-loop:pr-feedback:task:t_5c6d9ce8;comment-cursor:0;review-cursor:0 -->
mathieu deleted branch work/issue-40-la-dependance-sur-paru-git-fait-echouer-makepkg 2026-09-04 13:54:54 +00:00
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
2027a/auroscope!41
No description provided.