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 2020/12/06 16:18:21 UTC
[libcloud] branch trunk updated (2e8b8de -> c0c4743)
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 2e8b8de Add changelog entry.
add 0e52e44 Added and rework some feature for more compliance with base driver
add 63965b4 Account Features for osc driver + corresponding documentation
add 538a00e corrected typo and pep8 format
add 87a46d3 Tags features working
add 8a40533 ex_list_tag working
add 50d3561 Rework of locations and regions methods
add ab8b99b Access Key Features are working for osc provider
add 0ef321f Client Gateway Features for Outscale Provider
add f805ec8 Dhcp Options feqtures for outscale providers
add 7dffba3 Direct Link Featues added to outscale Provider
add 87bd7dd Direct Link Interfaces Features added to outscale Provider
add 05c57dc Flexible Gpu Features added to outscale Provider
add 98088a5 Internet Services Features added to outscale Provider
add 05ad793 Listener Rules Features added to outscale Provider
add 14a7503 Load Balancer Features added to outscale Provider
add d12bd5c Load Balancer Policy Features added to outscale Provider
add 62a12cf Nat Services Features added to outscale Provider
add 9fc1a17 Net Features added to outscale Provider
add 1045e1e Net Access Points Features added to outscale Provider
add a5b1dba Net Peerings Features added to outscale Provider
add 48e0ba5 Nics Features added to outscale Provider
add cff21f8 Fixed a typo
add f958da6 Changed methods name in osc provider for more compliance with base methods name
add 370e6fc prodcut types and quotas added to outscale Provider
add 33ceac9 route features added to outscale Provider
add 7f22aec route tables features added to outscale Provider
add 0e340d3 Add new images features for outscale provider
add a3dfe22 change description in image
add 164367c Add new snapshot features for outscale provider
add 3f81a89 Add new snapshot features for outscale provider
add 5d63ec8 Add new server certificate features for outscale provider
add 309c430 Add new virtual gateway features for outscale provider
add 5451eb8 corrected some typo
add bfb0eee Fixed conflits in outscale.py and outscale.rst
add b65a512 fixed typos
add 6c387e4 Add new accounts features for outscale provider
add 88b5e91 Fix bad return value
add 1ffc267 Corrected a print
add 2e209e6 Load Balancer last features added to outscale Provider
add e7f2b9c security groups features added to outscale Provider
add cef0e74 security group rules features added to outscale Provider
add 9b67146 subnets features added to outscale Provider
add 99936bd tasks features added to outscale Provider
add cad4e86 vpn connections features added to outscale Provider
add 3cceb9c new vms features added to outscale Provider
add fd5991b Merge branch 'trunk' into osc_provider_new_accounts_features
add 5ca98c4 Merge pull request #1 from outscale-dev/osc_provider_new_accounts_features
add 6197cc3 Merge branch 'trunk' of github.com:apache/libcloud into trunk
add 718644a fixed a typo
add 070a75c Merge branch 'trunk' of github.com:apache/libcloud into trunk
add e89f269 Merge branch 'trunk' of github.com:outscale-dev/libcloud into trunk
add 8d7fa82 merge osc_provider_new_images_features with trunk
add 58bf78c Merge pull request #2 from outscale-dev/osc_provider_new_image_features
add b276f57 fixing some minor error in osc provider for new extern features
add e1a54df Add new images features for outscale provider
add c7e7569 corrected some errors of typo and update list_image
add c1c8ea2 Merge pull request #3 from outscale-dev/new_images_features
add 0a74c64 Merge branch 'trunk' of github.com:outscale-dev/libcloud into fix_osc_provider_new_features
add 29f532c fix a typo in outscale documentation
add 975961e pep8 compliant
add 800d620 Merge branch 'trunk' of github.com:apache/libcloud into trunk
add 89a9f0d pep8 compliant
add 165c356 docstring update for outscale provider
add 8509bdd docstring update for outscale provider
add ad3e73b changes after PR review
add 6c987a9 Merge branch 'trunk' of github.com:apache/libcloud into trunk
new 785536e Merge branch 'trunk' of https://github.com/outscale-dev/libcloud into trunk
new 9422227 Add changelog entry.
new e0f3e0d Re-generate provider tables.
new 4e756b1 Upgrade sphinx to latest version.
new 6fbb029 Upgrade to latest version of sphinx.
new c0c4743 Fix docs issues, use multiple workers to speed up docs build.
The 6 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 | 5 +
docs/compute/_supported_methods_block_storage.rst | 6 +-
.../_supported_methods_image_management.rst | 4 +-
.../_supported_methods_key_pair_management.rst | 4 +-
docs/compute/_supported_methods_main.rst | 6 +-
docs/compute/_supported_providers.rst | 4 +-
docs/compute/drivers/outscale.rst | 249 +-
docs/conf.py | 50 +-
libcloud/common/dimensiondata.py | 2 +-
libcloud/compute/drivers/outscale.py | 6961 +++++++++++++++++++-
libcloud/dns/drivers/buddyns.py | 4 +-
tox.ini | 12 +-
12 files changed, 7158 insertions(+), 149 deletions(-)
[libcloud] 03/06: 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 e0f3e0db67d8f4b85ade8a56150f8d1dadd5770c
Author: Tomaz Muraus <to...@tomaz.me>
AuthorDate: Sun Dec 6 16:41:25 2020 +0100
Re-generate provider tables.
---
docs/compute/_supported_methods_block_storage.rst | 6 +++---
docs/compute/_supported_methods_image_management.rst | 4 ++--
docs/compute/_supported_methods_key_pair_management.rst | 4 ++--
docs/compute/_supported_methods_main.rst | 6 +++---
docs/compute/_supported_providers.rst | 4 ++--
5 files changed, 12 insertions(+), 12 deletions(-)
diff --git a/docs/compute/_supported_methods_block_storage.rst b/docs/compute/_supported_methods_block_storage.rst
index 4d24dfb..ac40c29 100644
--- a/docs/compute/_supported_methods_block_storage.rst
+++ b/docs/compute/_supported_methods_block_storage.rst
@@ -20,6 +20,7 @@ Provider list volumes create volume destroy volume
`Amazon EC2`_ yes yes yes yes yes yes yes
`Enomaly Elastic Computing Platform`_ no no no no no no no
`ElasticHosts`_ no no no no no no no
+`EquinixMetal`_ yes yes yes yes yes yes yes
`Eucalyptus`_ yes yes yes yes yes yes yes
`Exoscale`_ yes yes yes yes yes no yes
`Gandi`_ yes yes yes yes yes no no
@@ -48,11 +49,10 @@ Provider list volumes create volume destroy volume
`1and1`_ no no no no no no no
`OpenNebula (v3.8)`_ yes yes yes yes yes no no
`OpenStack`_ yes yes yes yes yes no no
-`Outscale API`_ yes yes yes yes yes no yes
+`Outscale API`_ yes yes yes yes yes yes yes
`Outscale INC`_ yes yes yes yes yes yes yes
`Outscale SAS`_ yes yes yes yes yes yes yes
`Ovh`_ yes yes yes yes yes yes yes
-`Packet`_ yes yes yes yes yes yes yes
`ProfitBricks`_ yes yes yes yes yes no yes
`Rackspace Cloud (Next Gen)`_ yes yes yes yes yes yes yes
`Rackspace Cloud (First Gen)`_ yes yes yes yes yes no no
@@ -88,6 +88,7 @@ Provider list volumes create volume destroy volume
.. _`Amazon EC2`: http://aws.amazon.com/ec2/
.. _`Enomaly Elastic Computing Platform`: http://www.enomaly.com/
.. _`ElasticHosts`: http://www.elastichosts.com/
+.. _`EquinixMetal`: https://metal.equinix.com/
.. _`Eucalyptus`: http://www.eucalyptus.com/
.. _`Exoscale`: https://www.exoscale.com/
.. _`Gandi`: http://www.gandi.net/
@@ -120,7 +121,6 @@ Provider list volumes create volume destroy volume
.. _`Outscale INC`: http://www.outscale.com
.. _`Outscale SAS`: http://www.outscale.com
.. _`Ovh`: https://www.ovh.com/
-.. _`Packet`: http://www.packet.com/
.. _`ProfitBricks`: http://www.profitbricks.com
.. _`Rackspace Cloud (Next Gen)`: http://www.rackspace.com
.. _`Rackspace Cloud (First Gen)`: http://www.rackspace.com
diff --git a/docs/compute/_supported_methods_image_management.rst b/docs/compute/_supported_methods_image_management.rst
index 6a82123..0bfbdd0 100644
--- a/docs/compute/_supported_methods_image_management.rst
+++ b/docs/compute/_supported_methods_image_management.rst
@@ -20,6 +20,7 @@ Provider list images get image create image delete
`Amazon EC2`_ yes yes yes yes yes
`Enomaly Elastic Computing Platform`_ yes no no no no
`ElasticHosts`_ yes no no no no
+`EquinixMetal`_ yes no no no no
`Eucalyptus`_ yes yes yes yes yes
`Exoscale`_ yes no no no no
`Gandi`_ yes no no no no
@@ -52,7 +53,6 @@ Provider list images get image create image delete
`Outscale INC`_ yes yes yes yes yes
`Outscale SAS`_ yes yes yes yes yes
`Ovh`_ yes yes no no no
-`Packet`_ yes no no no no
`ProfitBricks`_ yes no no no no
`Rackspace Cloud (Next Gen)`_ yes yes yes yes no
`Rackspace Cloud (First Gen)`_ yes yes yes yes no
@@ -88,6 +88,7 @@ Provider list images get image create image delete
.. _`Amazon EC2`: http://aws.amazon.com/ec2/
.. _`Enomaly Elastic Computing Platform`: http://www.enomaly.com/
.. _`ElasticHosts`: http://www.elastichosts.com/
+.. _`EquinixMetal`: https://metal.equinix.com/
.. _`Eucalyptus`: http://www.eucalyptus.com/
.. _`Exoscale`: https://www.exoscale.com/
.. _`Gandi`: http://www.gandi.net/
@@ -120,7 +121,6 @@ Provider list images get image create image delete
.. _`Outscale INC`: http://www.outscale.com
.. _`Outscale SAS`: http://www.outscale.com
.. _`Ovh`: https://www.ovh.com/
-.. _`Packet`: http://www.packet.com/
.. _`ProfitBricks`: http://www.profitbricks.com
.. _`Rackspace Cloud (Next Gen)`: http://www.rackspace.com
.. _`Rackspace Cloud (First Gen)`: http://www.rackspace.com
diff --git a/docs/compute/_supported_methods_key_pair_management.rst b/docs/compute/_supported_methods_key_pair_management.rst
index cb2c0de..756c804 100644
--- a/docs/compute/_supported_methods_key_pair_management.rst
+++ b/docs/compute/_supported_methods_key_pair_management.rst
@@ -20,6 +20,7 @@ Provider list key pairs get key pair create key pai
`Amazon EC2`_ yes yes yes yes no yes
`Enomaly Elastic Computing Platform`_ no no no no no no
`ElasticHosts`_ no no no no no no
+`EquinixMetal`_ yes no yes no no yes
`Eucalyptus`_ yes yes yes yes no yes
`Exoscale`_ yes yes yes yes no yes
`Gandi`_ yes yes no yes no yes
@@ -52,7 +53,6 @@ Provider list key pairs get key pair create key pai
`Outscale INC`_ yes yes yes yes no yes
`Outscale SAS`_ yes yes yes yes no yes
`Ovh`_ yes yes no yes no yes
-`Packet`_ yes no yes no no yes
`ProfitBricks`_ no no no no no no
`Rackspace Cloud (Next Gen)`_ yes yes yes yes no yes
`Rackspace Cloud (First Gen)`_ no no no no no no
@@ -88,6 +88,7 @@ Provider list key pairs get key pair create key pai
.. _`Amazon EC2`: http://aws.amazon.com/ec2/
.. _`Enomaly Elastic Computing Platform`: http://www.enomaly.com/
.. _`ElasticHosts`: http://www.elastichosts.com/
+.. _`EquinixMetal`: https://metal.equinix.com/
.. _`Eucalyptus`: http://www.eucalyptus.com/
.. _`Exoscale`: https://www.exoscale.com/
.. _`Gandi`: http://www.gandi.net/
@@ -120,7 +121,6 @@ Provider list key pairs get key pair create key pai
.. _`Outscale INC`: http://www.outscale.com
.. _`Outscale SAS`: http://www.outscale.com
.. _`Ovh`: https://www.ovh.com/
-.. _`Packet`: http://www.packet.com/
.. _`ProfitBricks`: http://www.profitbricks.com
.. _`Rackspace Cloud (Next Gen)`: http://www.rackspace.com
.. _`Rackspace Cloud (First Gen)`: http://www.rackspace.com
diff --git a/docs/compute/_supported_methods_main.rst b/docs/compute/_supported_methods_main.rst
index bf6418c..9787747 100644
--- a/docs/compute/_supported_methods_main.rst
+++ b/docs/compute/_supported_methods_main.rst
@@ -20,6 +20,7 @@ Provider list nodes create node reboot node destroy
`Amazon EC2`_ yes yes yes yes yes yes yes yes yes
`Enomaly Elastic Computing Platform`_ yes yes yes yes no no yes yes no
`ElasticHosts`_ yes yes yes yes no no yes yes yes
+`EquinixMetal`_ yes yes yes yes yes yes yes yes no
`Eucalyptus`_ yes yes yes yes yes yes yes yes yes
`Exoscale`_ yes yes yes yes no no yes yes yes
`Gandi`_ yes yes yes yes no no yes yes no
@@ -48,11 +49,10 @@ Provider list nodes create node reboot node destroy
`1and1`_ yes yes yes yes no no yes yes no
`OpenNebula (v3.8)`_ yes yes yes yes no no yes yes no
`OpenStack`_ yes no yes yes yes yes yes yes no
-`Outscale API`_ yes yes yes yes no no yes no no
+`Outscale API`_ yes yes yes yes yes yes yes no no
`Outscale INC`_ yes yes yes yes yes yes yes yes yes
`Outscale SAS`_ yes yes yes yes yes yes yes yes yes
`Ovh`_ yes yes no yes no no yes yes yes
-`Packet`_ yes yes yes yes yes yes yes yes no
`ProfitBricks`_ yes yes yes yes yes yes yes yes no
`Rackspace Cloud (Next Gen)`_ yes yes yes yes yes yes yes yes yes
`Rackspace Cloud (First Gen)`_ yes yes yes yes yes yes yes yes yes
@@ -88,6 +88,7 @@ Provider list nodes create node reboot node destroy
.. _`Amazon EC2`: http://aws.amazon.com/ec2/
.. _`Enomaly Elastic Computing Platform`: http://www.enomaly.com/
.. _`ElasticHosts`: http://www.elastichosts.com/
+.. _`EquinixMetal`: https://metal.equinix.com/
.. _`Eucalyptus`: http://www.eucalyptus.com/
.. _`Exoscale`: https://www.exoscale.com/
.. _`Gandi`: http://www.gandi.net/
@@ -120,7 +121,6 @@ Provider list nodes create node reboot node destroy
.. _`Outscale INC`: http://www.outscale.com
.. _`Outscale SAS`: http://www.outscale.com
.. _`Ovh`: https://www.ovh.com/
-.. _`Packet`: http://www.packet.com/
.. _`ProfitBricks`: http://www.profitbricks.com
.. _`Rackspace Cloud (Next Gen)`: http://www.rackspace.com
.. _`Rackspace Cloud (First Gen)`: http://www.rackspace.com
diff --git a/docs/compute/_supported_providers.rst b/docs/compute/_supported_providers.rst
index 65bf608..e7225c8 100644
--- a/docs/compute/_supported_providers.rst
+++ b/docs/compute/_supported_providers.rst
@@ -20,6 +20,7 @@ Provider Documentation
`Amazon EC2`_ :doc:`Click </compute/drivers/ec2>` EC2 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, sa-east-1, us-east-1, us-east-2, us-gov-west-1, us-west-1, us-west-2 :mod:`libcloud.compute.drivers.ec2` :class:`EC2NodeDriver`
`Enomaly Elastic Computing Platform`_ ECP single region driver :mod:`libcloud.compute.drivers.ecp` :class:`ECPNodeDriver`
`ElasticHosts`_ ELASTICHOSTS single region driver :mod:`libcloud.compute.drivers.elastichosts` :class:`ElasticHostsNodeDriver`
+`EquinixMetal`_ :doc:`Click </compute/drivers/equinixmetal>` EQUINIXMETAL single region driver :mod:`libcloud.compute.drivers.equinixmetal` :class:`EquinixMetalNodeDriver`
`Eucalyptus`_ EUCALYPTUS single region driver :mod:`libcloud.compute.drivers.ec2` :class:`EucNodeDriver`
`Exoscale`_ :doc:`Click </compute/drivers/exoscale>` EXOSCALE single region driver :mod:`libcloud.compute.drivers.exoscale` :class:`ExoscaleNodeDriver`
`Gandi`_ :doc:`Click </compute/drivers/gandi>` GANDI single region driver :mod:`libcloud.compute.drivers.gandi` :class:`GandiNodeDriver`
@@ -52,7 +53,6 @@ Provider Documentation
`Outscale INC`_ :doc:`Click </compute/drivers/outscale_inc>` OUTSCALE_INC single region driver :mod:`libcloud.compute.drivers.ec2` :class:`OutscaleINCNodeDriver`
`Outscale SAS`_ :doc:`Click </compute/drivers/outscale_sas>` OUTSCALE_SAS single region driver :mod:`libcloud.compute.drivers.ec2` :class:`OutscaleSASNodeDriver`
`Ovh`_ :doc:`Click </compute/drivers/ovh>` OVH ca, eu :mod:`libcloud.compute.drivers.ovh` :class:`OvhNodeDriver`
-`Packet`_ :doc:`Click </compute/drivers/packet>` PACKET single region driver :mod:`libcloud.compute.drivers.packet` :class:`PacketNodeDriver`
`ProfitBricks`_ PROFIT_BRICKS single region driver :mod:`libcloud.compute.drivers.profitbricks` :class:`ProfitBricksNodeDriver`
`Rackspace Cloud (Next Gen)`_ :doc:`Click </compute/drivers/rackspace>` RACKSPACE single region driver :mod:`libcloud.compute.drivers.rackspace` :class:`RackspaceNodeDriver`
`Rackspace Cloud (First Gen)`_ RACKSPACE_FIRST_GEN single region driver :mod:`libcloud.compute.drivers.rackspace` :class:`RackspaceFirstGenNodeDriver`
@@ -88,6 +88,7 @@ Provider Documentation
.. _`Amazon EC2`: http://aws.amazon.com/ec2/
.. _`Enomaly Elastic Computing Platform`: http://www.enomaly.com/
.. _`ElasticHosts`: http://www.elastichosts.com/
+.. _`EquinixMetal`: https://metal.equinix.com/
.. _`Eucalyptus`: http://www.eucalyptus.com/
.. _`Exoscale`: https://www.exoscale.com/
.. _`Gandi`: http://www.gandi.net/
@@ -120,7 +121,6 @@ Provider Documentation
.. _`Outscale INC`: http://www.outscale.com
.. _`Outscale SAS`: http://www.outscale.com
.. _`Ovh`: https://www.ovh.com/
-.. _`Packet`: http://www.packet.com/
.. _`ProfitBricks`: http://www.profitbricks.com
.. _`Rackspace Cloud (Next Gen)`: http://www.rackspace.com
.. _`Rackspace Cloud (First Gen)`: http://www.rackspace.com
[libcloud] 06/06: Fix docs issues,
use multiple workers to speed up docs build.
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 c0c474374284f1d1d5db7b5a9fec26632e4a7362
Author: Tomaz Muraus <to...@tomaz.me>
AuthorDate: Sun Dec 6 17:09:37 2020 +0100
Fix docs issues, use multiple workers to speed up docs build.
---
docs/conf.py | 6 +++++-
libcloud/common/dimensiondata.py | 2 +-
libcloud/dns/drivers/buddyns.py | 4 ++--
tox.ini | 8 ++++++--
4 files changed, 14 insertions(+), 6 deletions(-)
diff --git a/docs/conf.py b/docs/conf.py
index 9f9917b..a3de322 100644
--- a/docs/conf.py
+++ b/docs/conf.py
@@ -276,6 +276,10 @@ autoclass_content = 'both'
# Ignore "more than one target found for cross-reference" errors which are false
# non fatal / false positive
+autodoc_warningiserror = False
+
suppress_warnings = [
- 'ref.python'
+ 'ref.python',
+ 'autodoc.*',
+ 'misc.highlighting_failure',
]
diff --git a/libcloud/common/dimensiondata.py b/libcloud/common/dimensiondata.py
index 99edc9c..237975d 100644
--- a/libcloud/common/dimensiondata.py
+++ b/libcloud/common/dimensiondata.py
@@ -1601,7 +1601,7 @@ class DimensionDataIpAddressList(object):
:type create_time: ``date time``
:param child_ip_address_lists: List of IP address list to be included
- :type child_ip_address_lists: List
+ :type child_ip_address_lists: List \
of :class:'DimensionDataIpAddressList'
"""
self.id = id
diff --git a/libcloud/dns/drivers/buddyns.py b/libcloud/dns/drivers/buddyns.py
index 5779a1b..1d6d8b2 100644
--- a/libcloud/dns/drivers/buddyns.py
+++ b/libcloud/dns/drivers/buddyns.py
@@ -76,8 +76,8 @@ class BuddyNSDNSDriver(DNSDriver):
:param domain: Zone domain name (e.g. example.com)
:type domain: ``str``
- :param type: Zone type (This is not really used. See API docs for extra
- parameters)
+ :param type: Zone type (This is not really used. See API docs for \
+ extra parameters)
:type type: ``str``
:param ttl: TTL for new records (This is used through the extra param)
diff --git a/tox.ini b/tox.ini
index 350998c..3e228ad 100644
--- a/tox.ini
+++ b/tox.ini
@@ -75,13 +75,15 @@ commands = bash -c "pip show requests && exit 1 || exit 0"
deps = pyopenssl==19.1.0
fasteners
rstcheck
+ requests_mock
changedir = docs
commands = pip install sphinx==3.3.1
rstcheck --report warning ../CHANGES.rst
python ../contrib/generate_provider_feature_matrix_table.py
sphinx-apidoc -d 4 ../libcloud/ -o apidocs/
/bin/bash -c "ls apidocs/modules.rst && (grep orphan apidocs/modules.rst || sed -i '1i :orphan:\n' apidocs/modules.rst) || (exit 0)"
- sphinx-build -W -b html -d {envtmpdir}/doctrees . _build/html
+ # TODO: Add -W back when we fix all the warnings in docstrings
+ sphinx-build -j auto -b html -d {envtmpdir}/doctrees . _build/html
[testenv:docs-travis]
# Note: We don't build API docs on Travis since it causes build failures because
@@ -89,6 +91,7 @@ commands = pip install sphinx==3.3.1
deps = pyopenssl==19.1.0
fasteners
rstcheck
+ requests_mock
changedir = docs
commands = pip install sphinx==3.3.1
rstcheck --report warning ../README.rst
@@ -96,7 +99,8 @@ commands = pip install sphinx==3.3.1
rstcheck --report warning ../CONTRIBUTING.rst
python ../contrib/generate_provider_feature_matrix_table.py
/bin/bash -c "ls apidocs/modules.rst && (grep orphan apidocs/modules.rst || sed -i '1i :orphan:\n' apidocs/modules.rst) || (exit 0)"
- sphinx-build -W -b html -d {envtmpdir}/doctrees . _build/html
+ # TODO: Add -W back when we fix all the warnings in docstrings
+ sphinx-build -j auto -b html -d {envtmpdir}/doctrees . _build/html
[testenv:provider-tables]
basepython: python3.7
[libcloud] 04/06: Upgrade sphinx to latest version.
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 4e756b19fcad0753b1b073dc3529af274be5e7f8
Author: Tomaz Muraus <to...@tomaz.me>
AuthorDate: Sun Dec 6 16:51:00 2020 +0100
Upgrade sphinx to latest version.
---
docs/conf.py | 32 ++++----------------------------
tox.ini | 8 ++++----
2 files changed, 8 insertions(+), 32 deletions(-)
diff --git a/docs/conf.py b/docs/conf.py
index 03f2fe0..617179c 100644
--- a/docs/conf.py
+++ b/docs/conf.py
@@ -18,8 +18,8 @@ import subprocess
from sphinx.environment import BuildEnvironment
-from sphinx.ext.autodoc import AutoDirective
-from sphinx.ext.autodoc import AutodocReporter
+#from sphinx.ext.autodoc import AutodocRegistry
+#from sphinx.ext.autodoc import AutodocReporter
from sphinx.domains.python import PythonDomain
@@ -280,30 +280,6 @@ intersphinx_mapping = {'http://docs.python.org/': None}
autoclass_content = 'both'
-
-# Note: For now we ignore sphinx-autodoc warnings since there are too many
-# and we want at least documentation (not docstring) related warnings to be
-# reported, treated as errors and fixed.
-def noop(*args, **kwargs):
- pass
-
-def mock_warning(self, *args, **kwargs):
- # We re-write warning as info (level 1)
- return self.system_message(1, *args, **kwargs)
-
-original_warn_node = BuildEnvironment.warn_node
-
-def ignore_more_than_one_target_found_errors(self, msg, node):
- if 'more than one target found' in msg:
- return None
-
- return original_warn_node(self, msg, node)
-
-
-# Monkey patch the original methods
-AutoDirective.warn = noop
-AutodocReporter.warning = mock_warning
-
BuildEnvironment.warn_node = ignore_more_than_one_target_found_errors
# Ignore "more than one target found for cross-reference" errors which are false
@@ -315,5 +291,5 @@ class PatchedPythonDomain(PythonDomain):
return super(PatchedPythonDomain, self).resolve_xref(
env, fromdocname, builder, typ, target, node, contnode)
-def setup(sphinx):
- sphinx.override_domain(PatchedPythonDomain)
+#def setup(sphinx):
+ #sphinx.override_domain(PatchedPythonDomain)
diff --git a/tox.ini b/tox.ini
index d8e0bdf..da48620 100644
--- a/tox.ini
+++ b/tox.ini
@@ -76,12 +76,12 @@ deps = pyopenssl==19.1.0
fasteners
rstcheck
changedir = docs
-commands = pip install sphinx~=1.6.0
+commands = pip install sphinx==3.3.1
rstcheck --report warning ../CHANGES.rst
python ../contrib/generate_provider_feature_matrix_table.py
sphinx-apidoc -d 4 ../libcloud/ -o apidocs/
/bin/bash -c "ls apidocs/modules.rst && (grep orphan apidocs/modules.rst || sed -i '1i :orphan:\n' apidocs/modules.rst) || (exit 0)"
- sphinx-build -W -b html -d {envtmpdir}/doctrees . _build/html
+ sphinx-build -b html -d {envtmpdir}/doctrees . _build/html
[testenv:docs-travis]
# Note: We don't build API docs on Travis since it causes build failures because
@@ -90,13 +90,13 @@ deps = pyopenssl==19.1.0
fasteners
rstcheck
changedir = docs
-commands = pip install sphinx~=1.6.0
+commands = pip install sphinx==3.3.1
rstcheck --report warning ../README.rst
rstcheck --report warning ../CHANGES.rst
rstcheck --report warning ../CONTRIBUTING.rst
python ../contrib/generate_provider_feature_matrix_table.py
/bin/bash -c "ls apidocs/modules.rst && (grep orphan apidocs/modules.rst || sed -i '1i :orphan:\n' apidocs/modules.rst) || (exit 0)"
- sphinx-build -W -b html -d {envtmpdir}/doctrees . _build/html
+ sphinx-build -b html -d {envtmpdir}/doctrees . _build/html
[testenv:provider-tables]
basepython: python3.7
[libcloud] 01/06: Merge branch 'trunk' of
https://github.com/outscale-dev/libcloud into trunk
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 785536e1e970e2e759b7420fb68dcf46c8b7cb11
Merge: 2e8b8de 6c987a9
Author: Tomaz Muraus <to...@tomaz.me>
AuthorDate: Sun Dec 6 15:15:15 2020 +0100
Merge branch 'trunk' of https://github.com/outscale-dev/libcloud into trunk
docs/compute/drivers/outscale.rst | 249 +-
libcloud/compute/drivers/outscale.py | 6961 +++++++++++++++++++++++++++++++++-
2 files changed, 7122 insertions(+), 88 deletions(-)
[libcloud] 05/06: Upgrade to latest version of sphinx.
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 6fbb029a755041d308623fcf93360f32e7ab3981
Author: Tomaz Muraus <to...@tomaz.me>
AuthorDate: Sun Dec 6 16:58:12 2020 +0100
Upgrade to latest version of sphinx.
---
docs/conf.py | 22 ++++------------------
tox.ini | 4 ++--
2 files changed, 6 insertions(+), 20 deletions(-)
diff --git a/docs/conf.py b/docs/conf.py
index 617179c..9f9917b 100644
--- a/docs/conf.py
+++ b/docs/conf.py
@@ -16,11 +16,6 @@ import sys
import datetime
import subprocess
-from sphinx.environment import BuildEnvironment
-
-#from sphinx.ext.autodoc import AutodocRegistry
-#from sphinx.ext.autodoc import AutodocReporter
-
from sphinx.domains.python import PythonDomain
BASE_DIR = os.path.dirname(os.path.abspath(__file__))
@@ -274,22 +269,13 @@ texinfo_documents = [
# How to display URL addresses: 'footnote', 'no', or 'inline'.
#texinfo_show_urls = 'footnote'
-
# Example configuration for intersphinx: refer to the Python standard library.
intersphinx_mapping = {'http://docs.python.org/': None}
autoclass_content = 'both'
-BuildEnvironment.warn_node = ignore_more_than_one_target_found_errors
-
# Ignore "more than one target found for cross-reference" errors which are false
-# positives
-class PatchedPythonDomain(PythonDomain):
- def resolve_xref(self, env, fromdocname, builder, typ, target, node, contnode):
- if 'refspecific' in node:
- del node['refspecific']
- return super(PatchedPythonDomain, self).resolve_xref(
- env, fromdocname, builder, typ, target, node, contnode)
-
-#def setup(sphinx):
- #sphinx.override_domain(PatchedPythonDomain)
+# non fatal / false positive
+suppress_warnings = [
+ 'ref.python'
+]
diff --git a/tox.ini b/tox.ini
index da48620..350998c 100644
--- a/tox.ini
+++ b/tox.ini
@@ -81,7 +81,7 @@ commands = pip install sphinx==3.3.1
python ../contrib/generate_provider_feature_matrix_table.py
sphinx-apidoc -d 4 ../libcloud/ -o apidocs/
/bin/bash -c "ls apidocs/modules.rst && (grep orphan apidocs/modules.rst || sed -i '1i :orphan:\n' apidocs/modules.rst) || (exit 0)"
- sphinx-build -b html -d {envtmpdir}/doctrees . _build/html
+ sphinx-build -W -b html -d {envtmpdir}/doctrees . _build/html
[testenv:docs-travis]
# Note: We don't build API docs on Travis since it causes build failures because
@@ -96,7 +96,7 @@ commands = pip install sphinx==3.3.1
rstcheck --report warning ../CONTRIBUTING.rst
python ../contrib/generate_provider_feature_matrix_table.py
/bin/bash -c "ls apidocs/modules.rst && (grep orphan apidocs/modules.rst || sed -i '1i :orphan:\n' apidocs/modules.rst) || (exit 0)"
- sphinx-build -b html -d {envtmpdir}/doctrees . _build/html
+ sphinx-build -W -b html -d {envtmpdir}/doctrees . _build/html
[testenv:provider-tables]
basepython: python3.7
[libcloud] 02/06: Add changelog entry.
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 9422227fbabdc7586a0171a0bac4c538ac703b73
Author: Tomaz Muraus <to...@tomaz.me>
AuthorDate: Sun Dec 6 16:30:24 2020 +0100
Add changelog entry.
---
CHANGES.rst | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/CHANGES.rst b/CHANGES.rst
index 0624fd3..c71ea4d 100644
--- a/CHANGES.rst
+++ b/CHANGES.rst
@@ -122,6 +122,11 @@ Compute
(GITHUB-1511)
[Dimitris Galanis - @dimgal1]
+- [OutScale] Add various extension methods to the driver. For information on
+ available extenion methods, please refer to the driver documentation.
+ (GITHUB-1499)
+ [@tgn-outscale]
+
Storage
~~~~~~~