[cfe-dev] [lldb-dev] [GitHub] RFC: Enforcing no merge commit policy

Philip Pfaffe via cfe-dev cfe-dev at lists.llvm.org
Thu Mar 21 05:22:35 PDT 2019


On Thu, Mar 21, 2019 at 1:13 PM David Chisnall via cfe-dev <
cfe-dev at lists.llvm.org> wrote:

> It is quite unlikely that GitHub will allow LLVM (or any other project) to
> run arbitrary post-receive hooks.  It is far more likely that they will
> give an option that disables the merge button in PRs.  It is already
> possible to prevent direct pushes to master by anyone, so this would be a
> very small change (literally disabling one button in the UI).
>
When the goal is to have a linear history that's not quite sufficient
though. We do not only want to prevent someone from merging commits through
the UI, but also from merging commits offline  and then pushing the merge.

Cheers,
Philip

>
> David
>
>
> _______________________________________________
> cfe-dev mailing list
> cfe-dev at lists.llvm.org
> https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20190321/9bc44208/attachment.html>


More information about the cfe-dev mailing list