Semi-automated package updating mechanism via pacman for dependencies which want or need bleeding edge updates from repo/source.
Find a file
Austin Schaefer 0044eda532
All checks were successful
CI / build (pull_request) Successful in 1m13s
CI / test (pull_request) Successful in 3m46s
CI / audit (pull_request) Successful in 15s
CI / coverage (pull_request) Successful in 7m27s
Add a third builder shape for archives with no wrapping directory
Merging master's claude-code.toml onto this branch surfaced a real gap:
builder.rs only knew "bare binary download" and "tarball extracting into
a same-named directory" (uv). claude-code's tarball extracts a bare
`claude` file with no wrapping directory, and that inner filename
doesn't match the package name either — makepkg's package() failed with
"cannot stat .../claude-linux-x64/claude-code" (confirmed by actually
running the build).

Add Package::archive_binary_path, an explicit override for the
in-archive path builder.rs installs from, used verbatim when present
instead of the stem/binary_name convention. Set binary_name = "claude"
too, matching the box's actual command name (/opt/claude-code/bin/claude)
rather than the claude-code package name. Also added a sanity_check
block (claude --version), matching uv's pattern, confirmed against the
real built binary's output ("2.1.276 (Claude Code)").

Verified end to end against the real repo with PKGWATCH_REPO_DIR
pointed at a scratch dir: check -> fetch -> verify -> review --approve
-> build -> sanity-check -> publish all pass for claude-code v2.1.276.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-09-18 12:46:28 +02:00
.forgejo/workflows Add ARCHITECTURE.md and apply it to this PR's code 2026-09-17 11:42:18 +02:00
.githooks Set up project tooling to match the rest of ~/dev's Rust fleet 2026-09-11 10:13:29 +02:00
docs Move high-level docs into docs/, matching doubleo7's convention 2026-09-17 13:22:40 +02:00
packages.d Add a third builder shape for archives with no wrapping directory 2026-09-18 12:46:28 +02:00
src Add a third builder shape for archives with no wrapping directory 2026-09-18 12:46:28 +02:00
.gitignore First working iteration: check -> fetch -> verify for a real package 2026-09-11 10:04:48 +02:00
Cargo.lock Add shift-left quality gates: cognitive complexity, coverage, dependency fix 2026-09-17 09:16:14 +02:00
Cargo.toml Add shift-left quality gates: cognitive complexity, coverage, dependency fix 2026-09-17 09:16:14 +02:00
clippy.toml Add shift-left quality gates: cognitive complexity, coverage, dependency fix 2026-09-17 09:16:14 +02:00
Makefile.toml Move high-level docs into docs/, matching doubleo7's convention 2026-09-17 13:22:40 +02:00