Steps towards even more PR automation

Another update from the last couple weeks. The nixpkgs-update bot already
automatically detects that a package needs updating, automatically updates the
nix expression and recomputes shas, automatically makes the git commits and
sends PRs, automatically builds/tests the package and its full reverse closure
of dependencies with nixpkgs-review, and automatically triggers the OfBorg CI
on other platforms to run any NixOS tests. So what’s left?

One one of the remaining parts that I’ve found the most time consuming is going and
hunting down the package’s changelog to see if there’s anything I should
investigate more thoroughly before merging. To smooth that process,
nixpkgs-update will now compute and link meta.changelog in the PR
description, like so:

https://github.com/NixOS/nixpkgs/pull/91646

https://github.com/NixOS/nixpkgs/blob/f9aa6fa2cdccbc80a624ec387515edcdba67a374/pkgs/development/libraries/oneDNN/default.nix#L37

I’d encourage maintainers to start adding meta.changelog so that the bot’s PRs are faster to review!

3 Likes