-
Notifications
You must be signed in to change notification settings - Fork 8
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
feat: Artifact Versioning #272
base: main
Are you sure you want to change the base?
Conversation
* benchmark-v1 uploadAsNewVersion * get_benchmark name -> slug * upload_as_new_version for benchmark-v2 * parent_slug instead of upload_as_new_version * parent_slug -> parent_artifact_id * add parent_artifact_id to upload_to_hub functions * update documentation with parent_artifact_id * add comments
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.
Very nice! 😄
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.
Looks good to me! Thanks, @roselynh100!
PS: I forgot to mention this in my Hub PR message (better late than never, right?), but I really appreciate the attention to detail with the PR description, the GIF, and all the little touches 💅!
Changelogs
⭐ Hub changes here!
artifact_version
andartifact_changelog
to datasets and benchmarksfield_validator
to accept a slug from the Hub (if passed), otherwiseslugify
s the nameurn_for
method to use a new functionbuild_urn
parent_artifact_id
(owner/slug) can be specified in dataset/benchmarkupload_to_hub
,upload_dataset
, orupload_benchmark
functionsname
withslug
(e.g. inget_artifact
, etc)artifact_version
,artifact_changelog
, andparent_artifact_id
. Also mentioned how to upload a new version (at the end of Create a Dataset and Create a Benchmark tutorials)Preview
Checklist:
feature
,fix
,chore
,documentation
ortest
(or ask a maintainer to do it for you).