Bug 31944 - [bzt] style-queue shouldn't reject patches from the commit-queue
Summary: [bzt] style-queue shouldn't reject patches from the commit-queue
Alias: None
Product: WebKit
Classification: Unclassified
Component: Tools / Tests (show other bugs)
Version: 528+ (Nightly build)
Hardware: All All
: P2 Normal
Assignee: Nobody
Depends on:
Reported: 2009-11-27 16:31 PST by Adam Barth
Modified: 2009-11-28 10:28 PST (History)
1 user (show)

See Also:

Patch (6.95 KB, patch)
2009-11-27 16:32 PST, Adam Barth
eric: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Adam Barth 2009-11-27 16:31:53 PST
Currently the style-queue subprocess gets confused and thinks its the commit-queue.  If the patch has an error, it rejects it from the commit-queue.  Instead, we should have style-queue specific logic.  This patch doesn't add that logic, but it gives us a callback we can use to add that logic.
Comment 1 Adam Barth 2009-11-27 16:32:55 PST
Created attachment 43975 [details]
Comment 2 Eric Seidel (no email) 2009-11-27 18:06:28 PST
I don't understand this patch or why it needs a command-line arg.  I think the command-line arg is the part that really confuses me (it's kinda ugly).
Comment 3 Adam Barth 2009-11-27 18:11:29 PST
The child process needs to know what to do with errors.  The command line argument tells the child what command understands the errors and therefore who should process them.
Comment 4 Eric Seidel (no email) 2009-11-28 09:50:41 PST
Comment on attachment 43975 [details]

Seems OK.  --parent-command would be better as per our discussion.
Comment 5 Adam Barth 2009-11-28 10:27:42 PST
Committed r51460: <http://trac.webkit.org/changeset/51460>
Comment 6 Adam Barth 2009-11-28 10:28:28 PST
Patch landed.