##// END OF EJS Templates
api: comment_pull_request, added commit_id parameter to validate status changed on particular commit....
api: comment_pull_request, added commit_id parameter to validate status changed on particular commit. - when using the API and creating a comment with status change it's now possible to pass in commit_id, this will allow validation if status change of pull_request is allowed based on the given commit_id. This solves the case when long running test sends approval of pull request which was already updated several times. The commit_id will now validate for which state the approval was made, and prevent accidental aproval of outdated pull requests.

File last commit:

r1:854a839a default
r1269:26e59d48 default
Show More
pylons_context.dbtmako
24 lines | 641 B | text/plain | TextLexer
% if pylons_context:
<table class="table table-striped table-condensed">
<thead>
<th>Key</th>
<th>Value</th>
</thead>
<tbody>
% for key in sorted(pylons_context.keys()):
<tr>
<td>${key}</td>
<td>${repr(pylons_context[key])}</td>
</tr>
% endfor
</tbody>
</table>
% else:
<p>No context information found.</p>
<p>The integrated Pylons application has to be abjusted to make the context object available.
It should check for <code>environ['debugtoolbar.wants_pylons_context'] == True</code> and set
<code>environ['debugtoolbar.pylons_context'] = tmpl_context._current_obj()</code>.</p>
% endif