{% extends "coprs/detail.html" %} {% from "_helpers.html" import copr_name, render_form_errors %} {% block title %}Create module from {{ copr_name(copr) }}{% endblock %} {% block header %}Create Module{% endblock %} {% set selected_tab = "modules" %} {%block project_breadcrumb %}
  • Create Module
  • {%endblock%} {% macro render_field(field) %} {{ field(class="form-control", **kwargs)|safe }} {% endmacro %} {% macro render_checkbox(name, value, checked=False) %} {{ value }} {% endmacro %} {% block detail_body %}
    Building modules is experimental and in early stage. At the moment, the UI will not show you the modules you have built.

    Build Module

    Build a module from your copr repository. Copr will generate a modulemd yaml for your module automatically. Learn more about Modularity. {{ render_form_errors(form) }}

    {% for package, build in built_packages %} {% endfor %} {% set no_packages = 'No successfully built packages in this project yet' %}

    Package Filter

    All binary packages are included in the module by default. You can uncheck packages you do not want to be included.

    {% for package, build in built_packages %}
    {% else %}

    {{ no_packages }}

    {% endfor %}

    Module API

    API is a list of binary packages considered to be the main and stable feature of your module. Other packages are considered implementation detail.

    {% for package, build in built_packages %}
    {% else %}

    {{ no_packages }}

    {% endfor %}

    Install Profiles

    Module can provide more types of installation - by installing a specific set of packages - by defining install profiles.

    {% for i in range(0, profiles) %}
    • {{ render_field(form.profile_names[i]) }}
      {% for package, build in built_packages %}
      {% else %}

      {{ no_packages }}

      {% endfor %}
    {% endfor %}

    Copr will generate the modulemd yaml file and create a modular RPM repository for you.

    {% endblock %}