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

52 Commits

Author SHA1 Message Date
Ross McFarland
6be0a8133a isort import formatting 2023-01-22 13:54:19 -08:00
Ross McFarland
be7c3d279e WIP breakup of octodns.record file 2023-01-02 10:12:59 -05: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
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
27fc734c2a Test YamlProvider handling of non-ascii record names 2022-08-20 11:39:00 -07:00
Ross McFarland
a33235d608 YamlProvider idna/utf-8 support, prefers utf8 2022-08-18 08:26:57 -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
Sachi King
04be906c3c Add test to validate non-dotted subdomain zones are vaild
This confirms that in addition to the recently added support for dotted
subdomains that subdomains that are not dotted are supported.  From
RFC1034 Section 3.5 this would be a <subdomain> that contains a single
<label> without <subdomain> recurring.
2022-06-27 10:56:20 +10:00
Sachi King
e299ceced2 Prepare tests with failing "managed subzone" error
The is not a zone between delegated.subzone.unit.tests. and unit.tests.,
however we get a delegated subzone error.  This modifies the tests to
succeed with the added record, however the tests fail as it incorrectly
throws the managed subzone error.

Change the name of delegated.subzone, and the tests will pass cleanly.
2022-06-23 19:22:15 +10:00
Ross McFarland
0d606e0728 dump output_provider testing 2022-04-14 12:50:51 -07:00
Ross McFarland
02296652ca WIP: Backing out a more test churn now that YamlProvider has SUPPORTS_ROOT_NS flag 2022-02-16 15:23:55 -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
5215930109 Always require a root NS in desired, sketch out SUPPORTS_ROOT_NS tests 2022-02-10 14:51:01 -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
32c358af04 Quell all python warnings, mostly *Equals -> Equal and warn -> warning 2022-01-13 10:58:07 -08:00
Ross McFarland
aae65594f2 Remove explicit use of six 2021-09-17 07:10:07 -07:00
Ross McFarland
9156bdaea0 f-strings for tests pass 1 2021-09-16 16:16:01 -07:00
Brian E Clow
c5efba89fe Adding yaml support and testing for URLFWD 2021-07-22 14:32:09 -07:00
Ross McFarland
e90aeb5d34 pools used as fallbacks should count as seen 2021-04-22 18:45:14 -07:00
Ross McFarland
5e1f653848 Merge remote-tracking branch 'origin/master' into srv_null_records 2021-02-18 07:52:47 -08:00
Mark Tearle
5d23977bbd Adjust remaining unit tests due to extra records in test zone 2021-02-15 22:46:22 +08:00
Mark Tearle
9d4bd0aaec Add support for LOC records 2021-02-09 20:41:37 +08:00
Ross McFarland
858628a867 Update yaml test path to work on windows 2021-02-05 12:06:46 -08:00
Ross McFarland
4ce2563d2e Remove the rest of the . ending files, clean up code and tests for better coverage 2021-01-28 13:24:35 -08:00
Jonathan Leroy
eec4c4f81c Remove support for dynamic DNAME records as no provider currently
support them
2020-10-27 20:31:57 +01:00
Jonathan Leroy
de51e5f531 Add support for DNAME records 2020-10-26 22:18:35 +01:00
Ross McFarland
a078ec9d31 Move to populate_should_replace rather then OverridingYamlProvider 2020-01-06 14:16:47 -08:00
Ross McFarland
41dd72f1fb Merge remote-tracking branch 'origin/master' into overriding-yaml-provider 2020-01-06 13:41:27 -08:00
Ross McFarland
00fa158c59 filter -> [... if]s 2019-10-09 15:31:27 -07:00
Ross McFarland
14063186f3 YamlProvider python3, tests 2019-10-07 07:56:10 -07:00
Ross McFarland
a9d0eef3ba Lots of text_type 2019-07-29 08:37:47 -07:00
Ross McFarland
ee0efc5b3a Explicit list-ification 2019-07-29 08:35:11 -07:00
Ross McFarland
135f826b7e Add OverridingYamlProvider and tests 2019-04-27 15:08:09 -07:00
Christian Funkhouser
f239eb1aa8 Don't use classmethod for listing YAML files
Signed-off-by: Christian Funkhouser <cfunkhouser@heroku.com>
2019-04-08 17:13:28 -04:00
Christian Funkhouser
689043cd3d Merge SplitYamlProvider and YamlProvider tests
Signed-off-by: Christian Funkhouser <cfunkhouser@heroku.com>
2019-04-08 17:07:45 -04:00
Ross McFarland
e16648ab1f Progress towards fully fleshed out pools & rules 2018-12-05 16:28:41 -08:00
Ross McFarland
b650013ccb Add a AAAA dyanmic.tests example, comments 2018-12-03 15:03:53 -08:00
Ross McFarland
c41824c3e9 Better weighting support 2018-11-28 09:41:25 -08:00
Ross McFarland
92b025fe1a Support for weights of pools 2018-11-28 09:22:09 -08:00
Ross McFarland
9d45386f4d Sketch of new dynamic record config in unit.tests. 2018-11-28 09:01:07 -08:00
Matt
84c883c67f Add - Test case. 2018-11-04 13:16:26 +11:00
Ross McFarland
454f7f8c8f Add formal CAA support to YamlProvider 2017-11-08 06:26:18 -08:00
Paul van Brouwershaven
11f4359099 Add support for included and excluded records
`Included` and `Excluded` can be used to filter records for one or more specific provider(s). This can be extremely useful when certain record types are not supported by a provider and you want only that provider to receive an alternative record.

See also: https://github.com/github/octodns/issues/26
2017-09-28 15:16:39 +02:00
Ross McFarland
c24c793bcb CAA unit tests for provider support 2017-08-26 15:28:09 -07:00
Ross McFarland
046cde43b2 Make sorting enforcement optional with YamlProvider 2017-06-19 22:44:34 -07:00