1.1.1
ait policy — 完整参考
对选定的 Patchset 评估、查看并显式豁免受支持的策略检查。
适用人群: 维护者与策略运维
作用边界#
用途: 对选定的 Patchset 评估、查看并显式豁免受支持的策略检查。
影响类别: 评估与查看,外加一次带明确理由的策略豁免写操作。
覆盖: ait policy 下共 4 个公开 help surface。
下面的代码块原样保留 1.1.1 二进制的输出,包含它给出的每一个参数、选项、 默认值、可选值、冲突关系和必填要求。
完整命令树#
ait policy
ait policy eval
ait policy show
ait policy waive原样输出的 help#
ait policy#
二进制描述: Check, inspect, or waive remote Patchset requirements.
Check, inspect, or waive remote Patchset requirements.
Usage: ait policy <COMMAND>
Commands:
eval Check the configured Policy for a selected remote Patchset.
show Show the recorded Policy result for a remote Patchset.
waive Request a reasoned Policy waiver for a remote Patchset.
help Print this message or the help of the given subcommand(s)
Options:
-h, --help Print help说明
检查、查看或豁免远程 Patchset 要求。
| 参数 / 选项 | 说明 |
|---|---|
eval | 检查所选远程 Patchset 的已配置 Policy。 |
show | 显示一个远程 Patchset 已记录的 Policy 结果。 |
waive | 为远程 Patchset 请求带理由的 Policy 豁免。 |
help | 打印本消息或给定子命令的帮助 |
-h, --help | 打印帮助 |
ait policy eval#
二进制描述: Check the configured Policy for a selected remote Patchset.
Check the configured Policy for a selected remote Patchset.
Usage: ait policy eval [OPTIONS] <PATCHSET_ID>
Arguments:
<PATCHSET_ID>
Options:
--remote <REMOTE>
--json
-h, --help Print help说明
检查所选远程 Patchset 的已配置 Policy。
| 参数 / 选项 | 说明 |
|---|---|
-h, --help | 打印帮助 |
ait policy show#
二进制描述: Show the recorded Policy result for a remote Patchset.
Show the recorded Policy result for a remote Patchset.
Usage: ait policy show [OPTIONS] <PATCHSET_ID>
Arguments:
<PATCHSET_ID>
Options:
--remote <REMOTE>
--json
-h, --help Print help说明
显示一个远程 Patchset 已记录的 Policy 结果。
| 参数 / 选项 | 说明 |
|---|---|
-h, --help | 打印帮助 |
ait policy waive#
二进制描述: Request a reasoned Policy waiver for a remote Patchset.
Request a reasoned Policy waiver for a remote Patchset.
Usage: ait policy waive [OPTIONS] --rule <RULE_NAME> --reason <REASON> <PATCHSET_ID>
Arguments:
<PATCHSET_ID>
Options:
--rule <RULE_NAME>
--reason <REASON>
--expires-at <EXPIRES_AT>
--remote <REMOTE>
--json
-h, --help Print help说明
为远程 Patchset 请求带理由的 Policy 豁免。
| 参数 / 选项 | 说明 |
|---|---|
-h, --help | 打印帮助 |