Saugat Pachhai
26d85f1a52
test: merge gcp related functions to GCP helper class
2020-01-13 23:49:22 +05:45
Saugat Pachhai
d55427dbd9
test: refactor hdfs related functions in HDFS test helpers
2020-01-13 16:30:15 +05:45
Ruslan Kuprieiev
028d30e22d
Merge pull request #3123 from skshetry/refactor-ssh
...
test: refactor ssh related functions in test helper classes
2020-01-13 11:14:26 +02:00
Ruslan Kuprieiev
100dde1c9a
Merge pull request #3101 from Suor/prepare-summon
...
summon: fixes and dvcx prereq
2020-01-13 10:51:27 +02:00
Saugat Pachhai
141f308a6a
test: refactor ssh related functions in SSH and SSHMocked test helpers
2020-01-13 14:23:42 +05:45
Alexander Schepanovski
be90c38182
summon: nice up summon code
...
- proper doc-string for prepare_summon()
- summon -> summon_dict in summon() to not overwrite a glo bal name.
This was not a bug, but a bad practice, which might have caused some
issues in the future.
- better name for _get_object_spec()
2020-01-13 15:22:16 +07:00
Alexander Schepanovski
d0de9d0ed0
summon: revert dvc.api._invoke_mehtod() considerations
...
It's now thread-safe, but the rest is still relevant.
2020-01-13 15:19:54 +07:00
Ruslan Kuprieiev
537a0af5f7
travis: update mac machine
2020-01-13 03:56:31 +02:00
Ruslan Kuprieiev
5b5810e1c0
Merge pull request #3016 from efiop/3015
...
gdrive: add support for teamDriveId
2020-01-12 04:52:01 +02:00
Ruslan Kuprieiev
f920afd5dd
travis: fix aws config condition
...
Close #3113
2020-01-12 02:23:15 +02:00
Ruslan Kuprieiev
3e97886ccc
Merge pull request #3076 from efiop/rwlock_sync
...
rwlock: flush and fsync
2020-01-12 01:35:13 +02:00
Max Risuhin
57111a7788
gdrive: add support for teamDriveId
2020-01-11 07:41:12 -08:00
Ruslan Kuprieiev
b7f9e7365d
Merge pull request #3097 from fabiosantoscode/feature/3089-get-non-dvc-repositories
...
get: handle non-DVC repositories
2020-01-11 07:05:35 +02:00
Ruslan Kuprieiev
9e9f37e06a
Merge pull request #3094 from pared/2896_run
...
run: tests: migrate to dir helpers
2020-01-11 05:36:07 +02:00
Ruslan Kuprieiev
d6092c1c95
Merge pull request #3096 from pared/2896_state
...
state: tests: migrate to dir helpers
2020-01-11 05:35:32 +02:00
Ruslan Kuprieiev
62d0fa1afa
Merge pull request #3100 from pared/2896_update
...
update: tests: migrate to dir helpers
2020-01-11 05:34:52 +02:00
Ruslan Kuprieiev
7f9bbd94a5
Merge pull request #3099 from pared/2896_stage
...
stage: tests: migrate to dir helpers
2020-01-11 05:33:39 +02:00
Ruslan Kuprieiev
5b85db3e04
Merge pull request #3104 from efiop/ssh_dir_out
...
tests: remove redundant native ssh tests
2020-01-11 05:20:21 +02:00
Ruslan Kuprieiev
bc619f1c41
pyinstaller: remove Crypto hook
2020-01-11 04:55:34 +02:00
Ruslan Kuprieiev
c064865c80
build: use build-requirements.txt
2020-01-11 04:55:34 +02:00
Ruslan Kuprieiev
795e4ce6b8
pyinstaller: delete oss hook
...
It is already available in the standard hooks.
2020-01-11 04:38:57 +02:00
Ruslan Kuprieiev
2a9d19f116
tests: use mocked ssh
2020-01-11 03:14:45 +02:00
Ruslan Kuprieiev
f6a00f35ae
ssh: fix bug in remove()
2020-01-11 03:14:45 +02:00
Ruslan Kuprieiev
8154c89c3f
tests: remove redundant native ssh tests
...
We already have mocked ones, which are more reliable as they use their
own paramiko server instead of relying on the sshd running on the test
machine. Native tests are also quite flaky and fail sometimes due to
network issues.
2020-01-11 03:14:45 +02:00
Ruslan Kuprieiev
01103585d7
Merge pull request #3090 from mroutis/py3-system
...
py3: use links from os module
2020-01-11 02:45:10 +02:00
Mr. Outis
df97a2a7de
don't reimport DvcException
2020-01-10 18:32:34 -06:00
Mr. Outis
b8dd4225d2
py3: fspath source and link_name
2020-01-10 17:40:59 -06:00
Mr. Outis
6eac40d226
system: catch OSError instead of Exception
2020-01-10 17:35:54 -06:00
Fábio Santos
de303d45ba
test removing a file outside a raw git repo
2020-01-10 23:30:18 +00:00
Fábio Santos
f3d234ec9c
deduplicate code
2020-01-10 23:26:37 +00:00
Fábio Santos
1f2eed80f8
don't manually clean up git repository
2020-01-10 23:16:19 +00:00
Fábio Santos
9f279b3968
forbid absolute paths for plain git repositories
2020-01-10 23:15:03 +00:00
Fábio Santos
0e2ef470e8
remove blank line
2020-01-10 22:53:31 +00:00
Fábio Santos
5fb6640867
run black
2020-01-10 22:29:27 +00:00
Fábio Santos
f5e40b2a47
get: leverage external_repo() context manager for DVC repositories
2020-01-10 22:28:24 +00:00
Fábio Santos
c16f8825dc
import: update documentation
...
Fixes #3077
2020-01-10 22:28:24 +00:00
Fábio Santos and Jorge Orpinel
5b36ffd60e
Update dvc/command/get.py
...
Co-Authored-By: Jorge Orpinel <[email protected] >
2020-01-10 22:28:24 +00:00
Fábio Santos and Jorge Orpinel
9a98622020
Update dvc/command/get.py
...
Co-Authored-By: Jorge Orpinel <[email protected] >
2020-01-10 22:28:24 +00:00
Fábio Santos and Jorge Orpinel
04619d559b
Update dvc/command/get.py
...
Co-Authored-By: Jorge Orpinel <[email protected] >
2020-01-10 22:28:24 +00:00
Fábio Santos and Jorge Orpinel
51f2fa184f
Update dvc/command/get.py
...
Co-Authored-By: Jorge Orpinel <[email protected] >
2020-01-10 22:28:24 +00:00
Fábio Santos
6a4f4031b0
change command doc string
2020-01-10 22:28:24 +00:00
Fábio Santos
7873abcade
remove unused exception class
2020-01-10 22:28:24 +00:00
Fábio Santos
6cb7308cdb
Revert "get: recoup cache optimal location"
...
This reverts commit 8e4922800f6ce47210976764af1c05e31e90deac.
2020-01-10 22:28:24 +00:00
Fábio Santos and Ruslan Kuprieiev
a01f81ed09
Update dvc/repo/get.py
...
Co-Authored-By: Ruslan Kuprieiev <[email protected] >
2020-01-10 22:28:24 +00:00
Fábio Santos
86b9a1cfe4
get: recoup cache optimal location
2020-01-10 22:28:24 +00:00
Fábio Santos
f126f2483b
doc: change get documentation so that it doesn't imply the target must be DVC enabled
2020-01-10 22:28:24 +00:00
Fábio Santos
07637a6f8f
style: improve code flow and move comments
2020-01-10 22:28:24 +00:00
Fábio Santos
0dd5647d3c
get: handle non-DVC repositories
...
Allows us to `dvc get` from non-DVC source repositories.
Fixes #3089
2020-01-10 22:28:24 +00:00
Ruslan Kuprieiev
84ec0d49a3
Merge pull request #3091 from pared/2896_repro
...
repro: tests: migrate to dir helpers
2020-01-10 18:38:30 +02:00
Paweł Redzyński
23288aa568
run: tests: remove deterministic_run fixture
2020-01-10 17:18:12 +01:00