Shao-Chun Ma
1a75866e72
metrics: automatic type detection ( #1809 )
...
Fixes #1553
2019-04-01 21:22:10 +03:00
Mr. Outis
298770efe9
metrics: shows formatted multiline metrics
...
Close #1716
2019-03-29 16:24:54 -07:00
Andrew Grigorev
2ef3a7c7c0
tests: windows has different linesep
2019-03-21 19:47:42 +03:00
Andrew Grigorev
16f74f6894
tests: test_metrics missing .dvc files in commit
2019-03-21 19:47:42 +03:00
Andrew Grigorev
8c8b585de9
tests: test_install commit and clean
...
Uncommited files wouldn't be accessible as git objects.
It needs `git clean -fd` to amend "Working Tree" metrics collection
which took its part when the git tree is dirty.
2019-03-21 19:47:42 +03:00
pared
e1daa921ee
push/pull/status -c: should warn on no checksum locally and remotely
2019-03-13 17:42:51 +01:00
Ruslan Kuprieiev
9ca00adde8
dvc: modify flake8 configuration
...
Signed-off-by: Ruslan Kuprieiev <[email protected] >
2019-02-22 19:36:19 +02:00
Dmitry
54bcba7177
Fix tests in metrics
2019-02-19 13:04:16 -08:00
Ivan Shcheklein
b79085ec69
add tests for metrics wrong type and some other edge cases
2019-02-18 17:17:20 -08:00
Ivan Shcheklein
708558da62
metrics tests: add test for wrong metric type, uppercase type
2019-02-17 15:24:46 -08:00
Ivan Shcheklein
bd382c87d9
cleanup metrics help, fix type and xpath handling
2019-02-17 15:08:58 -08:00
Ruslan Kuprieiev
a3099bca6a
metrics: fix bad metric file case handling
...
Also some refactoring got into this, sorry :(
Signed-off-by: Ruslan Kuprieiev <[email protected] >
2019-02-14 00:15:18 +02:00
Ruslan Kuprieiev
ba8d83e9b1
dvc: refactor dvc project class
...
1) split Project's methods into separate files;
2) rename Project into Repo(similar to gitpython's Repo)
Signed-off-by: Ruslan Kuprieiev <[email protected] >
2019-02-13 03:31:23 +02:00
Ivan Shcheklein
51381fb0b0
fix metrics show all when no target is specified
2019-02-11 18:27:19 -08:00
Ivan Shcheklein
bd28b711f9
minor: remove debug print
2019-02-09 19:58:10 -08:00
Ivan Shcheklein
5563f13273
fix metrics tests on windows
2019-02-09 19:57:41 -08:00
Ivan Shcheklein
36c4a3a5af
add metrics tests
2019-02-09 19:00:40 -08:00
Ruslan Kuprieiev
4896f08ddf
dvc: comply with both flake8 and black
...
flake8 provides some additional features like unused vars check, etc, so
it makes total sense to use it as well.
Signed-off-by: Ruslan Kuprieiev <[email protected] >
2019-02-04 00:10:36 +02:00
Thibault de Boissiere
70a16b2dec
Implement -R option for dvc metrics show ( #1543 )
2019-02-02 05:18:06 +02:00
Ruslan Kuprieiev
4069e34130
dvc: use black instead of flake8
...
Fixes #1546
Signed-off-by: Ruslan Kuprieiev <[email protected] >
2019-01-30 03:48:36 +02:00
Ruslan Kuprieiev
a67988a80e
test: enable flake8 checks for tests
...
Signed-off-by: Ruslan Kuprieiev <[email protected] >
2018-12-06 06:40:55 +02:00
Mr. Outis
2906a31b66
tests: dvc checkout --force
2018-11-17 19:47:50 -06:00
Ruslan Kuprieiev
c6f642fd6b
dvc: add --recursive
...
Fixes #1026
Signed-off-by: Ruslan Kuprieiev <[email protected] >
2018-08-21 10:41:19 +03:00
Ruslan Kuprieiev
891ec0bad4
test: cover metrics
...
Signed-off-by: Ruslan Kuprieiev <[email protected] >
2018-08-04 19:59:23 +03:00
Ruslan Kuprieiev
2363057165
metrics: add '-t|--type' and '-x|--xpath' options
...
Fixes #914
Signed-off-by: Ruslan Kuprieiev <[email protected] >
2018-07-23 00:34:03 +03:00
Ruslan Kuprieiev
9e576cd55b
metrics: properly handle explicitly specified file
...
Related to #865
Signed-off-by: Ruslan Kuprieiev <[email protected] >
2018-07-22 21:34:03 +03:00
Ruslan Kuprieiev
90781900e2
tests: test CLI dvc metrics add
...
Signed-off-by: Ruslan Kuprieiev <[email protected] >
2018-07-19 08:24:55 +03:00
Ruslan Kuprieiev
3f312a83c5
metrics: Show a proper message if repository does not have metrics and show is called
...
Fixes #905
Signed-off-by: Ruslan Kuprieiev <[email protected] >
2018-07-18 13:58:45 +03:00
Ruslan Kuprieiev
6c7bf390c6
metrics: check that specified path is a text file and not a directory or binary file
...
Fixes #911
Signed-off-by: Ruslan Kuprieiev <[email protected] >
2018-07-18 12:25:11 +03:00
Ruslan Kuprieiev
5565ece1f8
metrics: add support for csv and hcsv
...
Fixes #910
Fixes #909
Signed-off-by: Ruslan Kuprieiev <[email protected] >
2018-07-18 12:15:59 +03:00
Ruslan Kuprieiev
95f3b49db8
test: add basic test for metrics
...
Signed-off-by: Ruslan Kuprieiev <[email protected] >
2018-07-01 20:07:00 +03:00
Ruslan Kuprieiev
834f9502dd
test: enable CLI metrics test on windows
...
Fixes #674
Signed-off-by: Ruslan Kuprieiev <[email protected] >
2018-06-17 15:39:10 +03:00
Ruslan Kuprieiev
c733b8130b
dvc: add dvc metrics add/show/remove and dvc run -M|--metrics-no-cache
...
Fixes #656
Signed-off-by: Ruslan Kuprieiev <[email protected] >
2018-06-16 16:01:32 +03:00
Ruslan Kuprieiev
c063ce9ff5
dvc: try to add to gitignore every time for backward compatibility
...
Signed-off-by: Ruslan Kuprieiev <[email protected] >
2018-05-14 17:09:29 +03:00
Ruslan Kuprieiev
5985fd3c96
metrics: don't forget to checkout()
...
Signed-off-by: Ruslan Kuprieiev <[email protected] >
2018-04-20 11:04:05 +03:00
Ruslan Kuprieiev
1e7d548ca4
dvc: add dvc metrics
...
Fixes #592
Signed-off-by: Ruslan Kuprieiev <[email protected] >
2018-04-19 20:47:37 +03:00