Max Risuhin
e7227898e4
Support GDrive as remote
2019-11-29 01:21:10 -08:00
Ruslan Kuprieiev
6b4242a904
Merge pull request #2861 from danihodovic/refactor/remove-redundant-vars
...
test: refactor & remove redundant test fixtures
2019-11-29 01:24:27 +02:00
Dani Hodovic
78c505f6cb
test: refactor & remove redundant test fixtures
...
https://github.com/iterative/dvc/pull/2837#discussion_r351318487
2019-11-28 19:04:56 +01:00
Ruslan Kuprieiev
a1cc2e66e1
Merge pull request #2821 from kaiogu/master
...
remote: fix remote default call with no arguments
2019-11-26 20:37:31 +02:00
Ruslan Kuprieiev
424931f54a
Merge pull request #2855 from skshetry/fix-typo
...
Fix typos
2019-11-26 20:28:44 +02:00
Kaio Giurizatto Utsch
82a535b97e
Change logging to print
...
Python logging recommends using print instead of logging for ordinary
output of command line program.
Also changed the test to reflect this.
2019-11-26 15:02:03 -03:00
Kaio Giurizatto Utsch
95924a34e6
Undo last commit
...
Turns out that the argument was needed after all
2019-11-26 14:19:09 -03:00
Saugat Pachhai
461a79e1e8
Fix typos
2019-11-26 20:07:20 +05:45
Kaio Giurizatto Utsch
9611107896
Remove unused argument
2019-11-25 17:51:49 -03:00
Kaio Giurizatto Utsch
c2def64dc7
remote: add test case to show default
2019-11-25 17:35:45 -03:00
Saugat Pachhai
751bdb2197
dvc: refactor startswith usage with path_isin util
2019-11-21 22:22:08 +05:45
Ruslan Kuprieiev
1683511da5
Merge pull request #2777 from pared/2602
...
import: intercept and rephrase OutputNotFound message
2019-11-20 06:27:58 +02:00
Paweł Redzyński
5a92c46033
import: just inform that output not found
2019-11-19 14:48:28 +01:00
Ivan Shcheklein
1c752a9548
tests: makedirs permissions test simplify with tmpdir fixture
2019-11-19 00:32:09 -08:00
Ivan Shcheklein
303d52e4ac
tests: fix mkdirs permissions test to cleanup after failure
2019-11-14 14:32:52 -08:00
Ivan Shcheklein
eec7618f49
tests: makedirs permissions on intermediate dirs
2019-11-13 16:58:51 -08:00
n3hrox
53f4ad2943
add build cleanup
2019-11-10 23:56:28 +01:00
n3hrox
1156763e84
add pip fallback
2019-11-10 21:40:46 +01:00
Ruslan Kuprieiev
54760c5604
Merge pull request #2758 from kss682/test_2672
...
Test for issue #2672 added.
2019-11-08 19:42:24 +02:00
kss682
7e336a8e7a
test for issue 2672 --typo correction
2019-11-09 21:12:24 +05:30
kss682
4409c60468
Test for issue #2672 added.
2019-11-09 20:41:40 +05:30
Ruslan Kuprieiev
1058df0f77
analytics: don't forget to convert to bool
2019-11-08 05:21:47 +02:00
pawel
4acfaa293e
ignore: add test for dvcignore on branch
2019-11-07 17:51:00 +01:00
pawel
f14aca630f
ignore: make DvcIgnoreFilter use tree
2019-11-07 15:37:24 +01:00
Ruslan Kuprieiev
ab0ba77ab2
Merge pull request #2745 from shcheklein/fix-2744
...
dvc get leaves dangling symlinks if source repo is set to use symlinks as its cache type
2019-11-06 03:08:37 +02:00
Ivan Shcheklein
ffd8c2cf6e
tests: add dvc import test to check that local cache type is enforced
2019-11-05 16:40:24 -08:00
Ivan Shcheklein
c25715dc72
get: fix override external repo cache type
2019-11-05 16:27:01 -08:00
Ivan Shcheklein
73f95ee6b4
tests: minor style and typo fixes in dvc gc tests
2019-11-05 16:25:38 -08:00
Ruslan Kuprieiev
7caf28ca11
dvcignore: don't forget to use dvcignore when collecting dvcignores
...
Fixes #2737
2019-11-06 01:39:31 +02:00
Ruslan Kuprieiev
95fe1578bb
dvc: automatically reorder imports
2019-11-05 02:34:40 +02:00
n3hrox
b97865e165
fix test
2019-11-04 21:18:07 +01:00
n3hrox
8e2d0bdcd6
Merge branch 'master' of github.com:iterative/dvc into enhance/conda_detection
2019-11-04 21:10:57 +01:00
n3hrox
e3417f78be
revert changes
2019-11-04 21:02:51 +01:00
n3hrox
952fee57c1
resolve conflicts
2019-11-04 20:52:24 +01:00
Ruslan Kuprieiev
4efd048796
test: try removing get_url test
2019-11-04 00:05:44 +02:00
Ruslan Kuprieiev
46391cb4f9
test: fix formatting
2019-11-03 23:47:34 +02:00
Ruslan Kuprieiev
71f8d25ab3
test: get-url: try using with mock_s3() instead of a decorator
2019-11-03 23:42:44 +02:00
Ruslan Kuprieiev
2df7eda159
Merge pull request #2674 from n3hrox/enhance/footnote_deduplication
...
logger: output footer once for multithreaded push/pull errors
2019-11-03 23:37:13 +02:00
Ruslan Kuprieiev
46d221fade
test: s3: try using boto3.client
2019-11-03 22:38:48 +02:00
Ruslan Kuprieiev
0fece74d00
test: get-url: don't use get_aws_url
2019-11-03 14:18:25 +02:00
n3hrox
89502bee88
fix tests
2019-11-01 18:05:27 +01:00
Ivan Shcheklein
98750c95c5
get-url: fix NPE when src non local and dst not absolute
2019-10-31 09:58:07 -07:00
Ivan Shcheklein and Ruslan Kuprieiev
2ec0aa0c37
failing while pulling imported directories ( #2692 )
...
* pull: fix-2684 - failing while pulling imported directories
* pull: fix-2684 - fix code indentation
* minor imported directories pull test update
Co-Authored-By: Ruslan Kuprieiev <[email protected] >
2019-10-30 17:18:07 +02:00
n3hrox
752e584a9b
refactor function and add test
2019-10-27 22:25:27 +01:00
Ruslan Kuprieiev
480a612da4
output: base: don't forget to return empty cache ( #2656 )
...
* output: base: don't forget to return empty cache
CC @Suor
Fixes https://gist.github.com/leimbernon/21924e02a998e3f1604990f8a7824c37
Signed-off-by: Ruslan Kuprieiev <[email protected] >
* gc: add test for missing .dir cache file
2019-10-23 22:47:50 +03:00
Alexander Schepanovski
86811aac20
imp: dedup and parallelize fetching imported deps ( #2654 )
...
* imp: dedup and parallelize external fetches
This prevents same fetches for external artifacts, groups them by source
and fetches in parallel.
* imp: test that fetch works on non workspace deps
2019-10-23 18:02:50 +03:00
Alexander Schepanovski
30341438e0
gc: added --all-commits ( #2643 )
...
* dvc: fix branch suffixes in status/push/pull
* gc: add --all-commits flag
* gc: fix gc warning
Say that we always leave things used in the working tree
2019-10-23 18:00:31 +03:00
Ruslan Kuprieiev
59e62a7227
checkout: accept multiple targets ( #2640 )
...
Make `Repo.checkout` accept a list of targets, instead of having to feed
it targets one-by-one. This allows us to properly handle checkout
errors.
Fixes #2580
2019-10-21 17:06:21 +03:00
Alexander Schepanovski
33b0eefec0
dvc: dedup used cache ( #2630 )
...
* dvc: dedup used cache
This is a preparation step to make garbage collector work with more
commits. It has a value of its own:
- less exists calls to show cloud status or prepare push/pull
- same names are not repeated in status and pbar texts
* dvc: delay checksum names concatenation
2019-10-21 12:12:56 +03:00
Casper da Costa-Luis
1e01ce3ac9
isatty ( #2550 )
...
* suppress Tqdm when isatty
- fixes #2549
* fix tests
* unconditionally disable Tqdm if not isatty
- fixes https://github.com/iterative/dvc/pull/2550#discussion_r329386950
* add TQDM_DISABLE env var
- update tests
- add documentation
* TQDM_DISABLE => TQDM_ISATTY
* tests: mock.patch sys.stderr
* TQDM_ISATTY => DVC_ISATTY
as per https://github.com/iterative/dvc/pull/2550#discussion_r334565120
* dvc.progress.Tqdm file kwarg
- fixes https://github.com/iterative/dvc/pull/2550/files/ad1f245107c405697c4b61fe58a92fc0265c6588#r335706955
* dynamic env DVC_ISATTY
- fixes
https://github.com/iterative/dvc/pull/2550/files/ad1f245107c405697c4b61fe58a92fc0265c6588#r335811454
* DVC_ISATTY in tests
- fixes https://github.com/iterative/dvc/pull/2550/files/ad1f245107c405697c4b61fe58a92fc0265c6588#r335811099
* re-add and abstract `env2bool` to `dvc.utils`
- partially reverts commit 524a0df188f566fb3e103f6965f1b6ac9c530886
- fixes
https://github.com/iterative/dvc/pull/2550/files/ad1f245107c405697c4b61fe58a92fc0265c6588#r335811639
* env2bool tidy
* rename DVC_ISATTY => DVC_IGNORE_ISATTY
- fixes https://github.com/iterative/dvc/pull/2550#discussion_r335947382
2019-10-20 00:54:06 +03:00