浏览 1.1.1 文档
1.1.1

ait policy — 完整参考

对选定的 Patchset 评估、查看并显式豁免受支持的策略检查。

适用人群: 维护者与策略运维

作用边界#

用途: 对选定的 Patchset 评估、查看并显式豁免受支持的策略检查。

影响类别: 评估与查看,外加一次带明确理由的策略豁免写操作。

覆盖: ait policy 下共 4 个公开 help surface。

下面的代码块原样保留 1.1.1 二进制的输出,包含它给出的每一个参数、选项、 默认值、可选值、冲突关系和必填要求。

完整命令树#

代码 · text
ait policy
ait policy eval
ait policy show
ait policy waive

原样输出的 help#

ait policy#

二进制描述: Check, inspect, or waive remote Patchset requirements.

代码 · text
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.

代码 · text
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.

代码 · text
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.

代码 · text
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打印帮助

版本权威

对照 1.1.1 源码逐条核对

这一页是公开文档,不是第二份产品契约。要确认发布权威,请以确切的源码和分发契约为准。

所属组件 Snapshot
  • ait-coreSNP-ED7593DBF982
  • ait-serverSNP-0CCD7DD2A077
  • ait-runnerSNP-35C9C133D2EE
  • ait-pythonSNP-756C731A4CC0
  • ait-nodeSNP-55E90D0A81F1