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

1014 Commits

Author SHA1 Message Date
Viranch Mehta
11118efe93 Raise exception when no yamls are found for a zone 2023-09-18 21:41:44 -07:00
Viranch Mehta
6042cb0ec5 reuse compiled source 2023-09-18 20:34:21 -07:00
Viranch Mehta
0181158953 Include sources only if they exist 2023-09-18 15:31:16 -07:00
Ross McFarland
028b2a52f6 Merge remote-tracking branch 'origin/main' into yaml-provider-static 2023-08-31 10:52:12 -07:00
Ross McFarland
93b397cbb2 Correct Split Details directory example 2023-08-29 13:51:53 -07:00
Ross McFarland
8177ee6926 Revert "yaml provider is either split or zonefile, not both"
This reverts commit 6f39fcc5f7.
2023-08-29 12:59:38 -07:00
Ross McFarland
77b1d7a1ba Correct split_catchall doc 2023-08-29 12:34:23 -07:00
Ross McFarland
6f39fcc5f7 yaml provider is either split or zonefile, not both 2023-08-27 08:37:26 -07:00
Ross McFarland
cb28fa0e26 YamlProvider support for shared file, loaded into all zones 2023-08-18 16:20:53 -07:00
Ross McFarland
779f2f44fa Rename split_only to disable_zonefile. More accurate and future-proof. Also improve doc a bit 2023-08-18 15:40:49 -07:00
Ross McFarland
b0dff4fe04 Try reordering if clauses 2023-08-17 13:15:15 -07:00
Ross McFarland
65096c0f1c break up ifs having coverage issues in 3.8/9 2023-08-17 12:56:39 -07:00
Ross McFarland
608e367a9b More extensive tests of YamlProvider.list_zones 2023-08-17 12:13:42 -07:00
Ross McFarland
3c304aa6ee Pass through YamlProvider doc and CHANGELOG entry 2023-08-17 09:27:03 -07:00
Ross McFarland
5b8498a550 Refactory yaml source logic out to make it easily testable 2023-08-12 19:31:38 -07:00
Ross McFarland
11ddb20005 Refactory YamlProvider and SplitYamlProvider into a unified class 2023-08-12 11:18:33 -07:00
Ross McFarland
f107c235f9 Merge remote-tracking branch 'origin/main' into dynamic-zones 2023-07-31 12:08:26 -07:00
Ross McFarland
abb80e509d Remove old non-actionable TODO 2023-07-29 17:48:26 -07:00
Ross McFarland
92623b1a2c Testing of (Split)YamlProvider.list_zones w/fixes 2023-07-28 14:16:36 -07:00
Ross McFarland
da5b7d0d1e Sketch out an option for dynamic zone config 2023-07-21 13:26:29 -07:00
Nathan Tat
1515fd186f Add zone name to TooMuchChange during plan 2023-06-22 14:32:03 -07:00
Ross McFarland
98f51db028 updated black formatting 2023-05-23 10:27:23 -07:00
Viranch Mehta
a151ae31c9 log warning when unused subnet pools are dropped 2023-04-12 23:40:15 -07:00
Viranch Mehta
a19dc6c12e Copy/edit record only if there are subnet rules without the support 2023-04-12 23:39:00 -07:00
Viranch Mehta
cd975b28f4 Don't abort rest of the validation if unsupported pools are not present 2023-04-12 23:36:37 -07:00
Viranch Mehta
221367b06a empty lists ok, minor refactor in _process_desired_zone 2023-04-10 16:49:10 -07:00
Viranch Mehta
47a898b1dc Wrap subnet support behind a SUPPORTS_ flag 2023-04-09 08:15:44 -07:00
Ross McFarland
6be0a8133a isort import formatting 2023-01-22 13:54:19 -08:00
Ross McFarland
b54678bed9 Refactor YamlProvider to add get_filenames
Makes it easier to inherit from YamlProvider to add custom filename
handling
2022-12-09 08:47:02 -08:00
Ross McFarland
7a25d9dfb7 Merge branch 'main' into strict-supports-true 2022-11-17 07:30:49 -08:00
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
efa80b43a1 1.0 RC: Remove deprecated provider, source, and processor shims 2022-11-15 10:31:10 -08:00
Ross McFarland
a1e54c2bbf Remove hacky _LogLevelSetter and just setLevel on Plan logger 2022-09-29 14:27:05 -07:00
Ross McFarland
3967c273f8 --debug flag to commands, work-around to ensure PlanLogger plan always prints 2022-09-27 08:06:30 -07: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
b4792707f8 Merge remote-tracking branch 'origin/main' into idna-internally 2022-09-12 14:56:01 -07:00
Ross McFarland
fa4225b625 Fix lots of errant '...' '...' string joins 2022-09-06 12:47:47 -07:00
Ross McFarland
2e3d325f71 YamlProvider.SUPPORTS dynamically returns the list of registered types 2022-08-27 15:53:56 -07:00
Ross McFarland
557b80f784 Implement YamlProvider.supports that always says yes 2022-08-27 15:40:02 -07:00
Ross McFarland
72244ba161 Provider._process_desired_zone should call .supports, rather than do in SUPPORTS 2022-08-27 15:23:52 -07:00
Ross McFarland
2d0f2ccc5c Add idna tests of eligible_zones and fix some messages/bugs 2022-08-18 20:10:11 -07:00
Ross McFarland
a33235d608 YamlProvider idna/utf-8 support, prefers utf8 2022-08-18 08:26:57 -07:00
Ross McFarland
c1ef45e0fd Convert Manager.config['zones'] to IdnaDict
- print Zone.decoded_name to logs for better readability
- Prefer decoded name in YamlProvider
2022-08-17 10:29:32 -07:00
Ross McFarland
02e07f4209 Merge remote-tracking branch 'origin/master' into dump-support-output-provider 2022-07-22 16:06:51 -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
17c294042f Implement a sketch of --output-provider support for dump 2022-04-14 10:19:33 -07:00
Ross McFarland
8e70695eb2 Apply suggestions/corrections from a round of code review 2022-02-23 09:32:20 -08:00
Ross McFarland
e3edae8466 Non-configured root NS when supported is always a warning 2022-02-17 13:24:34 -08:00