Mr. Outis
a17caefd50
integrate @efiop 's suggestions
2019-08-10 11:37:35 -05:00
Mr. Outis
0e46edd9bb
fail silently but with a more sound error message
...
* Add a `_missing` key to the return value of `repo.metrics.show` to
include targets not recognized as metrics or not found.
2019-08-09 21:55:19 -05:00
Mr. Outis
d4ef110794
exit with 1 if targets were not found
2019-08-06 21:10:48 -05:00
Ruslan Kuprieiev
8ae01de0eb
metrics: allow multiple targets for show command
...
Fix #1497
2019-08-05 10:19:11 -05:00
Mr. Outis
85cd344152
logger: Use a more _pythonic_ logging
...
- Uses a formatter for coloring output
- Move the `progress_aware` decorator logic to the logger itself
- Refactor modules so each one uses their own instance of a logger
Close #1753
2019-04-06 18:19:32 -06:00
Shao-Chun Ma
1a75866e72
metrics: automatic type detection ( #1809 )
...
Fixes #1553
2019-04-01 21:22:10 +03:00
Ruslan Kuprieiev
b3addbd283
Merge pull request #1733 from mroutis/fix-1716
...
metrics: shows formatted multiline metrics
2019-03-30 03:14:55 +02:00
Mr. Outis
298770efe9
metrics: shows formatted multiline metrics
...
Close #1716
2019-03-29 16:24:54 -07:00
Ivan Shcheklein
4a9188c0b5
Move man doc links to descriptions, fix some help copies ( #1805 )
...
* move man doc links to descriptions, fix some help copies
* minor init force message fix
* deal with ugly inheritance in lock base
* remove unnecessary super calls
* add return back to python lock/unlock run functions
2019-03-29 03:56:41 +02:00
pared
7b7ecf5bc1
metrics: rename show, repro: fix metrics display problem
2019-03-26 11:56:35 +01:00
Lee Yi Jie Joel
2ba657c77a
Add links to documentation for all commands ( #1767 )
2019-03-22 20:32:06 +02:00
Ruslan Kuprieiev
9ca00adde8
dvc: modify flake8 configuration
...
Signed-off-by: Ruslan Kuprieiev <[email protected] >
2019-02-22 19:36:19 +02: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
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
Mr. Outis
0d46921ec7
py2: add unicode literals
...
Fix #1512
2019-01-27 20:40:21 -06:00
Ruslan Kuprieiev
6fec8b16cd
RFC: conform to pylint
...
Signed-off-by: Ruslan Kuprieiev <[email protected] >
2019-01-16 14:12:19 +02:00
Mr. Outis
4c420d5f4d
logger [rfc]: Use a module instead of a class
...
- Remove deprecation warnings
- Format error output and remove duplicated info
Close #1086
2018-12-23 21:06:39 -06:00
Ruslan Kuprieiev
cc2ebb2099
dvc: introduce -T|--all-tags option
...
Fixes #1150
Signed-off-by: Ruslan Kuprieiev <[email protected] >
2018-10-01 12:13:17 +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
2cab8e03be
command: remove unused code
...
Signed-off-by: Ruslan Kuprieiev <[email protected] >
2018-07-19 07:00:39 +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
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
83d831735c
dvc: introduce -m option for repro
...
Fixes #188
Signed-off-by: Ruslan Kuprieiev <[email protected] >
2018-06-16 16:01:32 +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
1e7d548ca4
dvc: add dvc metrics
...
Fixes #592
Signed-off-by: Ruslan Kuprieiev <[email protected] >
2018-04-19 20:47:37 +03:00
Ruslan Kuprieiev
a1460a6d92
init: properly handle dvc init in directory without scm
...
Fixes #660
Fixes #662
Signed-off-by: Ruslan Kuprieiev <[email protected] >
2018-04-18 09:27:55 +03:00