Skip to content

Updates Backend usage documents and makes global cache unexperimental#1303

Merged
matsduf merged 21 commits into
zonemaster:developfrom
matsduf:update-backend-usage
Nov 12, 2024
Merged

Updates Backend usage documents and makes global cache unexperimental#1303
matsduf merged 21 commits into
zonemaster:developfrom
matsduf:update-backend-usage

Conversation

@matsduf

@matsduf matsduf commented Oct 30, 2024

Copy link
Copy Markdown
Contributor

Purpose

The main purpose of this PR is to create a document for Backend batch usage. As a result of the work the following updates are proposed:

  • A new document for using Backend batch.
  • Updated ducument for using RPCAPI, now based on zmb and zmtest instead of curl.
    • Renames the file too.
  • Clarification of configuration of global cache .
  • Making global cache unexperimental (updates in the previous document).
  • Removes incorrect statement in RCPAPI reference.

Context

Decision on F2F to document running batches.

PR will be created in Engine to make global cache unexperimental.

How to test this PR

Review and comment. Anything missing?

Comment thread docs/public/using/backend/Using-the-Backend-RPCAPI.md Outdated
Comment thread docs/public/using/backend/Using-the-Backend-RPCAPI.md Outdated
Comment thread docs/public/configuration/global-cache.md Outdated
Comment thread docs/public/configuration/global-cache.md Outdated
Comment thread docs/public/SUMMARY.md Outdated
Comment thread docs/public/using/backend/README.md Outdated
Comment thread docs/public/using/backend/Using-Zonemaster-Backend-for-batch-testing.md Outdated
Comment thread docs/public/using/backend/Using-Zonemaster-Backend-for-batch-testing.md Outdated
Comment thread docs/public/using/backend/Using-Zonemaster-Backend-for-batch-testing.md Outdated
Comment thread docs/public/using/backend/Using-Zonemaster-Backend-for-batch-testing.md Outdated
Comment thread docs/public/using/backend/Using-Zonemaster-Backend-for-batch-testing.md Outdated
Comment thread docs/public/using/backend/Using-Zonemaster-Backend-for-batch-testing.md Outdated
matsduf and others added 6 commits November 8, 2024 14:35
Co-authored-by: tgreenx <96772376+tgreenx@users.noreply.github.com>
Co-authored-by: tgreenx <96772376+tgreenx@users.noreply.github.com>
Co-authored-by: tgreenx <96772376+tgreenx@users.noreply.github.com>
* Editorial changes from review comments.
* Other changes from review comments.
* Renamed the "using RPCAPI" file to get consistent naming.
* Added text on adding batch from a file with zmb().
* Added comments on IDN domain names.

@mattias-p mattias-p left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

So far I haven't looked at all at Using-Zonemaster-Backend-RPCAPI.md, and I've only got half way through Using-Zonemaster-Backend-for-batch-testing.md.

Regarding Using-Zonemaster-Backend-for-batch-testing.md I think the outline is excellent! But I have lots of comments on little language things.

Comment thread docs/public/using/backend/Using-Zonemaster-Backend-for-batch-testing.md Outdated
Comment thread docs/public/using/backend/Using-Zonemaster-Backend-for-batch-testing.md Outdated
Comment thread docs/public/using/backend/Using-Zonemaster-Backend-for-batch-testing.md Outdated
Comment thread docs/public/using/backend/Using-Zonemaster-Backend-for-batch-testing.md Outdated
Comment thread docs/public/using/backend/Using-Zonemaster-Backend-for-batch-testing.md Outdated
Comment thread docs/public/using/backend/Using-Zonemaster-Backend-for-batch-testing.md Outdated
Comment thread docs/public/using/backend/Using-Zonemaster-Backend-for-batch-testing.md Outdated
Comment thread docs/public/using/backend/Using-Zonemaster-Backend-for-batch-testing.md Outdated
Comment thread docs/public/using/backend/Using-Zonemaster-Backend-for-batch-testing.md Outdated
Comment thread docs/public/using/backend/Using-Zonemaster-Backend-for-batch-testing.md Outdated
@matsduf matsduf requested review from mattias-p and tgreenx November 11, 2024 15:17
tgreenx
tgreenx previously approved these changes Nov 12, 2024
Comment thread docs/public/using/backend/Using-Zonemaster-Backend-for-batch-testing.md Outdated
Comment thread docs/public/using/backend/Using-Zonemaster-Backend-for-batch-testing.md Outdated
Comment thread docs/public/using/backend/Using-Zonemaster-Backend-for-batch-testing.md Outdated
Comment thread docs/public/using/backend/Using-Zonemaster-Backend-for-batch-testing.md Outdated
Comment thread docs/public/using/backend/Using-Zonemaster-Backend-for-batch-testing.md Outdated
Comment thread docs/public/using/backend/Using-Zonemaster-Backend-for-batch-testing.md Outdated
Co-authored-by: Mattias Päivärinta <mattias@paivarinta.se>
mattias-p
mattias-p previously approved these changes Nov 12, 2024

@mattias-p mattias-p left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

I think it's great to get some how-to guides, and in particular it's great to have documentation on batching.

I found a few tiny nits in the remainder of the PR that I didn't look through before, but all in all this is great to have.

To get a more readable output, pipe the command through `jq`:

```sh
zmb version_info | jq

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Maybe it would be helpful to use the -S option for jq in our options. That way you get more stable outputs when copying commands from our documentation.

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.

Good suggestion, but in next iteration.

Comment thread docs/public/using/backend/Using-Zonemaster-Backend-RPCAPI.md Outdated
Comment thread docs/public/using/backend/Using-Zonemaster-Backend-RPCAPI.md Outdated
Comment thread docs/public/using/backend/Using-Zonemaster-Backend-RPCAPI.md Outdated
@matsduf matsduf requested review from mattias-p and tgreenx November 12, 2024 13:48
@matsduf

matsduf commented Nov 12, 2024

Copy link
Copy Markdown
Contributor Author

@mattias-p, @tgreenx och @matsstralbergiis, please re-review.

mattias-p
mattias-p previously approved these changes Nov 12, 2024

@mattias-p mattias-p left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

I only found a missing capitalization.

Comment thread docs/public/using/backend/Using-Zonemaster-Backend-for-batch-testing.md Outdated
tgreenx
tgreenx previously approved these changes Nov 12, 2024
…esting.md

Co-authored-by: Mattias Päivärinta <mattias@paivarinta.se>
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.

Documentation for Rocky linux and Redis installation for Global cache is missing

4 participants