Skip to content

Update documents in preparation of v2024.2#1332

Merged
tgreenx merged 7 commits into
zonemaster:developfrom
tgreenx:update-doc
Dec 5, 2024
Merged

Update documents in preparation of v2024.2#1332
tgreenx merged 7 commits into
zonemaster:developfrom
tgreenx:update-doc

Conversation

@tgreenx

@tgreenx tgreenx commented Dec 4, 2024

Copy link
Copy Markdown
Contributor

Purpose

This PR update various documents, both public and internal. Each are addressed in a different commit.

Context

Release v2024.2 testing

Changes

See commit messages.

The only change in a "public" document (1230fba) relates to removing the experimental status of the Global cache in the document, which was missed by #1303.

How to test this PR

N/A. Review, and in particular links.

@tgreenx tgreenx added the A-Documentation Area: Documentation only. label Dec 4, 2024
@tgreenx tgreenx added this to the v2024.2 milestone Dec 4, 2024
Comment on lines +173 to +175
Global cache is a feature that can be enabled in Zonemaster-Engine and consists
in a shared, persistent cache. It can increase the performance when many tests
are run within a short time frame. See [global cache configuration].

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.

I suggest that we have the same wording in Engine and Backend. I only updated in Backend.

@tgreenx tgreenx Dec 4, 2024

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.

You mean this wording? If so then I don't think it applies since Engine can be used without Backend.

### 10.2 Global cache
If Zonemaster-Backend is to be used for large batches, global cache can improve
performance. See [Global cache in Zonemaster-Engine].

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.

I think it could be much shorter in the Engine installation instruction, just as in the Backend installation instruction. But if it should be more detailed it should be so in both places. Or actually in all three places, because there is text in the CLI installation instructions too https://github.com/zonemaster/zonemaster/blob/develop/docs/public/installation/zonemaster-cli.md#global-cache

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.

I don't think it's much of an issue. Having it slightly different (i.e more generic) in the Engine installation instructions does not do any real harm, moreover the description is a better fit to the component (Engine) since it has no notion of batch and could be used with other interfaces than Zonemaster-{CLI, Backend}. The same idea is conveyed, and all references to the global cache end up in pointing to the same configuration document.

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.

I think that shorter text is better. No need for longer text when there a separate document.

```

3. Make sure Zonemaster LDNS was properly installed.
4. Make sure Zonemaster LDNS was properly installed.

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.

On lines 61 it refers to CentOS.

I think 2.2 should refer to the installation instructions with the commet that Zonemaster::LDNS etc are replaced by the dist files.

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.

I don't follow, could you explain again?

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.

On line 61 there is a reference to CentOS that we do no support any more.

In section 2.2 there are too much details about installation. We should just follow the normal installation so 2.2 could be much shorter. Exception is that we should use dist file when installing with cpanm. And preliminary zip for GUI.

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.

Updated, see commit 36d762c

- Remove CentOS related documentation
- Update Zonemaster-LDNS section in SystemTesting document
- Other minor fixes
@tgreenx tgreenx requested a review from matsduf December 4, 2024 18:29
Comment on lines +68 to 72
2. Install the preliminary distribution tarball for zonemaster-ldns.

```sh
sudo cpanm Zonemaster-LDNS-${LDNS_VERSION}.tar.gz
```

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.

It depends on the OS, if internal LDNS should be installed or not. I think it is better to write that the installation instruction should be followed, but replaces Zonemaster::LDNS with Zonemaster-LDNS-${LDNS_VERSION}.tar.gz

@matsduf matsduf 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.

To be updated before next test period.

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

Labels

A-Documentation Area: Documentation only.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants