You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Right now, this service was provided through Dvcfile.stages and Dvcfile.stage. The problem with the API is it requires us to create Dvcfile each time even if we don't need it.
We already have wrappers around it due to above reason:
This might get more complicated with group stage run target, i.e. name of the stage group of a foreach.
So, it'd be great to have a simple wrapper that'd look like this:
* repro: support regex/foreach-group to run at once
Fixes#4912Fixes#4886Fixes#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`
Right now, this service was provided through
Dvcfile.stages
andDvcfile.stage
. The problem with the API is it requires us to createDvcfile
each time even if we don't need it.We already have wrappers around it due to above reason:
dvc/dvc/repo/__init__.py
Line 258 in 3daeeaf
dvc/dvc/repo/__init__.py
Line 266 in 3daeeaf
This might get more complicated with group stage run target, i.e. name of the stage group of a foreach.
So, it'd be great to have a simple wrapper that'd look like this:
The API might improve, when trying to improve this. That is what I have in mind.
The text was updated successfully, but these errors were encountered: