You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: ci/README.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -44,14 +44,14 @@ Why not just build the tooling right from the PRs Nixpkgs version?
44
44
## `get-merge-commit.sh GITHUB_REPO PR_NUMBER`
45
45
46
46
Check whether a PR is mergeable and return the test merge commit as
47
-
[computed by GitHub](https://docs.github.com/en/rest/guides/using-the-rest-api-to-interact-with-your-git-database?apiVersion=2022-11-28#checking-mergeability-of-pull-requests).
47
+
[computed by GitHub](https://docs.github.com/en/rest/guides/using-the-rest-api-to-interact-with-your-git-database?apiVersion=2022-11-28#checking-mergeability-of-pull-requests) and its parent.
48
48
49
49
Arguments:
50
50
-`GITHUB_REPO`: The repository of the PR, e.g. `NixOS/nixpkgs`
51
51
-`PR_NUMBER`: The PR number, e.g. `1234`
52
52
53
53
Exit codes:
54
-
- 0: The PR can be merged, the test merge commit hash is returned on stdout
54
+
- 0: The PR can be merged, the hashes of the test merge commit and the target commit are returned on stdout
55
55
- 1: The PR cannot be merged because it's not open anymore
56
56
- 2: The PR cannot be merged because it has a merge conflict
57
57
- 3: The merge commit isn't being computed, GitHub is likely having internal issues, unknown if the PR is mergeable
-`--max-jobs`: The maximum number of derivations to run at the same time. Only each [supported system](../supportedSystems.nix) gets a separate derivation, so it doesn't make sense to set this higher than that number.
14
+
-`--max-jobs`: The maximum number of derivations to run at the same time. Only each [supported system](../supportedSystems.json) gets a separate derivation, so it doesn't make sense to set this higher than that number.
15
15
-`--cores`: The number of cores to use for each job. Recommended to set this to the amount of cores on your system divided by `--max-jobs`.
16
16
-`chunkSize`: The number of attributes that are evaluated simultaneously on a single core. Lowering this decreases memory usage at the cost of increased evaluation time. If this is too high, there won't be enough chunks to process them in parallel, and will also increase evaluation time.
17
17
-`evalSystems`: The set of systems for which `nixpkgs` should be evaluated. Defaults to the four official platforms (`x86_64-linux`, `aarch64-linux`, `x86_64-darwin` and `aarch64-darwin`).
0 commit comments