Jorge Orpinel
f325921315
diff: update help output to match docs, et al. ( #3601 )
...
* diff: update help output to match docs
per https://github.com/iterative/dvc/pull/3566#pullrequestreview-388346350
* terms: git->Git, scm->SCM, spacing
2020-04-07 12:50:11 +03:00
Nate Gadzhibalaev
f4d91b35d7
CLI: Fixed cmds help strings ( #3566 )
...
This fixes a few command help string outputs that were
cut short because of a typo.
2020-04-01 14:00:16 +03:00
Ivan Shcheklein
eebbf3f812
change diff checksum arg name to hash ( #3384 )
2020-02-23 06:32:35 +02:00
Jorge Orpinel
b23f43a7e7
term: avoid "under X control" and other help output updates ( #3322 )
...
* get/import: update cmd and url arg descs with correct behavior
* get/import: update path arg desc as well (See previous commit)
* get/imp: udpate help output with simpler terms
per https://github.com/iterative/dvc/pull/3277#pullrequestreview-352650016
* api: url->URL in a docstring
* metrics show: update help output per
per https://github.com/iterative/dvc.org/pull/933#pullrequestreview-351862579
* diff: update `diff` and `metrics diff` help desc to match docs
per https://github.com/iterative/dvc.org/pull/933#pullrequestreview-356890960
* diff: update autocomplete scripts
per https://github.com/iterative/dvc/pull/3308#issuecomment-585220300
* diff: update help output again
per https://github.com/iterative/dvc.org/pull/933#pullrequestreview-356890960
* diff/metrics diff: update help output yet again
per https://github.com/iterative/dvc.org/pull/933#discussion_r378654316
* term" under X control -> tracked by X
2020-02-17 17:24:30 +02:00
Ruslan Kuprieiev
0c8897949e
diff: use rev instead of ref ( #3299 )
...
Fixes #3245
2020-02-11 00:13:23 +02:00
Ruslan Kuprieiev
de1f67afbd
Merge pull request #3244 from jorgeorpinel/master
...
diff/metics diff: update argument descriptions, et al.
2020-02-03 02:15:54 +02:00
Jorge Orpinel
c27f6efa65
diff: remove backquotes around "HEAD"
...
per https://github.com/iterative/dvc/pull/3244#pullrequestreview-351263562
2020-01-31 20:05:47 -06:00
Jorge Orpinel
6984546ae2
diff/metrics diff: simplify b_ref desc
...
per https://github.com/iterative/dvc/pull/3244#pullrequestreview-351111761
2020-01-30 18:25:11 -06:00
Jorge Orpinel
5019fe147c
term: use "hash" instead of "checksum" in a few files
...
per https://github.com/iterative/dvc/pull/3244#pullrequestreview-351108115
2020-01-30 18:13:36 -06:00
Mr. Outis and @dmpetrov
e5145e6c55
diff: format summary to make it more human readable
...
Co-authored-by: @dmpetrov
2020-01-30 13:15:49 -06:00
Jorge Orpinel
aa849ab2d5
Merge branch 'master' of github.com:iterative/dvc
2020-01-30 12:24:22 -06:00
Mr. Outis
673afe20b1
diff: be windows friendly at file counting
2020-01-30 10:28:02 -06:00
Mr. Outis and @jorgeorpinel
2c2295700d
wording: update command help
...
Co-authored-by: @jorgeorpinel <[email protected] >
2020-01-30 09:52:53 -06:00
Mr. Outis
e501549bd7
diff: add a summary at the bottom
2020-01-29 18:54:45 -06:00
Mr. Outis
8e9d8145cd
diff: remove deadcode, replace diffable with dicts
2020-01-29 17:42:35 -06:00
Jorge Orpinel
2430cb5dea
diff: remve unused DIFF_HELP
2020-01-29 00:08:12 -06:00
Mr. Outis
7f6324e298
diff: remove --target
2020-01-27 16:06:46 -06:00
Mr. Outis
423a6163bc
diff: make --checksums work with --json-show
2020-01-27 14:10:37 -06:00
Jorge Orpinel
bfa1d3e188
diff/metics diff: update argument descriptions
...
to match https://github.com/iterative/dvc.org/pull/933
2020-01-27 13:43:43 -06:00
Mr. Outis
fced1718cc
diff: --json -> --show-json
2020-01-27 12:53:24 -06:00
Mr. Outis
2370cb12b3
diff: use logger instead of print
2020-01-27 12:33:24 -06:00
Mr. Outis
9d14acd87f
💅 remove excesive parenthesis
2020-01-27 11:48:02 -06:00
Mr. Outis
10c0ff22d6
diff: remove extra sorting
2020-01-27 01:40:24 -06:00
Mr. Outis
27ada0210d
scripts: update completion scripts for diff
2020-01-26 22:51:29 -06:00
Mr. Outis
6ef90f5acf
diff: add option to display checksums
2020-01-26 20:22:53 -06:00
Mr. Outis
fe4eba5941
diff: handle exceptions
2020-01-26 17:50:47 -06:00
Mr. Outis
bd1adf2c23
diff: add CLI output
2020-01-26 15:12:30 -06:00
Mr. Outis
a4ade13c0a
diff: add JSON output
2020-01-26 13:25:38 -06:00
Mr. Outis
f791371224
diff: change structure to be indexed by path
2020-01-24 13:29:29 -06:00
Mr. Outis
b2de740556
tests: add result examples
2020-01-24 10:30:15 -06:00
Mr. Outis
ebd5a5a7f3
diff: address comments from review
...
* OSError -> FileNotFoundError
* Make `a_ref` optional
* Use absolute imports for unrelated packages
* Relpath: `str(output.path_info)` -> `str(output)`
* `a_ref` defaults to `HEAD` at the signature and parser level
2020-01-24 10:05:44 -06:00
Mr. Outis
198bf55aaf
diff: reimplement interface and tests from scratch
2020-01-24 00:56:05 -06:00
Mr. Outis
94a0914bba
py3: get rid of future imports
2019-12-30 19:35:48 -06:00
Ruslan Kuprieiev
95fe1578bb
dvc: automatically reorder imports
2019-11-05 02:34:40 +02:00
Alexander Schepanovski
0203fd4017
perf: import dvc.repo dynamically
2019-09-27 15:08:42 +07:00
alex maslakoff
cf11cda846
fix wording for 'diff' cmd
2019-08-02 00:21:30 +03:00
alex maslakoff
dcfe6f34ce
fix #1874
2019-07-31 16:07:20 +03:00
Jorge Orpinel
820ad50df8
commands: remove default=None from argparse add_argument calls
...
Per https://github.com/iterative/dvc/pull/2112#pullrequestreview-255013079
2019-06-27 18:39:46 -05:00
Jorge Orpinel
79b22fc776
help: fixed -h output for diff and remote subcommands
...
Fix #2169
2019-06-26 14:05:18 -05:00
Ruslan Kuprieiev
b1eebe2f86
diff: don't use self
...
Signed-off-by: Ruslan Kuprieiev <[email protected] >
2019-06-14 00:20:56 +03:00
Alexander Schepanovski
d80293c44d
dvc: path info refactoring
...
Replaced Path* dataclasses with PathInfo/URLInfo/CloudURLInfo, which
know how parse, serialize, stringify and join themselves. They also
provide useful accessors like part of an url or pathlib.Path like
.parent or .name.
Along the way two families of bugs where fixed and should never occur in
the future:
- paths not matched as strings anymore, e.g. using str.startswith()
- Output.path is eliminated as ambiguous
Both families might had caused undefined surprising behavior when local
and remote paths clash.
2019-06-11 19:19:17 +07:00
Ivan Shcheklein
7785e48d67
diff: cli: add documentation link
2019-04-12 17:37:12 -07:00
Jorge Orpinel
a8e1676400
'till'=>'until' in b_ref arg. help text
2019-04-09 19:40:26 -07:00
Jorge Orpinel
fe44062381
Adds space after period. (See previous commit.)
2019-04-09 19:37:19 -07:00
Jorge Orpinel
970828693f
Changes ',' for '.' in -t help text.
2019-04-09 19:35:58 -07:00
Mr. Outis
921b39dbfe
tests: use pytest caplog instead of custom mock
...
Close #1753
2019-04-06 20:35:30 -06:00
Zhanibek
a5c04e9296
command: refactoring of _show function in diff.py
2019-04-05 15:02:28 +06:00
Zhanibek
585babb636
dvc: some refactoring of code
2019-04-05 15:02:28 +06:00
Zhanibek
fcca6aebe8
tests: add tests for CLI message output
2019-04-05 15:02:28 +06:00
Zhanibek
7b3790e701
repo: fix macros placement from dvc/scm to dvc/repo/diff
2019-04-05 15:02:28 +06:00