From 04b40812f3366c71bf1c99779f880cc74b7f9efa Mon Sep 17 00:00:00 2001 From: aur-build Date: Wed, 18 Nov 2026 07:29:07 +0000 Subject: =?UTF-8?q?review:=20advisory=20risk=20scoring=20and=20non-publish?= =?UTF-8?q?able=20change=20handling=20(=C2=A76,=20=C2=A75.3,=20I11)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Every candidate is scored against the recipe the accepted release was actually built from (release -> candidate -> snapshot), never against 'last seen'. Signals: SKIP on a non-VCS source, a sum changed to SKIP, new source host, --skippgpcheck, removed validpgpkeys, new makedepends and fetching build tools (cargo/npm/go/pip), .install scripts, weakened options, removed checkdepends, pkgrel reset, epoch bump, downgrade, a diff touching build()/package() bodies rather than metadata, upstream ranges that touch a build-system file, and first introduction. Advisory only — there is no auto-approval, so a wrong score costs attention and never safety (§7.3). Fixes a fixture bug the new tests exposed: digest-drift and skip-checksum declared bare paths as sources, which parse as local recipe files rather than remote downloads, so the drift path never fired. They now use file:// URLs like a real remote would. tests/notices.rs: integrity_alert is high severity and leaves no candidate, pin_drift is informational, recipe drift under a static version is a warning, SKIP-on-non-VCS is a high risk signal, repeated polling of one drift is one notice, and an I11 sweep over twelve fixtures proving a change is never silently dropped. --- testcorpus/digest-drift/PKGBUILD | 2 +- testcorpus/skip-checksum/PKGBUILD | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'testcorpus') diff --git a/testcorpus/digest-drift/PKGBUILD b/testcorpus/digest-drift/PKGBUILD index 444ff72..db77db8 100644 --- a/testcorpus/digest-drift/PKGBUILD +++ b/testcorpus/digest-drift/PKGBUILD @@ -5,7 +5,7 @@ pkgdesc="synthetic fixture" url="https://example.invalid/digest-drift" license=(MIT) arch=(x86_64) -source=("@AUR_DIR@/payload.bin") +source=("file://@AUR_DIR@/payload.bin") sha256sums=("SKIP") build() { echo building digest-drift diff --git a/testcorpus/skip-checksum/PKGBUILD b/testcorpus/skip-checksum/PKGBUILD index 93661a1..b4c4508 100644 --- a/testcorpus/skip-checksum/PKGBUILD +++ b/testcorpus/skip-checksum/PKGBUILD @@ -5,7 +5,7 @@ pkgdesc="synthetic fixture" url="https://example.invalid/skip-checksum" license=(MIT) arch=(x86_64) -source=("@AUR_DIR@/payload.bin") +source=("file://@AUR_DIR@/payload.bin") sha256sums=("SKIP") build() { echo building skip-checksum -- cgit v1.2.3