Ivan Shcheklein
478d6aec2f
test: ls/dir depends on platform, dir is not supported by Mac
2019-06-23 14:09:22 -07: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
81fd0b3415
dvc: destroy: don't remove data
...
Fix #1011
Signed-off-by: Ruslan Kuprieiev <[email protected] >
2019-06-21 13:13:29 +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
85fd990849
Merge pull request #2153 from vasinkd/SIGINT_support_2
...
dvc: handle sigint when running a command with `dvc run`
2019-06-20 19:57:24 +03:00
Kirill Vasin
1734e25827
added old signal persistance and fixed tests accordingly
2019-06-20 19:21:53 +03:00
Kirill Vasin
5457c16e76
replace exception catch with signal
2019-06-20 13:39:22 +03:00
pared
c9b3bdc927
ignore: remove dulwich in favour of pathspec
2019-06-20 12:15:42 +02:00
Ruslan Kuprieiev
676021d563
Merge pull request #2149 from efiop/1772
...
pkg: handle install/version errors
2019-06-19 17:27:05 +03:00
pawel
362fe1337e
brancher: include working tree in every method call
2019-06-18 15:57:47 +02:00
pared
38642eb127
metrics: show: remove active branch from tags only show call
2019-06-18 15:28:51 +02:00
Ruslan Kuprieiev
14dc0c0115
pkg: handle install/version errors
...
Fixes #1772
Signed-off-by: Ruslan Kuprieiev <[email protected] >
2019-06-18 16:09:06 +03:00
prd
0615ff8730
pathinfo: extract relative path method to standalone method
2019-06-18 12:08:19 +02: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
Ruslan Kuprieiev
ade4261cf5
Merge pull request #2133 from Suor/push-pull-error-code
...
dvc: return non zero error code on push/pull/fetch error
2019-06-14 20:43:02 +03:00
Alexander Schepanovski
db75693fe1
dvc: return non zero error code on push/pull/fetch error
...
Closes #2038
2019-06-14 23:25:39 +07:00
Ruslan Kuprieiev
0d330c1b9b
dvc: move Updater out of Repo()
...
Fixes #2039
Required by #2012 to be able to fetch data through the API without
interuption from updater.
Signed-off-by: Ruslan Kuprieiev <[email protected] >
2019-06-14 00:54:36 +03:00
Ruslan Kuprieiev
b1eebe2f86
diff: don't use self
...
Signed-off-by: Ruslan Kuprieiev <[email protected] >
2019-06-14 00:20:56 +03:00
Ruslan Kuprieiev
16e162941e
system: handle PurePath
...
------------------------------------------------------------
Traceback (most recent call last):
File "/Users/efiop/git/dvc/dvc/remote/local/__init__.py", line 280, in upload
no_progress_bar=no_progress_bar,
File "/Users/efiop/git/dvc/dvc/utils/__init__.py", line 129, in copyfile
System.reflink(src, dest)
File "/Users/efiop/git/dvc/dvc/system.py", line 125, in reflink
ret = System._reflink_darwin(source, link_name)
File "/Users/efiop/git/dvc/dvc/system.py", line 89, in _reflink_darwin
ctypes.c_char_p(src.encode("utf-8")),
AttributeError: 'PosixPathInfo' object has no attribute 'encode'
------------------------------------------------------------
Signed-off-by: Ruslan Kuprieiev <[email protected] >
2019-06-13 11:51:14 +03:00
Aman Sharma
11bafe4b7d
Check whether package is installed from source or binary
2019-06-13 10:38:37 +05:30
pawel
974bc39ae5
scm: git: end gitignore with newline
2019-06-12 16:52:36 +02:00
Ruslan Kuprieiev
39a8cab49d
test: fix s3 test with extra args
...
Signed-off-by: Ruslan Kuprieiev <[email protected] >
2019-06-11 16:28:11 +03:00
Alexander Schepanovski
d80293c44d
dvc: path info refactoring
...
Replaced Path* dataclasses with PathInfo/URLInfo/CloudURLInfo, which
know how parse, serialize, stringify and join themselves. They also
provide useful accessors like part of an url or pathlib.Path like
.parent or .name.
Along the way two families of bugs where fixed and should never occur in
the future:
- paths not matched as strings anymore, e.g. using str.startswith()
- Output.path is eliminated as ambiguous
Both families might had caused undefined surprising behavior when local
and remote paths clash.
2019-06-11 19:19:17 +07:00
pawel
fe3f83ee05
remote: local: test: refactor unpacked dir tests
2019-06-11 10:21:57 +02:00
pawel
ac5ca4656a
remote: progress callback for unpacked dir creation
2019-06-10 20:19:47 +02:00
pawel
cfbd381d42
remote: create unpacked dir after status check if needed
2019-06-10 14:44:03 +02:00
pawel
b5464cbc59
remote: local: check if status verification dir already exists
2019-06-10 14:44:03 +02:00
pawel
5d25d5ce96
remote: local: refactor link method
2019-06-10 14:44:03 +02:00
pared
90ca5bd35a
remote: local: add cache status check hardlink optimization
2019-06-10 14:44:03 +02:00
Ruslan Kuprieiev
f69836c2b3
tests: remove fixme msg
...
https://github.com/iterative/dvc/issues/2086
Signed-off-by: Ruslan Kuprieiev <[email protected] >
2019-06-06 14:41:02 +03:00
Ruslan Kuprieiev
9e9e078de3
config: move logic from CLI to API
...
Signed-off-by: Ruslan Kuprieiev <[email protected] >
2019-06-06 14:41:02 +03:00
Andrew Grigorev
5fce9a01e4
tests: fix for pytest>=4.6.0 caplog
2019-06-02 15:41:21 +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
Ruslan Kuprieiev
31848d5c7f
remote: support remote:// notation for push/pull/gc
...
Fixes #2066
Signed-off-by: Ruslan Kuprieiev <[email protected] >
2019-05-29 12:54:31 +03:00
pawel
fae55c2ba2
remote: local: roll back cache dir metadata storing
2019-05-28 13:39:48 -07:00
Ruslan Kuprieiev
29fd8e2e41
Merge pull request #2030 from prihoda/recursive-repro
...
Add repro -R, support dirs & stage files when running pull/push/repro…
2019-05-27 23:09:02 +03:00
David Příhoda
d072c2bd79
Fix after renaming dvc fixture to dvc_repo.
2019-05-27 14:14:44 +02:00
Alexander Schepanovski
ca93dbcf13
dvc: add get_url()/open() API
...
As a part of this:
- DataCloud._cloud was refactored into `.get_remote()`
- data stopped using internal _cloud
- added a parametrization for remote tests
2019-05-27 17:56:31 +07: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
Alexander Schepanovski
7ddbbbc80f
test: simplify google creds handling
2019-05-25 17:55:23 +07:00
Ruslan Kuprieiev
8a4e5f937b
Merge pull request #2034 from pared/rename_dvc_fixture
...
[RFC] tests: rename dvc repo fixture
2019-05-24 03:14:46 +03:00
Tadas Audinis
ee6a0b2875
tests: resolve deprecation warnings ( #2028 )
...
* tests: resolve deprecation warnings
Fixes #2021
* tests: resolve deprecation warnings
Fixes #2021
2019-05-24 03:12:36 +03:00
TomHortons
e3de8aac65
pipeline: show: dot: print dot
2019-05-22 11:11:23 +09:00
pawel
01c2f6c174
tests: rename dvc repo fixture
2019-05-21 15:04:43 -07:00
Ruslan Kuprieiev
3e461f8f11
Merge pull request #2007 from Suor/test-remotes
...
test: update/add helpers to run tests against remotes
2019-05-21 15:44:23 +03:00
Alexander Schepanovski
0e1f20f0f5
test: update/add helpers to run tests against remotes
2019-05-21 17:38:53 +07:00
prd
1cb4e5233e
path: local: str return full path on value error
2019-05-14 16:56:24 -07:00
Ruslan Kuprieiev
1d5d608c21
test: make sure checksums are not recomputed on checkout
...
Signed-off-by: Ruslan Kuprieiev <[email protected] >
2019-05-13 21:07:12 +03:00