python-jsonschema / check-jsonschema

A CLI and set of pre-commit hooks for jsonschema validation with built-in support for GitHub Workflows, Renovate, Azure Pipelines, and more!
https://check-jsonschema.readthedocs.io/en/stable
Other
191 stars 39 forks source link

`src/check_jsonschema/builtin_schemas/vendor` file organization #425

Closed jrdnbradford closed 1 month ago

jrdnbradford commented 1 month ago

I noticed that the sha256 hashes, licenses, and schemas for vendor schemas are all in src/check_jsonschema/builtin_schemas/vendor. Any interest in creating subdirectories there for general organization? In other words:

From a quick look it seems like only a small change to vendor-schemas.py would be required for auto-updating the schemas.

I'd be happy to take this on and put in a PR if you're interested. I have some extra time on my hands and get a lot of use out of this repo. 🦖

sirosen commented 1 month ago

Yeah, I think that would be a nice little change, and would make it easier to browse that directory. I haven't thought very much about it since setting that dir up.

Thanks so much for the suggestion and the willingness to work on it! I'm eager for a PR. :heart: (And no worries if you do it and we uncover some surprisingly trickiness -- I'm happy to start from a partial PR and help work out whatever might be a sticking point.)

jrdnbradford commented 1 month ago

Awesome, thanks as always!