feat: extend datasets commands visibility, labels, filter support#632
Open
georgi-seqera wants to merge 6 commits into
Open
feat: extend datasets commands visibility, labels, filter support#632georgi-seqera wants to merge 6 commits into
georgi-seqera wants to merge 6 commits into
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Extends the
datasetscommand group with three new subcommands and improvesdatasets listwith server-side filtering, pagination, label display, and hidden-dataset visibility control.datasets hide/datasets showHide or un-hide one or more datasets at once, referencing them by ID, name, or a mix of both.
datasets labelsManage labels on a single dataset — set, append, or delete.
datasets listimprovements--show-hidden--filter <expr>-l--max/--pageThe
runs list --filterdescription has also been updated to document the full server-side search syntax (datasetId:<id>,status:<status>,after:<date>, etc.).V2 API migration
All datasets API calls have been migrated from the legacy
/workspaces/{id}/datasets/...path to the/datasets/...?workspaceId=...V2 endpoints. This coverslist,add,view,view versions,update,url,download, anddelete. Name-based lookups (-n) also passvisibility=allso hidden datasets can be resolved by name in all commands (e.g.show,view,delete).Regression testing — full command examples
Prerequisites
Create a test samplesheet:
1. datasets list
2. Create test datasets
3. View and inspect
4. Update datasets
5. Hide datasets
6. Show (un-hide) datasets
7. Labels
8. Pipeline runs
9. runs list — filter by dataset
10. Cleanup