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

Add v1 release schema #24

Merged
merged 1 commit into from
Sep 16, 2024
Merged

Add v1 release schema #24

merged 1 commit into from
Sep 16, 2024

Conversation

theory
Copy link
Member

@theory theory commented Sep 12, 2024

Move the definition of the distribution schema into base.schema.json and remove "additionalProperties": false. Then mix it back into distribution.schema.json and set "unevaluatedProperties": false, and into the new release.schema.json, also with "unevaluatedProperties": false. This uses the JSON Schema mixin pattern to build on a base schema to share definitions between them.

Finally, add tests for the new v1 release schema.

While at it, skip clearing badges except in the main branch, as it's failing right now, and tweak convert some Markdown to HTML in the README so it displays properly.

Move the definition of the distribution schema into `base.schema.json`
and remove `"additionalProperties": false`. Then mix it back into
`distribution.schema.json` and set `"unevaluatedProperties": false`, and
into the new `release.schema.json`, also with `"unevaluatedProperties":
false`. This uses the JSON Schema mixin pattern to build on a base
schema to share definitions between them.

Finally, add tests for the new v1 release schema.

While at it, skip clearing badges except in the main branch, as it's
failing right now, and tweak convert some Markdown to HTML in the README
so it displays properly.
@theory theory requested a review from vrmiguel September 12, 2024 23:20
@theory theory self-assigned this Sep 12, 2024
@theory theory linked an issue Sep 12, 2024 that may be closed by this pull request
Copy link

codecov bot commented Sep 12, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 100.00%. Comparing base (e4f3fbf) to head (6ca9779).
Report is 3 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff            @@
##              main       #24   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files            6         6           
  Lines          886       886           
=========================================
  Hits           886       886           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@theory theory merged commit 6ca9779 into main Sep 16, 2024
211 checks passed
@theory theory deleted the v1-release-schema branch September 16, 2024 18:56
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.

Support Release metadata in pgxn_spec
2 participants