Hello community,
here is the log from the commit of package python-cloudflare for
openSUSE:Factory checked in at 2019-07-26 12:44:50
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-cloudflare (Old)
and /work/SRC/openSUSE:Factory/.python-cloudflare.new.4126 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-cloudflare"
Fri Jul 26 12:44:50 2019 rev:3 rq:718775 version:2.3.0
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-cloudflare/python-cloudflare.changes
2018-09-14 00:03:12.317870588 +0200
+++
/work/SRC/openSUSE:Factory/.python-cloudflare.new.4126/python-cloudflare.changes
2019-07-26 12:44:52.289823472 +0200
@@ -1,0 +2,6 @@
+Fri Jul 26 08:26:49 UTC 2019 - [email protected]
+
+- version update to 2.3.0
+ * no upstream changelog
+
+-------------------------------------------------------------------
Old:
----
cloudflare-2.1.0.tar.gz
New:
----
cloudflare-2.3.0.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-cloudflare.spec ++++++
--- /var/tmp/diff_new_pack.nMKXfA/_old 2019-07-26 12:44:53.105822958 +0200
+++ /var/tmp/diff_new_pack.nMKXfA/_new 2019-07-26 12:44:53.109822955 +0200
@@ -1,7 +1,7 @@
#
# spec file for package python-cloudflare
#
-# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -12,13 +12,13 @@
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-cloudflare
-Version: 2.1.0
+Version: 2.3.0
Release: 0
Summary: Python wrapper for the Cloudflare v4 API
License: MIT
++++++ cloudflare-2.1.0.tar.gz -> cloudflare-2.3.0.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/cloudflare-2.1.0/CloudFlare/__init__.py
new/cloudflare-2.3.0/CloudFlare/__init__.py
--- old/cloudflare-2.1.0/CloudFlare/__init__.py 2018-02-25 12:41:29.000000000
+0100
+++ new/cloudflare-2.3.0/CloudFlare/__init__.py 2019-05-20 17:31:44.000000000
+0200
@@ -1,7 +1,7 @@
""" Cloudflare v4 API"""
from __future__ import absolute_import
-__version__ = '2.1.0'
+__version__ = '2.3.0'
from .cloudflare import CloudFlare
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/cloudflare-2.1.0/CloudFlare/api_v4.py
new/cloudflare-2.3.0/CloudFlare/api_v4.py
--- old/cloudflare-2.1.0/CloudFlare/api_v4.py 2018-02-25 08:05:02.000000000
+0100
+++ new/cloudflare-2.3.0/CloudFlare/api_v4.py 2019-05-20 17:05:03.000000000
+0200
@@ -45,6 +45,7 @@
# The API commands for /account/
account(self)
account_load_balancing_analytics(self)
+ account_secondary_dns(self)
def user(self):
""" API core commands for Cloudflare API"""
@@ -82,6 +83,7 @@
self.add('AUTH', "zones", "purge_cache")
self.add('AUTH', "zones", "railguns")
self.add('AUTH', "zones", "railguns", "diagnose")
+ self.add('AUTH', "zones", "secondary_dns")
self.add('AUTH', "zones", "subscription")
self.add('AUTH', "zones", "subscriptions")
@@ -307,6 +309,13 @@
self.add('AUTH', "account", "load_balancing_analytics/events")
self.add('AUTH', "account", "load_balancing_analytics/entities")
+def account_secondary_dns(self):
+ """ API core commands for Cloudflare API"""
+
+ self.add('VOID', "account", "secondary_dns")
+ self.add('AUTH', "account", "secondary_dns/masters")
+ self.add('AUTH', "account", "secondary_dns/tsigs")
+
def zones_media(self):
""" API core commands for Cloudflare API"""
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/cloudflare-2.1.0/PKG-INFO
new/cloudflare-2.3.0/PKG-INFO
--- old/cloudflare-2.1.0/PKG-INFO 2018-02-25 12:44:43.000000000 +0100
+++ new/cloudflare-2.3.0/PKG-INFO 2019-05-20 17:34:54.000000000 +0200
@@ -1,6 +1,6 @@
Metadata-Version: 1.1
Name: cloudflare
-Version: 2.1.0
+Version: 2.3.0
Summary: Python wrapper for the Cloudflare v4 API
Home-page: https://github.com/cloudflare/python-cloudflare
Author: Martin J. Levy
@@ -61,7 +61,7 @@
All example code is available on GitHub (see
`package <https://github.com/cloudflare/python-cloudflare>`__ in the
`examples
<https://github.com/cloudflare/python-cloudflare/tree/master/examples>`__
- folder.
+ folder).
Blog
----
@@ -121,7 +121,7 @@
In order to query more than a single page of zones, we would have to
use
the raw mode (decribed more below). We can loop over many get calls and
- pass the page paramater to facilitate the paging.
+ pass the page parameter to facilitate the paging.
Raw mode is only needed when a get request has the possibility of
returning many items.
@@ -202,7 +202,7 @@
-----------------------------------------
When you create a **CloudFlare** class you can pass up to four
- paramaters.
+ parameters.
- Account email
- Account API key
@@ -226,7 +226,7 @@
cf = CloudFlare.CloudFlare(email='[email protected]',
token='00000000000000000000000000000000', certtoken='v1.0-...')
If the account email and API key are not passed when you create the
- class, then they are retreived from either the users exported shell
+ class, then they are retrieved from either the users exported shell
environment variables or the .cloudflare.cfg or ~/.cloudflare.cfg or
~/.cloudflare/cloudflare.cfg files, in that order.
@@ -362,7 +362,7 @@
happen when calling an invalid method.
In some cases more than one error is returned. In this case the return
- value **e** is also an array. You can itterate over that array to see
+ value **e** is also an array. You can iterate over that array to see
the additional error.
.. code:: python
@@ -466,7 +466,7 @@
def main():
zone_name = sys.argv[1]
cf = CloudFlare.CloudFlare()
- zone_info = cf.zones.get(param={'name': zone_name})
+ zone_info = cf.zones.get(params={'name': zone_name})
zone_id = zone_info['id']
dns_name = sys.argv[2]
@@ -489,7 +489,7 @@
$ cli4 [-V|--version] [-h|--help] [-v|--verbose] [-q|--quiet]
[-j|--json] [-y|--yaml] [-r|--raw] [-d|--dump]
[--get|--patch|--post|--put|--delete] [item=value ...] /command...
- CLI paramaters for POST/PUT/PATCH
+ CLI parameters for POST/PUT/PATCH
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
For API calls that need to pass data or parameters there is various
@@ -622,7 +622,7 @@
~~~~~~~~~~~~~~~~~~~~~~~~~~
Here's some Cloudflare CA examples. Note the need of the zone\_id=
- paramater with the basic **/certificates** call.
+ parameter with the basic **/certificates** call.
.. code:: bash
@@ -944,7 +944,7 @@
$
With that script added to the zone and the route added, we can now see
- the the website has been modified because of the Cloudflare Worker.
+ the website has been modified because of the Cloudflare Worker.
::
@@ -1210,3 +1210,4 @@
Classifier: Programming Language :: Python :: 3.4
Classifier: Programming Language :: Python :: 3.5
Classifier: Programming Language :: Python :: 3.6
+Classifier: Programming Language :: Python :: 3.7
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/cloudflare-2.1.0/README.rst
new/cloudflare-2.3.0/README.rst
--- old/cloudflare-2.1.0/README.rst 2018-02-23 08:20:17.000000000 +0100
+++ new/cloudflare-2.3.0/README.rst 2019-05-20 17:05:03.000000000 +0200
@@ -53,7 +53,7 @@
All example code is available on GitHub (see
`package <https://github.com/cloudflare/python-cloudflare>`__ in the
`examples
<https://github.com/cloudflare/python-cloudflare/tree/master/examples>`__
-folder.
+folder).
Blog
----
@@ -113,7 +113,7 @@
In order to query more than a single page of zones, we would have to use
the raw mode (decribed more below). We can loop over many get calls and
-pass the page paramater to facilitate the paging.
+pass the page parameter to facilitate the paging.
Raw mode is only needed when a get request has the possibility of
returning many items.
@@ -194,7 +194,7 @@
-----------------------------------------
When you create a **CloudFlare** class you can pass up to four
-paramaters.
+parameters.
- Account email
- Account API key
@@ -218,7 +218,7 @@
cf = CloudFlare.CloudFlare(email='[email protected]',
token='00000000000000000000000000000000', certtoken='v1.0-...')
If the account email and API key are not passed when you create the
-class, then they are retreived from either the users exported shell
+class, then they are retrieved from either the users exported shell
environment variables or the .cloudflare.cfg or ~/.cloudflare.cfg or
~/.cloudflare/cloudflare.cfg files, in that order.
@@ -354,7 +354,7 @@
happen when calling an invalid method.
In some cases more than one error is returned. In this case the return
-value **e** is also an array. You can itterate over that array to see
+value **e** is also an array. You can iterate over that array to see
the additional error.
.. code:: python
@@ -458,7 +458,7 @@
def main():
zone_name = sys.argv[1]
cf = CloudFlare.CloudFlare()
- zone_info = cf.zones.get(param={'name': zone_name})
+ zone_info = cf.zones.get(params={'name': zone_name})
zone_id = zone_info['id']
dns_name = sys.argv[2]
@@ -481,7 +481,7 @@
$ cli4 [-V|--version] [-h|--help] [-v|--verbose] [-q|--quiet] [-j|--json]
[-y|--yaml] [-r|--raw] [-d|--dump] [--get|--patch|--post|--put|--delete]
[item=value ...] /command...
-CLI paramaters for POST/PUT/PATCH
+CLI parameters for POST/PUT/PATCH
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
For API calls that need to pass data or parameters there is various
@@ -614,7 +614,7 @@
~~~~~~~~~~~~~~~~~~~~~~~~~~
Here's some Cloudflare CA examples. Note the need of the zone\_id=
-paramater with the basic **/certificates** call.
+parameter with the basic **/certificates** call.
.. code:: bash
@@ -936,7 +936,7 @@
$
With that script added to the zone and the route added, we can now see
-the the website has been modified because of the Cloudflare Worker.
+the website has been modified because of the Cloudflare Worker.
::
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/cloudflare-2.1.0/cloudflare.egg-info/PKG-INFO
new/cloudflare-2.3.0/cloudflare.egg-info/PKG-INFO
--- old/cloudflare-2.1.0/cloudflare.egg-info/PKG-INFO 2018-02-25
12:44:43.000000000 +0100
+++ new/cloudflare-2.3.0/cloudflare.egg-info/PKG-INFO 2019-05-20
17:34:54.000000000 +0200
@@ -1,6 +1,6 @@
Metadata-Version: 1.1
Name: cloudflare
-Version: 2.1.0
+Version: 2.3.0
Summary: Python wrapper for the Cloudflare v4 API
Home-page: https://github.com/cloudflare/python-cloudflare
Author: Martin J. Levy
@@ -61,7 +61,7 @@
All example code is available on GitHub (see
`package <https://github.com/cloudflare/python-cloudflare>`__ in the
`examples
<https://github.com/cloudflare/python-cloudflare/tree/master/examples>`__
- folder.
+ folder).
Blog
----
@@ -121,7 +121,7 @@
In order to query more than a single page of zones, we would have to
use
the raw mode (decribed more below). We can loop over many get calls and
- pass the page paramater to facilitate the paging.
+ pass the page parameter to facilitate the paging.
Raw mode is only needed when a get request has the possibility of
returning many items.
@@ -202,7 +202,7 @@
-----------------------------------------
When you create a **CloudFlare** class you can pass up to four
- paramaters.
+ parameters.
- Account email
- Account API key
@@ -226,7 +226,7 @@
cf = CloudFlare.CloudFlare(email='[email protected]',
token='00000000000000000000000000000000', certtoken='v1.0-...')
If the account email and API key are not passed when you create the
- class, then they are retreived from either the users exported shell
+ class, then they are retrieved from either the users exported shell
environment variables or the .cloudflare.cfg or ~/.cloudflare.cfg or
~/.cloudflare/cloudflare.cfg files, in that order.
@@ -362,7 +362,7 @@
happen when calling an invalid method.
In some cases more than one error is returned. In this case the return
- value **e** is also an array. You can itterate over that array to see
+ value **e** is also an array. You can iterate over that array to see
the additional error.
.. code:: python
@@ -466,7 +466,7 @@
def main():
zone_name = sys.argv[1]
cf = CloudFlare.CloudFlare()
- zone_info = cf.zones.get(param={'name': zone_name})
+ zone_info = cf.zones.get(params={'name': zone_name})
zone_id = zone_info['id']
dns_name = sys.argv[2]
@@ -489,7 +489,7 @@
$ cli4 [-V|--version] [-h|--help] [-v|--verbose] [-q|--quiet]
[-j|--json] [-y|--yaml] [-r|--raw] [-d|--dump]
[--get|--patch|--post|--put|--delete] [item=value ...] /command...
- CLI paramaters for POST/PUT/PATCH
+ CLI parameters for POST/PUT/PATCH
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
For API calls that need to pass data or parameters there is various
@@ -622,7 +622,7 @@
~~~~~~~~~~~~~~~~~~~~~~~~~~
Here's some Cloudflare CA examples. Note the need of the zone\_id=
- paramater with the basic **/certificates** call.
+ parameter with the basic **/certificates** call.
.. code:: bash
@@ -944,7 +944,7 @@
$
With that script added to the zone and the route added, we can now see
- the the website has been modified because of the Cloudflare Worker.
+ the website has been modified because of the Cloudflare Worker.
::
@@ -1210,3 +1210,4 @@
Classifier: Programming Language :: Python :: 3.4
Classifier: Programming Language :: Python :: 3.5
Classifier: Programming Language :: Python :: 3.6
+Classifier: Programming Language :: Python :: 3.7
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/cloudflare-2.1.0/examples/example_update_dynamic_dns.py
new/cloudflare-2.3.0/examples/example_update_dynamic_dns.py
--- old/cloudflare-2.1.0/examples/example_update_dynamic_dns.py 2018-02-15
02:25:22.000000000 +0100
+++ new/cloudflare-2.3.0/examples/example_update_dynamic_dns.py 2019-05-20
17:05:03.000000000 +0200
@@ -103,7 +103,7 @@
except IndexError:
exit('usage: example-update-dynamic-dns.py fqdn-hostname')
- host_name, zone_name = dns_name.split('.', 1)
+ host_name, zone_name = '.'.join(dns_name.split('.')[:2]),
'.'.join(dns_name.split('.')[-2:])
ip_address, ip_address_type = my_ip_address()
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/cloudflare-2.1.0/setup.cfg
new/cloudflare-2.3.0/setup.cfg
--- old/cloudflare-2.1.0/setup.cfg 2018-02-25 12:44:43.000000000 +0100
+++ new/cloudflare-2.3.0/setup.cfg 2019-05-20 17:34:54.000000000 +0200
@@ -1,5 +1,4 @@
[egg_info]
tag_build =
tag_date = 0
-tag_svn_revision = 0
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/cloudflare-2.1.0/setup.py
new/cloudflare-2.3.0/setup.py
--- old/cloudflare-2.1.0/setup.py 2018-02-25 10:03:31.000000000 +0100
+++ new/cloudflare-2.3.0/setup.py 2019-05-20 17:05:03.000000000 +0200
@@ -52,7 +52,8 @@
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
- 'Programming Language :: Python :: 3.6'
+ 'Programming Language :: Python :: 3.6',
+ 'Programming Language :: Python :: 3.7'
]
)