[PATCH 09/13] email: add support for X-Aiaiai-Cancel-Email-Test-Patchset

Keller, Jacob E jacob.e.keller at intel.com
Fri Mar 21 13:57:05 PDT 2014


> -----Original Message-----
> From: Artem Bityutskiy [mailto:dedekind1 at gmail.com]
> Sent: Friday, March 21, 2014 10:32 AM
> To: Keller, Jacob E
> Cc: aiaiai at lists.infradead.org
> Subject: Re: [PATCH 09/13] email: add support for X-Aiaiai-Cancel-Email-
> Test-Patchset
> 
> On Thu, 2014-03-20 at 16:37 -0700, Jacob Keller wrote:
> > +
> > +# Check whether a hook has indicated to cancel the testing this patch
> > set
> > +cancel="$(fetch_header "X-Aiaiai-Cancel-Email-Test-Patchset")"
> > +if [ -n "$cancel" ] && [ "$cancel" = "1" ]; then
> > +       verbose "Canceling $PROG without testing."
> > +       exit 0
> > +fi
> 
> So which e-mail will the sender receive if the patch-set testing was
> canceled?

In my example it's expected that the hook is the one that notifies the user, and this flag was the cleanest way to stop the email-test-patchset from running at all essentially...

That could be changed, but I expected the hook to have the most information about why the patch was cancelled.

Thanks,
Jake

> 
> --
> Best Regards,
> Artem Bityutskiy



More information about the aiaiai mailing list