-
-
Notifications
You must be signed in to change notification settings - Fork 66
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
feat: license expression details and properties - text attachment, licensing, etc #599
base: 1.7-dev
Are you sure you want to change the base?
Conversation
- tests: examples for licenses with text - tests: draft for expressiosn with text Signed-off-by: Jan Kowalleck <[email protected]>
dac5995
to
39524a2
Compare
tools/src/test/resources/1.7/valid-license-expression-with-text-1.7.xml
Outdated
Show resolved
Hide resolved
tools/src/test/resources/1.7/valid-license-expression-with-text-1.7.xml
Outdated
Show resolved
Hide resolved
tools/src/test/resources/1.7/valid-license-expression-with-text-1.7.json
Outdated
Show resolved
Hide resolved
see #599 (comment) Signed-off-by: Jan Kowalleck <[email protected]>
tools/src/test/resources/1.7/valid-license-expression-with-text-1.7.json
Outdated
Show resolved
Hide resolved
tools/src/test/resources/1.7/valid-license-expression-with-text-1.7.json
Outdated
Show resolved
Hide resolved
Signed-off-by: Jan Kowalleck <[email protected]>
as suggested in https://github.com/CycloneDX/specification/pull/599/files#r1965445439 Signed-off-by: Jan Kowalleck <[email protected]>
Signed-off-by: Jan Kowalleck <[email protected]>
Signed-off-by: Jan Kowalleck <[email protected]>
Signed-off-by: Jan Kowalleck <[email protected]>
Signed-off-by: Jan Kowalleck <[email protected]>
Signed-off-by: Jan Kowalleck <[email protected]>
Signed-off-by: Jan Kowalleck <[email protected]>
Signed-off-by: Jan Kowalleck <[email protected]>
Signed-off-by: Jan Kowalleck <[email protected]>
Hi @jkowalleck , I stumbled over the explanation of "content" of the text: |
Signed-off-by: Jan Kowalleck <[email protected]>
added via c16b24a |
this is not a difference in naming, but in structure. in JSON, we have this one object that contains the property "expression", and additional properties. Hope this helps to understand. XSD and JSON-schema and ProtoBuf-schema are just implementations of the CycloneDX spec. |
Signed-off-by: Jan Kowalleck <[email protected]>
I've copied this over from the existing spec somewhere. Feel free to open an issue/pullrequest to improve this in the spec 👍 In addition, I've revisited the docs and and changed them - hopefully to the better: 7c49125 |
Signed-off-by: Jan Kowalleck <[email protected]>
Signed-off-by: Jan Kowalleck <[email protected]>
Signed-off-by: Jan Kowalleck <[email protected]>
Signed-off-by: Jan Kowalleck <[email protected]>
Signed-off-by: Jan Kowalleck <[email protected]>
Signed-off-by: Jan Kowalleck <[email protected]>
Signed-off-by: Jan Kowalleck <[email protected]>
updated schema and examples according to latest discussion |
Signed-off-by: Jan Kowalleck <[email protected]>
Signed-off-by: Jan Kowalleck <[email protected]>
</xs:complexType> | ||
</xs:element> | ||
<xs:element name="expression" type="bom:licenseExpressionType" minOccurs="0" maxOccurs="1" /> | ||
<xs:element name="expression-detailed" type="bom:licenseExpressionDetailedType" minOccurs="0" maxOccurs="1" /> |
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.
after #582 got merged
- make
expression-detailed
'smaxOccurs="unbounded"
, too. - add an example where a declared expression is transferred to a concluded expression. we have an example for this where the
... OR ...
expression become a concrete one.
this change would not affect the spec or scope of this feature, and will not interrupt the standardization process.
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.
Is there a reason why this is called expression-detailed
and the JSON is called expressionDetails
. Not too worried about the hyphen, rather detailed
vs details
.
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.
details
- these are the detailsdetailed
- that is the thing that contains the details.
I think all needed tasks on this PR were touched. it is ready for review. |
Signed-off-by: Jan Kowalleck <[email protected]>
Signed-off-by: Jan Kowalleck <[email protected]>
Signed-off-by: Jan Kowalleck <[email protected]>
49bded2
to
5b12e67
Compare
RFC notice sent.
Public RFC period ends April 8, 2025 |
As discussed via #549, this PR adds new structures to allow documenting the licensing and "properties" of SPDX expressions
As discussed via #554, this PR adds new structures to allow documenting the license texts for SPDX expressions' individual parts.
TODO