Changeset 80211 in webkit
- Timestamp:
- Mar 3, 2011 12:02:02 AM (13 years ago)
- Location:
- trunk/Tools
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Tools/ChangeLog
r80197 r80211 1 2011-03-02 Ojan Vafai <ojan@chromium.org> 2 3 Reviewed by Adam Barth. 4 5 make webkit-patch upload work for security bugs 6 https://bugs.webkit.org/show_bug.cgi?id=55655 7 8 The problem is that we shell out to prepare-ChangeLog, 9 which does not authenticate with bugzilla. All it needs from 10 bugzilla is the bug title though. We just pass it through from 11 webkit-patch instead. 12 13 * Scripts/prepare-ChangeLog: 14 * Scripts/webkitpy/common/net/bugzilla/bug.py: 15 * Scripts/webkitpy/tool/steps/preparechangelog.py: 16 1 17 2011-03-01 Ojan Vafai <ojan@chromium.org> 2 18 -
trunk/Tools/Scripts/prepare-ChangeLog
r75313 r80211 100 100 my $changeLogTimeZone = "PST8PDT"; 101 101 102 my $bugDescription; 102 103 my $bugNumber; 103 104 my $name; … … 115 116 GetOptions("diff|d!" => \$spewDiff, 116 117 "bug|b:i" => \$bugNumber, 118 "description:s" => \$bugDescription, 117 119 "name:s" => \$name, 118 120 "email:s" => \$emailAddress, … … 128 130 print STDERR basename($0) . " [-b|--bug=<bugid>] [-d|--diff] [-h|--help] [-o|--open] [-g|--git-commit=<committish>] [--git-reviewer=<name>] [svndir1 [svndir2 ...]]\n"; 129 131 print STDERR " -b|--bug Fill in the ChangeLog bug information from the given bug.\n"; 132 print STDERR " --description One-line description that matches the bug title.\n"; 130 133 print STDERR " -d|--diff Spew diff to stdout when running\n"; 131 134 print STDERR " --merge-base Populate the ChangeLogs with the diff to this branch\n"; … … 255 258 print STDERR " Change author: $name <$emailAddress>.\n"; 256 259 257 my $bugDescription;258 260 my $bugURL; 259 261 if ($bugNumber) { 260 262 $bugURL = "https://bugs.webkit.org/show_bug.cgi?id=$bugNumber"; 263 } 264 265 if ($bugNumber && !$bugDescription) { 261 266 my $bugXMLURL = "$bugURL&ctype=xml"; 262 267 # Perl has no built in XML processing, so we'll fetch and parse with curl and grep -
trunk/Tools/Scripts/webkitpy/common/net/bugzilla/bug.py
r73991 r80211 45 45 46 46 def title(self): 47 # FIXME: Do we need to HTML unescape the title? 47 48 return self.bug_dictionary["title"] 48 49 -
trunk/Tools/Scripts/webkitpy/tool/steps/preparechangelog.py
r75575 r80211 65 65 if state.get("bug_id"): 66 66 args.append("--bug=%s" % state["bug_id"]) 67 args.append("--description=%s" % self._tool.bugs.fetch_bug(state["bug_id"]).title()) 67 68 if self._options.email: 68 69 args.append("--email=%s" % self._options.email)
Note: See TracChangeset
for help on using the changeset viewer.