You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@libcloud.apache.org by to...@apache.org on 2017/09/06 14:43:32 UTC

[1/2] libcloud git commit: Also include local storage driver in the supported providers and features table.

Repository: libcloud
Updated Branches:
  refs/heads/trunk 25c97840b -> f1bff4814


Also include local storage driver in the supported providers and
features table.


Project: http://git-wip-us.apache.org/repos/asf/libcloud/repo
Commit: http://git-wip-us.apache.org/repos/asf/libcloud/commit/2611dc01
Tree: http://git-wip-us.apache.org/repos/asf/libcloud/tree/2611dc01
Diff: http://git-wip-us.apache.org/repos/asf/libcloud/diff/2611dc01

Branch: refs/heads/trunk
Commit: 2611dc01f8025f46f028aed158bca5bf9922fa41
Parents: 25c9784
Author: Tomaz Muraus <to...@tomaz.me>
Authored: Wed Sep 6 16:26:39 2017 +0200
Committer: Tomaz Muraus <to...@tomaz.me>
Committed: Wed Sep 6 16:27:28 2017 +0200

----------------------------------------------------------------------
 contrib/generate_provider_feature_matrix_table.py | 5 ++---
 tox.ini                                           | 4 ++++
 2 files changed, 6 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/libcloud/blob/2611dc01/contrib/generate_provider_feature_matrix_table.py
----------------------------------------------------------------------
diff --git a/contrib/generate_provider_feature_matrix_table.py b/contrib/generate_provider_feature_matrix_table.py
index d35d63b..f492001 100755
--- a/contrib/generate_provider_feature_matrix_table.py
+++ b/contrib/generate_provider_feature_matrix_table.py
@@ -205,7 +205,6 @@ FRIENDLY_METHODS_NAMES = {
 
 IGNORED_PROVIDERS = [
     'dummy',
-    'local',
 
     # Deprecated constants
     'cloudsigma_us',
@@ -264,9 +263,9 @@ def generate_providers_table(api):
 
         try:
             cls = get_driver_method(enum)
-        except Exception:
+        except Exception as e:
             # Deprecated providers throw an exception
-            print('Ignoring deprecated constant "%s"' % (enum))
+            print('Ignoring deprecated constant "%s": %s' % (enum, str(e)))
             continue
 
         # Hack for providers which expose multiple classes and support multiple

http://git-wip-us.apache.org/repos/asf/libcloud/blob/2611dc01/tox.ini
----------------------------------------------------------------------
diff --git a/tox.ini b/tox.ini
index 05475c7..a4e54a9 100644
--- a/tox.ini
+++ b/tox.ini
@@ -32,6 +32,7 @@ commands = cp libcloud/test/secrets.py-dist libcloud/test/secrets.py
 deps = sphinx
        pysphere
        backports.ssl_match_hostname
+       lockfile
 changedir = docs
 commands = python ../contrib/generate_provider_feature_matrix_table.py
            sphinx-apidoc -d 4 ../libcloud/ -o apidocs/
@@ -43,6 +44,7 @@ commands = python ../contrib/generate_provider_feature_matrix_table.py
 deps = sphinx
        pysphere
        backports.ssl_match_hostname
+       lockfile
 changedir = docs
 commands = python ../contrib/generate_provider_feature_matrix_table.py
            sphinx-build -b html -d {envtmpdir}/doctrees . _build/html
@@ -56,6 +58,7 @@ commands = python contrib/scrape-ec2-prices.py
 deps = -r{toxinidir}/requirements-tests.txt
        backports.ssl_match_hostname
        bottle
+       lockfile
 commands = pylint -E --rcfile=./.pylintrc libcloud/common/
            pylint -E --rcfile=./.pylintrc libcloud/container/
            pylint -E --rcfile=./.pylintrc libcloud/backup/
@@ -68,6 +71,7 @@ commands = pylint -E --rcfile=./.pylintrc libcloud/common/
 [testenv:lint]
 deps = -r{toxinidir}/requirements-tests.txt
        backports.ssl_match_hostname
+       lockfile
 
 commands = flake8 --ignore=E402 --exclude="test" libcloud/
            flake8 --ignore=E402 --max-line-length=160 libcloud/test/


[2/2] libcloud git commit: Re-generate supported providers tables.

Posted by to...@apache.org.
Re-generate supported providers tables.


Project: http://git-wip-us.apache.org/repos/asf/libcloud/repo
Commit: http://git-wip-us.apache.org/repos/asf/libcloud/commit/f1bff481
Tree: http://git-wip-us.apache.org/repos/asf/libcloud/tree/f1bff481
Diff: http://git-wip-us.apache.org/repos/asf/libcloud/diff/f1bff481

Branch: refs/heads/trunk
Commit: f1bff48142bd942ce1e81abb9769be3dd09a3d76
Parents: 2611dc0
Author: Tomaz Muraus <to...@tomaz.me>
Authored: Wed Sep 6 16:27:37 2017 +0200
Committer: Tomaz Muraus <to...@tomaz.me>
Committed: Wed Sep 6 16:27:37 2017 +0200

----------------------------------------------------------------------
 docs/storage/_supported_methods_cdn.rst  | 2 ++
 docs/storage/_supported_methods_main.rst | 2 ++
 docs/storage/_supported_providers.rst    | 2 ++
 3 files changed, 6 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/libcloud/blob/f1bff481/docs/storage/_supported_methods_cdn.rst
----------------------------------------------------------------------
diff --git a/docs/storage/_supported_methods_cdn.rst b/docs/storage/_supported_methods_cdn.rst
index 5105f54..088b5ac 100644
--- a/docs/storage/_supported_methods_cdn.rst
+++ b/docs/storage/_supported_methods_cdn.rst
@@ -10,6 +10,7 @@ Provider                      enable container cdn enable object cdn get contain
 `CloudFiles`_                 yes                  no                yes                   yes               
 `Google Cloud Storage`_       no                   no                no                    no                
 `KTUCloud Storage`_           yes                  no                yes                   yes               
+`Local Storage`_              yes                  yes               yes                   yes               
 `Nimbus.io`_                  no                   no                no                    no                
 `Ninefold`_                   no                   yes               no                    yes               
 `OpenStack Swift`_            yes                  no                yes                   yes               
@@ -41,6 +42,7 @@ Provider                      enable container cdn enable object cdn get contain
 .. _`CloudFiles`: http://www.rackspace.com/
 .. _`Google Cloud Storage`: http://cloud.google.com/storage
 .. _`KTUCloud Storage`: http://www.rackspace.com/
+.. _`Local Storage`: http://example.com
 .. _`Nimbus.io`: https://nimbus.io/
 .. _`Ninefold`: http://ninefold.com/
 .. _`OpenStack Swift`: http://www.rackspace.com/

http://git-wip-us.apache.org/repos/asf/libcloud/blob/f1bff481/docs/storage/_supported_methods_main.rst
----------------------------------------------------------------------
diff --git a/docs/storage/_supported_methods_main.rst b/docs/storage/_supported_methods_main.rst
index d6da8fd..4f7eb96 100644
--- a/docs/storage/_supported_methods_main.rst
+++ b/docs/storage/_supported_methods_main.rst
@@ -10,6 +10,7 @@ Provider                      list containers list objects create container dele
 `CloudFiles`_                 yes             yes          yes              yes              yes           yes                     yes             yes                       yes          
 `Google Cloud Storage`_       yes             yes          yes              yes              yes           yes                     yes             yes                       yes          
 `KTUCloud Storage`_           yes             yes          yes              yes              yes           yes                     yes             yes                       yes          
+`Local Storage`_              yes             yes          yes              yes              yes           yes                     yes             yes                       yes          
 `Nimbus.io`_                  yes             no           yes              no               no            no                      no              no                        no           
 `Ninefold`_                   yes             yes          yes              yes              yes           yes                     yes             yes                       yes          
 `OpenStack Swift`_            yes             yes          yes              yes              yes           yes                     yes             yes                       yes          
@@ -41,6 +42,7 @@ Provider                      list containers list objects create container dele
 .. _`CloudFiles`: http://www.rackspace.com/
 .. _`Google Cloud Storage`: http://cloud.google.com/storage
 .. _`KTUCloud Storage`: http://www.rackspace.com/
+.. _`Local Storage`: http://example.com
 .. _`Nimbus.io`: https://nimbus.io/
 .. _`Ninefold`: http://ninefold.com/
 .. _`OpenStack Swift`: http://www.rackspace.com/

http://git-wip-us.apache.org/repos/asf/libcloud/blob/f1bff481/docs/storage/_supported_providers.rst
----------------------------------------------------------------------
diff --git a/docs/storage/_supported_providers.rst b/docs/storage/_supported_providers.rst
index 0daebb8..8f7f51e 100644
--- a/docs/storage/_supported_providers.rst
+++ b/docs/storage/_supported_providers.rst
@@ -10,6 +10,7 @@ Provider                      Documentation                                   Pr
 `CloudFiles`_                                                                 CLOUDFILES        dfw, hkg, iad, lon, ord, syd :mod:`libcloud.storage.drivers.cloudfiles`     :class:`CloudFilesStorageDriver`    
 `Google Cloud Storage`_       :doc:`Click </storage/drivers/google_storage>`  GOOGLE_STORAGE    single region driver         :mod:`libcloud.storage.drivers.google_storage` :class:`GoogleStorageDriver`        
 `KTUCloud Storage`_                                                           KTUCLOUD          dfw, hkg, iad, lon, ord, syd :mod:`libcloud.storage.drivers.ktucloud`       :class:`KTUCloudStorageDriver`      
+`Local Storage`_                                                              LOCAL             single region driver         :mod:`libcloud.storage.drivers.local`          :class:`LocalStorageDriver`         
 `Nimbus.io`_                                                                  NIMBUS            single region driver         :mod:`libcloud.storage.drivers.nimbus`         :class:`NimbusStorageDriver`        
 `Ninefold`_                                                                   NINEFOLD          single region driver         :mod:`libcloud.storage.drivers.ninefold`       :class:`NinefoldStorageDriver`      
 `OpenStack Swift`_            :doc:`Click </storage/drivers/openstack_swift>` OPENSTACK_SWIFT   dfw, hkg, iad, lon, ord, syd :mod:`libcloud.storage.drivers.cloudfiles`     :class:`OpenStackSwiftStorageDriver`
@@ -41,6 +42,7 @@ Provider                      Documentation                                   Pr
 .. _`CloudFiles`: http://www.rackspace.com/
 .. _`Google Cloud Storage`: http://cloud.google.com/storage
 .. _`KTUCloud Storage`: http://www.rackspace.com/
+.. _`Local Storage`: http://example.com
 .. _`Nimbus.io`: https://nimbus.io/
 .. _`Ninefold`: http://ninefold.com/
 .. _`OpenStack Swift`: http://www.rackspace.com/