Skip to content

Conversation

@mtrmac
Copy link
Collaborator

@mtrmac mtrmac commented Mar 4, 2025

github.com/xeipuuv/gojsonschema has last had a commit in Oct 2020.

So, follow what github.com/opencontainers/image-spec did, and move to the same library that project uses.

Note that github.com/santhosh-tekuri/jsonschema/v6 already exists, but the goal is to decrease the dependency surface (to the little extent this matters, it's at most a test dependency anyway), so we prioritize using the older version.

@rhatdan
Copy link
Member

rhatdan commented Mar 11, 2025

LGTM

mtrmac added 2 commits March 11, 2025 18:52
…ekuri/jsonschema/v5

github.com/xeipuuv/gojsonschema has last had a commit in Oct 2020.

So, follow what github.com/opencontainers/image-spec did, and move to
the same library that project uses.

Note that github.com/santhosh-tekuri/jsonschema/v6 already exists,
but the goal is to decrease the dependency surface (to the little extent
this matters, it's at most a test dependency anyway), so we prioritize
using the older version.

Signed-off-by: Miloslav Trmač <[email protected]>
Should not change behavior.

Signed-off-by: Miloslav Trmač <[email protected]>
@mtrmac mtrmac merged commit 99996a1 into containers:main Mar 11, 2025
10 checks passed
@mtrmac mtrmac deleted the jsonschema branch March 11, 2025 19:04
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