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

Validate only specific doc examples with SHACL in CI. #935

Merged
merged 1 commit into from
Apr 23, 2024

Conversation

licquia
Copy link
Collaborator

@licquia licquia commented Apr 23, 2024

The check assumes that JSON example snippets are all parts of a single JSON document that needs validating, but not all files are written that way. To avoid errors that have nothing to do with the correctness of the examples, we should only check files which meet the check's assumptions.

Fixes #912.

The check assumes that JSON example snippets are all parts of a single
JSON document that needs validating, but not all files are written
that way.  To avoid errors that have nothing to do with the
correctness of the examples, we should only check files which meet the
check's assumptions.

Fixes spdx#912.

Signed-off-by: Jeff Licquia <[email protected]>
@licquia licquia requested a review from goneall April 23, 2024 01:55
@licquia
Copy link
Collaborator Author

licquia commented Apr 23, 2024

@JPEWdev GitHub wouldn't let me request you as a reviewer, but I'd appreciate a look-see to make sure I'm not missing something.

Copy link
Contributor

@JPEWdev JPEWdev left a comment

Choose a reason for hiding this comment

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

LGTM. we should figure out a way to validate the other documents, but this is fine in the mean time

Copy link
Member

@goneall goneall left a comment

Choose a reason for hiding this comment

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

Thanks @licquia

@goneall goneall merged commit a9c2e6f into spdx:development/v3.0.1 Apr 23, 2024
3 checks passed
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.

Check examples are now failing
3 participants