[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [workflow] Automatically close bug report when a patch is committed
From: |
Maxim Cournoyer |
Subject: |
Re: [workflow] Automatically close bug report when a patch is committed |
Date: |
Wed, 06 Sep 2023 22:01:51 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) |
Hi,
Simon Tournier <zimon.toutoune@gmail.com> writes:
> Hi,
>
> On Wed, 06 Sep 2023 at 12:14, Maxim Cournoyer <maxim.cournoyer@gmail.com>
> wrote:
>
>>> Let's avoid manual gardening as much as possible! :-)
>>
>> I like the idea!
>
> I think that automatizing is not trivial. Sadly.
>
> There are many corner cases:
>
> 1. series as attachement
> 2. not all the series is applied
> 3. commit message had been tweaked
> 4. etc.
>
> The potential issue is the number of false-positive; closing and the
> submission is not applied.
>
> Maybe patchwork already running (I think) could help, trying to
> regularly rebase the branch dedicated to the submission on the top of
> master, then if all is fine, somehow the two heads from the master
> branch and the dedicated branch should match, and it would indicate the
> patches are included and it is safe to close. More or less. :-)
We could use Gerrit's commit hook that adds a unique ID as a git
trailer. Then it should become possible to
1. Check if all items of a series have appeared in the git history
2. If so, close the associated issue if it was still open
--
Thanks,
Maxim
Re: [workflow] Automatically close bug report when a patch is committed, Maxim Cournoyer, 2023/09/06
- Re: [workflow] Automatically close bug report when a patch is committed, Simon Tournier, 2023/09/06
- Re: [workflow] Automatically close bug report when a patch is committed,
Maxim Cournoyer <=
- Re: [workflow] Automatically close bug report when a patch is committed, Giovanni Biscuolo, 2023/09/07
- Re: [workflow] Automatically close bug report when a patch is committed, Maxim Cournoyer, 2023/09/09
- Re: [workflow] Automatically close bug report when a patch is committed, Giovanni Biscuolo, 2023/09/11
- Re: [workflow] Automatically close bug report when a patch is committed, Maxim Cournoyer, 2023/09/11
- Re: [workflow] Automatically close bug report when a patch is committed, Giovanni Biscuolo, 2023/09/11
Re: [workflow] Automatically close bug report when a patch is committed, Simon Tournier, 2023/09/07
Re: [workflow] Automatically close bug report when a patch is committed, Maxim Cournoyer, 2023/09/09
Re: [workflow] Automatically close bug report when a patch is committed, Giovanni Biscuolo, 2023/09/07
Re: [workflow] Automatically close bug report when a patch is committed, Felix Lechner, 2023/09/07
Re: [workflow] Automatically close bug report when a patch is committed, Maxim Cournoyer, 2023/09/07