[Python-Dev] GH-NNNN vs #NNNN in merge commit (original) (raw)

Nathaniel Smith njs at pobox.com
Thu Jan 25 17:50:01 EST 2018


On Thu, Jan 25, 2018 at 1:46 PM, Barry Warsaw <barry at python.org> wrote:

On Jan 25, 2018, at 13:38, Mariatta Wijaya <mariatta.wijaya at gmail.com> wrote:

+1 for the mergebot! :) Yes, +1 from me too. As you know, GitLab has the option to “merge when CI completes successfully” and it’s a great workflow. Once I’ve reviewed and approved the branch, I can hit this button and… we’re done! Assuming of course that no additional commits get pushed (that’s actually configurable I think), and that CI doesn’t fail. I’d be very happy to see how close we can get to that with GitHub and a mergebot.

You should definitely check out bors-ng: https://bors.tech/

It's designed to support the workflow that projects like Rust and Servo use: you tell the bot that a PR is good to merge, and then it takes over and manages the CI process so as to guarantee that the head of the master branch has always passed all its tests (the "not rocket science rule": https://graydon2.dreamwidth.org/1597.html).

So not only does this give you the ability to mark a PR as good before the CI has finished for that PR, like in GitLab, it also gives you a few more things:

Anyway, I don't know if it's exactly what cpython wants, but it's at the least got some really interesting ideas.

-n

-- Nathaniel J. Smith -- https://vorpus.org



More information about the Python-Dev mailing list