Ruslan Kuprieiev
e0842ce01e
dvc: rename cache -> odb ( #5481 )
2021-02-16 22:49:25 +02:00
Paweł Redzyński
4d36bc4de8
params: introduce --targets ( #5122 )
...
* params: add targets option
* fixup
* remove unnecessary changes
* fix isort
* params: diff: add test for --targets
* tests: roll back metric/plots unification, introduce collect test
* metrics/plots: refactoring
* missing plots test added
2020-12-22 04:19:13 +02:00
Paweł Redzyński
9940540917
metrics/plots: test metrics collection on no target on revision ( #4789 )
...
* metrics: include revision information when collecting metrics files
* plots: test warning message on no plot on revision
* plots/metrics: move to one package, introduce common tests
* tests: fix utils placement
2020-10-30 02:00:09 +02:00
Paweł Redzyński
5038fd225b
plots/metrics: support show for no repo ( #4761 )
2020-10-26 20:04:49 +02:00
Ruslan Kuprieiev
775e1e8374
repo: don't create .dvc in read-only repos ( #4674 )
...
* lock: use ABC
* lock: add LockNoop
* plots: remove unused code
* plots: create templates only on init
* dvc: don't create .dvc in read-only repos
* repo: explicitly init LockNoop
2020-10-07 23:51:14 +03:00
Raymond Gasper and Ruslan Kuprieiev
b0dbcdcdb6
metrics show: allow falsey values ( #4642 )
...
* metrics show: allow falsey values
Fixes #4630
* metrics show: bug in logging to console. Fixes #4630
* repro: fix incorrect usage of _show_metrics
* fix formatting/styling
* metrics: add a simple func test
Co-authored-by: Ruslan Kuprieiev <[email protected] >
2020-09-30 04:53:06 +03:00
Ruslan Kuprieiev
1ea8cc9e54
metrics/plots: support non-dvc repos ( #4627 )
2020-09-28 23:06:22 +03:00
Paweł Redzyński
2b3c30cb0c
metrics: accept any viable target in DvcRepo ( #4590 )
2020-09-22 22:53:55 +03:00
Alexander Schepanovski
a7e825a038
metrics: skip missing metrics silently ( #4130 )
...
Reverts an issue caused by #4005
2020-06-29 19:00:46 +03:00
Ruslan Kuprieiev
9ee62ef8f0
dvc: rename "working tree" to "workspace" ( #3914 )
...
Fixes #3892
2020-05-31 17:39:04 +03:00
Peter Rowlands (변기호)
8d9435e8ee
brancher: only yield git revisions that contain repo_root ( #3883 )
...
* tests: add test for metrics show -T with pre-existing tags
* brancher: ignore git revisions that do not contain repo
* tests: update test to include cmd
* CleanTree: tree_root for subrepos should be the repo root, not scm root
* only force subrepo root for git trees
* fix windows shell quotes
2020-05-28 12:26:29 +09:00
Saugat Pachhai
e8f6cd7f5b
run: raise error when command is not specified ( #3850 )
...
* run: raise error when command is not specified
* tests: adjust tests/func/plots/test_plots.py
* tests: adjust tests/func/plots/test_diff.py
* tests: add command to metrics/plots/params
* tests: fix test_remote.py
* tests: fix test_ls.py
* tests: fix test_repro* and test_run*
* tests: fix script in test_ls, was failing on Win
2020-05-27 12:13:26 +03:00
Ruslan Kuprieiev
93d7b9173b
tests: use --single-stage
2020-05-04 20:23:49 +03:00
Ruslan Kuprieiev
45944ddde7
metrics: rework metrics implementation ( #3658 )
...
Dropping support for all types except json and yaml. No more xpath
support.
Fixes #3572
2020-04-22 13:39:59 +03:00