Semi-automated package updating mechanism via pacman for dependencies which want or need bleeding edge updates from repo/source.
Find a file
Austin Schaefer 6305743e4d
All checks were successful
CI / build (pull_request) Successful in 1m22s
CI / test (pull_request) Successful in 3m50s
CI / audit (pull_request) Successful in 14s
CI / coverage (pull_request) Successful in 9m2s
Check the custom repo is registered in pacman.conf before building
PR feedback: the local repo isn't guaranteed to exist on every box this
runs on, so it shouldn't just be assumed. publisher::ensure_registered
checks /etc/pacman.conf for an active [<repo_name>] section before a
build even starts, failing fast with the exact snippet to add if it's
missing — instead of spending several seconds on a makepkg build that
would succeed and then publish into a repo pacman never syncs from.

The repo directory and its database file were already self-healing
(publish creates the dir if missing, repo-add creates the db on first
run) — the actual gap was the pacman.conf registration, which can't be
made self-healing without root, so this fails loud with instructions
instead of trying to write to /etc/pacman.conf itself.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-09-17 11:30:43 +02:00
.forgejo/workflows Add shift-left quality gates: cognitive complexity, coverage, dependency fix 2026-09-17 09:16:14 +02:00
.githooks Set up project tooling to match the rest of ~/dev's Rust fleet 2026-09-11 10:13:29 +02:00
packages.d Close the loop: build, sanity-check, and publish for the first time 2026-09-17 11:13:13 +02:00
src Check the custom repo is registered in pacman.conf before building 2026-09-17 11:30:43 +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 Add shift-left quality gates: cognitive complexity, coverage, dependency fix 2026-09-17 09:16:14 +02:00
SPEC.md Check the custom repo is registered in pacman.conf before building 2026-09-17 11:30:43 +02:00