Bug 41959 - webkit-patch failed to detect reviewer
Summary: webkit-patch failed to detect reviewer
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: Tools / Tests (show other bugs)
Version: 528+ (Nightly build)
Hardware: All All
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-07-09 08:41 PDT by Tony Gentilcore
Modified: 2010-07-09 10:44 PDT (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tony Gentilcore 2010-07-09 08:41:57 PDT
--- Comment #10 from WebKit Commit Bot <eseidel@chromium.org>  2010-07-09 07:52:34 PST ---
(From update of attachment 60910 [details])
Rejecting patch 60910 from commit-queue.

Unexpected failure when processing patch!  Please file a bug against webkit-patch.
Failed to run "['./WebKitTools/Scripts/webkit-patch', '--status-host=webkit-commit-queue.appspot.com', 'land-attachment', '--force-clean', '--build', '--non-interactive', '--ignore-builders', '--build-style=both', '--quiet', 60910, '--test', '--parent-command=commit-queue', '--no-update']" exit_code: 1
Last 500 characters of output:
webkitpy/tool/commands/stepsequence.py", line 64, in _run
   step(tool, options).run(state)
 File "/Users/eseidel/Projects/CommitQueue/WebKitTools/Scripts/webkitpy/tool/steps/validatereviewer.py", line 68, in run
   if self._has_valid_reviewer(changelog_entry):
 File "/Users/eseidel/Projects/CommitQueue/WebKitTools/Scripts/webkitpy/tool/steps/validatereviewer.py", line 50, in _has_valid_reviewer
   if changelog_entry.reviewer():
AttributeError: 'NoneType' object has no attribute 'reviewer'
Comment 1 Tony Gentilcore 2010-07-09 10:17:59 PDT
The problem turned out to be a stray line break at the top of the ChangeLog.

I can put together a fix for this. Options are:
1. Automatically strip line breaks at the top of the ChangeLog
2. Just detect and warn in a more useful way
3. Ignore this bug as a user-error

#1 seems the best to me. Thoughts?
Comment 2 Adam Barth 2010-07-09 10:44:03 PDT
> 1. Automatically strip line breaks at the top of the ChangeLog

In which layer were you thinking of making this change?  svn-apply already does some fixup of the ChangeLog so it might make sense there,