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
Guro Bokum
4918c56ca3
remote: config checksum_jobs
...
Close #2920
2020-01-15 22:23:09 +08:00
Ruslan Kuprieiev
b865a48b92
Merge pull request #3146 from pared/2896_fs_repo
...
fs: tests: remove repo_dir
2020-01-14 16:49:23 +02:00
Ruslan Kuprieiev
9c934c8abf
Merge pull request #3147 from pared/2896_ssh_utils
...
ssh: test: unit, utils: test: unit: remove repo_dir
2020-01-14 16:38:08 +02:00
pawel
cb5b5ed334
ssh: test: unit, utils: test: unit: remove repo_dir
2020-01-14 15:32:48 +01:00
pawel
144f10d8cb
fs: tests: remove repo_dir
2020-01-14 15:25:55 +01:00
pawel
acd60ac1cf
connection: test: unit: remove repo_dir
2020-01-14 14:52:31 +01:00
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
Ruslan Kuprieiev
63a3c678cf
Merge pull request #3141 from pared/2896_update_cmd
...
update: tests: unit: migrate to dir helpers
2020-01-14 15:28:47 +02:00
Ruslan Kuprieiev
e7626b8500
Merge pull request #3140 from pared/2896_stage_unit
...
stage: tests: unit: migrate to dir helpers
2020-01-14 15:27:14 +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
pawel
8e756f0452
stage: tests: unit: migrate to dir helpers
2020-01-14 13:51:40 +01:00
pawel
de9ff82b9c
tests: local: unit: migrate to dir helpers
2020-01-14 13:40:44 +01:00
Ruslan Kuprieiev
9cafef1fdd
Merge pull request #3051 from efiop/2995
...
metrics: introduce `diff`
2020-01-14 14:18:40 +02:00
Mr. Outis
2c9b763906
version: decode correctly commands output
2020-01-13 12:36:47 -06:00
Saugat Pachhai
141f308a6a
test: refactor ssh related functions in SSH and SSHMocked test helpers
2020-01-13 14:23:42 +05:45
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
Max Risuhin
57111a7788
gdrive: add support for teamDriveId
2020-01-11 07:41:12 -08:00
Ruslan Kuprieiev
f6a00f35ae
ssh: fix bug in remove()
2020-01-11 03:14:45 +02:00
Aman Sharma
74850fe728
Move walk_files to fs.py
2020-01-09 14:55:49 +05:30
Aman Sharma
a79816920d
Move copyfile to fs.py
2020-01-09 04:57:53 +05:30
Aman Sharma
eca5d2dde4
Move makedirs to fs.py
2020-01-09 04:30:51 +05:30
Ruslan Kuprieiev
049367e475
Merge pull request #3034 from mroutis/remove-py2-comments
...
py3: remove code related to py2 limitations
2020-01-08 20:14:40 +02:00
Ruslan Kuprieiev
ee0a8fa92d
Merge pull request #3075 from efiop/assert_stage
...
rwlock: check that .dvc/lock is locked
2020-01-08 00:44:32 +02:00
Mr. Outis
71b15d259a
py3: remove code related to py2 limitations
2020-01-06 23:03:33 -06:00
Ruslan Kuprieiev
11fa9204f8
Merge pull request #3058 from efiop/too_many_files
...
ui: don't show exception for "Too many files" error
2020-01-07 06:51:29 +02:00
Aman Sharma
13ca5bdf28
Write test for walk_files to check if it accepts Path-like and str objects
2020-01-07 05:50:48 +05:30
Ruslan Kuprieiev
1dcce1d8b0
rwlock: check that .dvc/lock is locked
...
Mostly a sanity check, but we did have a potential bug in `destroy`,
whcih this PR fixes along the way.
Kudos @shcheklein for catching this one.
2020-01-06 22:34:34 +02:00
Ruslan Kuprieiev
40449c49b1
Merge pull request #3070 from pared/2896_http_imp
...
http/ imp tests - migrate do dir helpers
2020-01-06 20:38:37 +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
pawel
bb72ce8a50
analytics: tests: migrate to dir helpers
2020-01-06 15:49:26 +01:00
Ruslan Kuprieiev
6411a3bb32
ui: don't show exception for "Too many files" error
...
https://github.com/iterative/dvc.org/pull/875#discussion_r362920851
Stops showing the exception in non-verbose mode, but shows full
traceback in verbose mode.
Introducing our custom parameter `tb_only` through standard `extra`
logging parameter.
2020-01-06 01:02:59 +02:00
Mr. Outis
5611ccb43a
exceptions: remove cause
2020-01-02 20:43:24 -06:00
Aman Sharma
f08c90fc6e
Ensure relpath accepts str and Path-like objects
2020-01-02 02:17:02 +05:30
Mr. Outis
086acf6404
py3: dvc/utils/compat.py -> dvc/compat.py
2019-12-31 23:42:07 -06:00
Mr. Outis
27f581cf4e
py3: remove imports from utils.compat
2019-12-31 23:16:11 -06:00
Mr. Outis
b844aea42c
py3: remove cast_bytes method
2019-12-31 20:14:25 -06:00
Mr. Outis
6d36b85736
py3: remove string compat related code
2019-12-30 23:49:19 -06:00
Mr. Outis
94a0914bba
py3: get rid of future imports
2019-12-30 19:35:48 -06:00
pawel
cf2d349bd7
tree: move CleanTree to ignore
2019-12-30 14:19:43 +01:00
pawel
d8c0ae6909
remove most occurences of dvc_walk
2019-12-30 14:19:43 +01:00
pawel
f4ee01cffe
no need for dvcignore in walk args
2019-12-30 14:19:43 +01:00
Ruslan Kuprieiev
ef6018fc2f
Merge pull request #3002 from efiop/2458
...
dvc: support granularity for fetch/pull/push/status/checkout
2019-12-30 07:26:57 +02:00
Ruslan Kuprieiev
c81795c047
dvc: support granularity for fetch/pull/push/status/checkout
...
Using output path or a subdir/subfile path within an output now works
with `dvc push/pull/fetch/status -c` commands. Other commands don't
support the same logic for now, as there are some questions about what
should commands like `dvc remove` do when given a specific output path.
Example:
dvc add data
dvc pull data/subdir # will only pull files within data/subdir
Related to #2458
2019-12-29 01:31:08 +02:00
Max Risuhin
4727cb7893
Improve Google Drive auth failure error reporting
2019-12-28 05:22:37 -08:00