WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
33488
REGRESSION: webkit-patch upload errors if lacking a ChangeLog
https://bugs.webkit.org/show_bug.cgi?id=33488
Summary
REGRESSION: webkit-patch upload errors if lacking a ChangeLog
Ojan Vafai
Reported
2010-01-11 13:34:16 PST
webkit-patch land now fails with an error if you haven't created a ChangeLog file first. I think it's the linter complaining. This worked as of Friday.
Attachments
Add attachment
proposed patch, testcase, etc.
Eric Seidel (no email)
Comment 1
2010-01-11 13:45:23 PST
Land? Do you mean upload? "land" doesn't create ChangeLogs that I know of.
Eric Seidel (no email)
Comment 2
2010-01-11 13:46:10 PST
Land has no ChangeLog creation:
http://trac.webkit.org/browser/trunk/WebKitTools/Scripts/webkitpy/commands/download.py#L70
Ojan Vafai
Comment 3
2010-01-11 13:56:48 PST
Doh. Yes, I meant upload.
Ojan Vafai
Comment 4
2010-01-11 13:58:04 PST
backtrace: ojanmacpro:WebKit ojan$ webkit-patch upload Traceback (most recent call last): File "/WebKit/WebKitTools/Scripts/webkit-patch", line 108, in <module> WebKitPatch().main() File "/WebKit/WebKitTools/Scripts/webkitpy/multicommandtool.py", line 299, in main return command.check_arguments_and_execute(options, args, self) File "/WebKit/WebKitTools/Scripts/webkitpy/multicommandtool.py", line 113, in check_arguments_and_execute return self.execute(options, args, tool) or 0 File "/WebKit/WebKitTools/Scripts/webkitpy/commands/abstractsequencedcommand.py", line 43, in execute self._sequence.run_and_handle_errors(tool, options, self._prepare_state(options, args, tool)) File "/WebKit/WebKitTools/Scripts/webkitpy/commands/upload.py", line 162, in _prepare_state state = { "bug_id" : self._bug_id(args, tool) } File "/WebKit/WebKitTools/Scripts/webkitpy/commands/abstractdiffcommand.py", line 38, in _bug_id bug_id = parse_bug_id(tool.scm().commit_message_for_this_commit().message()) File "/WebKit/WebKitTools/Scripts/webkitpy/scm.py", line 172, in commit_message_for_this_commit raise ScriptError(message="Found no modified ChangeLogs, cannot create a commit message.\n" webkitpy.executive.ScriptError: Found no modified ChangeLogs, cannot create a commit message. All changes require a ChangeLog. See:
http://webkit.org/coding/contributing.html
Eric Seidel (no email)
Comment 5
2010-01-11 14:03:20 PST
Sounds like a step ordering problem. :(
http://trac.webkit.org/browser/trunk/WebKitTools/Scripts/webkitpy/commands/upload.py#L138
Looks like the solution is to just move the check-style check until after the ChangeLog prep. Or to run it before changelog prep with some sort of --ignore-ChangeLogs flag.
Adam Barth
Comment 6
2010-01-11 15:15:28 PST
Crap. I probably broke this with the bug number patch. Feel free to roll that out.
Eric Seidel (no email)
Comment 7
2010-01-11 16:08:34 PST
Bug 33197
was reverted in
http://trac.webkit.org/changeset/53105
. Adam believes that should fix this regression.
Eric Seidel (no email)
Comment 8
2010-01-12 04:47:58 PST
Closing. Works for me now. If this is still giving you trouble Ojan, let us know!
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug