Commit Graph
4709 Commits
Author SHA1 Message Date
Fábio Santos f3d234ec9c deduplicate code 2020-01-10 23:26:37 +00:00
Fábio Santos 1f2eed80f8 don't manually clean up git repository 2020-01-10 23:16:19 +00:00
Fábio Santos 9f279b3968 forbid absolute paths for plain git repositories 2020-01-10 23:15:03 +00:00
Fábio Santos 0e2ef470e8 remove blank line 2020-01-10 22:53:31 +00:00
Fábio Santos 5fb6640867 run black 2020-01-10 22:29:27 +00:00
Fábio Santos f5e40b2a47 get: leverage external_repo() context manager for DVC repositories 2020-01-10 22:28:24 +00:00
Fábio Santos c16f8825dc import: update documentation
Fixes #3077
2020-01-10 22:28:24 +00:00
Fábio SantosandJorge Orpinel 5b36ffd60e Update dvc/command/get.py
Co-Authored-By: Jorge Orpinel <[email protected]>
2020-01-10 22:28:24 +00:00
Fábio SantosandJorge Orpinel 9a98622020 Update dvc/command/get.py
Co-Authored-By: Jorge Orpinel <[email protected]>
2020-01-10 22:28:24 +00:00
Fábio SantosandJorge Orpinel 04619d559b Update dvc/command/get.py
Co-Authored-By: Jorge Orpinel <[email protected]>
2020-01-10 22:28:24 +00:00
Fábio SantosandJorge Orpinel 51f2fa184f Update dvc/command/get.py
Co-Authored-By: Jorge Orpinel <[email protected]>
2020-01-10 22:28:24 +00:00
Fábio Santos 6a4f4031b0 change command doc string 2020-01-10 22:28:24 +00:00
Fábio Santos 7873abcade remove unused exception class 2020-01-10 22:28:24 +00:00
Fábio Santos 6cb7308cdb Revert "get: recoup cache optimal location"
This reverts commit 8e4922800f6ce47210976764af1c05e31e90deac.
2020-01-10 22:28:24 +00:00
Fábio SantosandRuslan Kuprieiev a01f81ed09 Update dvc/repo/get.py
Co-Authored-By: Ruslan Kuprieiev <[email protected]>
2020-01-10 22:28:24 +00:00
Fábio Santos 86b9a1cfe4 get: recoup cache optimal location 2020-01-10 22:28:24 +00:00
Fábio Santos f126f2483b doc: change get documentation so that it doesn't imply the target must be DVC enabled 2020-01-10 22:28:24 +00:00
Fábio Santos 07637a6f8f style: improve code flow and move comments 2020-01-10 22:28:24 +00:00
Fábio Santos 0dd5647d3c get: handle non-DVC repositories
Allows us to `dvc get` from non-DVC source repositories.

Fixes #3089
2020-01-10 22:28:24 +00:00
Ruslan Kuprieiev 095464d851 Merge pull request #3093 from iterative/move-fs-utilities
Move fs utilities to fs.py from __init__.py
2020-01-09 17:25:58 +02:00
Ruslan Kuprieiev 238b4e8e7e Merge pull request #3072 from pared/2896_import_url
import url: test: migrate to dir helpers
2020-01-09 16:33:57 +02:00
Aman Sharma 74850fe728 Move walk_files to fs.py 2020-01-09 14:55:49 +05:30
Paweł RedzyńskiandRuslan Kuprieiev ad1450635b Update tests/func/test_import_url.py
Co-Authored-By: Ruslan Kuprieiev <[email protected]>
2020-01-09 10:00:02 +01:00
Aman Sharma a79816920d Move copyfile to fs.py 2020-01-09 04:57:53 +05:30
Aman Sharma eca5d2dde4 Move makedirs to fs.py 2020-01-09 04:30:51 +05:30
Paweł RedzyńskiandRuslan Kuprieiev b9e700105e Update tests/func/test_import_url.py
Co-Authored-By: Ruslan Kuprieiev <[email protected]>
2020-01-08 22:21:02 +01:00
Paweł RedzyńskiandRuslan Kuprieiev 7e12c7104d Update tests/func/test_import_url.py
Co-Authored-By: Ruslan Kuprieiev <[email protected]>
2020-01-08 22:20:50 +01:00
Ruslan Kuprieiev 277d28c6cb Merge pull request #3083 from pared/2896_output
output: tests: migrate to dir helpers
2020-01-08 22:14:07 +02:00
Ruslan Kuprieiev 049367e475 Merge pull request #3034 from mroutis/remove-py2-comments
py3: remove code related to py2 limitations
2020-01-08 20:14:40 +02:00
Ruslan Kuprieiev 82cdce0934 Merge pull request #3086 from pared/2896_remote
remote: test: migrate to dir helpers
2020-01-08 19:16:30 +02:00
Ruslan Kuprieiev 27774705cf Merge pull request #3085 from pared/2896_pipeline
pipeline: test: migrate to dir helpers
2020-01-08 19:14:21 +02:00
Paweł Redzyński 04912f2c86 remote: test: migrate to dir helpers 2020-01-08 12:21:33 +01:00
Paweł Redzyński 945eb181bc pipeline: test: migrate to dir helpers 2020-01-08 11:23:43 +01:00
Paweł Redzyński f074d00269 output: tests: migrate to dir helpers 2020-01-08 11:11:34 +01:00
pawel 62d6f4dbdb import url: test: migrate to dir helpers 2020-01-08 10:30:33 +01:00
Ruslan Kuprieiev 2966924e47 Merge pull request #3074 from pared/2896_install
install: tests: migrate to dir helpers
2020-01-08 06:20:19 +02:00
Ruslan Kuprieiev fb37cd0ab2 Merge pull request #3082 from efiop/reqs
setup: get rid of py2 reqs
2020-01-08 02:42:19 +02:00
Ruslan Kuprieiev ba45c9cd5b setup: get rid of py2 reqs 2020-01-08 02:16:06 +02:00
Ruslan Kuprieiev e8b0e22a6b Merge pull request #3078 from mroutis/py3-logger
py3: use format_exc instead of print_exception
2020-01-08 01:27:07 +02:00
Ruslan Kuprieiev ee0a8fa92d Merge pull request #3075 from efiop/assert_stage
rwlock: check that .dvc/lock is locked
2020-01-08 00:44:32 +02:00
Ruslan Kuprieiev 249f6c5634 Merge pull request #3027 from Suor/status-noop
ui: warn about ignored options for `dvc status` and a grammar fix
2020-01-07 20:30:05 +02:00
Alexander Schepanovski bafac6dec3 ui: fix grammar in the error message 2020-01-07 17:26:01 +07:00
Alexander Schepanovski 1b1f8f9d22 ui: error out for meaningless options for non-cloud dvc status 2020-01-07 17:25:55 +07:00
Paweł Redzyński 1d00560612 fixup 2020-01-07 10:16:32 +01:00
pawel 7f2a196c5c install: tests: migrate to dir helpers 2020-01-07 10:12:01 +01:00
Mr. Outis f942e26453 py3: remove tb_list 2020-01-07 00:13:51 -06:00
Mr. Outis 7ed4fd3840 py3: use format_exc instead of print_exception 2020-01-06 23:40:00 -06:00
Mr. Outis 71b15d259a py3: remove code related to py2 limitations 2020-01-06 23:03:33 -06:00
Ruslan Kuprieiev 11fa9204f8 Merge pull request #3058 from efiop/too_many_files
ui: don't show exception for "Too many files" error
2020-01-07 06:51:29 +02:00
Ruslan Kuprieiev df214fa9d4 Merge pull request #3035 from iterative/test-walk_files
Write test for `walk_files` to check if it accepts Path-like and str objects
2020-01-07 05:33:08 +02:00