Bug 72564 - webkit-patch land --no-close should clear the CQ+ flag from a bug
Summary: webkit-patch land --no-close should clear the CQ+ flag from a bug
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: Tools / Tests (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-11-16 16:13 PST by Dirk Pranke
Modified: 2011-11-16 17:41 PST (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dirk Pranke 2011-11-16 16:13:39 PST
Earlier today I was attempting to fix bug 72498. I wanted to keep the bug open while I landed a workaround, so after the reviewer had R+'ed the change, I did a "webkit patch land --no-close" (landing as r100491). Unfortunately, the reviewer had CQ+'ed the change as well, landing the patch didn't clear that flag, so the commit queue landed it again as (r100509); coincidentally, this fix just happened to be something that could be safely applied multiple times.

It would be nice if "webkit-patch land --no-close" still cleared the CQ+ flag, and I can't think of a reason where this would be bad. Any objections?
Comment 1 Adam Barth 2011-11-16 17:00:34 PST
Great idea.
Comment 2 Eric Seidel (no email) 2011-11-16 17:17:51 PST
Sounds fine.  We generally don't support the multiple-patches-per-bug workflow.  That's somewhat intentional, but adding support in this way doesn't hurt so long as it's tested IMO.
Comment 3 Dirk Pranke 2011-11-16 17:20:32 PST
I'm actually wondering if webkit-patch should just always clear the CQ+ flag, since presumably it is doing so in the non --no-close case?
Comment 4 Eric Seidel (no email) 2011-11-16 17:24:22 PST
It normally obsoletes the patches.  But others complained in the past about webkit-patch clearing flags, so I think we compromised and didn't bother to obsolete patches when closing the bug.  Eventually we dropped support for the multi-patch workflow as we never supported it well in the first place (and it's discourged for other reasons, including producing epic-bugs).

I would rather add carrots to the master-bug approach than fixing the "re-use the bug for a second patch" approach.  But again, I'm OK with this small fix if it will make your life better. :)
Comment 5 Dirk Pranke 2011-11-16 17:41:16 PST
Given that this is the first time I've been bitten by this, it's clearly not a high pain point.