Bug 28757 - prepare-ChangeLog -b does not know how to use bugzilla credentials
Summary: prepare-ChangeLog -b does not know how to use bugzilla credentials
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:
: 35901 (view as bug list)
Depends on:
Blocks:
 
Reported: 2009-08-26 16:15 PDT by Eric Seidel (no email)
Modified: 2016-01-15 11:53 PST (History)
7 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Eric Seidel (no email) 2009-08-26 16:15:07 PDT
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:
    "".

If we ever end up moving it to python, the bugzilla.py module already handles authentication like this.
Comment 1 Brian Burg 2015-09-08 12:03:26 PDT
*** Bug 35901 has been marked as a duplicate of this bug. ***
Comment 2 Brian Burg 2015-09-08 12:05:16 PDT
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'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 "from webkitpy.common.net.bugzilla import Bugzilla; bz = Bugzilla(); b = bz.fetch_bug(136715); print(b.title())" 2> /dev/null