Skip to content

Conversation

@theory
Copy link
Member

@theory theory commented Jul 19, 2024

Based on pgxn/rfcs#3. As with the v1 schemas, use JSON Schema v2020 for the v2 schemas.

Fix a few minor issues with the v1 schema, as well. Add full test suite in Rust; move code shared between the v1 and v2 tests to tests/common/mod.rs. This includes custom format functions not required for v1, including spdx version expression validation with the spdx crate, and path validation to ensure no .. is included in paths.

@theory theory self-assigned this Jul 19, 2024
@theory theory marked this pull request as ready for review July 24, 2024 21:51
Based on pgxn/rfcs#3. As with the v1 schemas, use JSON Schema v2020 for
the v2 schemas.

Fix a few minor issues with the v1 schema, as well. Add full test suite
in Rust; move code shared between the v1 and v2 tests to
`tests/common/mod.rs`. This includes custom format functions not
required for v1, including spdx version expression validation with the
`spdx` crate, and path validation to ensure no `..` is included in
paths.
@theory theory changed the title V2 dev Implement v2 Spec JSON Schema Jul 24, 2024
@theory theory mentioned this pull request Jul 2, 2024
5 tasks
@theory theory merged commit fbd591d into main Jul 30, 2024
@theory theory deleted the v2-dev branch July 30, 2024 20:11
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.

2 participants