Bug 201045 - webkit-patch upload: Don't crash on large changes
Summary: webkit-patch upload: Don't crash on large changes
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: New Bugs (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
Depends on:
Blocks: 198948
  Show dependency treegraph
Reported: 2019-08-22 11:22 PDT by James Darpinian
Modified: 2019-10-09 15:13 PDT (History)
2 users (show)

See Also:

Patch (1.40 KB, patch)
2019-08-22 11:22 PDT, James Darpinian
no flags Details | Formatted Diff | Diff
Patch (1.64 KB, patch)
2019-08-22 11:44 PDT, James Darpinian
no flags Details | Formatted Diff | Diff
Patch (9.14 KB, patch)
2019-08-22 16:23 PDT, James Darpinian
jdarpinian: review?
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description James Darpinian 2019-08-22 11:22:36 PDT
webkit-patch upload: Make file status failure not fatal.
Comment 1 James Darpinian 2019-08-22 11:22:58 PDT
Created attachment 377029 [details]
Comment 2 James Darpinian 2019-08-22 11:44:04 PDT
Created attachment 377030 [details]
Comment 3 James Darpinian 2019-08-22 11:45:55 PDT
Hey Dean, I ran into this while updating ANGLE, which produces large patches. Can you take a look?
Comment 4 Alexey Proskuryakov 2019-08-22 13:48:04 PDT
Comment on attachment 377030 [details]

View in context: https://bugs.webkit.org/attachment.cgi?id=377030&action=review

> Tools/ChangeLog:8
> +        webkit-patch upload fails on large changes (~2000 files) because the prepare-ChangeLog step tries to
> +        execute a command line that is too long. This change allows webkit-patch upload to continue past
> +        the failure.

Could you please elaborate on why it's acceptable to continue past this failure?

Seems like we should make a decision for how many files we want to put into ChangeLog (too many is impractical), but that's a check that would be made at a different level in the code.
Comment 5 James Darpinian 2019-08-22 16:23:24 PDT
Created attachment 377068 [details]
Comment 6 James Darpinian 2019-08-22 16:26:04 PDT
I updated the patch to fix the failure by splitting the command line, instead of ignoring the failure. PTAL