Commit Graph

940 Commits

Author SHA1 Message Date
Ross McFarland 00fa158c59 filter -> [... if]s 2019-10-09 15:31:27 -07:00
Ross McFarland 3f487197df Manager throws ManagerException rather than Exception, more robust tests 2019-10-09 15:09:37 -07:00
Ross McFarland 0a7d63ef06 Show line numbers missing coverage 2019-10-09 14:35:53 -07:00
Ross McFarland 00d65af6f1 Merge remote-tracking branch 'origin/master' into python3-start 2019-10-09 14:35:14 -07:00
Ross McFarland bb0dcee149 Merge pull request #411 from josvo/fix_ns1_create_zone
Fix 'server error: zone not found' for NS1 provider
2019-10-09 07:51:42 -07:00
Josef Vogt 7c34247e3b Fix 'server error: zone not found' for NS1 provider 2019-10-09 16:08:29 +02:00
Ross McFarland 7867ad2093 Use six's StringIO, remove compat.py 2019-10-07 09:40:23 -07:00
Ross McFarland 3c75dc81f8 Require python 3.7 to pass 2019-10-07 09:34:10 -07:00
Ross McFarland 25cc4f42db Explicit list on filter when checking for non-existant targets 2019-10-07 09:33:14 -07:00
Ross McFarland be06a5da94 Make sure map and keys are lists when needed 2019-10-07 09:31:15 -07:00
Ross McFarland 7958233fcc Consistently order changes :-/
Many providers make their modifications in the order that changes comes. In
python3 this causes things to be inconsistently ordered. That mostly works, but
could result in hidenbugs (e.g. Route53Provider's batching could be completely
different based on the order it sees changes.) Sorting changes consistently
is a good thing and it shouldn't hurt situations where providers are already
doing their own ordering. All-in-all more consistent is better and we have to be
explicit with python 3.
2019-10-07 09:17:48 -07:00
Ross McFarland bfa1fadde9 Fix CloudflareProvider test ordering assumptions 2019-10-07 08:47:01 -07:00
Ross McFarland db8de8acb8 Fix Manager ordering assumptions 2019-10-07 08:41:28 -07:00
Ross McFarland 0708b797da TinyDnsSource python3 2019-10-07 08:29:50 -07:00
Ross McFarland e0c5962d79 AxfrSource python3 2019-10-07 07:58:44 -07:00
Ross McFarland 14063186f3 YamlProvider python3, tests 2019-10-07 07:56:10 -07:00
Ross McFarland 90a60d3dbd TransipProvider python3 2019-10-07 07:53:08 -07:00
Ross McFarland 25768c476f SelectelProvider python3 (tests) 2019-10-07 07:48:55 -07:00
Ross McFarland c82e94792e RackspaceProvider python3, value types hashing 2019-10-07 07:47:43 -07:00
Ross McFarland aeb70b2488 Route53Provider python 3, rm incf.countryutils, lots of cmp removal and ordering fixes 2019-10-05 20:01:53 -07:00
Ross McFarland 0acff67faa Ns1Provider python3 2019-10-05 14:38:58 -07:00
Ross McFarland 37543e6a76 OvhProvider python3 2019-10-05 09:18:42 -07:00
Ross McFarland 484a5118f4 MythicBeastsProvider python3 2019-10-05 09:10:59 -07:00
Ross McFarland 0078198500 GoogleCloud python3 2019-10-05 08:57:14 -07:00
Ross McFarland 47199fdfab FastDNS python3 2019-10-05 08:49:19 -07:00
Ross McFarland 742305c20b six.moves.urllib.parse 2019-10-05 08:48:57 -07:00
Ross McFarland 470dd82202 python 3 support for constellix provider 2019-10-05 08:03:43 -07:00
Ross McFarland db77d5b3bb python3 compat for azure provider 2019-10-05 07:58:38 -07:00
Ross McFarland f252aa3b98 Merge remote-tracking branch 'origin/master' into python3-start 2019-10-05 07:20:47 -07:00
Ross McFarland ab1164492e Merge pull request #408 from github/rel-0-9-8
Rel 0.9.8 with a bunch of pypi readme/description fixes
2019-09-30 10:24:54 -07:00
Ross McFarland 3296b55aa6 Include readme_renderer[md] in dev requirements v0.9.8 2019-09-30 10:22:05 -07:00
Ross McFarland 659a60de46 v0.9.8 version bump and CHANGELOG updates 2019-09-30 10:18:53 -07:00
Ross McFarland e3ad57d15b twine check before upload 2019-09-30 10:18:35 -07:00
Ross McFarland a1d2217604 Fix/hack README rendering so that pypi's markdown handling libs are happy 2019-09-30 10:17:50 -07:00
Ross McFarland f7424a2853 Merge pull request #407 from github/rel-0-9-7
v0.9.7 version bump and CHANGELOG updates
v0.9.7
2019-09-30 09:36:06 -07:00
Ross McFarland 97608b3823 v0.9.7 version bump and CHANGELOG updates 2019-09-30 09:29:30 -07:00
Ross McFarland 2cd23a14ae Merge pull request #405 from maikelpoot/transip_provider
Add a Transip provider
2019-09-30 09:13:13 -07:00
Maikel Poot 637c254778 Handling PR Review comments.
- Added Specific exceptions
- str() instead of concatenation
- removed zone not found warning
2019-09-30 13:18:57 +02:00
Maikel Poot a035ee8c84 Give the option to use a private_key_file.
Transip sdk also supports a private_key_file,
so forwarding that option to the provider.
Could be handy in combination with k8s secrets.
2019-09-26 14:49:14 +02:00
Maikel Poot 71f215932d whitespaces around operators to make /script/lint happy again 2019-09-25 14:51:53 +02:00
Maikel Poot 9cab94a83a Some codestyle review changes. 2019-09-25 14:45:41 +02:00
Maikel Poot cebc629a06 Enforce values as basic string to fix yaml export error
Fixes an exception in combination
with the yamlProvider as a target
The unmodified value object isn't
represented as string while
building the yaml output
The Exception:
  yaml.representer.RepresenterError:
  ('cannot represent an object', 1.1.1.1)

yaml/representer.py@249,
represent_undefined()
2019-09-25 14:33:49 +02:00
Maikel Poot 59e44b865c Added detection for edge case that could happen with existing records where the value is '@'
TransIP allows '@' as value to alias the root record.
'@' was on populate appended with the zone, which trigger an unneeded update.
'@' => '@.example.com.' -> 'example.com'
This fix will stop the unneeded update
2019-09-25 11:24:13 +02:00
Maikel Poot 7056d29907 fixes lint warning. 2019-09-25 08:18:59 +02:00
Maikel Poot 30c8c4d313 Add transip requirement and add provider to readme 2019-09-25 08:18:17 +02:00
Maikel Poot 02ec7c29cd Merge branch 'master' into transip_provider
* master:
  Adding Akamai entry to supported providers
2019-09-25 07:02:22 +02:00
Maikel Poot bb3f0c0b4a Added TransIP provider and tests 2019-09-25 07:01:06 +02:00
Ross McFarland 4b52aa9c92 Merge pull request #404 from Arunothia/users/arunothia/UpdateReadme
Adding Akamai entry to supported providers
2019-09-23 21:21:44 -04:00
Maikel Poot 736d588e86 Changed requirements to version 2.22.0
Fixes: ERROR: requests 2.20.0 has requirement urllib3<1.25,>=1.21.1, but you'll have urllib3 1.25.5 which is incompatible.
2019-09-20 10:18:51 +02:00
Arunothia Marappan 7d8f181367 Adding Akamai entry to supported providers 2019-09-19 10:48:18 -07:00