Mr. Outis
05cbe0c922
tests: support windows
2019-09-06 14:17:44 -05:00
Mr. Outis
737f1e141d
tests: use repo_dir instead of custom fixtures
2019-09-06 13:28:48 -05:00
Mr. Outis
b66996e0a1
ssh: support reflinks in Darwin
2019-09-06 13:24:25 -05:00
Mr. Outis
b903fe8023
get: show error message when path is a DVC-file ( #2470 )
...
* get: show error message when path is a DVC-file
Fix #2468
* exceptions: rename output for data artifact
* get: use method to indetify if file is a DVC-file
* exceptions: change GetDVCFileError message
2019-09-06 21:11:23 +03:00
Mr. Outis
dd1d5bdbb0
tests: PosixPath to string in chdir_tmp fixture
2019-09-06 12:57:06 -05:00
Mr. Outis
73133e8c7a
tests: [re] fix hardlink stuff with HDFS
2019-09-06 12:35:38 -05:00
Mr. Outis
23f2650b24
ssh: remove write_through in TextIOWrapper
2019-09-06 12:07:22 -05:00
Mr. Outis
f97c33178f
tests: use copy as cache type for HDFS
2019-09-06 12:05:53 -05:00
Mr. Outis
6eb26de856
fix tests
2019-09-06 11:32:31 -05:00
Mr. Outis
38d4cbf5c1
fix broken merge
2019-09-06 09:42:56 -05:00
Mr. Outis
42168d34f3
Merge branch 'master' into close-1652
2019-09-06 09:29:54 -05:00
5ec1d274ae
remote: base: don't checkout existing file ( #2358 )
...
* remote: base: don't checkout existing file
* remote: _checkout_file: split to smaller methods
* state: local: verify if file needs checkout considering link type and access rights
* tests: checkout: test avoiding unnecessary copying
* efiop review refactor
* remote: local: refactor _needs_checkout NOTE
* remote: local: remove bool cast for `protected`, wrap linking in try
* test: checkout: test relinking upon existing cache
* stage: remove obsolete unprotecing from Stage.create
* test: checkout: refactor setting link type
* test: checkout: parametrize relinking test
* remote: local: don't remove cache test file on cache_copy test
* remote: base: remove force from _needs_checkout arguments
* Update dvc/remote/local/__init__.py
Co-Authored-By: Alexander Schepanovski <[email protected] >
* suor review refactor
* remote: base: re-add note why do we unprotect on _checkout_file
* test: checkout: tests for relinking and resetting target protection
* remove checkout behavior change
* remove unused imports
* remote: base: reuse __checkout_file in __checkout_dir
* initial dir
* checkout: test: should relink on repeated add
* remote: cleanup commented lines
* remote: base/local: add save_link flag to _checkout_file
* remote: local: add allow_copy flag to unprotect method
* Update dvc/remote/local/__init__.py
Co-Authored-By: Ruslan Kuprieiev <[email protected] >
* remote: local: remove unnecessary removal warning on _checkout_file
* remote: local: proper cache link type detection
* test: checkout: move repeated add tests
* Update dvc/remote/local/__init__.py
Co-Authored-By: Ruslan Kuprieiev <[email protected] >
* remote: base: remove _needs_checkout
* Update dvc/remote/base.py
Co-Authored-By: Ruslan Kuprieiev <[email protected] >
* remote: base: remove wrappers from _checkout_file
2019-09-06 17:20:32 +03:00
Mr. Outis
739236eab0
ssh: accept only wb mode for open
2019-09-06 08:48:22 -05:00
Alexander Schepanovski
6aeccfcc07
dvc: fix long lock filenames under Windows
2019-09-06 16:29:23 +07:00
Alexander Schepanovski
1bdaca0d6c
dvc: switch to flufl lock
...
This locks employs hardlink trick, which works on NFS and alike unlike
fcntl/open locks.
Closes #1918 .
2019-09-06 16:29:09 +07:00
Ruslan Kuprieiev
74bd7d59cf
Merge pull request #2469 from pared/2465
...
remote: base: check progress_callback when skipping on checkout
2019-09-06 00:47:45 +03:00
Mr. Outis
d7da4fcd37
fix formatting
2019-09-05 10:52:15 -05:00
Mr. Outis
369146a926
Merge branch 'master' into close-1652
2019-09-05 10:47:18 -05:00
pawel
5ec3cade68
remote: base: check progress_callback when skipping on checkout
2019-09-05 17:32:27 +02:00
Mr. Outis
0c231b68d7
fix formatting
2019-09-04 22:07:02 -05:00
Mr. Outis
079d589b59
local: use path_info for link operations
2019-09-04 19:38:16 -05:00
Mr. Outis
2fe6fc1ba6
refactor: use a module for slow link detection
2019-09-04 19:32:55 -05:00
Mr. Outis
9295bbd160
ssh: support opening files for writing
2019-09-04 15:13:26 -05:00
Mr. Outis
1ae9078fee
revert remove assertions from open
2019-09-04 12:35:54 -05:00
Ruslan Kuprieiev
48d7ab6e22
dvc: bump to 0.58.1
0.58.1
2019-09-04 18:36:11 +03:00
Mr. Outis
1f0a57d4af
remote: remove unnecessary variable in _try_links
2019-09-04 09:48:46 -05:00
Ruslan Kuprieiev
6d2f078a65
Merge pull request #2462 from pared/2125
...
stage: don't unprotect outs on stage create
2019-09-04 16:15:41 +03:00
pawel
651d925578
stage: don't unprotect outs on stage create
2019-09-04 12:54:32 +02:00
Ruslan Kuprieiev
287be8fd2e
dvc: bump to 0.58.0
0.58.0
2019-09-04 00:37:25 +03:00
Ruslan Kuprieiev
213f46e821
Merge pull request #2460 from pared/2430
...
repo: get: intercept and convert NotDvcRepoErro to UrlNotDvcRepoError
2019-09-03 15:34:23 +03:00
pawel
4236f18e0c
repo: get: intercept and convert NotDvcRepoErro to UrlNotDvcRepoError
2019-09-03 13:59:04 +02:00
Mr. Outis
cdee18a7a6
fix formatting
2019-09-03 00:27:10 -05:00
Mr. Outis
3c69dc9fd5
tests: unit ssh symlink
2019-09-03 00:04:44 -05:00
Mr. Outis
88574f300e
remote: remove unecessary else clause
2019-09-03 00:01:38 -05:00
Mr. Outis
69638527cb
setup: mroutis/mock-ssh-server -> iterative/mock-ssh-server
2019-09-03 00:01:14 -05:00
Mr. Outis
bbfaf3a22b
setup: use mock-ssh-server version supporting lstat
2019-09-02 23:21:20 -05:00
Ruslan Kuprieiev
3a52732747
Merge pull request #2457 from jorgeorpinel/master
...
remove: fix help output
2019-09-01 10:35:56 +03:00
Jorge Orpinel
80076d88a1
remove: fix help output
...
per https://github.com/iterative/dvc/issues/2456#issuecomment-526857699
Fix #2456
2019-09-01 02:04:10 -05:00
Mr. Outis
da65f8fe9a
tests: functional ssh symlink
2019-08-31 13:34:48 -05:00
Mr. Outis
7b4584f86c
ssh: stat -> lstat
2019-08-31 13:02:17 -05:00
Mr. Outis
70010bbb31
remote: remove unecessary makedirs on checkout
2019-08-31 12:59:34 -05:00
Mr. Outis
8d41833c7c
path_info: remove urljoin leftover
2019-08-31 03:32:23 -05:00
Mr. Outis
0fc83be9ff
tests: ssh hardlink optimization
2019-08-31 03:23:35 -05:00
Mr. Outis
0361b1b9c0
tests: ssh connection link methods
2019-08-31 01:56:00 -05:00
Mr. Outis
5f89242791
Merge branch 'master' into close-1652
2019-08-31 00:27:28 -05:00
Mr. Outis
40c61b3aaa
remote: abstract link logic to base
2019-08-30 23:51:20 -05:00
Ruslan Kuprieiev
116684cb24
Merge pull request #2454 from pared/2441_workaround
...
workaround for google-resumable-media==0.3.3 build problem
2019-08-30 20:39:26 +03:00
pawel
331ab8c983
refactor note
2019-08-30 18:29:35 +02:00
Paweł Redzyński and Ruslan Kuprieiev
bd04972e9e
Update setup.py
...
Co-Authored-By: Ruslan Kuprieiev <[email protected] >
2019-08-30 18:13:49 +02:00
Paweł Redzyński and Ruslan Kuprieiev
48ac0b7c27
Update setup.py
...
Co-Authored-By: Ruslan Kuprieiev <[email protected] >
2019-08-30 18:13:40 +02:00