Changeset 154022 in webkit
- Timestamp:
- Aug 13, 2013 2:12:21 PM (11 years ago)
- Location:
- trunk/Tools
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Tools/ChangeLog
r154001 r154022 1 2013-08-13 Dean Jackson <dino@apple.com> 2 3 <https://webkit.org/b/119766> Make bug url more human friendly in ChangeLog 4 5 Reviewed by Mark Rowe. 6 7 Have prepare-ChangeLog produce webkit.org/b/id style 8 URLs rather than exposing the inner workings of our 9 cgi. I was going to use the term "Future Proofing" 10 but that seems excessive :) 11 12 * Scripts/prepare-ChangeLog: 13 (main): Generate a more human readable form. 14 (generateNewChangeLogs): Use it when printing out the ChangeLog entry. 15 1 16 2013-08-13 Raphael Kubo da Costa <raphael.kubo.da.costa@intel.com> 2 17 -
trunk/Tools/Scripts/prepare-ChangeLog
r150939 r154022 22 22 # Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. 23 23 # 24 25 24 26 25 # Perl script to create a ChangeLog entry with names of files … … 80 79 sub generateFileList(\%$$$); 81 80 sub generateFunctionLists($$$$$); 82 sub generateNewChangeLogs($$$$$$$$$$$ );81 sub generateNewChangeLogs($$$$$$$$$$$$); 83 82 sub getLatestChangeLogs($); 84 83 sub get_function_line_ranges($$); … … 196 195 197 196 my $bugURL; 197 my $readableBugURL; 198 198 if ($bugNumber) { 199 199 $bugURL = "https://bugs.webkit.org/show_bug.cgi?id=$bugNumber"; 200 $readableBugURL = "https://webkit.org/b/$bugNumber"; 200 201 } 201 202 … … 213 214 } 214 215 215 generateNewChangeLogs($prefixes, $filesInChangeLog, $addedRegressionTests, $functionLists, $bugURL, $ bugDescription, $name, $emailAddress, $gitReviewer, $gitCommit, $writeChangeLogs);216 generateNewChangeLogs($prefixes, $filesInChangeLog, $addedRegressionTests, $functionLists, $bugURL, $readableBugURL, $bugDescription, $name, $emailAddress, $gitReviewer, $gitCommit, $writeChangeLogs); 216 217 217 218 if ($writeChangeLogs) { … … 460 461 } 461 462 462 sub generateNewChangeLogs($$$$$$$$$$$ )463 { 464 my ($prefixes, $filesInChangeLog, $addedRegressionTests, $functionLists, $bugURL, $ bugDescription, $name, $emailAddress, $gitReviewer, $gitCommit, $writeChangeLogs) = @_;463 sub generateNewChangeLogs($$$$$$$$$$$$) 464 { 465 my ($prefixes, $filesInChangeLog, $addedRegressionTests, $functionLists, $bugURL, $readableBugURL, $bugDescription, $name, $emailAddress, $gitReviewer, $gitCommit, $writeChangeLogs) = @_; 465 466 466 467 # Generate new ChangeLog entries and (optionally) write out new ChangeLog files. … … 496 497 print CHANGE_LOG normalizeLineEndings($description . "\n", $endl) if $description; 497 498 498 $bugDescription = "Need a short description (OOPS!) .\n Need the bug URL (OOPS!)." unless $bugDescription;499 print CHANGE_LOG normalizeLineEndings(" $bugDescription\n", $endl) if $bugDescription;500 print CHANGE_LOG normalizeLineEndings(" $bugURL\n", $endl) if $bugURL;499 $bugDescription = "Need a short description (OOPS!)" unless $bugDescription; 500 $readableBugURL = "Need the bug URL (OOPS!)" unless $readableBugURL; 501 print CHANGE_LOG normalizeLineEndings(" <$readableBugURL> $bugDescription\n", $endl); 501 502 print CHANGE_LOG normalizeLineEndings("\n", $endl); 502 503
Note: See TracChangeset
for help on using the changeset viewer.