WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
27098
Make prepare-ChangeLog less shouty
https://bugs.webkit.org/show_bug.cgi?id=27098
Summary
Make prepare-ChangeLog less shouty
Maciej Stachowiak
Reported
2009-07-08 15:49:19 PDT
prepare-ChangeLog's new text is seen by some as overly verbose and SHOUTY.
Attachments
patch
(2.51 KB, patch)
2009-07-08 15:54 PDT
,
Maciej Stachowiak
mrowe
: review+
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Maciej Stachowiak
Comment 1
2009-07-08 15:54:34 PDT
Created
attachment 32480
[details]
patch
Mark Rowe (bdash)
Comment 2
2009-07-08 15:57:19 PDT
Comment on
attachment 32480
[details]
patch r=me
Maciej Stachowiak
Comment 3
2009-07-08 15:58:04 PDT
I didn't solve every possible problem with prepare-ChangeLog, but I tried to make it a bit less shouty. If you don't provide the --bug argument, it includes text like this: --------- 2009-07-08 Maciej Stachowiak <
mjs@apple.com
> Reviewed by NOBODY (OOPS!). Need a short description and bug URL (OOPS!) * Scripts/prepare-ChangeLog: --------- If you do use --bug, it provides text like this: --------- 2009-07-08 Maciej Stachowiak <
mjs@apple.com
> Reviewed by NOBODY (OOPS!). Make prepare-ChangeLog less shouty
https://bugs.webkit.org/show_bug.cgi?id=27098
* Scripts/prepare-ChangeLog: --------- It also says this on the console (not in the ChangeLog): -- Please remember to include a detailed description in your ChangeLog entry. -- -- See <
http://webkit.org/coding/contributing.html
> for more info --
Eric Seidel (no email)
Comment 4
2009-07-08 16:00:10 PDT
Comment on
attachment 32480
[details]
patch + print CHANGE_LOG normalizeLineEndings(" $bugDescription\n", $endl) if $bugDescription; does not need to be conditional anymore. You can remove the "if ..." part. + print CHANGE_LOG normalizeLineEndings(" No new tests. (OOPS!)\n\n", $endl); Seems like that line will often be left in by casual contributers. Mabe just change it back to the WARNING: line before my change? Really, it's up to you.
Maciej Stachowiak
Comment 5
2009-07-09 01:13:52 PDT
At least when I was testing, the conditional was needed, otherwise it inserted extra blank lines. The "OOPS!" will prevent the "lack of tests" line from being committed as-is. If we also make post-diff complain about it, we should be golden.
Maciej Stachowiak
Comment 6
2009-07-09 01:14:37 PDT
Also: I committed this.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug