-
-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add new SelectelProvider class to support DNS v2 API. #40
Conversation
Looks like |
…s in rrset and zone.
Replaced match-case to if-else in Renamed |
Not really sure what it doesn't like now, I haven't done much w/types.
|
…e to if-else in mappings
Removed type annotation for function. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
So this is obviously a huge change and given that I don't have access to or deep knowledge of selecttel there's only so much that I can do in terms of the review details. I've skimmed over things and nothing that I saw jumped out. If you have a coworker or someone that can do a more focused look over things that's probably a good idea.
I'll give it until Tuesday next week or there about to allow for anyone to weight in before merging.
Hello, |
Great. Thanks. Just realized that a CHANGELOG.md entry wasn't included here. Definitely something that belongs there since the default behavior is going to be switching to the v2 api. Will approve & merge as soon as I see that come through. I assume you all would like a release cut after that? |
If i remeber correctly, you usually merge/accept pull request first, than do commit with chagelog and version update and tag. So we didn't update changelog and version inside module intentionally. I hope that |
Yeah. For releases the changelog date is finalized and the version number is bumped. I generally try to have the changelog entries happen with the PRs that make the change so that blame on the CHANGELOG will take you to the PR that made the relevant change. It's for sure not 100% of the time, but it's a goal.
Looks like they probably are. |
Updated changelog and added some fixes for idna zones. |
/cc #41 for release |
Soon we are going to publicly announce that v2 DNS API is ready to use. API is available from internet, but there is no public docs, UI etc.
DNS v1 will be available and maintained but we gradually limit access to it until full shutdown.
So we would like to support both versions with this plugin.
This commit is all about that and also minor changes.
Changes
v1
SelectelProvider
toSelectelProviderLegacy
list_zones()
method to support "*" for planning__init__.py
causes cycling importsscript/release
andsetup.py
to parse version from another locationreadme.md
with focus on new providerNew
SelectelProvider
class to support v2 APIAfter these changes we also planning to bump plugin version to 1.0.0
All examples in readme are working(just change to unique zone-name). So if there is need to check it, they should suffice.