remote: HTTP implemented (support only for downloading) (#1350)

* remote: HTTP implemented (support only for downloading)

* Remove duplicated content in the schema

* Chomp trailing spaces in test_remote

* remote http: Implement pull/fetch

* add some tests

* Update dvc/remote/http.py

Co-Authored-By: mroutis <[email protected]>

* Update dvc/remote/http.py

Co-Authored-By: mroutis <[email protected]>

* correct test

* rehprase error message

* add __init__ for utils

* try to fix windows test
This commit is contained in:
Mr. Outis
2018-11-24 21:22:05 +02:00
committed by Ruslan Kuprieiev
parent f3f5837e20
commit 1e3d752917
14 changed files with 354 additions and 34 deletions
+2 -1
View File
@@ -11,7 +11,7 @@ import platform
from dvc.main import main
from dvc.config import Config, ConfigError
from dvc.data_cloud import (DataCloud, RemoteS3, RemoteGS, RemoteAzure,
RemoteLOCAL, RemoteSSH, RemoteHDFS)
RemoteLOCAL, RemoteSSH, RemoteHDFS, RemoteHTTP)
from dvc.remote.base import STATUS_OK, STATUS_NEW, STATUS_DELETED
from tests.basic_env import TestDvc
@@ -163,6 +163,7 @@ class TestDataCloud(TestDvc):
clist = [('s3://mybucket/', RemoteS3),
('gs://mybucket/', RemoteGS),
('ssh://user@localhost:/', RemoteSSH),
('http://localhost:8000/', RemoteHTTP),
(TestDvc.mkdtemp(), RemoteLOCAL)]
if _should_test_azure():