<?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>28757</bug_id>
          
          <creation_ts>2009-08-26 16:15:07 -0700</creation_ts>
          <short_desc>prepare-ChangeLog -b does not know how to use bugzilla credentials</short_desc>
          <delta_ts>2016-01-15 11:53:13 -0800</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>All</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>NEW</bug_status>
          <resolution></resolution>
          
          
          <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>ap</cc>
    
    <cc>bburg</cc>
    
    <cc>darin</cc>
    
    <cc>dbates</cc>
    
    <cc>ddkilzer</cc>
    
    <cc>rniwa</cc>
    
    <cc>ukai</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>142991</commentid>
    <comment_count>0</comment_count>
    <who name="Eric Seidel (no email)">eric</who>
    <bug_when>2009-08-26 16:15:07 -0700</bug_when>
    <thetext>prepare-ChangeLog -b does not know how to use bugzilla credentials

This means it falls on its face if using -b with a non-public (security) bug:
prepare-ChangeLog -o -b 28755

Use of uninitialized value in substitution (s///) at /Users/eseidel/Projects/WebKit/WebKitTools/Scripts/prepare-ChangeLog line 1610.
Use of uninitialized value in substitution (s///) at /Users/eseidel/Projects/WebKit/WebKitTools/Scripts/prepare-ChangeLog line 1611.
Use of uninitialized value in substitution (s///) at /Users/eseidel/Projects/WebKit/WebKitTools/Scripts/prepare-ChangeLog line 1612.
Use of uninitialized value in substitution (s///) at /Users/eseidel/Projects/WebKit/WebKitTools/Scripts/prepare-ChangeLog line 1613.
Use of uninitialized value in substitution (s///) at /Users/eseidel/Projects/WebKit/WebKitTools/Scripts/prepare-ChangeLog line 1614.
Use of uninitialized value in concatenation (.) or string at /Users/eseidel/Projects/WebKit/WebKitTools/Scripts/prepare-ChangeLog line 262.
  Description from bug 28755:
    &quot;&quot;.

If we ever end up moving it to python, the bugzilla.py module already handles authentication like this.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1124346</commentid>
    <comment_count>1</comment_count>
    <who name="Blaze Burg">bburg</who>
    <bug_when>2015-09-08 12:03:26 -0700</bug_when>
    <thetext>*** Bug 35901 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1124347</commentid>
    <comment_count>2</comment_count>
    <who name="Blaze Burg">bburg</who>
    <bug_when>2015-09-08 12:05:16 -0700</bug_when>
    <thetext>Dan/Dave/someone, do you think we could hook this up by calling into python from prepare-Changelog as a fallback? I am not sure whether this will work on all configurations, but it&apos;s probably the only realistic solution in the short-term.

The following prints the expected (security) bug title to stdout, and dumps the useless webkitpy warning about logging not being set up:

python -c &quot;from webkitpy.common.net.bugzilla import Bugzilla; bz = Bugzilla(); b = bz.fetch_bug(136715); print(b.title())&quot; 2&gt; /dev/null</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>