-
Notifications
You must be signed in to change notification settings - Fork 90
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
Metadata quality verification API #1874
Conversation
Codecov Report
@@ Coverage Diff @@
## master #1874 +/- ##
==========================================
+ Coverage 89.86% 90.35% +0.49%
==========================================
Files 62 64 +2
Lines 7411 7757 +346
==========================================
+ Hits 6660 7009 +349
+ Misses 751 748 -3
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
|
4ef658c
to
6c42504
Compare
66d32f3
to
3c2c3a4
Compare
a02b3f5
to
da8036f
Compare
"additionalProperties": false, | ||
"properties": { | ||
"version": { | ||
"const": "1" |
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.
Do we want semver for this?
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.
I don't quite understand how it works for schemas 🤷♂️. I think I need to look for example.
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.
Well at a bare minimum, make it a string?
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.
It's already a string.
*New in Quilt 3.3* | ||
|
||
`quilt3` provides API to ensure quality of package metadata. To start use it you need to create | ||
configuration file in your registry under `.quilt/workflows/config.yml`. For example: |
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.
Shouldn't we provide this as a constant from quilt3
, or from an API?
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.
I think that currently we don't have a good place for it.
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.
What about util.py? See https://docs.quiltdata.com/api-reference/cli#constants-see-util-py-for-more
I will do more testing once we get this on stage, as well as some wordsmithing on the docs, but overall looks good. Added some comments and suggestions. |
Co-authored-by: Aneesh Karve <[email protected]>
Co-authored-by: Aneesh Karve <[email protected]>
Description
This adds
workflow
parameter toPackage.push()
andPackage.build()
functions.TODO
workflow
values for 'don't use workflow' and 'use default'workflows/config.yml
build.py
for new docstrings