-
-
Notifications
You must be signed in to change notification settings - Fork 7
Add tests for latest purl-spec #228
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
Conversation
Fix GitHub CI Add a test Signed-off-by: ziad hany <[email protected]>
Signed-off-by: ziad hany <[email protected]>
|
Thanks for the proposal. Until purl 1.0 is released, all significant changes to this very repository are postponed. See Line 18 in b8e5381
|
@jkowalleck The purl 1.0 spec has been accepted by Ecma TC54, so at this stage we should be starting to fix all the libraries, and @ziadhany effort is part of this. |
PURL has still not published a stable version, nor a release. As long as the above is still open, there will be no significant changes to this library. Line 18 in b8e5381
|
Thank you for all your effort. This library never intended to implement any specific PURL type. it was intended to implement the upcoming standard - which is just the core spec. Please refrain from adding any implementations, tests, etc for now. |
@jkowalleck I asked @ziadhany to help on this .... I am not sure why we would not want to have full support for PURL here ... but if this an issue, we can instead maintain a fork for now, something like packageurl-php2 of sorts. |
First, PURL types are not standardized, they are merely registered. They have no stable version, they have no common definition, they are purely opinionated. Second, PURL types no longer are registered in one location, but can be defined by everyone in arbitrary locations (that's what @pombredanne told me "each ecosystem could/should own and share its own type definition") - Don't want to implement things that get out of control easily. Third, I don't want to chase type completeness in this library.
Working on unplanned/undesired work packages might lead to rejection easily. You should have opened a ticket, and asked if/how to be helpful, before dropping a large pull request :-) This being said, it is not too late, feel free to open a discussion/ticket to clarify all of this. |
|
this change set is not desired. as discussed, a complete redesign is planned: #243 |
Adds test coverage using reference data provided by
purl-spechttps://github.com/aboutcode-org/purl-spec/tree/main/tests/types.
The test schema is available https://github.com/aboutcode-org/purl-spec/blob/main/schemas/purl-test.schema.json.
Note:
Related issue: