{% 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 "_helpers.html" import chroot_to_os_logo, build_state_text, build_state, copr_name %} {% 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

    Name:
    {{ module.name }}
    Stream:
    {{ module.stream }}
    Version:
    {{ module.version }}
    License:
    Summary:
    {{ module.summary }}

    Filter

      {% for package in module.modulemd.filter.rpms %}
    • {{ package }}
    • {% endfor %}

    API

      {% for package in module.modulemd.api.rpms %}
    • {{ package }}
    • {% endfor %}

    Profiles

      {% for name, profile in module.modulemd.profiles.items() %}
    • {{ name }}
      • {% for package in profile.rpms %}
      • {{ package }}
      • {% endfor %}
      {% endfor %}

    How to use

    First, see the documentation for copr module command on it's project page.
    To install this module, please run following commands as root:

    # Add module repofile to your system (this will be automated by dnf in the future)
    wget {{ copr_url('coprs_ns.generate_module_repo_file', copr, _external=True) }} -O \
         /etc/fm.modules.d/_copr_{{ module.full_name |replace("/", "-") }}-{{ module.id }}.cfg
    
    # Install the module
    dnf module enable {{ module.name }}
    Raw

    Modulemd

    {{ yaml | safe }}
    {% endif %} {% endblock %}