Semi-automated package updating mechanism via pacman for dependencies which want or need bleeding edge updates from repo/source.
Find a file
Austin Schaefer eef98906b6 Add a Forgejo release source
Packages can now declare source = "forgejo-release" plus a base_url and be
checked, fetched and verified against a Forgejo instance's releases API,
alongside the existing GitHub source. This is what lets pkgwatch track its
own releases from the self-hosted Forgejo.

- config: Source enum (github-release default, forgejo-release) + base_url,
  validated once at load (base_url pairing, http(s) scheme, and no
  github-attestation on a Forgejo source).
- source: new module mapping a package to its Endpoints.
- checker: latest_forgejo_release, one call to releases/latest; latest_release
  dispatches per source.
- fetcher/verifier: take the releases API root instead of GithubEndpoints,
  since GitHub and Forgejo serve the same releases/tags/<tag> shape.
- pipeline: endpoints are resolved per package.
- docs: SPEC documents the source key and why the HTTP is hand-rolled rather
  than an API-client crate.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-09-20 10:36:13 +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 Add a Forgejo release source 2026-09-20 10:36:13 +02:00
packages.d Add wrapper-script env var support for claude-code's self-update guard 2026-09-18 13:07:03 +02:00
src Add a Forgejo release source 2026-09-20 10:36:13 +02:00
systemd Drop the now-unneeded WorkingDirectory from the service 2026-09-20 10:03:24 +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