Commit Graph
4050 Commits
Author SHA1 Message Date
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
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
Kaio Utsch 142eb47557 remote: fix default --unset break of last commit 2019-11-20 10:29:10 +00:00
Kaio Utsch 67ceed0d25 remote: fix remote default call with no arguments
remote default command with no arguments now returns default remote instead of
setting default remote to None.

Fixes #2813
2019-11-20 09:21:41 +00: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
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
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
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
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
Alexander Schepanovski 58c9e5557c perf: optimize yaml parsing for stages 2019-11-11 13:41:50 +01:00
pawel deba7e95da get/import: more meaningful message on NoRemoteError 2019-11-11 12:53:24 +01:00
Ruslan Kuprieiev 947b39f47a dvc: bump to 0.68.1 0.68.1 2019-11-11 03:32:17 +02:00
Ruslan Kuprieiev 4bde281b4e build: windows: remove unneeded quotes
Per https://github.com/iterative/dvc/pull/2773#discussion_r344529924
2019-11-11 03:31:48 +02:00
Ruslan Kuprieiev 4d51f78074 dvc: bump to 0.68.0 0.68.0 2019-11-11 01:53:58 +02:00
Ruslan Kuprieiev 204aa9c6c3 Merge pull request #2773 from n3hrox/build_patch
Add better heuristic for build detection
2019-11-11 01:33:06 +02:00
n3hrox 53f4ad2943 add build cleanup 2019-11-10 23:56:28 +01:00
n3hrox 448ae95604 fix windows echo 2019-11-10 22:22:25 +01:00
n3hrox 3ba4b8bd4d remove unnecessary pip check 2019-11-10 22:10:19 +01:00
n3hrox 172ad71553 fix typo 2019-11-10 21:46:36 +01:00
n3hrox 1156763e84 add pip fallback 2019-11-10 21:40:46 +01:00
n3hrox a0efedcd31 remove arch support from readme 2019-11-10 21:02:07 +01:00
n3hrox 707cce9bd2 remove unnecessary line 2019-11-10 20:24:26 +01:00
n3hrox c68adc9a6d remove windows patch in favor of echo 2019-11-10 20:23:14 +01:00