-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
repro: glob-style selection of stages #4912
Comments
We've added |
@mdekstrand, I have created #4976 to support this feature. Please take a look. |
* repro: support regex/foreach-group to run at once Fixes #4912 Fixes #4886 Fixes #4958 * Use `tree.isdir` rather than `os.path.isdir` * Use glob rather than regex * Update dvc/command/repro.py * s/regex/glob * disable glob on `collect_granular` There's no need for a glob here * add tests for `collect` and `collect_granular`
It would be useful to be able to select stages by glob, either at the top level or within a specific
dvc.yaml
file.For example, if I have
eval/dvc.yaml
that evaluates several models over several data sets, I would like to be able to reproduce the evaluations over one data set with something like:Or:
With the much-improved support for executing unrelated jobs in parallel in recent versions of DVC, this will enable me to submit each data set as a separate job to the cluster's batch scheduler, along with I imagine a host of other use cases.
The text was updated successfully, but these errors were encountered: