Packaging: exiger la surface Paru compatible avec la recherche native #39

Merged
mathieu merged 2 commits from work/issue-34-auroscope-echoue-a-passer-la-main-a-paru-pour-la into main 2026-09-04 12:48:06 +00:00
Owner

Closes #34.

Diagnosis:

  • stable Paru 2.1.0 writes its interactive menu, prompt, and selected targets to stdout;
  • AURoscope must capture stdout as the machine-selected target stream, so the stable menu is invisible and the eventual output is incompatible;
  • the package nevertheless declared paru>=2.1.0, and that versioned virtual dependency is not satisfied by paru-git's unversioned provides=('paru').

Changes:

  • require paru-git explicitly and publish the current snapshot as 0.1.0.r3.g7311508-2;
  • retain the current main fixes from issues #35 and #36 while resolving the package metadata against their newer executable snapshot;
  • make the disposable package gate assert the exact Paru dependency and .SRCINFO parity;
  • document the bootstrap replacement of stable Paru and preserve the exact stable-vs-post-fix reproduction in the dependency note;
  • keep Codex distribution independent from Pacman: @openai/codex installed through npm remains supported because AURoscope resolves the codex executable from PATH, and the package gate explicitly verifies an unowned /usr/local/bin/codex.

Verification after updating onto current main (69523be):

  • exact stable Paru commit 70f66dc9 rebuilt in pinned disposable Arch: status 1, complete menu/prompt/target on stdout, empty stderr (reproduced in the original fix);
  • CGO_ENABLED=1 go test ./... — pass;
  • go vet ./... — pass;
  • git diff --check — pass;
  • packaging/aur/scripts/test-package.sh — pass; package built/installed as 0.1.0.r3.g7311508-2, declared paru-git, .SRCINFO matched generated metadata, npm-style external Codex smoke passed;
  • 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, including native selection and final install.

Risk:

  • installing/upgrading this package replaces stable paru with AUR paru-git; this is deliberate because no stable release contains the required stream fix. Codex remains installable through npm and is not tied to an AUR/Pacman package.

Review guidance:

  • verify PKGBUILD and .SRCINFO both say paru-git, pkgver=0.1.0.r3.g7311508, and pkgrel=2;
  • confirm the bootstrap instructions install paru-git before makepkg -si while presenting npm install -g @openai/codex as the primary Codex example;
  • inspect the package-test assertions for exact dependency, generated .SRCINFO parity, and non-Pacman-owned Codex support.
Closes #34. Diagnosis: - stable Paru 2.1.0 writes its interactive menu, prompt, and selected targets to stdout; - AURoscope must capture stdout as the machine-selected target stream, so the stable menu is invisible and the eventual output is incompatible; - the package nevertheless declared `paru>=2.1.0`, and that versioned virtual dependency is not satisfied by `paru-git`'s unversioned `provides=('paru')`. Changes: - require `paru-git` explicitly and publish the current snapshot as `0.1.0.r3.g7311508-2`; - retain the current `main` fixes from issues #35 and #36 while resolving the package metadata against their newer executable snapshot; - make the disposable package gate assert the exact Paru dependency and `.SRCINFO` parity; - document the bootstrap replacement of stable Paru and preserve the exact stable-vs-post-fix reproduction in the dependency note; - keep Codex distribution independent from Pacman: `@openai/codex` installed through npm remains supported because AURoscope resolves the `codex` executable from `PATH`, and the package gate explicitly verifies an unowned `/usr/local/bin/codex`. Verification after updating onto current `main` (`69523be`): - exact stable Paru commit `70f66dc9` rebuilt in pinned disposable Arch: status 1, complete menu/prompt/target on stdout, empty stderr (reproduced in the original fix); - `CGO_ENABLED=1 go test ./...` — pass; - `go vet ./...` — pass; - `git diff --check` — pass; - `packaging/aur/scripts/test-package.sh` — pass; package built/installed as `0.1.0.r3.g7311508-2`, declared `paru-git`, `.SRCINFO` matched generated metadata, npm-style external Codex smoke passed; - `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`, including native selection and final install. Risk: - installing/upgrading this package replaces stable `paru` with AUR `paru-git`; this is deliberate because no stable release contains the required stream fix. Codex remains installable through npm and is not tied to an AUR/Pacman package. Review guidance: - verify `PKGBUILD` and `.SRCINFO` both say `paru-git`, `pkgver=0.1.0.r3.g7311508`, and `pkgrel=2`; - confirm the bootstrap instructions install `paru-git` before `makepkg -si` while presenting `npm install -g @openai/codex` as the primary Codex example; - inspect the package-test assertions for exact dependency, generated `.SRCINFO` parity, and non-Pacman-owned Codex support.
Author
Owner
No description provided.
<!-- auroscope-loop:pr-feedback:task:t_0d7157fa;comment-cursor:1711;review-cursor:0 -->
Owner

peux tu mettre a jour cette PR ?

peux tu mettre a jour cette PR ?
mathieu deleted branch work/issue-34-auroscope-echoue-a-passer-la-main-a-paru-pour-la 2026-09-04 12:48:06 +00:00
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
2 participants
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!39
No description provided.