Skip to content

Adapt to changed Engine API#1143

Merged
mattias-p merged 1 commit into
zonemaster:developfrom
mattias-p:normalization
Jun 4, 2025
Merged

Adapt to changed Engine API#1143
mattias-p merged 1 commit into
zonemaster:developfrom
mattias-p:normalization

Conversation

@mattias-p

Copy link
Copy Markdown
Member

Purpose

This PR adapts Backend to the API change in zonemaster/zonemaster-engine#1316.

Context

Should be merged together with zonemaster/zonemaster-engine#1316.

Changes

trim_space() is now invoked before normalize_name(). Prior to zonemaster/zonemaster-engine#1316 normalize_name() handled the space trimming itself.

How to test this PR

You should still be able to include surrounding space in domain name parameters to RPCAPI calls.

$ zmb start_domain_test --domain ' example.com '

@matsduf

matsduf commented May 28, 2025

Copy link
Copy Markdown
Contributor

This PR fails. Is that because it depends on zonemaster/zonemaster-engine#1316 being merged?

@matsduf matsduf added the V-Patch Versioning: The change gives an update of patch in version. label May 28, 2025
@matsduf

matsduf commented May 28, 2025

Copy link
Copy Markdown
Contributor

There are no reviewers to this PR.

@mattias-p

Copy link
Copy Markdown
Member Author

CI fails because it depends on zonemaster/zonemaster-engine#1316. I haven't found a good way to run CI against a different Engine branch.

marc-vanderwal
marc-vanderwal previously approved these changes Jun 2, 2025
@mattias-p

Copy link
Copy Markdown
Member Author

I added a forgotten import. Please review again.

@mattias-p mattias-p merged commit 2b0c4a0 into zonemaster:develop Jun 4, 2025
5 checks passed
@MichaelTimbert MichaelTimbert added the S-ReleaseTested Status: The PR has been successfully tested in release testing label Jun 12, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

S-ReleaseTested Status: The PR has been successfully tested in release testing V-Patch Versioning: The change gives an update of patch in version.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants