Dmitry Petrov
70bc101571
[WIP] Pkg install ( #1742 )
...
* Download Git package
* Extract tmp git repo & fetch data
* Handle fetch\cloud errors and rename select option
* Modify gitignore files when deploy a package
* More tests for git ignore file. Fix an old issue.
* Raise and exception when .gitignor not in a file subdir
* Existing tests fixes
* Basic test for packages
* Comment out pkg tests
* Codeclimate improvements
* Reformatting
* Enable pkg tests
* Fix tests no Windows
* Another old bug fix
* Fix encoding issue on Windows
* Another windows fix: apply compat.str magic to file write
* Back to posix path in gitignore and apply compat.str magic to tests
* gitignorepath: OS specifix path to posix
* Forgotten assignment
* misc: cleanup small issues
Signed-off-by: Ruslan Kuprieiev <[email protected] >
* cli: pkg: hide from help
Signed-off-by: Ruslan Kuprieiev <[email protected] >
2019-03-20 04:09:12 +02:00
Ruslan Kuprieiev
b5d7bf0144
test: format with latest black
...
Signed-off-by: Ruslan Kuprieiev <[email protected] >
2019-03-14 22:41:37 +02:00
pared
e1daa921ee
push/pull/status -c: should warn on no checksum locally and remotely
2019-03-13 17:42:51 +01:00
pared
a86ba00927
utils: translate yaml file loading exception to dvc one
2019-03-05 14:27:34 +01:00
pared
8ee53f8c81
stage: extract yaml loading to util method
2019-02-28 16:27:16 +01:00
Dmitry
fecaa5a0a2
Suppress tests output
2019-02-19 13:03:37 -08:00
Mr. Outis
5e7a152b53
ssh: use sftp when possible
...
Related #830 [1/2]
2019-02-18 19:03:06 -06:00
Ruslan Kuprieiev
ba8d83e9b1
dvc: refactor dvc project class
...
1) split Project's methods into separate files;
2) rename Project into Repo(similar to gitpython's Repo)
Signed-off-by: Ruslan Kuprieiev <[email protected] >
2019-02-13 03:31:23 +02:00
Ruslan Kuprieiev
c95e6eb856
tests: fix tests on travis
...
Signed-off-by: Ruslan Kuprieiev <[email protected] >
2019-02-07 08:43:43 +02:00
Ruslan Kuprieiev
94a8054d29
test: gs: refresh credentials
...
Signed-off-by: Ruslan Kuprieiev <[email protected] >
2019-02-06 01:46:23 +02:00
Ruslan Kuprieiev
f9ee8ed566
test: use deepcopy for TEST_CONFIG
...
Signed-off-by: Ruslan Kuprieiev <[email protected] >
2019-02-05 04:08:41 +02:00
Ruslan Kuprieiev
aaf71121b6
test: don't overwrite TEST_CONFIG
...
Signed-off-by: Ruslan Kuprieiev <[email protected] >
2019-02-05 02:57:41 +02:00
Mehdi Hamoumi
ffc94cc471
Add GCP credentials environment variable to config ( #1567 )
2019-02-05 01:33:04 +02: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
Paweł Redzyński
64a4883ba1
state: cast file size to string
...
Fixes #1485
2019-01-13 12:09:13 +02:00
pared
6f7e2095d3
project: support recursive sync operations
2019-01-10 18:02:23 +01:00
Paweł Redzyński
61e0ea9478
[WIP] 1445 warning on outdated stage ( #1466 )
...
* prepare test structure
* add warning on empty out info, test
* reformat line lengtha according to pep8
* change warning message
2019-01-05 14:03:13 +02:00
Ruslan Kuprieiev
484f318c27
remote: local: support relative paths
...
Fixes #1421
Signed-off-by: Ruslan Kuprieiev <[email protected] >
2019-01-04 21:14:03 +02:00
Ruslan Kuprieiev
d3de148fc4
azure: fix backward compatibility
...
Fixes #1458
Signed-off-by: Ruslan Kuprieiev <[email protected] >
2018-12-28 19:58:25 +02:00
Ruslan Kuprieiev
3840b8fa75
test: gc: skip if key file does not exist
...
Signed-off-by: Ruslan Kuprieiev <[email protected] >
2018-12-22 04:49:20 +02:00
Ruslan Kuprieiev
4029116b85
remote: RFC: unify push/pull
...
Signed-off-by: Ruslan Kuprieiev <[email protected] >
2018-12-21 18:18:33 +02:00
Ruslan Kuprieiev
d5dd0fd804
test: don't use sleep
...
Since we now use file size to help detect file changes on filesystems
with bad mtime resolution, we no longer need these explicit sleep()
calls in our tests for mac os.
Signed-off-by: Ruslan Kuprieiev <[email protected] >
2018-12-17 12:42:35 +02:00
Ruslan Kuprieiev
eaa2d559db
azure: support prefix
...
Fixes #1336
Signed-off-by: Ruslan Kuprieiev <[email protected] >
2018-12-12 19:54:41 +02:00
Ruslan Kuprieiev
a67988a80e
test: enable flake8 checks for tests
...
Signed-off-by: Ruslan Kuprieiev <[email protected] >
2018-12-06 06:40:55 +02:00
Ruslan Kuprieiev
75ab3074a1
dvc: dynamically load default cloud
...
Fixes #1390
Signed-off-by: Ruslan Kuprieiev <[email protected] >
2018-12-01 01:45:18 +02:00
Mr. Outis
1e3d752917
remote: HTTP implemented (support only for downloading) ( #1350 )
...
* remote: HTTP implemented (support only for downloading)
* Remove duplicated content in the schema
* Chomp trailing spaces in test_remote
* remote http: Implement pull/fetch
* add some tests
* Update dvc/remote/http.py
Co-Authored-By: mroutis <[email protected] >
* Update dvc/remote/http.py
Co-Authored-By: mroutis <[email protected] >
* correct test
* rehprase error message
* add __init__ for utils
* try to fix windows test
2018-11-24 21:22:05 +02:00
Ruslan Kuprieiev
20517e44b8
test: save cache backup
2018-11-08 14:26:52 +02:00
Ruslan Kuprieiev
683f2c9a57
tests: debug travis failure
2018-11-07 23:05:58 +02:00
Ruslan Kuprieiev
aa8b52908e
test: sleep before checkout
2018-11-07 21:23:48 +02:00
Ruslan Kuprieiev
49cadb68da
test: don't forget to sleep()
2018-11-06 17:39:57 +02:00
Ruslan Kuprieiev
f00d08d46d
remote: properly collect dir cache
...
Fixes #1293
Signed-off-by: Ruslan Kuprieiev <[email protected] >
2018-11-06 14:19:38 +02:00
Ruslan Kuprieiev
78a20a3895
remote: properly check reqs for a legacy config
...
Fixes #1231
Signed-off-by: Ruslan Kuprieiev <[email protected] >
2018-10-18 03:12:47 +03:00
Ruslan Kuprieiev
31fed211f6
test: use suffixes and prefixes in tmpdir names
...
Signed-off-by: Ruslan Kuprieiev <[email protected] >
2018-10-14 00:37:02 +03:00
Ruslan Kuprieiev
edf73dc52f
test: skip hdfs test if can't connect
...
Signed-off-by: Ruslan Kuprieiev <[email protected] >
2018-10-01 16:29:55 +03:00
Ruslan Kuprieiev
59dcdb02ea
state: optimize operations
...
Signed-off-by: Ruslan Kuprieiev <[email protected] >
2018-09-17 10:47:16 +03:00
Ruslan Kuprieiev
c6f642fd6b
dvc: add --recursive
...
Fixes #1026
Signed-off-by: Ruslan Kuprieiev <[email protected] >
2018-08-21 10:41:19 +03:00
Ruslan Kuprieiev
7e4f39d8eb
dvc: show filenames in push/pull output
...
Signed-off-by: Ruslan Kuprieiev <[email protected] >
2018-07-26 16:50:25 +03:00
Ruslan Kuprieiev
66f1777d9c
test: ssh: don't try to ask for a password
...
Signed-off-by: Ruslan Kuprieiev <[email protected] >
2018-07-25 17:28:58 +03:00
Ruslan Kuprieiev
bc4a5d78e3
tests: data cloud: don't forget to test fetch
...
Signed-off-by: Ruslan Kuprieiev <[email protected] >
2018-07-19 08:24:55 +03:00
Ruslan Kuprieiev
f54428d5ed
test: properly check for hadoop availability
...
Signed-off-by: Ruslan Kuprieiev <[email protected] >
2018-07-18 10:12:49 +03:00
Ruslan Kuprieiev
c636581699
test: gc: catch OSError
2018-07-12 10:41:34 +03:00
Ruslan Kuprieiev
4668c10e6e
test: gs: catch WinError
2018-07-12 10:32:34 +03:00
Ruslan Kuprieiev
9be161de54
test: use IOError instead of FileNotFoundError
2018-07-12 10:25:40 +03:00
Ruslan Kuprieiev
79826b21a4
test: gcp: handle FileNotFoundError
2018-07-12 10:14:15 +03:00
Ruslan Kuprieiev
f476143c52
test: check if we need to test RemoteAzure with _should_test_azure
...
Signed-off-by: Ruslan Kuprieiev <[email protected] >
2018-07-12 09:13:07 +03:00
Clemens Wolff
97dfc88647
Flag skipped tests during test run
2018-07-10 16:44:28 -04:00
Clemens Wolff
fcbc6d115c
Wire-up Azure in TestDataCloud
2018-07-10 16:33:52 -04:00
Clemens Wolff
1b1ca68b64
Fix inspections
2018-07-10 16:33:52 -04:00