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

github_packages: various improvements. #10932

Merged
merged 1 commit into from Mar 26, 2021

Conversation

MikeMcQuaid
Copy link
Member

  • validate all JSON files against their JSON schemas
  • remove existing/lingering JSON files
  • improve naming based on schema understanding
  • add more (empty) annotations hashes where valid
  • output prettier JSON
  • fix non-SHA256 output filenames

Re-uploaded at https://github.com/orgs/Homebrew/packages/container/package/homebrew-core%2Flibev

@BrewTestBot
Copy link
Member

Review period will end on 2021-03-26 at 10:08:54 UTC.

@BrewTestBot BrewTestBot added the waiting for feedback Merging is blocked until sufficient time has passed for review label Mar 25, 2021
- validate all JSON files against their JSON schemas
- remove existing/lingering JSON files
- improve naming based on schema understanding
- add more (empty) annotations hashes where valid
- output prettier JSON
- fix non-SHA256 output filenames
Comment on lines +51 to +52
Homebrew.install_gem!("json-schema")
require "json-schema"
Copy link
Member

@Bo98 Bo98 Mar 25, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This gem is no longer maintained btw (voxpupuli/json-schema#423 (comment)), with json_schemer being the one recommended on the JSON Schema website.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@Bo98 Argh. I'm going to merge this for now given the other improvements but I'll move to the new gem (likely next week).

@BrewTestBot
Copy link
Member

Review period ended.

@BrewTestBot BrewTestBot removed the waiting for feedback Merging is blocked until sufficient time has passed for review label Mar 26, 2021
@MikeMcQuaid MikeMcQuaid merged commit c3f90e9 into Homebrew:master Mar 26, 2021
@MikeMcQuaid MikeMcQuaid deleted the json_schema branch March 26, 2021 15:36
@github-actions github-actions bot added the outdated PR was locked due to age label Apr 26, 2021
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Apr 26, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
outdated PR was locked due to age
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants