`exp run`: `--glob` option doesn't work
See original GitHub issueBug Report
Description
dvc repro --glob 't*' runs all the stages starting with t in the current directory.
dvc exp run --glob 't*' looks for a stage having the name t*, and it can’t find.
Reproduce
dvc stage add -n t1 echo t1
dvc stage add -n t2 echo t2
dvc stage add -n t3 echo t3
dvc stage add -n t4 echo t4
dvc exp run --glob 't*'
Expected
I expect --glob to run multiple stages.
Environment information
dvc 2.6.3
Issue Analytics
- State:
- Created 2 years ago
- Comments:11 (5 by maintainers)
Top Results From Across the Web
ls with glob not working in a bash script - Super User
Activating this option made the shell to expand the glob before executing the ls command: ls -1 -d subdir3 subdir4 subdir5 ..... subdirn...
Read more >In what scenarios does file globbing not work in bash?
The globbing you are performing takes place before the sudo is executed. Only the call of du is done with root permissions. That...
Read more >Understanding the glob pattern in Node.js - LogRocket Blog
The glob pattern adds all files within a directory with the .java extension ... specified by the programmer using the dotglob common option....
Read more >The best way to expand glob pattern? - Unix Stack Exchange
Just let it expand inside an array declaration's right side: list=(../smth*/) # grab the list echo "${#list[@]}" # print array length echo "${list[@]}" ......
Read more >4. Glob Patterns And Other Basics - Exploring Expect [Book]
I will also describe what happens when patterns do not match. ... When Expect runs, it will immediately ask for all the characters...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

This is what @skshetry already suggested as a fix (https://github.com/iterative/dvc/pull/6458#discussion_r691044998)
--downstreamdoesn’t affect what would get checked out inexp run. Whether the command isexp run <target>orexp run --downstream <target>, the resulting checkout will always still bedvc checkout --with-deps <target>@dberenbaum
This is done, so lowering the priority of this one.