Skip to content

Add allowlist for subcmds

路志远请求将add-subcommands-allowlist合并到main-jh

What does this MR do and why?

Resolve https://jihulab.com/gitlab-cn/gitlab/-/issues/3267

禁掉在极狐 GitLab 不可用的几个 subcmds。

除此之外,其他的所有 subcmds 均已经过验证,可被用户正常使用。

禁用命令 禁用的原因
download download 的作用是下载 changes,GitLab 中不存在 changes 的概念
cherry-pick cherry-pick 操作的对象也是 changes,GitLab 中不存在 changes 的概念
gitc-delete gitc 是 Google 内部开发工具,我们不需要它
gitc-init gitc 是 Google 内部开发工具,我们不需要它

Screenshots or screen recordings

Screenshots are required for UI changes, and strongly recommended for all other merge requests.

How to set up and validate locally

Numbered steps to set up and validate the change are strongly suggested.

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

路志远 编辑于

合并请求报告