WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
214365
Improve handling of invalid ChangeLog by webkit-patch
https://bugs.webkit.org/show_bug.cgi?id=214365
Summary
Improve handling of invalid ChangeLog by webkit-patch
Simon Fraser (smfr)
Reported
2020-07-15 11:23:07 PDT
OpenSource % wkpatch upload -g HEAD.... --no-review --no-obsolete Total errors found: 0 in 13 files Traceback (most recent call last): File "Tools/Scripts/webkit-patch", line 80, in <module> main() File "Tools/Scripts/webkit-patch", line 75, in main WebKitPatch(os.path.abspath(__file__)).main() File "/Volumes/Data/Development/system/webkit/OpenSource/Tools/Scripts/webkitpy/tool/multicommandtool.py", line 305, in main result = command.check_arguments_and_execute(options, args, self) File "/Volumes/Data/Development/system/webkit/OpenSource/Tools/Scripts/webkitpy/tool/multicommandtool.py", line 123, in check_arguments_and_execute return self.execute(options, args, tool) or 0 File "/Volumes/Data/Development/system/webkit/OpenSource/Tools/Scripts/webkitpy/tool/commands/abstractsequencedcommand.py", line 55, in execute self._sequence.run_and_handle_errors(tool, options, state) File "/Volumes/Data/Development/system/webkit/OpenSource/Tools/Scripts/webkitpy/tool/commands/stepsequence.py", line 73, in run_and_handle_errors self._run(tool, options, state) File "/Volumes/Data/Development/system/webkit/OpenSource/Tools/Scripts/webkitpy/tool/commands/stepsequence.py", line 67, in _run step(tool, options).run(state) File "/Volumes/Data/Development/system/webkit/OpenSource/Tools/Scripts/webkitpy/tool/steps/preparechangelog.py", line 106, in run self._ensure_bug_url(state) File "/Volumes/Data/Development/system/webkit/OpenSource/Tools/Scripts/webkitpy/tool/steps/preparechangelog.py", line 58, in _ensure_bug_url if not changelog.latest_entry().bug_id(): AttributeError: 'NoneType' object has no attribute 'bug_id' Will attach my local diff.
Attachments
My cached changes
(18.96 KB, patch)
2020-07-15 11:23 PDT
,
Simon Fraser (smfr)
no flags
Details
Formatted Diff
Diff
Patch
(1.60 KB, patch)
2020-07-16 08:08 PDT
,
Aakash Jain
no flags
Details
Formatted Diff
Diff
Show Obsolete
(1)
View All
Add attachment
proposed patch, testcase, etc.
Simon Fraser (smfr)
Comment 1
2020-07-15 11:23:42 PDT
Created
attachment 404360
[details]
My cached changes
Simon Fraser (smfr)
Comment 2
2020-07-15 13:00:20 PDT
The WebKit/Changelog file has a space at the start of the date line.
Aakash Jain
Comment 3
2020-07-16 08:08:01 PDT
Created
attachment 404441
[details]
Patch
EWS
Comment 4
2020-07-16 09:06:08 PDT
Committed
r264455
: <
https://trac.webkit.org/changeset/264455
> All reviewed patches have been landed. Closing bug and clearing flags on
attachment 404441
[details]
.
Radar WebKit Bug Importer
Comment 5
2020-07-16 09:07:57 PDT
<
rdar://problem/65669064
>
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