Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Opam Dependency Submission #62

Closed
Tracked by #71
smorimoto opened this issue Jan 12, 2024 · 7 comments
Closed
Tracked by #71

Opam Dependency Submission #62

smorimoto opened this issue Jan 12, 2024 · 7 comments
Assignees
Labels
enhancement New feature or request

Comments

@smorimoto
Copy link
Contributor

smorimoto commented Jan 12, 2024

We've done a lot of work over the last few years to integrate the dependency submission API with opam, OCaml's official package manager. See this post for details: https://discuss.ocaml.org/t/ann-set-up-ocaml-analysis

The next thing I want to do is provide decent support for opam packages on GitHub.

It would be great to be able to publish vulnerabilities on GitHub and/or such as which repositories your library is used in!

@smorimoto
Copy link
Contributor Author

@jonjanego

@smorimoto
Copy link
Contributor Author

Ref: github/advisory-database#1897

@smorimoto
Copy link
Contributor Author

@jonjanego
Copy link
Member

Thanks for filing this issue @smorimoto . Could you elaborate more on what you mean by 'provide decent support for opam packages on GitHub'?

@smorimoto
Copy link
Contributor Author

@jonjanego I would like to add support to the OCaml packages like the npm packages have here.
We now have a collection of packages on the official site, and we would love to link to them on GitHub Dependency graph tab, and some packages have GitHub Repository info, so we would like to link to GitHub repository instead.

@smorimoto
Copy link
Contributor Author

smorimoto commented Jan 22, 2024

Hmm... Thinking about this again, it seems hard to link repositories with just the information from the purl. Another idea is that the specification of the URL of ocaml.org can be easily composited with just the information from the purl, so it would be ideal to use it?

Spec

https://ocaml.org/p/[PACKAGE NAME]/[PACKAGE VERSION]

Example

https://ocaml.org/p/dune/3.13.0

@jonjanego
Copy link
Member

Thanks for the suggestion @smorimoto ! At this time, adding OCaml support natively into the dependency graph functionality isn't something on our roadmap, but we'll certainly keep it in mind for the future.

@jonjanego jonjanego closed this as not planned Won't fix, can't repro, duplicate, stale Jan 22, 2024
@jonjanego jonjanego self-assigned this Jan 22, 2024
@jonjanego jonjanego added the enhancement New feature or request label Jan 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants