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 2023/01/02 14:35:04 UTC
[libcloud] branch trunk updated (aaae2c084 -> 692359096)
This is an automated email from the ASF dual-hosted git repository.
tomaz pushed a change to branch trunk
in repository https://gitbox.apache.org/repos/asf/libcloud.git
from aaae2c084 Merge commit '96c32594b5504b4d29abcc9debd926aa0ac9160f' as '.github/actions/skip-duplicate-actions'
add d5ce84b1a Added AF-SOUTH-1 region support for S3 storage driver
add e8c87f0a8 Linting
add 57a85abef Linting
new 31417cf55 Merge branch 'add-support-for-af-south-1-in-s3-driver' of https://github.com/alier350/libcloud into alier350-add-support-for-af-south-1-in-s3-driver
new ac44e072c Remove region specific classes which are not needed anymore.
new 22ebb5456 Re-generate provider tables.
new d5782397b Add changelog entry for #1821.
new 692359096 Fix lint.
The 5 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
Summary of changes:
CHANGES.rst | 7 ++++++
docs/storage/_supported_providers.rst | 44 +++++++++++++++++------------------
libcloud/storage/drivers/s3.py | 2 ++
3 files changed, 31 insertions(+), 22 deletions(-)
[libcloud] 01/05: Merge branch 'add-support-for-af-south-1-in-s3-driver' of https://github.com/alier350/libcloud into alier350-add-support-for-af-south-1-in-s3-driver
Posted by to...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
tomaz pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/libcloud.git
commit 31417cf55e74c2e49663a54050da1b6922314e43
Merge: aaae2c084 57a85abef
Author: Tomaz Muraus <to...@tomaz.me>
AuthorDate: Mon Jan 2 15:08:32 2023 +0100
Merge branch 'add-support-for-af-south-1-in-s3-driver' of https://github.com/alier350/libcloud into alier350-add-support-for-af-south-1-in-s3-driver
libcloud/storage/drivers/s3.py | 14 ++++++++++++++
1 file changed, 14 insertions(+)
[libcloud] 02/05: Remove region specific classes which are not needed anymore.
Posted by to...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
tomaz pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/libcloud.git
commit ac44e072c0f410ee0df0ebf2303135743dae384a
Author: Tomaz Muraus <to...@tomaz.me>
AuthorDate: Mon Jan 2 15:10:38 2023 +0100
Remove region specific classes which are not needed anymore.
---
libcloud/storage/drivers/s3.py | 12 ------------
1 file changed, 12 deletions(-)
diff --git a/libcloud/storage/drivers/s3.py b/libcloud/storage/drivers/s3.py
index aa44d991c..44fe7f7e9 100644
--- a/libcloud/storage/drivers/s3.py
+++ b/libcloud/storage/drivers/s3.py
@@ -1402,17 +1402,6 @@ class S3CNNorthStorageDriver(S3StorageDriver):
region_name = "cn-north-1"
-class S3AFSouthConnection(S3SignatureV4Connection):
- host = S3_AF_SOUTH1_HOST
-
-
-class S3AFSouthStorageDriver(S3StorageDriver):
- name = "Amazon S3 (af-south-1)"
- connectionCls = S3AFSouthConnection
- ex_location_name = "af-south-1"
- region_name = "af-south-1"
-
-
class S3EUWestConnection(S3SignatureV4Connection):
host = S3_EU_WEST_HOST
@@ -1538,4 +1527,3 @@ class S3CACentralStorageDriver(S3StorageDriver):
connectionCls = S3CACentralConnection
ex_location_name = "ca-central-1"
region_name = "ca-central-1"
-
\ No newline at end of file
[libcloud] 04/05: Add changelog entry for #1821.
Posted by to...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
tomaz pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/libcloud.git
commit d5782397b162b235bac78a135675076d87416849
Author: Tomaz Muraus <to...@tomaz.me>
AuthorDate: Mon Jan 2 15:11:57 2023 +0100
Add changelog entry for #1821.
---
CHANGES.rst | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/CHANGES.rst b/CHANGES.rst
index 3546699f1..45c091cb0 100644
--- a/CHANGES.rst
+++ b/CHANGES.rst
@@ -25,6 +25,13 @@ Compute
(GITHUB-1806, GITHUB-1807)
[Veith Röthlingshöfer - @RunOrVeith]
+Storage
+~~~~~~~
+
+- [Amazon S3] Add support for ``af-south-1`` region.
+ (GITHUB-1821)
+ [@alier350]
+
Other
~~~~~
[libcloud] 03/05: Re-generate provider tables.
Posted by to...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
tomaz pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/libcloud.git
commit 22ebb54565515ed6d3af9605a71fc4db4a3c74b6
Author: Tomaz Muraus <to...@tomaz.me>
AuthorDate: Mon Jan 2 15:10:49 2023 +0100
Re-generate provider tables.
---
docs/storage/_supported_providers.rst | 44 +++++++++++++++++------------------
1 file changed, 22 insertions(+), 22 deletions(-)
diff --git a/docs/storage/_supported_providers.rst b/docs/storage/_supported_providers.rst
index 9ef0df823..17e8e8535 100644
--- a/docs/storage/_supported_providers.rst
+++ b/docs/storage/_supported_providers.rst
@@ -1,27 +1,27 @@
.. NOTE: This file has been generated automatically using generate_provider_feature_matrix_table.py script, don't manually edit it
-========================== =================================================== =================== =========================================================================================================================================================================================================================================================================================================== =================================================== ========================================
-Provider Documentation Provider Constant Supported Regions Module Class Name
-========================== =================================================== =================== =========================================================================================================================================================================================================================================================================================================== =================================================== ========================================
-`Aliyun OSS`_ ALIYUN_OSS single region driver :mod:`libcloud.storage.drivers.oss` :class:`OSSStorageDriver`
-`PCextreme AuroraObjects`_ :doc:`Click </storage/drivers/auroraobjects>` AURORAOBJECTS single region driver :mod:`libcloud.storage.drivers.auroraobjects` :class:`AuroraObjectsStorageDriver`
-`Microsoft Azure (blobs)`_ :doc:`Click </storage/drivers/azure_blobs>` AZURE_BLOBS single region driver :mod:`libcloud.storage.drivers.azure_blobs` :class:`AzureBlobsStorageDriver`
-`Backblaze B2`_ :doc:`Click </storage/drivers/backblaze_b2>` BACKBLAZE_B2 single region driver :mod:`libcloud.storage.drivers.backblaze_b2` :class:`BackblazeB2StorageDriver`
-`CloudFiles`_ CLOUDFILES dfw, hkg, iad, lon, ord, syd :mod:`libcloud.storage.drivers.cloudfiles` :class:`CloudFilesStorageDriver`
-`DigitalOcean Spaces`_ :doc:`Click </storage/drivers/digitalocean_spaces>` DIGITALOCEAN_SPACES single region driver :mod:`libcloud.storage.drivers.digitalocean_spaces` :class:`DigitalOceanSpacesStorageDriver`
-`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`
-`MinIO Storage Driver`_ :doc:`Click </storage/drivers/minio>` MINIO single region driver :mod:`libcloud.storage.drivers.minio` :class:`MinIOStorageDriver`
-`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`
-`Ovh Storage Driver`_ OVH gra, sbg :mod:`libcloud.storage.drivers.ovh` :class:`OvhStorageDriver`
-`Amazon S3`_ :doc:`Click </storage/drivers/s3>` S3 ap-northeast-1, ap-northeast-2, ap-northeast-3, ap-south-1, ap-southeast-1, ap-southeast-2, ca-central-1, cn-north-1, cn-northwest-1, eu-central-1, eu-north-1, eu-west-1, eu-west-2, eu-west-3, me-south-1, sa-east-1, sa-east-2, us-east-1, us-east-2, us-gov-east-1, us-gov-west-1, us-west-1, us-west-2 :mod:`libcloud.storage.drivers.s3` :class:`S3StorageDriver`
-`Ceph RGW`_ S3_RGW single region driver :mod:`libcloud.storage.drivers.rgw` :class:`S3RGWStorageDriver`
-`RGW Outscale`_ S3_RGW_OUTSCALE single region driver :mod:`libcloud.storage.drivers.rgw` :class:`S3RGWOutscaleStorageDriver`
-`Scaleway Storage Driver`_ :doc:`Click </storage/drivers/scaleway>` SCALEWAY fr-par, nl-ams, pl-waw :mod:`libcloud.storage.drivers.scaleway` :class:`ScalewayStorageDriver`
-========================== =================================================== =================== =========================================================================================================================================================================================================================================================================================================== =================================================== ========================================
+========================== =================================================== =================== ======================================================================================================================================================================================================================================================================================================================= =================================================== ============================= [...]
+Provider Documentation Provider Constant Supported Regions Module Class Name [...]
+========================== =================================================== =================== ======================================================================================================================================================================================================================================================================================================================= =================================================== ============================= [...]
+`Aliyun OSS`_ ALIYUN_OSS single region driver :mod:`libcloud.storage.drivers.oss` :class:`OSSStorageDriver` [...]
+`PCextreme AuroraObjects`_ :doc:`Click </storage/drivers/auroraobjects>` AURORAOBJECTS single region driver :mod:`libcloud.storage.drivers.auroraobjects` :class:`AuroraObjectsStorageD [...]
+`Microsoft Azure (blobs)`_ :doc:`Click </storage/drivers/azure_blobs>` AZURE_BLOBS single region driver :mod:`libcloud.storage.drivers.azure_blobs` :class:`AzureBlobsStorageDriv [...]
+`Backblaze B2`_ :doc:`Click </storage/drivers/backblaze_b2>` BACKBLAZE_B2 single region driver :mod:`libcloud.storage.drivers.backblaze_b2` :class:`BackblazeB2StorageDri [...]
+`CloudFiles`_ CLOUDFILES dfw, hkg, iad, lon, ord, syd :mod:`libcloud.storage.drivers.cloudfiles` :class:`CloudFilesStorageDriv [...]
+`DigitalOcean Spaces`_ :doc:`Click </storage/drivers/digitalocean_spaces>` DIGITALOCEAN_SPACES single region driver :mod:`libcloud.storage.drivers.digitalocean_spaces` :class:`DigitalOceanSpacesSto [...]
+`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` [...]
+`MinIO Storage Driver`_ :doc:`Click </storage/drivers/minio>` MINIO single region driver :mod:`libcloud.storage.drivers.minio` :class:`MinIOStorageDriver` [...]
+`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:`OpenStackSwiftStorage [...]
+`Ovh Storage Driver`_ OVH gra, sbg :mod:`libcloud.storage.drivers.ovh` :class:`OvhStorageDriver` [...]
+`Amazon S3`_ :doc:`Click </storage/drivers/s3>` S3 af-south-1, ap-northeast-1, ap-northeast-2, ap-northeast-3, ap-south-1, ap-southeast-1, ap-southeast-2, ca-central-1, cn-north-1, cn-northwest-1, eu-central-1, eu-north-1, eu-west-1, eu-west-2, eu-west-3, me-south-1, sa-east-1, sa-east-2, us-east-1, us-east-2, us-gov-east-1, us-gov-west-1, us-west-1, us-west-2 :mod:`libcloud.storage.drivers.s3` :class:`S3StorageDriver` [...]
+`Ceph RGW`_ S3_RGW single region driver :mod:`libcloud.storage.drivers.rgw` :class:`S3RGWStorageDriver` [...]
+`RGW Outscale`_ S3_RGW_OUTSCALE single region driver :mod:`libcloud.storage.drivers.rgw` :class:`S3RGWOutscaleStorageD [...]
+`Scaleway Storage Driver`_ :doc:`Click </storage/drivers/scaleway>` SCALEWAY fr-par, nl-ams, pl-waw :mod:`libcloud.storage.drivers.scaleway` :class:`ScalewayStorageDriver [...]
+========================== =================================================== =================== ======================================================================================================================================================================================================================================================================================================================= =================================================== ============================= [...]
.. _`Aliyun OSS`: http://www.aliyun.com/product/oss
.. _`PCextreme AuroraObjects`: https://www.pcextreme.com/aurora/objects
[libcloud] 05/05: Fix lint.
Posted by to...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
tomaz pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/libcloud.git
commit 692359096c6330f37b00204a18d7be1d62dd34d0
Author: Tomaz Muraus <to...@tomaz.me>
AuthorDate: Mon Jan 2 15:34:38 2023 +0100
Fix lint.
---
libcloud/storage/drivers/s3.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libcloud/storage/drivers/s3.py b/libcloud/storage/drivers/s3.py
index 44fe7f7e9..31ef851b9 100644
--- a/libcloud/storage/drivers/s3.py
+++ b/libcloud/storage/drivers/s3.py
@@ -78,7 +78,7 @@ S3_AP_NORTHEAST_HOST = S3_AP_NORTHEAST1_HOST
S3_SA_EAST_HOST = "s3-sa-east-1.amazonaws.com"
S3_SA_SOUTHEAST2_HOST = "s3-sa-east-2.amazonaws.com"
S3_CA_CENTRAL_HOST = "s3-ca-central-1.amazonaws.com"
-S3_AF_SOUTH1_HOST= "s3.af-south-1.amazonaws.com"
+S3_AF_SOUTH1_HOST = "s3.af-south-1.amazonaws.com"
# Maps AWS region name to connection hostname
REGION_TO_HOST_MAP = {