Bug 27389

Summary: Bugzilla used inside scm.py, causes failure
Product: WebKit Reporter: Eric Seidel (no email) <eric>
Component: Tools / TestsAssignee: Nobody <webkit-unassigned>
Status: RESOLVED DUPLICATE    
Severity: Normal CC: ddkilzer, joepeck
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: PC   
OS: OS X 10.5   

Eric Seidel (no email)
Reported 2009-07-17 14:56:54 PDT
Bugzilla used inside scm.py, causes failure Traceback (most recent call last): File "/Projects/WebKit/WebKitTools/Scripts/bugzilla-tool", line 670, in <module> main() File "/Projects/WebKit/WebKitTools/Scripts/bugzilla-tool", line 667, in main return tool.main() File "/Projects/WebKit/WebKitTools/Scripts/bugzilla-tool", line 662, in main return command_object.execute(command_options, command_args, self) File "/Projects/WebKit/WebKitTools/Scripts/bugzilla-tool", line 464, in execute bug_id = options.bug_id or commit_message.parse_bug_id() File "/Projects/WebKit/WebKitTools/Scripts/modules/scm.py", line 84, in parse_bug_id match = re.search(Bugzilla.bug_server_regex + "show_bug\.cgi\?id=(?P<bug_id>\d+)", line) NameError: global name 'Bugzilla' is not defined
Attachments
Joseph Pecoraro
Comment 1 2009-07-18 20:44:09 PDT
This one got me as well. Although technically correct, I wonder if the entire function call can be dropped (and therefore removing the Bugzilla reference). If the script assumes its looking for the first "show_bug.cgi" it can find then does the bug server really matter? How often does someone put multiple bug links in their commit message, and how often are they to different bugzilla servers? I removed the function call on my local version and it worked fine.
David Kilzer (:ddkilzer)
Comment 2 2009-07-28 16:12:38 PDT
*** This bug has been marked as a duplicate of bug 27747 ***
Note You need to log in before you can comment on or make changes to this bug.