{% extends "coprs/detail.html" %} {% from "coprs/detail/_builds_forms.html" import copr_build_cancel_form, copr_build_repeat_form, copr_build_delete_form %} {% from "coprs/detail/_describe_source.html" import describe_source %} {% block title %}Build {{ build.id }} in {{ build.copr.owner.name }}/{{ build.copr.name }}{% endblock %} {%block project_breadcrumb %}
  • Builds
  • {{build.id}}
  • {%endblock%} {% block detail_body %} {% if build.copr != copr %}

    Build {{ build.id }} doesn't belong to this project.

    You can go to {{ build.copr.owner.name }}/{{ build.copr.name }}/build/{{build.id}} to see this build.

    {% else %}

    Build {{ build.id }} of {{build.package.name}}: {{ build.state }}

    Package:
    {{ build.package.name }}
    Built by:
    {{ build.user.name }}
    Submitted:
    {% if g.user %} {{ build.submitted_on|localized_time(g.user.timezone) }} {% else %} {{ build.submitted_on|localized_time("UTC") }} {% endif %} ({{ build.submitted_on|time_ago }} ago)
    Started:
    {% if g.user %} {{ build.started_on|localized_time(g.user.timezone) }} {% else %} {{ build.started_on|localized_time("UTC") }} {% endif %}
    Finished:
    {% if g.user %} {{ build.ended_on|localized_time(g.user.timezone) }} {% else %} {{ build.ended_on|localized_time("UTC") }} {% endif %}
    Build time:
    {{ build.started_on|time_ago(build.ended_on) }}
    Networking enabled:
    {{ build.enable_net }}

    Build Source

    {{ describe_source(build) }}

    Chroot Details

    {% for chroot in build.build_chroots %} {% endfor %}
    Name Source (Git Hash) Build Time State
    {% if build.results %} {{ chroot.name }} {% else %} {{ chroot.name }} {% endif %} {{ chroot.git_hash }} {{ chroot.started_on|time_ago(chroot.ended_on) }} {{ chroot.state }}
    {% if g.user and g.user.can_build_in(copr) %}

    Actions

      {% if g.user and g.user.can_build_in(copr) and build.cancelable %}
    • {{ copr_build_cancel_form(build, page) }}
    • {% endif %} {% if g.user and g.user.can_build_in(copr) and build.repeatable %}
    • {{ copr_build_repeat_form(build, page) }}
    • {% endif %} {% if g.user and g.user.can_build_in(copr) and build.deletable %} {% if g.user.can_edit(copr) or build.user == g.user %}
    • {{ copr_build_delete_form(build, page) }}
    • {% endif %} {% endif %}
    {% endif %}
    {% endif %} {% endblock %}