<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>27389</bug_id>
          
          <creation_ts>2009-07-17 14:56:54 -0700</creation_ts>
          <short_desc>Bugzilla used inside scm.py, causes failure</short_desc>
          <delta_ts>2009-07-28 16:12:38 -0700</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>Tools / Tests</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>PC</rep_platform>
          <op_sys>OS X 10.5</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>27747</dup_id>
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Eric Seidel (no email)">eric</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>ddkilzer</cc>
    
    <cc>joepeck</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>132717</commentid>
    <comment_count>0</comment_count>
    <who name="Eric Seidel (no email)">eric</who>
    <bug_when>2009-07-17 14:56:54 -0700</bug_when>
    <thetext>Bugzilla used inside scm.py, causes failure

Traceback (most recent call last):
  File &quot;/Projects/WebKit/WebKitTools/Scripts/bugzilla-tool&quot;, line 670, in &lt;module&gt;
    main()
  File &quot;/Projects/WebKit/WebKitTools/Scripts/bugzilla-tool&quot;, line 667, in main
    return tool.main()
  File &quot;/Projects/WebKit/WebKitTools/Scripts/bugzilla-tool&quot;, line 662, in main
    return command_object.execute(command_options, command_args, self)
  File &quot;/Projects/WebKit/WebKitTools/Scripts/bugzilla-tool&quot;, line 464, in execute
    bug_id = options.bug_id or commit_message.parse_bug_id()
  File &quot;/Projects/WebKit/WebKitTools/Scripts/modules/scm.py&quot;, line 84, in parse_bug_id
    match = re.search(Bugzilla.bug_server_regex + &quot;show_bug\.cgi\?id=(?P&lt;bug_id&gt;\d+)&quot;, line)
NameError: global name &apos;Bugzilla&apos; is not defined</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>132972</commentid>
    <comment_count>1</comment_count>
    <who name="Joseph Pecoraro">joepeck</who>
    <bug_when>2009-07-18 20:44:09 -0700</bug_when>
    <thetext>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 &quot;show_bug.cgi&quot; 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.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>135407</commentid>
    <comment_count>2</comment_count>
    <who name="David Kilzer (:ddkilzer)">ddkilzer</who>
    <bug_when>2009-07-28 16:12:38 -0700</bug_when>
    <thetext>

*** This bug has been marked as a duplicate of bug 27747 ***</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>