auth lmdb: full support for comments#16522
Conversation
| // whether to include disabled records in the results | ||
| bool includedisabled; | ||
| // whether we are doing comments (false=records, true=comments) | ||
| bool comments; |
There was a problem hiding this comment.
Maybe prefer putting a pointer to the *dbi to use here rather than a bool? Might not be as simple as it looks.
There was a problem hiding this comment.
then we'd have to compare dbi pointers in getInternal, because the logic is different for comments vs. records (which I am unhappy about but I haven't found a clean refactor for it yet)
| "\tUnpublish the zone key with key id KEY_ID in ZONE"}}} | ||
| }; | ||
|
|
||
| static const groupCommandDispatcher commentCommands{ |
There was a problem hiding this comment.
I thought this would be part of the rrset commands. As in rrset add-comment, rrset list-comment, rrset forget-comment, rrset why-the-hell-did-I-forget-to-put-a-comment, etc.
Pull Request Test Coverage Report for Build 19674913787Warning: This coverage report may be inaccurate.This pull request's base commit is no longer the HEAD commit of its target branch. This means it includes changes from outside the original pull request, including, potentially, unrelated coverage changes.
Details
💛 - Coveralls |
This reverts commit c796957.
c6904be to
ba2d37b
Compare
|
rebased |
Co-authored-by: Miod Vallat <miod.vallat@powerdns.com> Signed-off-by: Peter van Dijk <peter.van.dijk@powerdns.com>
08619a3 to
d976bd3
Compare
Co-authored-by: Miod Vallat <miod.vallat@powerdns.com> Signed-off-by: Peter van Dijk <peter.van.dijk@powerdns.com>
Short description
WIP. TODO:
pdnsutil comment add example.com foobar A 'hello protobuf' petre->Error: std::string keyConv(const T&) [with T = DNSName; typename std::enable_if<std::is_same<T, DNSName>::value, T>::type* <anonymous> = 0; std::string = std::__cxx11::basic_string<char>] Attempt to serialize an unset DNSNameChecklist
I have: