-
Notifications
You must be signed in to change notification settings - Fork 921
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update Backend docs #14840
base: master
Are you sure you want to change the base?
Update Backend docs #14840
Conversation
Pull Request Test Coverage Report for Build 13241425743Details
💛 - Coveralls |
67c9833
to
3a78813
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
partial review
3a78813
to
6427d89
Compare
The last push split out the change of itemize char from - to * into a separate commit to ease reviewing and I added the tense fix suggested by @jsoref in #14840 (comment). |
6092180
to
268cf8d
Compare
Dropped |
268cf8d
to
fd8d9d5
Compare
The patch adding the "Autosecondary" column was replaced by a patch renaming the "Autoprimary" column to "Autosecondary". Also dropped "Autoprimary" from the individual backend docs. So the things to fix before this can go in are:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I believe I got these correct.
Also, all backend but Bind support multiple instances.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Catch some low fruit. Review is probably incomplete.
12924e3
to
ac3f7ec
Compare
ac3f7ec
to
0256f51
Compare
Each backend that provides support for Primary also can do Autoprimary, so listing that separately isn't sensible. Before commit 45675c5 ("auth: catalog zone documentation") this column was titled "Super slave". Said commit then changed it wrongly to "Autoprimary". The right new term for "Super slave" is "Autosecondary". Adapt accordingly. Fixes: 45675c5 ("auth: catalog zone documentation")
Nearly all backend docs use * for their feature list. Upgrade that to "all".
Users shouldn't have to care about case handling and if a need is hit this is handled as a bug. So drop this documentation bit.
0256f51
to
9584256
Compare
I somehow rewrote some commits from |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This appears to be in good shape now.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
thanks! almost there :)
docs/backends/bind.rst
Outdated
* Secondary: Yes | ||
* Producer: No | ||
* Consumer: No | ||
* Autosecondary: Yes |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
still Experimental
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I just updated this PR. In the index.rst
table there is (as of master) a "Yes" for "Autoprimary/bind". It was diagnosed earlier that the "Autoprimary" column really describes "Autosecondary". I fixed that mismatch for bind in a separate commit, however maybe this should better be squashed into 2386e49?
docs/backends/geoip.rst
Outdated
* Zone caching: Yes | ||
* API: Read-only | ||
* Multiple instances: Yes | ||
* Zone caching: No |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
pretty sure this is Yes
docs/backends/lua2.rst
Outdated
* Zone caching: Yes | ||
* API: Read-Write | ||
* Multiple instances: Yes | ||
* Zone caching: No |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes - if dns_get_all_domains
is implemented
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
which I guess is just Yes, we shouldn't have to note "if implemented" on every item here
* Multiple instances: Yes | ||
* Zone caching: Yes\* | ||
* Module name: remote | ||
* Launch: ``remote`` | ||
|
||
\* If provided by the responder (your script). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I guess this note wants to be in lua2 too!
Make all the tables at the beginning of the backend detail descriptions describe the same properties in the same order. Stick to the order used in the overview table in index.rst. Also use the more politically correct names (i.e. Master -> Primary; Slave -> Secondary; Superslave -> Autosecondary).
According to bind.rst support for Autosecondary is "Experimental". Claim the same in the overview table.
9584256
to
bcefa14
Compare
docs/backends/random.rst
Outdated
* Multiple instances: No | ||
* Zone caching: No | ||
* Module name: random | ||
* Launch: ``random`` | ||
|
||
This is a very silly backend which is discussed in the :doc:`Backends |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nitpick: if you have changed the tense of the introduction sentence to past tense, you need to change this sentence, too.
This is a very silly backend which is discussed in the :doc:`Backends | |
This used to be a very silly backend which was discussed in the :doc:`Backends |
For an event that happend at a definite time in the past, past simple is the right tense. Suggested-by: Josh Soref (josref)
bcefa14
to
b95155c
Compare
Short description
Make the feature lists of all backend docs consistently list the same properties
I didn't know for all added fields what the right value is, added "???" in that case. Happy for feedback about how to change them into the right values.
Checklist
I have: