<p>Benjamin Keith Ford <strong>uploaded patch set #3</strong> to this change.</p><p><a href="https://gerrit.asterisk.org/7718">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">digium_commits.py: Fix parsing crashes and add error feedback.<br><br>The mkrelease.py script could crash when attempting to parse a commit message<br>that was not properly formatted. For example, opening parentheses would be<br>detected, and the script would parse until the index of a closing parentheses.<br>If there was no closing parentheses, the release script would crash.<br><br>This is a two-step fix. The first step is to ensure that when an error like<br>this occurs, the script does not fail. Try except blocks have been added to<br>parsing sections that can cause known crashes. When an error is detected, the<br>new errors list in the DigiumCommitMessageParser class will have the error<br>appended to it.<br><br>The second step will use this error message to provide feedback when a review<br>is submitted to Gerrit. Jenkins will run a job that goes through some of the<br>parsing, gathers errors with the parse_commit.py script, and reports them back<br>in the form of a -1 on the code review, along with the error messages<br>themselves.<br><br>Change-Id: Ibd5c86d69d32bc95d93c0cc81851083410d082a4<br>---<br>M digium_commits.py<br>A parse_commit.py<br>2 files changed, 39 insertions(+), 13 deletions(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">git pull ssh://gerrit.asterisk.org:29418/repotools refs/changes/18/7718/3</pre><p>To view, visit <a href="https://gerrit.asterisk.org/7718">change 7718</a>. To unsubscribe, visit <a href="https://gerrit.asterisk.org/settings">settings</a>.</p><div itemscope itemtype="http://schema.org/EmailMessage"><div itemscope itemprop="action" itemtype="http://schema.org/ViewAction"><link itemprop="url" href="https://gerrit.asterisk.org/7718"/><meta itemprop="name" content="View Change"/></div></div>
<div style="display:none"> Gerrit-Project: repotools </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-MessageType: newpatchset </div>
<div style="display:none"> Gerrit-Change-Id: Ibd5c86d69d32bc95d93c0cc81851083410d082a4 </div>
<div style="display:none"> Gerrit-Change-Number: 7718 </div>
<div style="display:none"> Gerrit-PatchSet: 3 </div>
<div style="display:none"> Gerrit-Owner: Benjamin Keith Ford <bford@digium.com> </div>
<div style="display:none"> Gerrit-Reviewer: George Joseph <gjoseph@digium.com> </div>
<div style="display:none"> Gerrit-Reviewer: Joshua Colp <jcolp@digium.com> </div>