Bug 27389
Summary: | Bugzilla used inside scm.py, causes failure | ||
---|---|---|---|
Product: | WebKit | Reporter: | Eric Seidel (no email) <eric> |
Component: | Tools / Tests | Assignee: | 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)
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 | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Joseph Pecoraro
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)
*** This bug has been marked as a duplicate of bug 27747 ***