Commit Graph
6475 Commits
Author SHA1 Message Date
Tymoteusz Jankowski 8977958371 Make pager info box to be a simple warning 2019-12-02 20:36:51 +01:00
Tymoteusz Jankowski ab3ccf0243 Use os.devnull + do not check if system exists for os module 2019-12-02 20:27:20 +01:00
Alexander Schepanovski 30d58e14a0 Revert "remote: base: don't checkout existing file (#2358)"
This reverts commit 5ec1d274ae.

Save tests to try make them work, and `_get_cache_type()` to be used
later.
2019-12-02 19:06:35 +01:00
Casper da Costa-Luis c622287cd3 truncate long desc 2019-12-02 17:43:11 +00:00
Casper da Costa-Luis 7318a6d120 safer download notification 2019-12-02 17:35:29 +00:00
Ruslan Kuprieiev d42a04e647 Merge pull request #2778 from casperdcl/snap
Snap
2019-12-02 19:09:25 +02:00
Casper da Costa-Luis 52c48b56a2 add snap approval request to readme 2019-12-02 16:44:12 +00:00
Casper da Costa-Luis 0acb1e8e3e revert devmode
- didn't work
- almost completely reverts c94acdf2a9
2019-12-02 16:39:18 +00:00
Alexander Schepanovski 4ab4e43606 dvc: return to using .changed() shortcut in .checkout() 2019-12-02 14:38:39 +01:00
Paweł Redzyński 9aec435cac NoRemoteInExternalRepoError: fix message 2019-12-02 11:58:09 +01:00
Tymoteusz Jankowski f79711d155 Fix code checks 2019-12-01 19:48:56 +01:00
Tymoteusz Jankowski a6a3cbcffa Reduce nested ifs in find_pager 2019-12-01 19:45:06 +01:00
Tymoteusz Jankowski 3e163f1934 Rename and move DVC_PAGER_ENV_NAME to env.py file 2019-12-01 19:13:56 +01:00
Tymoteusz Jankowski cade3b396c Add is_exec_found to utils and use it in dagascii module 2019-12-01 19:04:04 +01:00
Ruslan Kuprieiev 3d70a1efef Merge pull request #2853 from skshetry/gs-external-deps
Support adding directories in google cloud storage remote
2019-12-01 14:49:35 +02:00
Tymoteusz Jankowski c17cf2b2f7 dvc/dagascii: Use less instead of AsciiCanvas._do_draw
Uses less CLI tool to paging the output in the interactive mode while
doing e.g.  `dvc pipeline show ..`.

Fixes #2807
2019-12-01 13:23:09 +01:00
Saugat Pachhai 6ba7b1d9a3 gs: adjust tests 2019-12-01 17:26:07 +05:45
Ruslan Kuprieiev 24d3a87708 Merge pull request #2873 from skshetry/fix-2871
s3: Check for all files in given path to match
2019-12-01 13:24:50 +02:00
Saugat Pachhai 37fcced4ad s3: raise exception if not 404 status code 2019-12-01 16:28:31 +05:45
Saugat Pachhai 4f011f62c7 use yield and staticmethod 2019-12-01 16:24:22 +05:45
Saugat Pachhai 22c0a644e5 address @efiop's suggestions 2019-12-01 16:08:53 +05:45
Saugat Pachhai 4821aa2efa s3: catch specific exception when head_object() 2019-12-01 14:47:56 +05:45
Saugat Pachhai da0d9e8599 s3: implement isfile() 2019-12-01 10:58:53 +05:45
Saugat Pachhai f4f836e17c Merge branch 'master' into gs-external-deps
* master:
  travis: windows: use python 3.7.5
  test: skip non supported remotes fast in api tests
2019-12-01 09:01:47 +05:45
Saugat Pachhai 7e62a7d7e5 gs: implement isfile 2019-12-01 08:56:07 +05:45
Casper da Costa-Luis f54460f2cb merge unneeded function 2019-12-01 02:54:01 +00:00
Saugat Pachhai 25f0e0765c gs: use Blob.exists() instead of _list_paths to check for blob 2019-12-01 08:25:50 +05:45
Casper da Costa-Luis 75f8b9cd8b start to clean up gdrive 2019-12-01 02:31:57 +00:00
Casper da Costa-Luis ecdc608e13 clean up gs progress using Tqdm.wrapattr
- fixes #2829
2019-12-01 02:22:04 +00:00
Ruslan Kuprieiev f09517ad09 travis: windows: use python 3.7.5 2019-11-30 20:11:11 +02:00
Casper da Costa-Luis c94acdf2a9 use --devmode as it looks less scary 2019-11-30 17:26:48 +00:00
Casper da Costa-Luis a0ac129d5f cleanup things to revert after classic
https://forum.snapcraft.io/t/classic-confinement-request-for-dvc/14124
2019-11-30 17:23:57 +00:00
Casper da Costa-Luis 7fcb4bff9c back to --classic 2019-11-30 17:22:12 +00:00
Saugat Pachhai 2e1f3114cd dvc: write tests 2019-11-30 19:47:30 +05:45
Saugat Pachhai 13e5dbafd0 s3: check for all files in given path 2019-11-30 19:20:32 +05:45
Saugat Pachhai 433d2f8017 test: remove nested contextmanagers, return False on exists() 2019-11-30 19:12:35 +05:45
Ruslan Kuprieiev 30848306e8 Merge pull request #2870 from Suor/test-api-fast-skip
test: skip non supported remotes fast in api tests
2019-11-30 15:15:00 +02:00
Saugat Pachhai 8a62e2f92b gs: check if the path is directory when checking for exists 2019-11-30 18:03:41 +05:45
Saugat Pachhai 42991d3b75 Move more stuff from data_cloud to tests/remotes.py 2019-11-30 10:04:45 +05:45
Saugat Pachhai 63cf117ee9 Move to tests/remotes.py 2019-11-30 08:58:43 +05:45
Saugat Pachhai 4714929b5b Merge branch 'master' into gs-external-deps
* master:
  address @efiop's suggestions
  s3: add support for top level empty directories
  remote: http: calculate length basing on response and not head call
  test: remote: http: clear test file name
  HTTPError: reformat error message
  Update dvc/remote/http.py
  remote: http: rename http error, refactor test
  remote: http: raise exception when download response with error status code
  Support GDrive as remote
  setup: don't forget contextlib2
  remote: refactor ssh ask password code
  remote: protect all remote client/session creation code with locks
  test: refactor & remove redundant test fixtures
  NoRemoteInExternalRepoError: dont pass cause of exception
  perf: optimize cache listing for local, ssh and hdfs
  remote: small .save_info()/.get_checksum() cleanup
2019-11-30 08:39:56 +05:45
Saugat Pachhai caa67c725e dvc: refactor tests 2019-11-30 08:22:39 +05:45
Casper da Costa-Luis ae274cbab7 try devmode 2019-11-30 01:46:48 +00:00
Casper da Costa-Luis f6e92184e3 ready for merge 2019-11-30 01:19:13 +00:00
Casper da Costa-Luis 8fa7d7cfd7 fix git 2019-11-30 01:01:20 +00:00
Casper da Costa-Luis f60d795709 document connecting plugs before approval 2019-11-30 00:35:41 +00:00
Casper da Costa-Luis ebe80cd60a attempt to use layout 2019-11-30 00:28:56 +00:00
Ruslan Kuprieiev 0404a2324e Merge pull request #2551 from MaxRis/gdrive-support
GDrive remote support
2019-11-30 01:21:31 +02:00
Alexander Schepanovski 865ed6f8ea test: skip non supported remotes fast in api tests 2019-11-29 23:42:26 +01:00
Casper da Costa-Luis b36a49120b attempt to fix dvc config --system 2019-11-29 21:49:53 +00:00