Bug 107643

Summary: Removing command line shortening as it makes it difficult to see the command during errors.
Product: WebKit Reporter: Tim 'mithro' Ansell <mithro>
Component: New BugsAssignee: Tim 'mithro' Ansell <mithro>
Status: RESOLVED FIXED    
Severity: Normal CC: abarth, alancutter, dpranke, eric, webkit.review.bot
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch none

Tim 'mithro' Ansell
Reported 2013-01-23 00:42:19 PST
Removing command line shortening as it makes it difficult to see the command during errors.
Attachments
Patch (2.98 KB, patch)
2013-01-23 00:42 PST, Tim 'mithro' Ansell
no flags
Tim 'mithro' Ansell
Comment 1 2013-01-23 00:42:40 PST
Tim 'mithro' Ansell
Comment 2 2013-01-23 00:49:21 PST
Example case where this is annoying; Failed to run "['/mnt/git/webkit-chromium-ews/Tools/Scripts/webkit-patch', '--status-host=queues.webkit.org', '-..." exit_code: 2 cwd: /mnt/git/webkit-chromium-ews Running Python unit tests Failed to run "['Tools/Scripts/test-webkitpy', '--all']" exit_code: 1 We then include 500 lines of history, so it's not a case of wasting the space...
Eric Seidel (no email)
Comment 3 2013-01-23 01:02:39 PST
Comment on attachment 184169 [details] Patch I'm not sure what this does?
Alan Cutter
Comment 4 2013-01-23 01:09:52 PST
Sheriffbot will not output lines longer than IRC's limit (a bit over 400 characters) as multiple posts so there is some safe guard against #webkit being completely flooded if Sheriffbot posts an error. LGTM.
Tim 'mithro' Ansell
Comment 5 2013-01-23 01:12:54 PST
Currently when returning a ScriptError it restricts the args output part to be 100 characters wide. You get something like; Failed to run "['/mnt/git/webkit-chromium-ews/Tools/Scripts/webkit-patch', '--status-host=queues.webkit.org', '-..." exit_code: 2 cwd: /mnt/git/webkit-chromium-ews]" Rather than the command which actually failed, and hence you can't reproduce the problem.
Eric Seidel (no email)
Comment 6 2013-01-23 02:04:22 PST
Comment on attachment 184169 [details] Patch OK. We could obviously make this output much prettier. :) But making it more useful is probably a good first step.
WebKit Review Bot
Comment 7 2013-01-23 02:08:26 PST
Comment on attachment 184169 [details] Patch Clearing flags on attachment: 184169 Committed r140528: <http://trac.webkit.org/changeset/140528>
WebKit Review Bot
Comment 8 2013-01-23 02:08:30 PST
All reviewed patches have been landed. Closing bug.
Note You need to log in before you can comment on or make changes to this bug.