-
Notifications
You must be signed in to change notification settings - Fork 59
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 schemas for metadata and config #370
Conversation
Can one of the admins verify this patch? |
1 similar comment
Can one of the admins verify this patch? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nicely done! While I'm not knowledgeable enough to review the accuracy of the schema, I like how you organized this.
I only have some nitpicks:
- there are some inconsistencies in the formatting (extra lines in places and not others, field ordering etc.) - perhaps run it through a formatter, or use python's json.dumps(..., sort_keys=True) to quickly do this?
- consider addressing the mixed usage of capitalization, periods, etc. in descriptions to be consistent.
apply @cjp256 suggestions from code review Co-authored-by: Chris Patterson <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice, it will be good to have this as a reference to point to and to be able to build upon.
I'll bring this one up, to see if there are any issues in landing this one. |
metadata and config are deprecated, now merged into charmcraft.yaml. |
Addresses #369.
Having json schemas would be very helpful for reducing runtime errors:
charmcraft build