{% 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 %} {% from "coprs/detail/_describe_failure.html" import describe_failure %} {% from "coprs/detail/_builds_table.html" import builds_table with context %} {% from "_helpers.html" import chroot_to_os_logo, build_state_text, build_state, copr_name, module_state %} {% block title %}Module {{ module.id }} in {{ copr_name(copr) }}{% endblock %} {% set selected_tab = "modules" %} {%block project_breadcrumb %}
  • Modules
  • {{ module.id }}
  • {%endblock%} {% block detail_body %} {% if copr.id != module.copr.id %}

    Module {{ module.id }} doesn't belong to this project.

    It belongs to {{ module.ownername }}/{{ module.projectname }}

    {% else %}

    Module #{{ module.id }}

    General Information

    Status:
    {{ module_state(module) }} - {{ module.state | build_state_description }}
    Name:
    {{ module.name }}
    Stream:
    {{ module.stream }}
    Version:
    {{ module.version }}
    License:
    Summary:
    {{ module.summary }}
    {% set no_packages = 'No packages in module\'s %s' %}

    Filter

      {% for package in module.rpm_filter %}
    • {{ package }}
    • {% else %}

      {{ no_packages | format('filter')}}

      {% endfor %}

    API

      {% for package in module.rpm_api %}
    • {{ package }}
    • {% else %}

      {{ no_packages | format('API')}}

      {% endfor %}

    Profiles

      {% for name, packages in module.profiles.items() %}
    • {{ name }}
      • {% for package in packages %}
      • {{ package }}
      • {% endfor %}
      {% else %}

      No profiles in module

      {% endfor %}

    How to use

    {% if module.state != 'succeeded' %}
    {% if module.state == 'failed' %} The module failed and therefore it cannot be enabled {% else %} The module is not built yet and therefore it cannot be enabled {% endif %}
    {% else %}

    To start using modules, you need to have DNF with modularity support (the dnf module command, should work on Fedora and RHEL 8+). See the "Module Command" section in man dnf.

    Please install related repo file into /usr/yum.repos.d/ directory on your system:
    {% for chroot in unique_chroots %} {{ chroot.name_release }} {% endfor %}

    {% endif %}
    Raw

    Modulemd

    You may want to use this modulemd as a template and then submit it via Copr API or copr-cli to be build.

    {{ yaml | safe }}
    {{builds_table(module.builds, print_possible_states=False)}}
    {% endif %} {% endblock %}