[Nix-dev] Nixbot - a little helper for pull requests

Profpatsch mail at profpatsch.de
Fri May 6 15:52:45 CEST 2016


On 16-05-06 12:49pm, Rok Garbas wrote:
> - another cool thing is that it would be nice to automatically merge
> if somebody only changes version number (and that does not trigger to
> much of a rebuild). how i envision this is that package can provide
> default.json where we store all the metadata of a certain package,
> (this is also where version is specified) if bot detects that only
> default.json is changes and that PR is build by hydra successfully
> then it can automatically merge it. and ofcourse this would be an
> opt-in option for a package (eg. keeping a list of packages which we
> allow to automerge).

How about using nix’s capabilities and checking the produced
derivation for such things? In that case it would translate to
“only the name attribute has changed”.

-- 
Proudly written in Mutt with Vim on NixOS.
Q: Why is this email five sentences or less?
A: http://five.sentenc.es
May take up to five days to read your message. If it’s urgent, call me.


More information about the nix-dev mailing list