Repository navigation
feat: carry OPR advisory sidecar through channel advances - #416
dyl-joseph wants to merge 16 commits into
Conversation
Add CVE metadata sidecar beside the repo db, refreshed without rebuilds via bin/sync-advisories and bin/repo advisories. Advance merges entries forward with moved packages. Missing, stale, and error states stay visible and fail-open. Refs omacom#378.
Entries are pkgname:pkgver-pkgrel:arch. A feed for another version does not stamp the live package. bin/fetch-advisories writes that feed from OSV (purl map; mise-bin default) without touching package archives.
…kages missing means no source has a report for this published version yet. Risk-facet analysis, if it ever exists, is a separate application.
An empty vulns list is not a clean scan. OPR often publishes before OSV knows the version; ingest must keep scan_status=missing. curl -f so HTTP errors take the same path.
|
Version-keying + OSV ingest (not a package scanner) as a patch on this branch: dyl-joseph#1 |
Key sidecar by published version; ingest OSV (do not scan packages)
|
Parking this rather than closing: since #511, channel advances and the release train are the last things still run from the host, and that surface is about to change again. Worth revisiting once the advance path is settled; the advisory sidecar idea itself is sound. |
|
Published layout follow-up, from the note on #378: one signed file per artifact ( The feed files in this PR already have that shape. The channel document is what a refresh would rewrite for every package. This does not try to settle Opening that change against this branch. |
A refresh replaces that file and leaves the others alone. Channel advance copies the file with the package instead of merging a channel-wide document.
The published name is <pkgname>-<pkgver>-<pkgrel>-<arch>.advisory.json, next to the archive, with a detached signature. Promote, advance, publish, remove, and clean carry or delete that file with the package. The advisory upload overwrites on refresh. The package upload does not.
|
Still happy to see this one through whenever it fits your queue. All checks are green and the branch is zero behind master. If the scope is wrong for where the release flow is headed, I can split it down or reshape it however you prefer. |
Keep retired repository-host commands removed. Carry advisory metadata through channel promotion and RC-to-edge publishing, preserve newer-only regressions, and fail explicitly on transfer errors.
Sync the kernel and Mesa to today's Aurora tips, with our carries re-applied: - linux-aurora 7.3.0.aurora0testedgeC: omacom/linux-aurora tag edgeC (carry/aurora-7.3) e50bdd5dea6f, aurora-silicon/linux integration/aurora de2c29696952 plus our open PRs omacom#2145 to omacom#2156 and omacom#2199, omacom#1598, the J613 Touch ID data-ready line and omacom/linux-aurora#370. Config unchanged. - mesa-aurora and vulkan-aurora: omacom/mesa tag edgeC (carry/aurora-7.3) fb3b11e121c, aurora-wip 45963937b6f0 plus aurora-silicon/mesa omacom#415 and omacom#416. aura stays at edgeB2 (703a0a92). Lab-tested on the M3 Air, MacBook Neo, M4 Pro (J616s) and M2 Max (J414c). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…boot loader Move the edge Mac stack to 7.3 on the aurora-silicon base, as one set: - linux-aurora 7.3.0.aurora0testedgeB2: omacom/linux-aurora carry/edgeB-7.3 (tag edgeB2) 4454eda26e59, aurora-silicon/linux integration/aurora 0abc2f385e54 plus our open PRs omacom#2145 to omacom#2156 and the cpufreq boost fix. Config adds CONFIG_EDAC=m. - mesa-aurora and vulkan-aurora: omacom/mesa carry/edgeB-7.3 23791c134af, aurora-wip 57df4db849a plus aurora-silicon/mesa omacom#415 and omacom#416. - aura 1.0.0b13.r20261118: omacom/m1n1 carry/edgeB-7.3 703a0a92, aura main 3d517e63 plus aurora-silicon/aura omacom#294, omacom#290 to omacom#293 and omacom#233, with the Omarchy boot logo. - libva-v4l2_request-avd: also install the driver as aurora_drv_video.so, the name libva looks for under the 7.3 GPU driver. The three have to move together: the 7.3 GPU driver is named "aurora", which only this Mesa opens, and this aura needs a kernel option only the 7.3 kernel has. aura becomes the edge boot loader: it replaces m1n1-aurora and conflicts with kernels older than 7.3, and m1n1-aurora (pkgrel 4) no longer replaces aura, so a system update moves a Mac to aura and keeps it there. The owners approvals and the edge metadata tests follow. rc and stable keep m1n1-aurora: they only move by promotion, held to release/mac-inventory.txt. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The first real 7.3 release number, replacing the 0testedgeC test build. The kernel is aurora-silicon integration/aurora 00cbc67d1a0c with our open aurora-silicon PRs carried on top (#1598 is upstream now; #2149 and #2151 re-pinned) and the M1 Touch ID xART-pin port of omacom/linux-aurora #486 and #506. Mesa is aurora-wip 1fdf5396758f with #415 and #416, #416 re-pinned. Both pin tag aurora-7.3.0-1 on omacom/linux-aurora and omacom/mesa. The mesa-aurora floor from #3282 stays at edgeC. Assisted-by: Claude:claude-opus-5-5 Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Brings in aurora-silicon/mesa#906, so Rusticl finds the GPU of a kernel whose driver is named aurora. #415 and #416 stay carried at their rebased heads. Signed-off-by: Marcelo Alcantara <maralc@gmail.com>
Why
Arch covers distro packages through arch-audit. OPR-built packages are silent there. This adds a CVE metadata sidecar beside the repo db, refreshed without rebuilds. It answers which known CVEs apply to each published OPR version and how fresh that answer is.
Scope
Tradeoffs
Merged sidecars drop their detached signature with a warning and stay fail-open until the next signed ingest. A known CVE is information, never a build failure. Missing, stale, and error states warn instead of blocking. Strictness lives with the client, not here.
Blast Radius
Additive only. Existing commands keep their behavior. Advance gains a merge step that warns and continues on failure. Package archives are never written by the refresh.
Verification
Refs #378.