Skip to content

Restores Basci00#1123

Merged
matsduf merged 2 commits into
zonemaster:developfrom
matsduf:restore-basci00
Dec 23, 2022
Merged

Restores Basci00#1123
matsduf merged 2 commits into
zonemaster:developfrom
matsduf:restore-basci00

Conversation

@matsduf

@matsduf matsduf commented Dec 20, 2022

Copy link
Copy Markdown
Contributor

Purpose

PR #942 removes test case Basic00 as a test case and updates it and turns it into another type of specification ("Requirements and normalization of domain names in input"). The change of implementation has, however, not been completed and Basic00 is still in the implementation.

This PR restores Basic00 specification as a reference for the implementation.

Context

Issue zonemaster/zonemaster-engine#1170

How to test this PR

Review, but this should not updated, just to be kept until the new model has been implemented.

@matsduf matsduf added A-Documentation Area: Documentation only. P-High Priority: Issue to be solved before other labels Dec 20, 2022
@matsduf matsduf added this to the v2022.2.1 milestone Dec 20, 2022
@matsduf matsduf changed the base branch from master to develop December 20, 2022 12:42
hannaeko
hannaeko previously approved these changes Dec 20, 2022
ghost
ghost previously approved these changes Dec 20, 2022

@marc-vanderwal marc-vanderwal left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Apart from a few typos that were probably there before the file was deleted, looks good to me.

### Objective

In order to begin testing the domain name from the input must be a valid
domain name. The domain name must either be a

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

The domain name must either be: (the “a” is redundant”).

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Fixed.

extension of the "_" character, standardized for SRV records
([RFC 2782](https://tools.ietf.org/html/rfc2782)). The "." character is
the delimiter between labels, and a label must not start or end with a
"-" character. There are also lenght limitation of the domain names and

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

“lenght limitation” -> “length limitations”

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Fixed.

section 2.3.2.3), or
2. a valid ASCII domain.

The ASCII domain name is valid if follows the rules defined in section 2.1

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

“if follows” -> “if it follows”

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Fixed.

@matsduf

matsduf commented Dec 22, 2022

Copy link
Copy Markdown
Contributor Author

Apart from a few typos that were probably there before the file was deleted, looks good to me.

The first commit of this PR just restores the file exactly how it was before it was deleted without any changes.

@matsduf matsduf dismissed stale reviews from ghost and hannaeko via a08ed74 December 22, 2022 23:27
@matsduf matsduf requested review from a user, hannaeko and marc-vanderwal December 22, 2022 23:27

@marc-vanderwal marc-vanderwal left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Looks good to me.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A-Documentation Area: Documentation only. P-High Priority: Issue to be solved before other

Projects

None yet

Development

Successfully merging this pull request may close these issues.

No specification for test case Basic00 anymore, but there is implementation

3 participants