{% extends "layout.html" %} {% block sidebar %}{% include "lintian-fixes/sidebar.html" %}{% endblock %} {% from "run_util.html" import local_command, merge_command, reschedule_button, publish_buttons, result_code_explanation, display_result_code, describe_publish_policy, display_branch_url with context %} {% from "lintian-fixes/util.html" import lintian_tag_link, lintian_brush_summary %} {% block page_title %}Lintian Fixes - {{ package }}{% endblock %} {% block body %}

Lintian Fixes - {{ package }}

{% if vcs_url %} {{ reschedule_button(suite, package, "Schedule a new run") }} {% endif %} {% if merge_proposals %}

Recent merge proposals

{% endif %} {{ result_code_explanation(result_code, run) }} {% if not result_code %} {% if run and run.result_code == 'nothing-to-do' %}

Nothing to do for {{ package }}. {% else %}

No unpublished successful runs for {{ package }}.

{% endif %} {% else %} {% if run.result_branches %}

Ready changes

{% if run.result_branches %} {{ publish_buttons(suite, package) }} {% endif %} {{ merge_command(package, suite, run.result_branches, vcs) }}

Summary

{{ lintian_brush_summary(result['applied']) }}

Diff

{{ highlight_diff(show_diff('main'))|safe }} {% set debdiff = show_debdiff() %} {% if debdiff %}

Debdiff

{% if debdiff.split('\n')|length < 200 %} {{ debdiff|safe }} {% else %}

Debdiff is too long (more than 200 lines). Download the raw debdiff.

{% endif %} {% endif %} {% if result['failed'] %}

Failed fixers:

See the worker log for details.

{% endif %} {% endif %}

Run locally

{{ local_command(command, "lintian-brush", package, vcs, vcs_url) }}

More details

Full run details

{% endif %} {% if previous_runs and result_code not in ('nothing-to-do', 'success') %}

Historical runs

{% endif %}
{% endblock %}