Skip to content

openwrt: Modernize record conversion - #4571

Merged
TomOnTime merged 3 commits into
release_candidate_v5from
mod_openwrt
Jul 23, 2026
Merged

openwrt: Modernize record conversion#4571
TomOnTime merged 3 commits into
release_candidate_v5from
mod_openwrt

Conversation

@TomOnTime

Copy link
Copy Markdown
Collaborator

Dear @huskyistaken. I could use your help. I'm doing upgrades to the code base and I have no way to test your provider. Please run the integration test and let me know the result. How to run integration tests is here: https://docs.dnscontrol.org/developer-info/integration-tests

Summary

  • build OpenWrt records with modern record factories
  • use DomainConfig label normalization
  • retain existing numeric validation without repeated factory casts

Validation

  • ../../bin/is_modern.sh (Steps 1-7 clean)
  • go test ./providers/openwrt
  • bin/generate-all.sh
  • go test ./...

@huskyistaken huskyistaken left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Changes look good to me, the integration tests still pass.

Here's the test logs:
4571.log

@TomOnTime
TomOnTime marked this pull request as ready for review July 23, 2026 01:17
@TomOnTime

Copy link
Copy Markdown
Collaborator Author

Thanks for running the tests!

@TomOnTime
TomOnTime merged commit a5894e8 into release_candidate_v5 Jul 23, 2026
24 checks passed
@TomOnTime
TomOnTime deleted the mod_openwrt branch July 23, 2026 03:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Development

Successfully merging this pull request may close these issues.

3 participants