-
Notifications
You must be signed in to change notification settings - Fork 18
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
Support for other namespaces #240
Comments
It's not presently extensible, but here is where the affected identifier is defined:
|
Let's look at how we can do this. There are two things to consider - how can we represent it in our tooling (easy), and whether/how we can represent it in OSV (less obvious). We should also consider whether we should set it up to support arbitrary namespaces (such that, if we want to include another namespace in future no further tooling change is required), or whether it is reasonable to require a tooling change each time a new namespace appears. |
Here are some quick thoughts: Because there is no way to confirm that package x from hackage.haskell.org and package x from Cardano (or any other source) are the same package, we do need a way to disambiguate. On the OSV schema, the Note: we chose In our advisory DB and our native Advisory tooling, we can add a new field to specify the namespace (optional, defaulting to
In either case, no further changes/additions to OSV schema or ecosystem semantics would be needed. We will need to implement some library support for the Purl spec. Welcoming your feedback @tchoutri, SRT members, and other interested parties. |
You are absolutely right, The Cardano packages have their own sources and versioning schemes (see servant-sever-0.19.2.0.0.0.0.1)
I would like to suggest this scheme:
Indeed this is much too restrictive. Maybe heavily promoting purls would be the way forward, so that I may be able to support Cardano and Horizon packages in my data model in an easy manner, in Flora. |
In #165, @frasertweedale wrote
Is there any chance that there could be a metadata about the package that references the namespace? I'm currently working on Flora integration of advisories and I'd love to be able to fully disambiguate packages hosted by Hackage from package of the Cardano package repository.
Right now I will restrict the advisories to the
@hackage
namespace, but I'm be delighted to see a field for the namespace / package repository one day. :)The text was updated successfully, but these errors were encountered: