Ruslan Kuprieiev
5109d759f1
system: reflink: workaround SIP error
...
Fixes #1515
Signed-off-by: Ruslan Kuprieiev <[email protected] >
2019-03-30 20:53:06 +02:00
pared
f8ef28c4c6
stage: check if local path contains symlink and, if so, treat added files as relpath
2019-02-28 15:00:05 +01:00
Mr. Outis
2be7232d1a
py2: Add unicode support for open and os.walk
2019-02-07 23:33:30 -06:00
Ruslan Kuprieiev
4896f08ddf
dvc: comply with both flake8 and black
...
flake8 provides some additional features like unused vars check, etc, so
it makes total sense to use it as well.
Signed-off-by: Ruslan Kuprieiev <[email protected] >
2019-02-04 00:10:36 +02:00
Ruslan Kuprieiev
4069e34130
dvc: use black instead of flake8
...
Fixes #1546
Signed-off-by: Ruslan Kuprieiev <[email protected] >
2019-01-30 03:48:36 +02:00
Mr. Outis
0d46921ec7
py2: add unicode literals
...
Fix #1512
2019-01-27 20:40:21 -06:00
Mr. Outis
4c420d5f4d
logger [rfc]: Use a module instead of a class
...
- Remove deprecation warnings
- Format error output and remove duplicated info
Close #1086
2018-12-23 21:06:39 -06:00
Ruslan Kuprieiev
ee16d2f1d7
system: fix typo
...
Signed-off-by: Ruslan Kuprieiev <[email protected] >
2018-12-04 12:00:01 +02:00
Ruslan Kuprieiev
2da24b38a7
windows: don't follow symlink
...
Signed-off-by: Ruslan Kuprieiev <[email protected] >
2018-12-04 11:49:58 +02:00
Ruslan Kuprieiev
2d9ec1005b
unprotect: only process symlinks and hardlinks
...
Fixes #1373
Signed-off-by: Ruslan Kuprieiev <[email protected] >
2018-12-04 10:57:53 +02:00
Ruslan Kuprieiev
532c9df053
dagascii: don't use unreleased wait_for_input method
...
Fixes #1359
Signed-off-by: Ruslan Kuprieiev <[email protected] >
2018-11-23 04:38:26 +02:00
Ruslan Kuprieiev
7e1b584479
system: add a better message if symlink failed
2018-11-07 21:21:45 +02:00
Ruslan Kuprieiev
b415ae9a21
system: catch link exceptions
...
Signed-off-by: Ruslan Kuprieiev <[email protected] >
2018-10-22 22:44:33 +03:00
Ruslan Kuprieiev
03eac5b0e5
link: properly catch error on windows
...
Signed-off-by: Ruslan Kuprieiev <[email protected] >
2018-10-21 03:43:19 +03:00
Ruslan Kuprieiev
e7c920d783
system: add workaround for buggy os.lstat().st_ino
...
Fixes #1241
Signed-off-by: Ruslan Kuprieiev <[email protected] >
2018-10-19 22:56:53 +03:00
Ruslan Kuprieiev
53652399b3
system: ensure inode value is correct
...
Signed-off-by: Ruslan Kuprieiev <[email protected] >
2018-10-16 05:12:16 +03:00
Amjad Saadeh
ecb4f0b998
hdfs output files: fix import error when using hdfs output files on windows
...
When output files are located on hdfs an import error has been raised.
Fixes #1215
2018-10-12 14:43:08 +02:00
Ruslan Kuprieiev
4b525fe1fc
system: fix typo in _reflink_darwin
2018-10-11 16:05:27 +03:00
Ruslan Kuprieiev
a6ea2f3db9
dvc: stop using ntfsutils module
...
Fixes #1162
Signed-off-by: Ruslan Kuprieiev <[email protected] >
2018-10-07 17:49:29 +03:00
Ruslan Kuprieiev
76c2f812f0
osx: reflink: check if clib has clonefile()
...
Signed-off-by: Ruslan Kuprieiev <[email protected] >
2018-09-23 14:39:09 +03:00
Ruslan Kuprieiev
10e10f9535
reflink: osx: check that not older than High Sierra
...
Signed-off-by: Ruslan Kuprieiev <[email protected] >
2018-09-23 13:29:18 +03:00
Ruslan Kuprieiev
ff63376d49
dvc: use ctypes instead of cffi
...
Signed-off-by: Ruslan Kuprieiev <[email protected] >
2018-09-23 12:45:16 +03:00
Ruslan Kuprieiev
6a55d1502f
dvc: avoid using pyreflink module
...
Fixes #1149
Signed-off-by: Ruslan Kuprieiev <[email protected] >
2018-09-22 12:11:18 +03:00
Ruslan Kuprieiev
0e9774a3f8
RFC: follow flake8 rules
...
Signed-off-by: Ruslan Kuprieiev <[email protected] >
2018-07-25 17:28:58 +03:00
Ruslan Kuprieiev
468f4beee7
dvc: properly save symlinks
...
Signed-off-by: Ruslan Kuprieiev <[email protected] >
2018-07-05 20:00:58 +03:00
Ruslan Kuprieiev
11f7eb0c4e
system: add temporary workaround for getdirinfo() issue
...
Fixes #670
Signed-off-by: Ruslan Kuprieiev <[email protected] >
2018-06-17 19:14:58 +03:00
Ruslan Kuprieiev
0a049c232b
cache: configurable cache dir and cache type
...
From now on we allow specifying standalone cache dirs as well as
specifying linking method(copy, symlink, hardlink, reflink) for it.
If 'cache type' is not specified in the config, dvc will try all of
them starting from reflink all the way down to copy.
Signed-off-by: Ruslan Kuprieiev <[email protected] >
2018-04-28 21:50:49 +03:00
Ruslan Kuprieiev
13e0e9d2e4
dvc: use getdirinfo from ntfsutils
...
We can now use getdirinfo directly, since our patch
https://github.com/sid0/ntfs/pull/10 is now merged
and released in ntfsutils 0.1.4.
Signed-off-by: Ruslan Kuprieiev <[email protected] >
2018-03-22 13:27:08 +02:00
Ruslan Kuprieiev
7094ec0151
dvc: calculate 'effective inode' from getfileinfo() on windows
...
Signed-off-by: Ruslan Kuprieiev <[email protected] >
2018-03-10 12:40:46 +02:00
Ruslan Kuprieiev
d54f803eb6
system: remove unused code
...
Signed-off-by: Ruslan Kuprieiev <[email protected] >
2018-02-14 18:22:33 +02:00
Ruslan Kuprieiev
c07be85e0e
dvc: use Popen directly instead of Executor
...
Executor is no longer useful.
Fixes #434
Signed-off-by: Ruslan Kuprieiev <[email protected] >
2018-01-19 06:49:53 +02:00
Ruslan Kuprieiev
1bbfa5ca35
dvc: cleanup artifacts from #382
...
Signed-off-by: Ruslan Kuprieiev <[email protected] >
2018-01-07 10:49:38 +02:00
Dmitry
ab3abbe87a
New command: dvc fsck. Close #381 .
2018-01-06 04:17:55 -08:00
Ruslan Kuprieiev
9c10a643a7
win: enable unit tests
...
Signed-off-by: Ruslan Kuprieiev <[email protected] >
2018-01-02 13:03:06 +02:00
Ruslan Kuprieiev
299e4e2ae1
checkout: use os.path.samefile instead of stat
...
Signed-off-by: Ruslan Kuprieiev <[email protected] >
2017-10-30 05:05:28 +02:00
Ruslan Kuprieiev
a813ebaeb7
dvc: use hardlinks instead of symlinks
...
Fixes #225
Fixes #273
Signed-off-by: Ruslan Kuprieiev <[email protected] >
2017-10-30 05:05:28 +02:00
Dmitry Petrov
df6abc7528
Small sync and import fixes
2017-06-19 16:44:18 -07:00
Dmitry Petrov
f2bac9aac1
GC command
2017-06-14 23:48:58 -07:00
Dmitry Petrov
5cc2f0d941
Fix unicode() issue for python3
2017-05-05 15:38:48 -07:00
Dmitry Petrov
48c86267e7
Windows symlink: fix executor tests and small bugs
2017-04-10 21:49:10 -07:00
Dmitry Petrov
4578b6aeb4
Windows symlink: extract all system depended code to System static class
2017-04-10 21:04:40 -07:00