-
Notifications
You must be signed in to change notification settings - Fork 401
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
Deprecation plan for serial preview/push #3142
Comments
Crosslinking my original comment #3135 (comment) |
You mean 2025 right? |
Wooops! You are correct! Thank you for catching that! |
After my review of #3145 I took another look at the bigger picture. Here is a summary of all the current DNSControl commands:
What do we want to achieve? That the codebase is moving forward where DNSControl users will use the new concurrently mode without experiencing too many problems. When introducing this new concurrently feature, a second command was chosen instead of an argument. (I don't know why.) Now we're about to bring The impact We discussed keeping the old functionality available on another/second (alias) so that there remains a fallback method. I think most of the functionality can be guaranteed with
v4.14 dnscontrol preview
dnscontrol push [WARNING: The preview/push commands will receive a major upgrade in the next release (v4.15). Try the new behavior by using ppreview/ppush. Please test and report any bugs ASAP. See https://docs.dnscontrol.org/commands/preview-push] dnscontrol ppreview
dnscontrol ppush [WARNING: The ppreview/ppush commands will be removed in the upcoming release (v4.16). See https://docs.dnscontrol.org/commands/preview-push] v4.15 dnscontrol preview
dnscontrol push These commands have already been replaced for the dnscontrol ppreview
dnscontrol ppush [WARNING: The ppreview/ppush commands will be removed in the upcoming release (v4.16). See https://docs.dnscontrol.org/commands/preview-push] v4.16 dnscontrol preview
dnscontrol push These commands have already been replaced for the dnscontrol ppreview
dnscontrol ppush No help topic for 'ppreview' This is the standard (error) message for a DNSControl command that does (no longer) not exist. So I think we can move forward much more easily than I initially thought. What do you think about this? Crosslinking of the GitHub pull requests/issues: |
@cafferata , you are brilliant! This is the root of the problem! That is... I introduced a new command rather than a flag. Flags are a better way to do this than subcommands. (Why didn't I use a flag? Well, at the time I didn't think it would be possible.) I'd like to note, however, that Then we add to your plan: Release v4.14: Add --cmode flag to preview/push. Default "legacy".
Release v4.15: --cmode defaults to "normal"
Release v4.16 (or later): Remove the "legacy" option (and the legacy code) The benefit of this is that the old code is available for longer, but it doesn't require people to change scripts / CICD configs, etc. What do you think? |
If you see technical possibilities for that I would say, Yes! Let's try/get this ready because that would make the step forward (even) easier. 👍🏻 |
Release v4.14 should ship today or tomorrow. |
Release v4.15.0 shipped today. It's quite late, which is good because it gives people extra time to test the new cmode. As a result of the delay, we should delay v5.16.0 until February or later. |
oldpreview
/oldpush
commands that are aliases for the serial preview/push with warning that these are temporary, will go away in a future release without warning, and are not subject to SemVer.preview
/push
commands:v4.14
release notes.Future release (at least 2 months, target date Jan 1, 2025 or later)
The text was updated successfully, but these errors were encountered: