add new chinese translations
This commit is contained in:
29
pages.zh/common/nixpkgs-review.md
Normal file
29
pages.zh/common/nixpkgs-review.md
Normal file
@@ -0,0 +1,29 @@
|
||||
# nixpkgs-review
|
||||
|
||||
> 在 NixOS 包存储库 (nixpkgs) 中审查拉取请求。
|
||||
> 在成功构建后,将启动一个包含所有构建包的 `nix-shell`。
|
||||
> 更多信息:<https://github.com/Mic92/nixpkgs-review#usage>。
|
||||
|
||||
- 构建指定拉取请求中更改的包:
|
||||
|
||||
`nixpkgs-review pr {{pr_number|pr_url}}`
|
||||
|
||||
- 构建更改的包并发布带有报告的评论(需要在 `hub`、`gh` 或 `GITHUB_TOKEN` 环境变量中设置令牌):
|
||||
|
||||
`nixpkgs-review pr --post-result {{pr_number|pr_url}}`
|
||||
|
||||
- 构建更改的包并打印报告:
|
||||
|
||||
`nixpkgs-review pr --print-result {{pr_number|pr_url}}`
|
||||
|
||||
- 在本地提交中构建更改的包:
|
||||
|
||||
`nixpkgs-review rev {{HEAD}}`
|
||||
|
||||
- 构建尚未提交的更改包:
|
||||
|
||||
`nixpkgs-review wip`
|
||||
|
||||
- 构建已暂存的更改包:
|
||||
|
||||
`nixpkgs-review wip --staged`
|
Reference in New Issue
Block a user