[llvm-dev] [RFC] Helping release management

Justin Bogner via llvm-dev
Tue, 17 May 2016 19:04:53 -0000

Hans Wennborg via llvm-dev <llvm-dev at lists.llvm.org>
writes:
> On Mon, May 16, 2016 at 6:07 PM, Quentin Colombet via llvm-dev
> <llvm-dev at lists.llvm.org> wrote:
>> For A, the idea is to have an automatic way to update the PRs (like
resolved
>> and fixed with a revision number) when some keywords are set (like
fixes
>> PR#). The idea with Diffusion is to have a field that marks the commit
has
>> been a fix and that we could manually set if we forgot to set the
keyword at
>> commit time.
>
> Like someone else pointed out, the PR shouldn't necessarily be marked
> fixed because there's a commit referring to it.
>
> The way I'd propose is simply a commit hook that adds a message to the
> bug: "Commit rXXX refers to this bug:\n\n(quote of commit
message)".
>
> Note that this would also fire when a commit referring to a PR gets
> reverted (assuming the reverting commit doesn't botch the commit
> message), etc., which is super useful for those following along on the
> bug's cc list.

+1. This would be a very useful thing to have, regardless of where the
rest of this thread goes.