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

[issue-540] change DESCRIBES validation #577

Merged

Conversation

armintaenzertng
Copy link
Collaborator

The new logic is now:
A DESCRIBES relationship is not mandatory if there is only a single SPDX element present which is a package.

Copy link
Collaborator

@meretp meretp left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks! I stumbled a bit over the wording of the validation message since negations of cardinalities are a bit tricky but I don't have a better suggestion.

…re is a single package only

Signed-off-by: Armin Tänzer <armin.taenzer@tngtech.com>
@armintaenzertng armintaenzertng merged commit a9ad3f6 into spdx:main Apr 13, 2023
32 checks passed
@armintaenzertng armintaenzertng deleted the allowDocsWithoutDescribes branch April 13, 2023 06:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Change validation to allow documents without DESCRIBES relationships
2 participants