From 09037992f9e0b7ec16c7bdc19d7bc0c3531bd706 Mon Sep 17 00:00:00 2001 From: Lena <126529524+acuteenvy@users.noreply.github.com> Date: Wed, 20 Dec 2023 00:51:24 +0100 Subject: [PATCH] nixpkgs-review: add page (#11791) * nixpkgs-review: add page * nixpkgs-review: minor improvements Co-authored-by: Juri Dispan Co-authored-by: K.B.Dharun Krishna --------- Co-authored-by: Juri Dispan Co-authored-by: K.B.Dharun Krishna --- pages/common/nixpkgs-review.md | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 pages/common/nixpkgs-review.md diff --git a/pages/common/nixpkgs-review.md b/pages/common/nixpkgs-review.md new file mode 100644 index 0000000000..4fcbf94d84 --- /dev/null +++ b/pages/common/nixpkgs-review.md @@ -0,0 +1,29 @@ +# nixpkgs-review + +> Review pull requests in the NixOS packages repository (nixpkgs). +> After a successful build, a `nix-shell` with all built packages is started. +> More information: . + +- Build changed packages in the specified pull request: + +`nixpkgs-review pr {{pr_number|pr_url}}` + +- Build changed packages and post a comment with a report (requires setting up a token in `hub`, `gh`, or the `GITHUB_TOKEN` environment variable): + +`nixpkgs-review pr --post-result {{pr_number|pr_url}}` + +- Build changed packages and print a report: + +`nixpkgs-review pr --print-result {{pr_number|pr_url}}` + +- Build changed packages in a local commit: + +`nixpkgs-review rev {{HEAD}}` + +- Build changed packages that haven't been committed yet: + +`nixpkgs-review wip` + +- Build changed packages that have been staged: + +`nixpkgs-review wip --staged`