utils/dep_freshness
Krzysztof kuhy Rudnicki 14f0f47c56
Some checks are pending
file length / file-length (push) Waiting to run
kuhy_credit drift / drift (push) Waiting to run
md-naming / markdown naming convention (push) Waiting to run
palette drift / palette (push) Waiting to run
repo-contract / repo contract (push) Waiting to run
shared gate tests / gate unit tests (push) Waiting to run
dep_freshness: add pacman-repo lock adapter
A key=value *.lock file (name/repo/version/sha256) pins one package out of
an Arch-style repo .db. The adapter reads the db (gzip or zstd tar) via a
new http.get_bytes, matches %NAME% in each desc, and the judge compares
with a port of pacman's vercmp (epoch:pkgver-pkgrel), not PEP 440. A right
version with a wrong sha256 is a lock mismatch.

Locks are recognised by content (a repo= line ending in .db in the first
4 KB of a *.lock), so explicit paths from pre-commit and --all both work.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-22 14:43:40 +01:00
..
parsers dep_freshness: add pacman-repo lock adapter 2026-11-22 14:43:40 +01:00
registries dep_freshness: add pacman-repo lock adapter 2026-11-22 14:43:40 +01:00
templates dep_freshness: Python's latest is python.org's newest release, not the interpreter 2026-10-20 22:39:25 +02:00
tests dep_freshness: add pacman-repo lock adapter 2026-11-22 14:43:40 +01:00
__init__.py Add the shared dependency-freshness gate 2026-08-28 13:00:35 +02:00
__main__.py Add the shared dependency-freshness gate 2026-08-28 13:00:35 +02:00
_tables.py dep_freshness: add pacman-repo lock adapter 2026-11-22 14:43:40 +01:00
allowlist.py dep_freshness: upstream: allowlist predicate for forks; Google API clients judged inside their generation 2026-09-12 20:32:34 +02:00
cache.py dep_freshness: DEP_FRESHNESS_TTL_SECONDS override 2026-11-09 15:25:39 +01:00
check.py dep_freshness: upstream: allowlist predicate for forks; Google API clients judged inside their generation 2026-09-12 20:32:34 +02:00
constraints.py Add the shared dependency-freshness gate 2026-08-28 13:00:35 +02:00
discover.py dep_freshness: add pacman-repo lock adapter 2026-11-22 14:43:40 +01:00
evaluate.py dep_freshness: add pacman-repo lock adapter 2026-11-22 14:43:40 +01:00
install_cli.py Script the gate rollout instead of hand-copying it into sixteen repos 2026-08-28 14:12:00 +02:00
install_main.py Script the gate rollout instead of hand-copying it into sixteen repos 2026-08-28 14:12:00 +02:00
install_precommit_ci.py Re-point paths for the ~ reorganisation (home-tidy) 2026-09-11 18:45:55 +02:00
install.py dep_freshness: per-repo opt-out from the CI workflow (.dep-freshness-no-workflow) 2026-10-10 08:26:10 +02:00
models.py dep_freshness: blocker parsing breaks on scoped npm package names 2026-09-24 13:42:28 +02:00
quarantine.py Make the allowlist inheritable, and cache the quarantine lookups 2026-08-28 13:58:44 +02:00
report.py dep_freshness: upstream: allowlist predicate for forks; Google API clients judged inside their generation 2026-09-12 20:32:34 +02:00
resolve.py dep_freshness: add pacman-repo lock adapter 2026-11-22 14:43:40 +01:00
upstream.py Drop TachiyomiSY mentions from comments 2026-11-01 21:36:38 +01:00
versions.py dep_freshness: accept PEP 440 post pins 2026-11-01 22:26:45 +01:00