Many issues require reconfiguration of stages and even pipelines: - In #973 @Hong-Xiang was asking about reusing (reconfigurable) pipelines. - Discord discussion with **vern** from 11/27/18: ["it's annoying to write them all (stages) out by hand and then do it again for each color (parameter)."](https://discordapp.com/channels/485586884165107732/485596304961962003/517127007583338497) - #1416 parametrize pipeline \ step - not config file, just parameters. - #1119 repetitive commands. I see a similarity with parametrizable commands where only a single output is in use and without creating a separate directory for each experiment (`./output.p` instead of `gs1/output.p`). A concept of reconfigurable-stage should be introduced in DVC. Open questions: 1. how to pass config file (do we need multiple config files)? 2. how to pass params (should we override config by the params or it is a separate concept)? 3. how to specify input files? 4. how to specify the output directory (`gs1/`)? 5. how to specify an output file without an output directory ( see `./output.p` instead of `gs1/output.p` from the above)? 6. how to make it work for pipelines? 7. Should build cache #1234 be part of the solution? It will allow caching intermediate results of reusable stages (if step1 is the same in a few pipeline instances). UPDATE: #1214 might be also related to this issue. UPDATE2: Add a quote from **vern** and open question 7.
Many issues require reconfiguration of stages and even pipelines:
dvc runhandle files with same name but different path #973 @Hong-Xiang was asking about reusing (reconfigurable) pipelines.dvc runcommands (like unpacking of many zip files)? #1119 repetitive commands. I see a similarity with parametrizable commands where only a single output is in use and without creating a separate directory for each experiment (./output.pinstead ofgs1/output.p).A concept of reconfigurable-stage should be introduced in DVC.
Open questions:
gs1/)?./output.pinstead ofgs1/output.pfrom the above)?UPDATE: #1214 might be also related to this issue.
UPDATE2: Add a quote from vern and open question 7.