mirror of
https://github.com/nix-community/nixpkgs-update.git
synced 2024-11-30 12:22:47 +03:00
Merge pull request #300 from ryantm/increase-master-max-rebuilds
update: Increase maximum number of rebuilds to 500
This commit is contained in:
commit
43d2113dbf
@ -55,7 +55,7 @@ rebuilds and list some of the attrpaths that would need to be rebuilt.
|
||||
|
||||
## PRs against staging
|
||||
|
||||
If a PR merge would cause more than 100 packages to be rebuilt, the PR
|
||||
If a PR merge would cause more than 500 packages to be rebuilt, the PR
|
||||
is made against staging.
|
||||
|
||||
|
||||
|
@ -363,7 +363,7 @@ updateAttrPath log mergeBase updateEnv@UpdateEnv {..} attrPath = do
|
||||
else Outpaths.outpathReport opDiff
|
||||
let prBase =
|
||||
flip fromMaybe skipOutpathBase
|
||||
if Outpaths.numPackageRebuilds opDiff < 100
|
||||
if Outpaths.numPackageRebuilds opDiff <= 500
|
||||
then "master"
|
||||
else "staging"
|
||||
publishPackage log updateEnv' oldSrcUrl newSrcUrl attrPath result opReport prBase rewriteMsgs
|
||||
|
Loading…
Reference in New Issue
Block a user