Skip to content

Regenerate via brew generate-vulns-advisories#2

Merged
andrew merged 2 commits into
post-transfer-readmefrom
regenerate-via-brew
Jul 14, 2026
Merged

Regenerate via brew generate-vulns-advisories#2
andrew merged 2 commits into
post-transfer-readmefrom
regenerate-via-brew

Conversation

@andrew

@andrew andrew commented Jul 14, 2026

Copy link
Copy Markdown
Member

Switch the daily regenerate from gem install brew-vulns + brew-vulns --osv-export to the built-in brew generate-vulns-advisories (Homebrew/brew#23106, merged), so this repo no longer depends on the deprecated Homebrew/homebrew-brew-vulns tap.

The rm -f advisories/*.json step is dropped: as of Homebrew/brew#23112 the generator merges into existing records (preserving published and affected[].ranges, skipping unchanged files) rather than blind-writing, so records persist on main after their source annotation leaves core and hand-corrected fixed boundaries survive. Wiping first would defeat that and would also delete any curated records.

The first run after merge will rewrite every existing record once to add published, database_specific: {source: "generated"} and a trailing newline; subsequent runs only touch files whose content actually changed.

Stacked on #1. setup-homebrew@main tracks brew main, so this is usable as soon as Homebrew/brew#23112 is on main (in the merge queue at time of writing).

Homebrew/brew#23106 adds the exporter as a built-in dev-cmd, so drop
the gem install and call brew directly. HOMEBREW_DEVELOPER is set
explicitly to suppress the auto-enable warning in logs.
brew generate-vulns-advisories preserves published/ranges from existing
records and never deletes (Homebrew/brew#23112), so wiping first would
throw away the persisted fixed boundaries and any curated records.
@andrew
andrew marked this pull request as ready for review July 14, 2026 20:58
@andrew
andrew merged commit 541af63 into post-transfer-readme Jul 14, 2026
2 checks passed
andrew added a commit that referenced this pull request Jul 14, 2026
Regenerate via brew generate-vulns-advisories (re-land #2)
@andrew
andrew deleted the regenerate-via-brew branch July 14, 2026 23:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants