Skip to content

Add CONTRIBUTING.md#3

Merged
andrew merged 2 commits into
mainfrom
contributing
Jul 14, 2026
Merged

Add CONTRIBUTING.md#3
andrew merged 2 commits into
mainfrom
contributing

Conversation

@andrew

@andrew andrew commented Jul 14, 2026

Copy link
Copy Markdown
Member

Add a contribution guide covering both paths into this database: annotating a homebrew/core patch with resolves so a record is auto-generated, and opening a PR with a curated OSV record for cases the generator can't express (chiefly unfixed vulnerabilities). Follows the RustSec/PyPA pattern of a placeholder id assigned on merge.

This is the doc the ossf/osv-schema BREW prefix "How to contribute" link will point at. Per Homebrew/homebrew-brew-vulns#111 this repo stays as the canonical curated source.

Describe the two contribution paths: annotating a homebrew-core patch
with resolves (auto-generated BREW-<formula>-<CVE> record) and opening
a PR with a curated OSV record (BREW-0000-0000 placeholder, id assigned
on merge). Includes a minimal record template, disclosure guidance and
scope.
The workflow refreshes upstream-derived fields but keeps published and
affected[].ranges from disk (Homebrew/brew#23112), so a hand-corrected
fixed boundary survives. Drop the blanket "do not edit by hand".
@andrew
andrew marked this pull request as ready for review July 14, 2026 21:27
Copilot AI review requested due to automatic review settings July 14, 2026 21:27
@andrew
andrew requested a review from p-linnane July 14, 2026 21:28

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds a CONTRIBUTING.md guide intended to be the canonical “How to contribute” documentation for this Homebrew OSV advisory database, describing both the generated-from-homebrew/core path and the curated-direct-PR path.

Changes:

  • Document how to get an advisory auto-generated by adding resolves "CVE-..." annotations to homebrew/core formula patches.
  • Document how to contribute a curated OSV JSON advisory directly under advisories/, including an example record and placeholder ID workflow.
  • Document project scope and link to the Homebrew Code of Conduct.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread CONTRIBUTING.md
Comment thread CONTRIBUTING.md
@andrew
andrew merged commit df188b9 into main Jul 14, 2026
3 checks passed
@andrew
andrew deleted the contributing 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.

3 participants