Commit Graph
4064 Commits
Author SHA1 Message Date
Alexander Schepanovski 0c2a475e93 dvc: remove unused config paths
These are remnants from old style remotes configuration
2019-11-20 20:33:46 +01:00
Ruslan Kuprieiev 91ac75d023 Merge pull request #2798 from skshetry/fix-str-rel-repo
Display path relative to temporary repo when get/import-ing files
2019-11-20 11:34:31 +02:00
Ruslan Kuprieiev 2bae5e4622 stage: remove unused import 2019-11-20 11:04:49 +02:00
Ruslan Kuprieiev c7c852a42f Merge pull request #2796 from Suor/opt-validate
perf: switch schema validation library
2019-11-20 11:00:39 +02:00
Ruslan Kuprieiev a1433ba356 Merge branch 'master' into opt-validate 2019-11-20 11:00:28 +02:00
Ruslan Kuprieiev f563892760 dvc: bump to 0.70.0 0.70.0 2019-11-20 08:29:12 +02:00
Ruslan Kuprieiev 1683511da5 Merge pull request #2777 from pared/2602
import: intercept and rephrase OutputNotFound message
2019-11-20 06:27:58 +02:00
Ruslan Kuprieiev 404620e267 test: update: use dvc_repo fixture
To fix test failure.
2019-11-19 19:12:49 +02:00
Ruslan Kuprieiev 7fae34ee5d test: freeze pytest-mock version
To address failing tests.
2019-11-19 18:52:10 +02:00
Saugat Pachhai 83c8ab5c26 test: Refactor tests 2019-11-19 21:55:13 +05:45
Saugat Pachhai 58624e0230 utils/fs: use fspath_py35 instead of fspath 2019-11-19 21:55:01 +05:45
Paweł Redzyński d1094c41b1 external repo: make NoOutputInExternalRepo path-aware 2019-11-19 14:58:16 +01:00
Ruslan Kuprieiev af0d913760 Merge pull request #2775 from Suor/opt-yaml
perf: optimize yaml parsing for stages
2019-11-19 15:51:34 +02:00
Paweł Redzyński 5a92c46033 import: just inform that output not found 2019-11-19 14:48:28 +01:00
pawel e5aaf98776 import/get: make extarnal repo handle OutputNotFound 2019-11-19 14:48:28 +01:00
Ruslan Kuprieiev 689dd95817 Merge pull request #2790 from shcheklein/fix-2789
makedirs: fix mode flag is being ignored starting from Python 3.7
2019-11-19 15:47:37 +02:00
pawel f575bc7a1d import: intercept and rephrase OutputNotFound message 2019-11-19 14:42:18 +01:00
Ivan Shcheklein 1c752a9548 tests: makedirs permissions test simplify with tmpdir fixture 2019-11-19 00:32:09 -08:00
Ivan Shcheklein aa6a77285d makedirs: add comment on why do have to use umask 2019-11-19 00:17:27 -08:00
Saugat Pachhai f07a70a052 get/import: display path relative to temporary repo 2019-11-19 05:36:11 +05:45
Saugat Pachhai 68c7366ef0 utils: implement path_isin to compare child and parent paths 2019-11-19 05:34:33 +05:45
Alexander Schepanovski 3bffe9dbff dvc: drop schema from requirements 2019-11-18 17:24:40 +01:00
Alexander Schepanovski 2aa750cb48 perf: switch schema validation library for config 2019-11-18 17:22:05 +01:00
Ruslan Kuprieiev 0ac18fb051 dvc: bump to 0.69.0 0.69.0 2019-11-18 15:13:19 +02:00
Ruslan Kuprieiev b9d9df06e9 Merge pull request #2808 from algomaster99/test-arg-types-tmp_fname
Write test for `tmp_fname` to check if it accepts Path-like and str objects
2019-11-18 08:47:35 +02:00
Aman Sharma 3edad21b41 Write test for tmp_fname to check if it accepts Path-like and str objects 2019-11-18 11:49:40 +05:30
Ruslan Kuprieiev 38c210068b Merge pull request #2795 from algomaster99/test-arg-types-remove
Ensure `remove` accepts str and Path-like objects
2019-11-16 21:02:04 +02:00
Ruslan Kuprieiev 276621bbf2 Merge pull request #2786 from Suor/convert-to-unicode
perf: a small stage validation optimization
2019-11-16 19:23:38 +02:00
Aman Sharma d9cd9ece8b Move _chmod to fs.py 2019-11-16 00:44:20 +05:30
Alexander Schepanovski 3943b0eb57 perf: a small stage validation optimization 2019-11-15 16:31:46 +01:00
Ivan Shcheklein ecfbc3a6de compat: fix py2 mkdirs implementation, bytes do not exist on py2 2019-11-14 14:33:36 -08:00
Ivan Shcheklein 303d52e4ac tests: fix mkdirs permissions test to cleanup after failure 2019-11-14 14:32:52 -08:00
Alexander Schepanovski 78fad73f2b perf: switch schema validation library
voluptuous is compiling schema to python function, which makes it
faster.
2019-11-14 22:33:28 +01:00
Aman Sharma 636d850c84 Ensure remove accepts str and Path-like objects 2019-11-15 01:54:40 +05:30
Ruslan Kuprieiev 6147b93d24 Merge pull request #2765 from algomaster99/improve-lock-error-message
Improve `LockError` message
2019-11-14 11:26:33 +02:00
Aman Sharma 13ddcd4b2f Rephrase error message 2019-11-14 09:21:35 +05:30
Ivan Shcheklein eec7618f49 tests: makedirs permissions on intermediate dirs 2019-11-13 16:58:51 -08:00
Ivan Shcheklein 2b934470b4 makedirs: fix mode flag is being ignored starting from Python 3.7 2019-11-13 14:12:01 -08:00
Ruslan Kuprieiev ac68e6c70d Merge pull request #2787 from efiop/reformat-imports-bot
dvc: remove reorder_python_imports formatter
2019-11-13 22:40:19 +02:00
Ruslan Kuprieiev 97a7f582a4 dvc: remove reorder_python_imports formatter 2019-11-13 21:45:44 +02:00
Aman Sharma 1ca054c2fb Move error message to a constant 2019-11-13 23:55:39 +05:30
Aman Sharma f6a6d2eef9 Remove unreachable except block 2019-11-13 23:55:39 +05:30
Aman Sharma 7f12ef8539 Improve error message when LockError is raised 2019-11-13 23:55:39 +05:30
Ruslan Kuprieiev c1bbd8dcc0 Merge pull request #2759 from pared/2711
get/import: more meaningful message on NoRemoteError
2019-11-13 20:04:57 +02:00
Alexander Schepanovski 329d072c22 perf: explain why two yaml parsers are used 2019-11-13 16:35:05 +01:00
Paweł RedzyńskiandRuslan Kuprieiev 4a6a1b662d Update dvc/external_repo.py
Co-Authored-By: Ruslan Kuprieiev <[email protected]>
2019-11-13 11:57:53 +01:00
Ruslan Kuprieiev cfc579929c Merge pull request #2785 from efiop/2387
test: try using azurite 3.3.0-preview
2019-11-13 03:47:28 +02:00
Ruslan Kuprieiev e4c3dbf49b test: try using azurite 3.3.0-preview
Azurite was updated [2] to support new SAS tokens, so we no longer need
to downgrade azure-storage-blob for our tests.

[1] https://github.com/iterative/dvc/issues/2387
[2] https://github.com/Azure/Azurite/issues/250
2019-11-13 03:25:06 +02:00
Paweł RedzyńskiandRuslan Kuprieiev 48d16f6cc5 Update dvc/exceptions.py
Co-Authored-By: Ruslan Kuprieiev <[email protected]>
2019-11-12 15:29:40 +01:00
Paweł Redzyński 76fb661655 get/import: handle NoRepoError with external_repo 2019-11-12 13:23:14 +01:00