Some notes on the playground, how to reproduce, and what I'm testing for.
Repo to reproduce: here.
-
I'm running testing on a new version of the example-get-started that I built with this updated gen script.
-
The repo itself (that script from above generates) can be downloaded here. Should be enough to reproduce issues below described below. And can be useful for everyone as an easy entry point to try DVC 1.0 on a bit more sophisticated project.
-
This list below might include things not related 100% to the latest changes we introduced in 1.0, but all of them are potentially relevant. E.g., we change pipelines interface and should try scenarios around.
dvc repro behavior and UI/UX
#3842
$ dvc repro
WARNING: assuming default target 'dvc.yaml'.
$ dvc repro
WARNING: stage: 'data/data.xml.dvc' is locked. Its dependencies are not going to be reproduced.
dvc repro options
$ vim scr/train.py (some dummy change)
$ dvc repro --dry`
$ dvc repro --help
DVC-file to reproduce. 'Dvcfile' by default.
Other commands
dvc get https://github.com/iterative/dataset-registry get-started/data.xml -o data/data.xml
This is not fixed by reverting b312895?w=1
Extracted to #3874
Some notes on the playground, how to reproduce, and what I'm testing for.
Repo to reproduce: here.
I'm running testing on a new version of the
example-get-startedthat I built with this updated gen script.The repo itself (that script from above generates) can be downloaded here. Should be enough to reproduce issues below described below. And can be useful for everyone as an easy entry point to try DVC 1.0 on a bit more sophisticated project.
This list below might include things not related 100% to the latest changes we introduced in 1.0, but all of them are potentially relevant. E.g., we change pipelines interface and should try scenarios around.
dvc reprobehavior and UI/UXI think we should assume:dvc.yamlprefix by default. Instead of running a stage like thisdvc repro dvc.yaml:prepare, I should be able to run it like this (ifdvc.yamlis found in the current dir? or if it is a single one in the project?)#3842
Repro excessive warning on the default target file name. Either make it info (in general I would say. default target: reduce loglevel to debug #3822WARNINGis a rare thing that we need to show), or don't show again. Instead make a message about the stage that we execute more meaningful (see below)Import stage reusing lock mechanism leads to ugly warnings on every repro(PR: repro: do not log when stage is locked and is import #3823):When I runlog: reduce log, make it readable/easier #3834dvc reproI don't really see the stage name being reproduced - we can probably include it w/o within the "Running command" message. It can solve the problem of some WARNING (see above).When you change something and it hits cache it feels that we need to explain a bit on what's going on? show summary of changes to the workspace?(Partially fixed by log: reduce log, make it readable/easier #3834)dvc reprooptionsstage: fix --dry-run #3799--drydoes not work at all.-p,.--pipeline- deprecate? It does not make sense moving forward to accept.dvcfiles.Related to the previous one - we still accept
.dvcfiles intodvc repro- we should not be doing this anymore - semantics is not clear anymore. Deprecate or remove.repro: fix help message for default target #3831--helpreview and fix it. e.g. we don't expectDvcfileby default anymore.We probably need "ignore-run-cache" option?run/repro: rename "build cache" -> "run cache" #3788run/repro: rename "build cache" -> "run cache" #3788--ignore-build-cache- name can be confusing now. Do we keep the same semantics at all? (Same question regarding thedvc run.)Other commands
dvc pipeline show- expectsDvcfile, should now do the same asdvc repro+ fix help.dvc pipeline showoutput is broken from a lot of different perspectives - see this comment for suggestions and details.We broke the progress bar for the
get/import. It is nowDownloading 0/1 filesvsDownloading 0/36.2Mbefore. Mean that we effectively don't show a progress bar for the case like:This is not fixed by reverting b312895?w=1
Extracted to #3874