Skip to content

[DO NOT MERGE] CI: test pending advisories and osv-linter opam changes - #48

Draft
bn-d wants to merge 2 commits into
ocaml:mainfrom
bn-d:test-opam-osv-changes
Draft

bn-d wants to merge 2 commits into
ocaml:mainfrom
bn-d:test-opam-osv-changes

Conversation

@bn-d

@bn-d bn-d commented Nov 3, 2026

Copy link
Copy Markdown
Collaborator

Pin the advisories tool to bn-d/hannesm-advisories#separate-git-affected, build osv-linter from bn-d/osv-schema#linter-opam, and lint all advisories with the ALL collection (including the PKG:001/PKG:002 package checks).

@bn-d
bn-d force-pushed the test-opam-osv-changes branch from ed0c6c0 to 282d497 Compare November 3, 2026 20:26
@bn-d
bn-d marked this pull request as draft November 3, 2026 20:28
@bn-d
bn-d force-pushed the test-opam-osv-changes branch 2 times, most recently from 2b00a1b to 34f4558 Compare November 4, 2026 02:07
bn-d and others added 2 commits November 4, 2026 02:38
osv-linter's PKG:002 check requires every version in an ECOSYSTEM range
to exist in opam-repository (or opam-repository-archive). Replace lower
bounds that are not released versions with the earliest real one:

- OSEC-2017-01: ocaml "4.04" -> "4.04.0"
- OSEC-2022-01: solo5 "0.6.6" -> "0.7.0"; 0.6.x was released as
  solo5-bindings-xen, which is now mentioned in the advisory text
- OSEC-2023-01: opam-repository "2" -> "2.0.0~beta", the first release
  containing the download cache (cfa4e77); "2" also included 2.0~alpha5
- OSEC-2026-01, -05, -25, -26: ocaml "5" -> "5.0.0"
- OSEC-2026-09: albatross "1.0.0" -> "1.0.1", the first opam release

Signed-off-by: Boning <me@boni.ng>

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Build osv-linter from bn-d/osv-schema#linter-opam (ossf/osv-schema#652) and lint all advisories with the ALL collection, which includes the PKG:001/PKG:002 package checks.

Signed-off-by: Boning <me@boni.ng>
@bn-d
bn-d force-pushed the test-opam-osv-changes branch from 34f4558 to 3af482f Compare November 4, 2026 02:38
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.

1 participant