diff options
author | Matthew Fernandez <matthew.fernandez@gmail.com> | 2017-11-02 22:13:18 -0700 |
---|---|---|
committer | Matthew Fernandez <matthew.fernandez@gmail.com> | 2017-11-07 20:45:10 -0800 |
commit | 320908419788ca67f81cb869bed7249dab1be8a4 (patch) | |
tree | dff1a7d12784fa9cf689452f0a122c14c3c63550 /libbe/storage/__init__.py | |
parent | f68ab95164dc5ba4ca198e25b7401b06d690e699 (diff) | |
download | bugseverywhere-320908419788ca67f81cb869bed7249dab1be8a4.tar.gz |
remove serve-storage and HTTP storage driver
This functionality is now better fulfilled by using an off-the-shelf network
file system technology to share the BE object directory. This has the advantage
of a more comprehensive and integrated security model as well.
Diffstat (limited to 'libbe/storage/__init__.py')
-rw-r--r-- | libbe/storage/__init__.py | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/libbe/storage/__init__.py b/libbe/storage/__init__.py index ccadb9c..01885e9 100644 --- a/libbe/storage/__init__.py +++ b/libbe/storage/__init__.py @@ -23,7 +23,6 @@ data. Also define assorted implementations for the Storage classes: * :py:mod:`libbe.storage.vcs` -* :py:mod:`libbe.storage.http` Also define an assortment of storage-related tools and utilities: @@ -53,10 +52,6 @@ STORAGE_VERSIONS = ['Bugs Everywhere Tree 1 0', # the current version STORAGE_VERSION = STORAGE_VERSIONS[-1] -def get_http_storage(location): - import http - return http.HTTP(location) - def get_vcs_storage(location): import vcs s = vcs.detect_vcs(location) @@ -68,7 +63,7 @@ def get_storage(location): Return a Storage instance from a repo location string. """ if location.startswith('http://') or location.startswith('https://'): - return get_http_storage(location) + raise ConnectionError('HTTP URLs are no longer supported') return get_vcs_storage(location) __all__ = [ConnectionError, InvalidStorageVersion, InvalidID, |