Skip to content

feat: add missing OSV ecosystem mappings#23

Merged
andrew merged 1 commit into
git-pkgs:mainfrom
abhinavgautam01:feature/osv-ecosystem-mappings
Jul 20, 2026
Merged

feat: add missing OSV ecosystem mappings#23
andrew merged 1 commit into
git-pkgs:mainfrom
abhinavgautam01:feature/osv-ecosystem-mappings

Conversation

@abhinavgautam01

@abhinavgautam01 abhinavgautam01 commented Jul 20, 2026

Copy link
Copy Markdown
Contributor

Closes #22.

The julia and opam PURL type definitions mentioned in #22 are intentionally left for a separate follow-up.

Follow-up to git-pkgs/git-pkgs#277
Adds the OSV ecosystem mappings needed by downstream vulnerability clients:

  • conan -> ConanCenter
  • cran -> CRAN
  • hackage -> Hackage
  • julia -> Julia
  • opam -> opam
  • swift -> SwiftURL

Also removes the CocoaPods mapping because the OSV query API rejects CocoaPods. PURLTypeToOSV("cocoapods") now correctly reports it as unsupported.

Adds regression coverage for both EcosystemToOSV and PURLTypeToOSV.

@andrew
andrew merged commit aa82df4 into git-pkgs:main Jul 20, 2026
2 checks passed
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.

Add missing OSV ecosystem names (conan, cran, hackage, julia, opam, swift)

2 participants