在哪里可以找到 Gerrit 挂钩的批准类别 ID?

Where can I find Approval Category IDs for Gerrit hooks?

我正在编写 tiny utility lib 来为 gerrit 挂钩提供参数解析器,但偶然发现了一个我无法理解的标志。

添加注释的钩子支持 --<approval-category-id> 标志,但我不确定在哪里可以找到 ID。 我非常有信心它们与可用的评论标签相关(验证、评论),但他们的文档没有提及 ID。

有人知道我在哪里可以找到这些吗?

挂钩标志文档here
Gerrit 查看标签文档 here

approval-category-id 与 "Review labels" 定义的 here. They can be "Code-Review", "Verified" or any other you have customized 相同。

钩子的文档有点缺乏。我已经在上游打开了一个问题来改进这个:

Hooks plugin's documentation lacks enough information about the hook parameters