<div dir="ltr"><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Apr 4, 2014 at 12:43 PM, James Craig <span dir="ltr">&lt;<a href="mailto:jcraig@apple.com" target="_blank">jcraig@apple.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word"><br><div><div class=""><div>On Apr 4, 2014, at 9:08 AM, Zoltan Horvath &lt;<a href="mailto:zoltan@webkit.org" target="_blank">zoltan@webkit.org</a>&gt; wrote:</div>
<br><blockquote type="cite"><div dir="ltr">Hi there,<div><br></div><div>prepare-Changelog:</div><div> - The style checker script runs on the ChangeLogs as well, and it gives warning if the bug number or the tests&#39; line are not filled.</div>
</div></blockquote><div><br></div></div><div>I consider this an expected behavior. If you don&#39;t include --bug=12345 parameter when running prepare-Changelog, your diff is currently in a state that would fail style checks. Having the Terminal output immediately tell you that detail is useful.</div>
<div class=""><br><blockquote type="cite"><div dir="ltr"><div> - I think the best behavior for this case would be to abort the change log creation, if there are errors on the actual code check. (Then you can fix those, and when you rerun prepare-Changelog, it puts the recent things into the change log. [e.g. you&#39;ve got a lower/uppercase function naming warning, and the function name appears in the change log])</div>
</div></blockquote><div><br></div></div><div>I don&#39;t think this is right. If we aborted the change log creation, you&#39;d never be able to run prepare-Changelog without the --bug parameter, unless you specifically disabled the style check with --no-style.</div>
<div class=""><br></div></div></div></blockquote><div><br></div><div>I&#39;d avoid running the style-checker on the change logs themselves &lt;since these&#39;re being created&gt; when running prepare-Changelog, and abort changelog creation, if the _rest of the code_ have coding style violation &lt;since fact of violation is our interest at this point&gt;.</div>
</div></div></div>