pawel
4236f18e0c
repo: get: intercept and convert NotDvcRepoErro to UrlNotDvcRepoError
2019-09-03 13:59:04 +02:00
Alexander Schepanovski
8984e9fed4
dvc: use wdir == "." on add
...
Fixes #2404
2019-08-24 10:23:41 +07:00
Ruslan Kuprieiev
2d9497c524
Merge pull request #2421 from pared/2328
...
repo: move: save stage after moving
2019-08-21 16:33:13 +03:00
Ruslan Kuprieiev
5aa9a2f501
Merge pull request #2333 from casperdcl/tqdm
...
change progress bar backend to tqdm
2019-08-21 15:38:51 +03:00
pared
c4de07b2bd
repo: move: save stage after moving
2019-08-21 14:34:23 +02:00
Mr. Outis and Ruslan Kuprieiev
8918bdc383
http: add exception when trying to traverse remote ( #2411 )
...
* http: add exception when trying to traverse remote
Fix #2380
* http: exception raise on `list_cache_paths` instead of `all`
`NotImplementedError` -> `RemoteActionNotImplemented`
* http: raise exception on `__init__`
* set default no_traverse to True on remote base
* tests: explicitly use traverse on data cloud and no traverse with HTTP
* remote: define a new RemoteConfigError
* remote: reuse ConfigError instead of RemoteConfigError
* tests: set no_traverse to False with SSHMocked
* deepsource: fix minor issue with spacing
* remove blankspace
Co-Authored-By: Ruslan Kuprieiev <[email protected] >
2019-08-20 00:47:15 +03:00
Ruslan Kuprieiev
f0c12ea162
Merge pull request #2407 from efiop/master
...
test: run: refactor signal handler tests
2019-08-19 15:22:25 +03:00
Ruslan Kuprieiev
89d3ccae0d
test: run: refactor signal handler tests
...
Current test is testing for signal handler restoration in an obscure
way. As a result, the test wasn't actually testing anything, because
KeyboardInterrupt is raised by default_int_handler, and so raising it
in a mock won't be caught by signal handlers, because they are dealing
with real singnals.
Fix #2406
Signed-off-by: Ruslan Kuprieiev <[email protected] >
2019-08-19 14:49:19 +03:00
Casper da Costa-Luis
1c8bf11238
Merge remote-tracking branch 'upstream/master' into tqdm
2019-08-19 11:15:13 +01:00
Casper da Costa-Luis
093ad20a84
flake8 unused imports
2019-08-17 16:15:15 +01:00
Casper da Costa-Luis
534d6fdb0c
remove defunct test, extraneous comments
...
- https://github.com/iterative/dvc/pull/2333#discussion_r314927966
2019-08-17 15:43:54 +01:00
Gunnlaugur Thor Briem
e1dd75edcd
fix: don't dvc checkout on git file checkout
...
Closes #2400
2019-08-16 22:11:16 +00:00
Casper da Costa-Luis
60566b380e
minor test update
2019-08-16 22:33:00 +01:00
Casper da Costa-Luis
adf05e6ff0
minor rename
2019-08-16 22:32:47 +01:00
Casper da Costa-Luis
b018933b5a
fix py2 MagicMock(sys.stderr).encoding in tests
2019-08-16 22:26:19 +01:00
Alexander Schepanovski
85289ad00b
api: wrap not found errors
...
api.open()/read() will now raise OutputFileMissingError and
Remote*.open() will raise FileNotFoundError if target file is absent.
2019-08-15 23:20:48 +07:00
Casper da Costa-Luis
f88c2fe5fc
remove old test
2019-08-14 00:19:44 +01:00
Casper da Costa-Luis
3f8caeccc4
Merge remote-tracking branch 'upstream/master' into tqdm
...
major updates across dvc/remote/
2019-08-13 23:29:59 +01:00
Alexander Schepanovski
60a983b63f
api: stream api.open() for local, SSH and HDFS
2019-08-13 18:19:52 +07:00
Casper da Costa-Luis
120dfff05a
naive test update
2019-08-11 01:21:50 +01:00
Casper da Costa-Luis
ee4248df92
fix and update more tests
2019-08-11 01:17:42 +01:00
Casper da Costa-Luis
d0315a3509
minor black, test fixes
2019-08-11 00:09:18 +01:00
Ruslan Kuprieiev
b2f452ef04
Merge pull request #2319 from mroutis/fix-1497
...
metrics: allow multiple targets for show command
2019-08-10 20:10:31 +03:00
Mr. Outis
163d872c92
fix tests for windows
2019-08-09 22:46:25 -05:00
Mr. Outis
fa04c27580
add tests for recursive operations and file not found
2019-08-09 22:06:32 -05:00
Mr. Outis
0e46edd9bb
fail silently but with a more sound error message
...
* Add a `_missing` key to the return value of `repo.metrics.show` to
include targets not recognized as metrics or not found.
2019-08-09 21:55:19 -05:00
Ruslan Kuprieiev
9c5fd0c76c
dvc: support group cache mode
...
In this mode, dvc will set appropriate file/dir permissions to support
sharing cache between different users within the same group.
Fixes #2287
Signed-off-by: Ruslan Kuprieiev <[email protected] >
2019-08-09 17:10:40 +03:00
Mr. Outis
d4ef110794
exit with 1 if targets were not found
2019-08-06 21:10:48 -05:00
Ruslan Kuprieiev
17700fc4e8
Merge pull request #2353 from GildedHonour/issue1874
...
Fix #1874
2019-08-06 18:46:21 +03:00
alex maslakoff
b78843881a
fix 'diff cmd message' test
2019-08-06 13:51:30 +04:00
Ruslan Kuprieiev
8ae01de0eb
metrics: allow multiple targets for show command
...
Fix #1497
2019-08-05 10:19:11 -05:00
Ruslan Kuprieiev
ab6d8f9f6f
Merge pull request #2351 from RahulR19/master
...
Renamed git property to repo object in dvc/scm/git
2019-08-04 21:53:25 +03:00
RahulR19
371c57ac24
Renamed git to repo in dvc/scm/git along with changes in some tests.
2019-08-04 23:26:45 +05:30
alex maslakoff
619f53a555
remove unused imports
2019-08-03 20:31:28 +03:00
alex maslakoff
10fa6eddb1
fix 2 tests
2019-08-03 20:25:07 +03:00
alex maslakoff
60359d8b98
merge 2 tests
2019-08-03 11:10:09 +03:00
alex maslakoff
81c8ed9da5
add a test for 'dir changes'
2019-08-02 16:09:10 +03:00
alex maslakoff
433a43e5f0
reformat
2019-08-02 00:26:41 +03:00
Ruslan Kuprieiev
1dea4030c8
Merge pull request #2331 from kurianbenoy/master
...
remove show-checksums flag for dvc status commmand
2019-08-01 20:58:24 +03:00
alex maslakoff
7347701145
add test for modified file content
2019-08-01 11:27:28 +03:00
kurianbenoy
cba4c45bdb
removed show-checksums for files pull, push, data_sync.py and from test files
2019-07-30 23:34:06 +05:30
Alexander Schepanovski
50b5b87304
dvc: batch push/pull/fetch/status
...
This will speed up cache collection and then run single cloud op for all
collected cache.
Fixes #2308 .
2019-07-30 13:33:01 +03:00
Gunnlaugur Thor Briem
e917ce0ae8
dvc: hooks only act in branches where dvc active ( #2338 )
...
* dvc: hooks only act in branches where dvc active
In a branch where DVC hasn't been initialized (as detected by
`git ls-files .dvc` not listing any files), don't invoke dvc in the git hooks.
This avoids trouble when switching between branches with and without dvc
initialized.
Fixes #2208
* dvc: simplify hooks per PR comment
2019-07-29 16:26:49 +03:00
Ruslan Kuprieiev
5e02a90e13
version: don't skip link info and skip if there is no psutil
...
Fixes #2336
Signed-off-by: Ruslan Kuprieiev <[email protected] >
2019-07-29 03:33:07 +03:00
pawel
7c52f65736
metric: show: xpath should override xpath set after run
2019-07-25 10:07:02 +02:00
Ruslan Kuprieiev
ecb28a285c
Merge pull request #2307 from efiop/2238
...
import-url: lock by-default
2019-07-23 01:44:04 +03:00
Ruslan Kuprieiev
641edacef6
import-url: lock by-default
...
Fixes #2238
Signed-off-by: Ruslan Kuprieiev <[email protected] >
2019-07-22 20:24:00 +03:00
Jorge Orpinel
c7ef6592fe
output: remove a couple more "(s)" left
...
Per https://github.com/iterative/dvc/pull/2281#issuecomment-513053199
2019-07-20 13:44:36 -06:00
Ruslan Kuprieiev
68bebe7944
remote: hdfs: use pyarrow and connection pool
...
Related to #1629
Speeds up HDFS tests significantly. E.g. ExternalHDFS test goes from 600
sec to 190sec. test_open_external[HDFS] from 160sec to 3sec.
Signed-off-by: Ruslan Kuprieiev <[email protected] >
2019-07-20 01:12:17 +03:00
Ruslan Kuprieiev
958a4fbd3c
tests: s3: use moto for multipart test
...
Fixes #1889
Signed-off-by: Ruslan Kuprieiev <[email protected] >
2019-07-18 20:51:49 +03:00