-
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
commit
, status
: cannot address all foreach
stage targets
#7323
Comments
Good point! This appears to be supported for @skshetry Any thoughts on this? |
I'm also encountering this, and would add that @dtrifiro Thanks for your help. I found this already existing issue. |
Thanks @itcarroll! I'd expect the all commands dealing with parametrized stages to work in a consistent manner (i.e. like |
dvc commit
stage when using foreach
in dvc.yamlcommit
, status
: cannot address all foreach
stage targets
Support for
|
@dberenbaum And |
@skshetry There was interest in contributing a fix in #7462 (comment). What do you think? |
I have a pipeline that uses a
foreach
loop to process different datasets lets call the stagedata_prep
. I can rundvc repro -s data_prep
and it will loop through each dataset specified in thedvc.yaml
no problem. If I then modify the code that the stage depends egdata_prep.py
all the individual stages will need to be rerun IEdvc status
will return something like:The problem is that lets say all I have done is a minor change to the code and I don't want to do a
dvc repro
all I want to do isdvc commit data_prep
but I cannot, I have to commit each substage separtely egdvc commit data_prep@data_set_4
which is not ideal as I have many such datasets. Can it be implemented that doing advc commit data_prep
will commit all sub-stages?Many thanks, DVC is awesome.
Edit: I also do not want to just to a
dvc commit
to commit everything as there are later stages I don't want to commitThe text was updated successfully, but these errors were encountered: