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: dataset tagging #693
Conversation
…es export from dirty repos
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.
Thank you so much for doing this. It's an amazing contribution and I'm super happy about having this. 👍
I made some minor comments which would help us merge this into the new structure, other than that it looks and works great.
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! I tested the functionality and it seems to work as promised.
adds 3 new commands:
renku dataset tag <dataset> <tag> [-d <description>] [--force]
creates a tagrenku dataset ls-tags <dataset>
List all tags in a datasetrenku dataset rm-tags <dataset> <tags...>
Remove one or more tags from a datasetAdditionally, importing a dataset tags it with the remote version.
Exporting a dataset with tags allows selecting what tag to export and temporarily checks out the repo at that tag for exporting.
The export command does not currently work for dirty directories (as that'd require stashing local changes and popping them later, which I wasn't sure was necessary), but I can add that if wanted.
Closes #566