Anton Shestakov <av6@dwimlabs.net>, Thu, 23 Jun 2016 14:58:09 +0800
checker: try and catch exceptions from execute() and somewhat finish the job
Exceptions coming from execute() are programming errors in checker.py, but jobs
still need to tell that they are finished (and failed) to be processed by
incoming.py.
templates/project.html
Permissions: -rw-r--r--
{% extends "base.html" %} {% block title %}{{ project.get_title() }}{% end %} <div class="uk-container uk-container-center uk-margin-large-top"> <h2><a href="{{ project.get_url() }}">{{ project.get_title() }}</a></h2> <img src="{{ project.get_url() }}/status.svg" alt="Lint Status"> <dl class="uk-description-list-horizontal list-terse"> <dd>{% module Time(checks[0].finished) %}</dd> <dd>{{ project.url }}</dd> <table class="uk-table uk-table-middle"> {% for check in checks %} {% set change = check.change %} <td class="uk-text-nowrap">{% module Badges(check) %}</td> <td><a href="{{ check.get_url() }}">#
{{ check.ordinal }}</a></td> <td>{{ change.rev }}:
{{ change.node[:12] }} {{ change.branch }}</td> <div>{{ change.message }}</div> <div>{{ change.author }},
<time>{{ change.date }}</time></div> <td>{% module Time(check.started) %}</td> <td>{% module Time(check.finished) %}</td> <td>{{ check.get_duration() }}</td>