diff --git a/.github/PULL_REQUEST_TEMPLATE.md b/.github/PULL_REQUEST_TEMPLATE.md index 22940f5ea989..7b4ec78e4090 100644 --- a/.github/PULL_REQUEST_TEMPLATE.md +++ b/.github/PULL_REQUEST_TEMPLATE.md @@ -11,11 +11,10 @@ - [ ] macOS - [ ] other Linux distributions - [ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside [nixos/tests](https://github.com/NixOS/nixpkgs/blob/master/nixos/tests)) -- [ ] Tested compilation of all pkgs that depend on this change using `nix-shell -p nox --run "nox-review wip"` +- [ ] Tested compilation of all pkgs that depend on this change using `nix-shell -p nix-review --run "nix-review wip"` - [ ] Tested execution of all binary files (usually in `./result/bin/`) - [ ] Determined the impact on package closure size (by running `nix path-info -S` before and after) - [ ] Assured whether relevant documentation is up to date - [ ] Fits [CONTRIBUTING.md](https://github.com/NixOS/nixpkgs/blob/master/.github/CONTRIBUTING.md). --- - diff --git a/doc/reviewing-contributions.xml b/doc/reviewing-contributions.xml index d31c6deb4909..029299a50b1e 100644 --- a/doc/reviewing-contributions.xml +++ b/doc/reviewing-contributions.xml @@ -189,14 +189,14 @@ $ git rebase --onto nixos-unstable BASEBRANCH FETCH_HEAD - The nox tool can - be used to review a pull request content in a single command. It doesn't - rebase on a channel branch so it might trigger multiple source builds. + The nix-review + tool can be used to review a pull request content in a single command. PRNUMBER should be replaced by the number at the end - of the pull request title. + of the pull request title. You can also provide the full github pull + request url. -$ nix-shell -p nox --run "nox-review -k pr PRNUMBER" +$ nix-shell -p nix-review --run "nix-review pr PRNUMBER" diff --git a/doc/submitting-changes.xml b/doc/submitting-changes.xml index 4a6a2c634a58..33abfb634ea2 100644 --- a/doc/submitting-changes.xml +++ b/doc/submitting-changes.xml @@ -351,26 +351,26 @@ Additional information.
- Tested compilation of all pkgs that depend on this change using <command>nox-review</command> + Tested compilation of all pkgs that depend on this change using <command>nix-review</command> - If you are updating a package's version, you can use nox to make sure all - packages that depend on the updated package still compile correctly. This - can be done using the nox utility. The nox-review - utility can look for and build all dependencies either based on uncommited - changes with the wip option or specifying a github pull - request number. + If you are updating a package's version, you can use nix-review to make sure all + packages that depend on the updated package still compile correctly. + The nix-review utility can look for and build all dependencies + either based on uncommited changes with the wip option or + specifying a github pull request number. - review uncommitted changes: -nix-shell -p nox --run "nox-review wip" + review changes from pull request number 12345: + nix-shell -p nix-review --run "nix-review pr 12345" - review changes from pull request number 12345: -nix-shell -p nox --run "nox-review pr 12345" + review uncommitted changes: + nix-shell -p nix-review --run "nix-review wip" +
diff --git a/pkgs/tools/package-management/nix-review/default.nix b/pkgs/tools/package-management/nix-review/default.nix index a57056569c08..367405f552fb 100644 --- a/pkgs/tools/package-management/nix-review/default.nix +++ b/pkgs/tools/package-management/nix-review/default.nix @@ -8,13 +8,13 @@ python3.pkgs.buildPythonApplication rec { pname = "nix-review"; - version = "1.0.5"; + version = "2.0.0"; src = fetchFromGitHub { owner = "Mic92"; repo = "nix-review"; rev = version; - sha256 = "13dv2zpnhf218hfmixsgsbvy9zgrp7b0d125hvq8sk5x57f6114q"; + sha256 = "1hichipf02yz9n2n1fnky5rm9wxwcd04xlr0y05y78ixw8xb5ah0"; }; makeWrapperArgs = [