57 Commits
Author SHA1 Message Date
Fábio Santos 758205a52a PR feedback 2020-02-03 18:45:44 +00:00
Fábio Santos 11ad0a9803 remove __ 2020-02-03 18:41:55 +00:00
Fábio Santos 2e091f67b5 commit: add missing space
The prompt shown when committing without `-f` had a missing space between sentences.
2020-02-03 17:30:18 +00:00
Fábio Santos a7bad88159 remove unnecessary chdir 2020-01-28 11:49:24 +00:00
Fábio Santos 2fb6b338bd move message creation outside of exception 2020-01-24 15:13:20 +00:00
Fábio Santos 233790ced5 add test and traverse nodes when showing outs 2020-01-23 17:54:00 +00:00
Fábio Santos d827fef8c4 add missing nodes 2020-01-23 12:39:07 +00:00
Fábio Santos 84999f590e convert to bool 2020-01-23 12:24:30 +00:00
Fábio Santos 2742a58226 move remote checking option to within NoRemoteError 2020-01-23 12:23:16 +00:00
Fábio Santos b635fdddbd connect outs to deps 2020-01-23 11:54:15 +00:00
Fábio Santos a299fba15d connect deps to outs 2020-01-23 11:47:37 +00:00
Fábio Santos 058e19fed0 pipeline: show: outs: eliminate extra nodes in DAG 2020-01-22 21:30:12 +00:00
Fábio Santos fc92266114 address comments 2020-01-22 17:31:46 +00:00
Fábio Santos abbe29e58e push: improve 'no remote specified' hint
Fixes #3121
2020-01-22 17:09:00 +00:00
Fábio Santos e41aa00c20 convert tests to pytest function tests 2020-01-22 14:04:52 +00:00
Fábio Santos bdf665a34a don't use patch.object() 2020-01-21 20:52:48 +00:00
Fábio Santos 5dfcda54f9 tests: replace spy() with pytest-mock spy
Fixes #3198
2020-01-21 14:47:49 +00:00
Fábio Santos df22dd4def specifically look for Location header in response 2020-01-16 17:58:44 +00:00
Fábio Santos fcb7681683 take exception transformation into account 2020-01-16 14:49:51 +00:00
Fábio Santos cd3ef1850d simplify control flow 2020-01-16 14:44:09 +00:00
Fábio Santos c5eb13c114 update redirect check 2020-01-16 14:34:09 +00:00
Fábio Santos d3f925ae63 add missing return 2020-01-16 14:30:03 +00:00
Fábio Santos 968e74890d pull: treat HTTP redirects without Location header as error
Fixes #2963
2020-01-16 14:21:59 +00:00
Fábio Santos a9bdaec63c rework code path; remove extraneous context generator 2020-01-16 13:37:13 +00:00
Fábio Santos 5883d3dabf reorder imports 2020-01-16 12:54:05 +00:00
Fábio Santos a0bdaa4c9e use checksum facilities 2020-01-16 12:51:20 +00:00
Fábio Santos 4ada384fcd remove trace statement 2020-01-15 12:43:14 +00:00
Fábio Santos 008a531535 support non-DVC repositories 2020-01-15 12:39:15 +00:00
Fábio Santos 289797e7eb can now get whether an item changed, but not when an item changes from non-DVC to DVC 2020-01-15 11:33:26 +00:00
Fábio Santos 799d902c98 add test that checks that a file can be upgraded from git tracking to DVC tracking 2020-01-14 23:41:48 +00:00
Fábio Santos 1a26d3b60f Merge remote-tracking branch 'upstream/master' into feature/2959-status-of-imported-files 2020-01-14 23:08:43 +00:00
Fábio Santos 3228b476fa compare checksums instead of file bytes 2020-01-14 22:58:11 +00:00
Fábio Santos e5d35cb3ce reduce cognitive complexity of _local_status 2020-01-14 20:32:46 +00:00
Fábio Santos cfbdccdbed update test 2020-01-14 19:49:21 +00:00
Fábio Santos 8f464c2a07 status: don't clone more than once for plain files 2020-01-14 19:00:46 +00:00
Fábio Santos c9b0593220 status: enable status of files imported from remote git repos 2020-01-14 18:51:56 +00:00
Fábio Santos f949b31976 status: implement support for imported files
Fixes #2959
2020-01-14 17:54:20 +00:00
Fábio Santos de303d45ba test removing a file outside a raw git repo 2020-01-10 23:30:18 +00:00
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