1
0
mirror of https://github.com/github/octodns.git synced 2024-05-11 05:55:00 +00:00
Commit Graph

58 Commits

Author SHA1 Message Date
Ross McFarland
723db157ab Provider.strict_supports=True by default, fix tests that didn't like that 2022-11-15 11:03:08 -08:00
Ross McFarland
66debc0b80 Use super() now that we require python3, less error prone 2022-09-15 14:25:47 -07:00
Ross McFarland
d7880c084d Remove from __futures__ bits, all are now manditory 2022-09-15 14:10:21 -07:00
Ross McFarland
e116d26eec Implement black formatting 2022-07-04 12:27:39 -07:00
Kian-Meng Ang
04b7bf0ac2 Fix typos 2022-05-29 13:16:01 +08:00
Ross McFarland
e3edae8466 Non-configured root NS when supported is always a warning 2022-02-17 13:24:34 -08:00
Ross McFarland
0544e9ed7d More thorough testing of root ns cases and associated improvements 2022-02-17 13:00:28 -08:00
Ross McFarland
02ee7518fa Rework root NS logic to ignore when unconfigured, more testing 2022-02-17 08:50:42 -08:00
Ross McFarland
adb01a982c WIP: Backing out a lot of test churn now that YamlProvider has SUPPORTS_ROOT_NS flag 2022-02-16 15:00:21 -08:00
Ross McFarland
51d4b1ba7a Few more root ns test cases 2022-02-14 10:29:44 -08:00
Ross McFarland
728ab2af89 _process_desired_zone after populate, test/enforce order 2022-02-12 12:27:51 -08:00
Ross McFarland
5215930109 Always require a root NS in desired, sketch out SUPPORTS_ROOT_NS tests 2022-02-10 14:51:01 -08:00
Ross McFarland
08f98a5e65 Revert "Remove _process_existing_zone as it's not currently needed"
This reverts commit f1fd63205e.
2022-02-10 13:50:37 -08:00
Ross McFarland
f1fd63205e Remove _process_existing_zone as it's not currently needed 2022-02-10 11:58:48 -08:00
Ross McFarland
3bcb6c8cec Add Provider._process_existing_zone to mirror _process_desired_zone 2022-02-08 13:46:04 -08:00
Ross McFarland
33a10eada4 Base support for managing root NS records
* Zone object no longer treats them special, some tests needed adjusting
  b/c of this, some provider's tests may also need adjusting, though
  they should not plan changes since they won't (yet) have
  SUPPORTS_ROOT_NS
* _process_desired_zone filters and warns when not supported
* YamlProvider supports them
* TinyDnsBaseSource supports them
2022-02-08 10:26:49 -08:00
Ross McFarland
e25b618e95 Initial pass at script/update-requirements, results of run 2022-01-26 17:47:31 -08:00
Ross McFarland
fb1fb297dc Explicit test for Provider.SUPPORTS usage in _process_desired_zone 2022-01-17 13:58:43 -08:00
Ross McFarland
32c358af04 Quell all python warnings, mostly *Equals -> Equal and warn -> warning 2022-01-13 10:58:07 -08:00
Viranch Mehta
e3f76e562e Add tests for full coverage 2021-09-27 19:42:51 -07:00
Ross McFarland
9d02031fb8 Merge branch 'master' into python3-no-six 2021-09-21 16:02:36 -07:00
Viranch Mehta
d1d0de0c60 Fix typo in SUPPORTS_MULTIVALUE_PTR flag name 2021-09-17 21:59:16 -07:00
Ross McFarland
aae65594f2 Remove explicit use of six 2021-09-17 07:10:07 -07:00
Ross McFarland
5746ffd7f5 Merge branch 'master' into py3-f-strings 2021-09-16 13:17:58 -07:00
Ross McFarland
47de105a29 POC supports & dynamic checking in _process_desired_zone 2021-09-07 13:11:15 -07:00
Ross McFarland
b29c27df7c Fix BaseProvider test call expect 2021-09-04 17:45:32 -07:00
Ross McFarland
fd148d1803 Documentation of strict_supports and lenient, changelog info 2021-08-26 15:56:27 -07:00
Ross McFarland
8c04508a86 Implement & test Zone.copy (shallow) and utilize it in processors 2021-08-21 10:11:23 -07:00
Ross McFarland
08f9ec56a3 Rework supports_warn_or_except to msg and fallback 2021-08-18 16:25:13 -07:00
Ross McFarland
65f0bfc243 Update multi-value PTR warn to supports_warn_or_except 2021-08-18 12:35:49 -07:00
Ross McFarland
53a21b649a Merge remote-tracking branch 'origin/master' into process-desired-zone 2021-08-18 12:26:15 -07:00
Viranch Mehta
4517df555d add tests 2021-08-18 11:39:04 -07:00
Ross McFarland
5b0e47f31f Cleanup and test of _process_desired_zone and supports_warn_or_except 2021-08-18 10:07:21 -07:00
Ross McFarland
716d068196 Backwards compat for plan overrides, 100% manager coverage, singular processor module name 2021-04-27 06:45:18 -07:00
Ross McFarland
a9d0eef3ba Lots of text_type 2019-07-29 08:37:47 -07:00
cclauss
158add8eb6 Modernize Python 2 code to prepare for Python 3 2019-07-12 02:11:43 +02:00
Ross McFarland
dea4647a16 Make SUPPORTS_DYNAMIC an optional property, defaulting to False 2019-01-28 09:47:23 -08:00
Ross McFarland
303d0532c8 Implement SUPPORTS_DYNAMIC functionality, no providers 2018-12-03 14:40:43 -08:00
Ross McFarland
206d77d5a6 Include a provider test of populate w/lenient=True 2018-05-30 12:56:25 -07:00
Ross McFarland
5372e86e1c Switch to named params in _extra_changes 2018-03-31 12:39:32 -07:00
Dirkjan Bussink
a7f6da96d3 Merge branch 'master' into configurable-geo-healthcheck 2018-03-22 08:51:51 +01:00
Ross McFarland
7228c5b294 Merge remote-tracking branch 'origin/master' into show-zone-create 2018-03-03 10:18:32 -08:00
Josh Soref
5d2ba2e715 Spelling (#214)
* spelling: ancillary
* spelling: antarctica
* spelling: australia
* spelling: authentication
* spelling: continental
* spelling: constructor
* spelling: conversion
* spelling: creation
* spelling: doesn't
* spelling: easily
* spelling: efficiently
* spelling: equivalent
* spelling: essentially
* spelling: everything
* spelling: exactly
* spelling: be
* spelling: expensive
* spelling: supports
* spelling: healthcheck
* spelling: immediately
* spelling: ignored
* spelling: invocation
* spelling: itself
* spelling: leftovers
* spelling: missing
* spelling: natural
* spelling: nonexistent
* spelling: peculiarities
* spelling: pointing

This change hit a line length limitation, so I'm wrapping it and
adding a period which appears to match local style...

* spelling: quicker
* spelling: response
* spelling: requested
* spelling: redirect
* spelling: traffic
* spelling: unknown
* spelling: uploaded
* spelling: useful
* spelling: separately
* spelling: zone
2018-02-27 09:09:47 -08:00
Ross McFarland
9f2b65ec83 Change str() to unicode() to avoid encoding problems 2018-02-24 09:19:23 -08:00
Ross McFarland
94bfb1e507 Switch populate to return exists, cleaner setup 2018-01-21 14:06:20 -08:00
Ross McFarland
1e71bce907 Add create param to Plan 2018-01-21 13:47:58 -08:00
Ross McFarland
f50d9b6087 Extract plan from base.py into plan.py 2017-12-02 10:31:59 -08:00
Ross McFarland
4b740a48ff Merge branch 'master' into master 2017-10-30 11:00:25 -07:00
Ross McFarland
9a30b058e2 Merge remote-tracking branch 'origin/master' into configurable-geo-healthcheck 2017-10-18 10:57:32 -07:00
Joe Williams
50ac2f794c add tests 2017-10-10 14:39:25 -07:00