+1 to having a git commit linter.
I glossed over the evolution of tools over the past few years mainly
because I don't know much about that. I'm glad to hear that tools have
gotten better, and I'm not just crazy when I don't see the tooling
difficulties.
I think this is pretty well received. I have some ideas for a policy now:
* PRs that pass review should be merged by the reviewer using the BGB.
* PRs not meant for merging should be marked as such, with things like
"f?", "WIP", or "DO NOT MERGE". No-one should merge these PRs.
* If a PR is up for review (r?), then clicking the merge button implies an
r+ by the merger.
* Anyone can merge a branch after it has been r+ed (though it should not be
sitting long after r+)
* Branches may be rebased to hide the review process (sausage making), but
do not need to be.
* All commits on a branch should contain bug numbers (where applicable) and
have good commit messages (not "doh" "wat" or "oops"). It doesn't matter if
the bad commits never exist or simply get rebased out before merge.
* Any multi step deploys (complicated migrations, es index changes, etc)
must not use the BGB or merge commits, and must create linear history on
master. bug 1124497 comment 1
<
https://bugzilla.mozilla.org/show_bug.cgi?id=1124497#c1> has details about
why this is important, plus awesome ASCII pictures.
If these look goofy, I'd love someone to word smith them a bit more. Once
we are happy with these or a similar set of rules we should put them in the
docs.
I'm not totally sure of the utility of git-bgbmerge. I don't think I'd use
it much. But that doesn't mean it can't exist.
On Tue, Jan 20, 2015 at 4:48 PM, will kahn-greene <
wkahn...@mozilla.com>
wrote:
>> _______________________________________________
> dev-sumo mailing list
>
dev-...@lists.mozilla.org
>
https://lists.mozilla.org/listinfo/dev-sumo
>