Skip to content

[schema] Validate config and conandata schemas (incomplete)#11150

Closed
jgsogo wants to merge 2 commits into
conan-io:masterfrom
jgsogo:schema/validation
Closed

[schema] Validate config and conandata schemas (incomplete)#11150
jgsogo wants to merge 2 commits into
conan-io:masterfrom
jgsogo:schema/validation

Conversation

@jgsogo
Copy link
Copy Markdown
Contributor

@jgsogo jgsogo commented Jun 13, 2022

Belongs to the same initiative as #11147, a way to provide better and easier-to-understand feedback to users.

This is exploratory. Validating a schema is much harder and rules are usually more complicated than a linter... but declaring a schema is usually simpler than implementing the checks.

I found this library https://github.com/Grokzen/pykwalify with some documentation https://pykwalify.readthedocs.io/en/unstable/validation-rules.html

The library doesn't have any parseable output that we could use to report the errors in the PR itself (with a GH problem-matcher), maybe we should contribute that output if we really want to use it.

@stale
Copy link
Copy Markdown

stale Bot commented Jul 30, 2022

This pull request has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale
Copy link
Copy Markdown

stale Bot commented Sep 8, 2022

This pull request has been automatically closed because it has not had recent activity. Thank you for your contributions.

@stale
Copy link
Copy Markdown

stale Bot commented Oct 9, 2022

This pull request has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale Bot added the stale label Oct 9, 2022
@stale
Copy link
Copy Markdown

stale Bot commented Nov 9, 2022

This pull request has been automatically closed because it has not had recent activity. Thank you for your contributions.

@stale stale Bot closed this Nov 9, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants