-
-
Notifications
You must be signed in to change notification settings - Fork 14
Add Linode Provider, Cache DNS Entries, and Fix 2 Open Issues #22
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
Open
anonyco
wants to merge
17
commits into
stalwartlabs:main
Choose a base branch
from
anonyco:next
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
The commit d5b3b69 fixed the behavior of desec for Stalwart but broke the test and the example. Desec requires an additional level of JSON quoting for items in arrays of TXT records: https://desec.readthedocs.io/en/latest/dns/rrsets.html#caveats Also, add copyright to desec and lib tests and add flexibility for future continuous Desec tests via secret environment variables Signed-off-by: Jack Giffin <[email protected]>
Signed-off-by: Jack Giffin <[email protected]>
…iders For hygienic history and time-traveling rebasers Signed-off-by: Jack Giffin <[email protected]>
This is a necessary change for the next commit, implementing a cache and I thought it'd make the history nicer/cleaner to separate this change into its own commit. Signed-off-by: Jack Giffin <[email protected]>
This is a very simple, very basic, yet extraordinarily effective way to reduce the numer of API requests to DNS update API servers. Signed-off-by: Jack Giffin <[email protected]>
Continuation of the previous commit. These commits were split into two commits for better history hygiene and organization. Signed-off-by: Jack Giffin <[email protected]>
This script doesn't do anything you can't do youself; really the main reason I wrote it is the non-obvious (undocumented?) argument of --all-targets required to get `cargo clippy` to actually work. I expect ./tool to be very useful for other things as well, whatever quick shortcuts people find useful. Signed-off-by: Jack Giffin <[email protected]>
These conversion methods will be used in the next commit to massively debloat and deduplicate the project's providers codes Signed-off-by: Jack Giffin <[email protected]>
Signed-off-by: Jack Giffin <[email protected]>
anonyco
added a commit
to anonyco/dns-update
that referenced
this pull request
Oct 4, 2025
Bump version 0.1.6 Signed-off-by: Jack Giffin <[email protected]>
Hi, Thanks for the PR! A few comments:
|
For upstream users of the dns-update crate Signed-off-by: Jack Giffin <[email protected]>
Actual consolidation coming up in the next commit Signed-off-by: Jack Giffin <[email protected]>
Emphasize non-breaking. Great effort went into ensuring this is a non-breaking change Signed-off-by: Jack Giffin <[email protected]>
…oviders Emphasize non-breaking. Great effort went into ensuring this is a non-breaking change Signed-off-by: Jack Giffin <[email protected]>
Signed-off-by: Jack Giffin <[email protected]>
Signed-off-by: Jack Giffin <[email protected]>
Includes an integration test on a live real domain Signed-off-by: Jack Giffin <[email protected]>
Bump version 0.1.6 Signed-off-by: Jack Giffin <[email protected]>
Hi, Thank you for all the work you do on Stalwart. I removed the
I'll remove the cache if that's what you want, it's not my intention to obstruct. I just thought you didn't have the full info on the feature 👍 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
I put significant effort into ensuring this is a deceptively small change guaranteed to break nothing and cause you no issues:
stalwart
and stalwart builds and tests with no additional errors. (Baseline stalwart is currently failing with 20 or 21 errors prior to these changes.)git bisect
away!dns_update::Error
does not implementstd::error::Error
#8. I checked thiserror's source code and, if I were to fixdns_update::Error
does not implementstd::error::Error
#8 without adding thiserror, I'd end up duplicating half of the code inthiserror
(and greatly increasing maintenance efforts of dns-update). Also, thiserror pulls in 0 subdependencies. I think it's a pretty unobjectionable decision to add the thiserror crate.Three issues were not addressed by these changes:
hickory_proto::rr::record_data::RData
instead of ownDnsRecord
type #9 as WontFix because the Hickory Rust library is horrible at frequent massively breaking changes. Attempting to use Hickory's DNS entries would only lead to this project getting into a mess of trouble within a matter of months or weeks.I hope this isn't too big of a change, and I hope you see the effort I put in to ensure my changes are as little hassle for you as possible 👍