Ivan Shcheklein
eebbf3f812
change diff checksum arg name to hash ( #3384 )
2020-02-23 06:32:35 +02:00
Saugat Pachhai
46e5053705
update: support specifying revision when updating ( #3337 )
...
* update: work with rev
* completion: update --rev completion scripts
* test: fix unit test assumption
* test: use fspath_py35
2020-02-15 17:55:41 +02:00
Guro Bokum
7e6e8ee169
api: add list command ( #3246 )
...
Close #2509
2020-02-12 22:10:48 +02:00
Ruslan Kuprieiev
0c8897949e
diff: use rev instead of ref ( #3299 )
...
Fixes #3245
2020-02-11 00:13:23 +02: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
Mr. Outis
793a069644
tests/diff: order dictionary (second try)
2020-01-30 10:00:56 -06:00
Mr. Outis
e9bd9599a2
tests/diff: dont care about sorted jsons
2020-01-30 09:26:35 -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
Mr. Outis
423a6163bc
diff: make --checksums work with --json-show
2020-01-27 14:10:37 -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
Saugat Pachhai and Paweł Redzyński
98f6d56e8c
test: refactor, apply suggestion from @pared
...
Co-Authored-By: Paweł Redzyński <[email protected] >
2020-01-16 22:59:58 +05:45
Saugat Pachhai
02a73a0d9b
unit: test: check output of get --show-url command
2020-01-16 22:52:35 +05:45
Saugat Pachhai
eb252e055b
get: split command for getting url and getting files from url functions
2020-01-16 19:28:14 +05:45
Saugat Pachhai
4509f82bc3
get: implement --show-url to display only url/path to remote
2020-01-16 19:28:14 +05:45
Ruslan Kuprieiev
88fb097275
Merge pull request #3138 from pared/2896_repro_cmd
...
tests: repro: unit: migrate to dir helpers
2020-01-14 15:29:03 +02:00
Ruslan Kuprieiev
6869ee65e0
Merge pull request #3139 from pared/2896_run_cmd
...
tests: run: unit: migrate to dir helpers
2020-01-14 15:28:56 +02:00
pawel
26c4845157
tests: run: unit: migrate to dir helpers
2020-01-14 14:02:26 +01:00
pawel
ba63900b29
tests: repro: unit: migrate to dir helpers
2020-01-14 13:56:56 +01:00
pawel
cabe619d97
update: tests: unit: migrate to dir helpers
2020-01-14 13:55:02 +01:00
Ruslan Kuprieiev
e393e29ef5
metrics: introduce diff
...
This first implementation is based on existing `dvc metrics show`
functionality, but is also able to auto-detect json to properly
show diff for it.
2020-01-13 06:45:48 +02:00
pawel
e1176bf42d
imp/imp_url cmd test: remove unnecessary dvc fixture
2020-01-06 16:40:15 +01:00
pawel
a620658884
http/ imp tests - migrate do dir helpers
2020-01-06 16:18:01 +01:00
Alexander Schepanovski
1143a8c57f
test: add checkout parse-cli-api test
2019-12-12 20:16:17 +07:00
Ruslan Kuprieiev
404620e267
test: update: use dvc_repo fixture
...
To fix test failure.
2019-11-19 19:12:49 +02:00
Ruslan Kuprieiev
95fe1578bb
dvc: automatically reorder imports
2019-11-05 02:34:40 +02:00
Jorge Orpinel
a48481b01f
dvc: change ` for ' in dynamic parts of output messages ( #2644 )
...
* dvc: change ` for ' in dinamic parts of DVC outputs
per https://github.com/iterative/dvc/pull/2644#issuecomment-545151398
* dvc: use ' for dynamic output and ` for DVC names
per https://github.com/iterative/dvc/pull/2644#discussion_r338417698
2019-10-28 22:00:53 +02:00
Ruslan Kuprieiev
357ce82f28
run: introduce --always-changed
...
This is an extension of our callback stages (no deps, so always
considered as changed) for stages with dependencies, so that these
stages could be used properly in the middle of the DAG. See attached
issue for more info.
Related to #2378
2019-09-09 18:03:28 +03:00
Alexander Schepanovski
db19957b8a
Download refactor ( #2275 )
...
* remote: drop not working http resume
Closes #2136
* remote: drop @transfer_context()
It is not needed for ssh anymore and GS/S3 are switched to client
instances in cached properties.
* remote: drop upload/download chunking
2019-07-16 16:27:44 +03:00
Ruslan Kuprieiev
94fe86afe8
tests: import-url: rewrite and move error msg test ( #2262 )
...
This one was failing randomly.
Signed-off-by: Ruslan Kuprieiev <[email protected] >
2019-07-14 03:09:08 +03:00
Ruslan Kuprieiev
932b0d7af9
introduce dvc update for ext repos ( #2218 )
...
* erepo: dvc: implement `update` for imports from ext repos
Fixes #1774
Fixes #2139
Fixes #2201
Signed-off-by: Ruslan Kuprieiev <[email protected] >
* deps: repo: make private
Signed-off-by: Ruslan Kuprieiev <[email protected] >
* update: only support repo imports
Signed-off-by: Ruslan Kuprieiev <[email protected] >
2019-07-06 02:28:35 +03:00
Ruslan Kuprieiev
918ef646dc
appveyor: test py2 and py3
...
Related to #2166
Signed-off-by: Ruslan Kuprieiev <[email protected] >
2019-06-23 13:33:47 +03:00
Ruslan Kuprieiev
1ba8e0171d
dvc: replace pkg concept with external repo
...
Signed-off-by: Ruslan Kuprieiev <[email protected] >
2019-06-21 01:16:00 +03:00
Ruslan Kuprieiev
4947069c4f
pkg: introduce -f|--force for pkg install
...
Fixes #1773
Signed-off-by: Ruslan Kuprieiev <[email protected] >
2019-06-17 21:06:10 +03:00
Ruslan Kuprieiev
914a587123
pkg: implement dvc pkg get command
...
Signed-off-by: Ruslan Kuprieiev <[email protected] >
2019-06-17 18:12:36 +03:00
Ruslan Kuprieiev
5941ace270
dvc: initial 'dvc pkg' implementation
...
Signed-off-by: Ruslan Kuprieiev <[email protected] >
2019-06-17 18:12:36 +03:00
Aman Sharma
688bcaa0e3
Add info for link type and filesystem name ( #1997 )
...
* Add info for link and filesystem type
* Remove unnecessary `repo_dir` fixture
* Add cache info
* Classify `test_version.py` as functional test
* Remove redundancy
* Optimize some functions involved
* Add pathlib2 to install_requires
* Display fs type for cache directory
* Use `dvc.utils.compat` to import Path
* Remove redundancy in tests and make logs more descriptive
2019-06-01 14:40:59 +03:00
David Příhoda
e11c3cbbc5
Add repro -R, support dirs & stage files when running pull/push/repro -R.
2019-05-27 12:48:46 +02:00
pawel
01c2f6c174
tests: rename dvc repo fixture
2019-05-21 15:04:43 -07:00
Ruslan Kuprieiev
d4ef461fce
version: use CmdBaseNoRepo
...
Currently `dvc version` outside of dvc repo raises "not dvc repo" error,
even though it is not really using repo in any way.
Signed-off-by: Ruslan Kuprieiev <[email protected] >
2019-05-11 17:20:30 +03:00
Aman Sharma
46325808b8
Change regex pattern and move test under unit/command
2019-05-11 18:29:03 +05:30
Mr. Outis
c0104e2e61
repro: implement downstream option ( #1926 )
...
* repro: implement downstream option
Close #1555
* Update scripts/completion/dvc.zsh
Co-Authored-By: mroutis <[email protected] >
* Update dvc/command/repro.py
Co-Authored-By: mroutis <[email protected] >
2019-04-25 04:50:44 +03:00
Ivan Shcheklein
75421f0f21
migrate to pytest
2019-03-17 14:49:49 -07:00
Ivan Shcheklein
e26db30f60
add more tests for wdir/fname new logic
2019-02-28 21:43:14 -08:00
Ruslan Kuprieiev
01a120f9fc
dvc: introduce dvc commit
...
Signed-off-by: Ruslan Kuprieiev <[email protected] >
2019-02-16 21:19:36 +02:00