-
Notifications
You must be signed in to change notification settings - Fork 40
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 multiple purl identifiers in product_identification_helper #781
Support multiple purl identifiers in product_identification_helper #781
Conversation
I'm unsure how to modify the examples to get the final text to build. When I run the make command, I get:
|
abefd8e
to
757ee67
Compare
csaf_2.1/prose/edit/src/schema-elements-01-defs-03-full-product-name.md
Outdated
Show resolved
Hide resolved
@mprpic Thank you for the Draft. I didn't had time yet to do a complete review but here are some quick comments:
|
f6e7b8c
to
ec4efed
Compare
Ack, I can move it to its own section with examples. Do you care if the original one remains as is and a new one is added with the next test number, i.e.
Done!
So that's any changes to files under
Done! |
Please keep the old file as they were (except for correcting the structure that changed). The new test should be
No. It was specific to the change of brackets (which then resulted in #787). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please have a look at the suggested changes.
csaf_2.1/prose/edit/src/schema-elements-01-defs-03-full-product-name.md
Outdated
Show resolved
Hide resolved
ec4efed
to
7380012
Compare
This allows a vendor to specify multiple purl identifiers for a single component (present as a product version branch in the product tree). Multiple purls may identify the same component but point to different locations from where that component may be available. Thus, it is mandatory that if multiple purls are present in a single product_identification_helper object, they must only differ in their qualifiers. Otherwise they should be set up as different product tree branches.
7380012
to
a6888cd
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. But, should we not target the current editorial branch editor-revision-2024-11-27 ?
Please retarget. ... and I will recreate the gap for your new tests-01-mndtr-38-... file to slot in. Thanks.
Update: The merge window for the editor revision of 2024-11-27 will close before this PR can be merged, so I retargeted to a feature branch instead. If approved and merged this change set will become part of the editor revision of December 2024 or later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'll merge it into the feature branch and do the necessary changes there. @mprpic Thank you for the contribution.
"description": "The package URL (purl) attribute refers to a method for reliably identifying and locating software packages external to this specification.", | ||
"type": "string", | ||
"format": "uri", | ||
"pattern": "^pkg:[A-Za-z\\.\\-\\+][A-Za-z0-9\\.\\-\\+]*/.+", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@mprpic Was there a specific reason why you removed the \\
in front of the /
?
- addresses parts of oasis-tcs#774, oasis-tcs#781, oasis-tcs#693 - add `\\` to mask `/` (based on discussion in oasis-tcs#693)
- addresses parts of oasis-tcs#774, oasis-tcs#781 - adapt prose to meet writing style and align with schema
- addresses parts of oasis-tcs#774, oasis-tcs#781 - sort list entries
- addresses parts of oasis-tcs#774, oasis-tcs#781, oasis-tcs#341 - improve wording - add valid example
- addresses parts of oasis-tcs#774, oasis-tcs#781, oasis-tcs#341 - improve wording of 6.1.42 - move tests to testfiles - add invalid examples - add valid examples - adapt test schema
- addresses parts of oasis-tcs#774, oasis-tcs#781, oasis-tcs#341 - add valid example - add invalid example for oci case (not namespace allowed)
This allows a vendor to specify multiple purl identifiers for a single component (present as a product version branch in the product tree). Multiple purls may identify the same component but point to different locations from where that component may be available. Thus, it is mandatory that if multiple purls are present in a single
product_identification_helper object, they must only differ in their qualifiers. Otherwise they should be set up as different product tree branches.
Resolves #774