{% extends "repo_master.html" %} {% from "_formhelper.html" import render_field_in_row %} {% block title %}{{ select.capitalize() }} - {{ repo.namespace + '/' if repo.namespace }}{{ repo.name }}{% endblock %} {% set tag = "home" %} {% block repo %}

Settings for {{ repo.fullname }}

Project Details
Short description of the project
Website URL of the project
Email address linked to avatar to display for the project
tags for project (separated by commas)
{% if config.get('PRIVATE_PROJECTS', False) and repo.private %}
{% endif %} {{ form.csrf_token }}
Default Branch
{{ branches_form.csrf_token }} {{ branches_form.branches(class_="c-select") }}
{% if config.get('WEBHOOK', False) %}
Private web-hook key

Each message sent to the web-hook are signed via hmac and SHA1 using this private key.

This key is private to your project, make sure to store in a safe place and do not share it.

{{ form.csrf_token }}
{% endif %}
API Keys

API keys are tokens used to authenticate you on pagure. They can also be used to grant access to 3rd party application to behave on this project on your name.

These are your personal tokens; they are not visible to the other admins of this repository.

These keys are valid for 60 days.

These keys are private to your project, make sure to store in a safe place and do not share it.

{% if repo.tokens %}
    {% for token in repo.tokens %} {% if token.user.username == g.fas_user.username %}
  • {{ token.description or '' }}
    {% if token.expired %} Expired since {{ token.expiration.date() }} {% else %} Valid until: {{ token.expiration.date() }}
    {{ form.csrf_token }}
    {% endif %}
  • {% endif %} {% endfor %}
{% endif %}
Project options
{% for key in repo.settings | sort %} {% if not config.get('ENABLE_TICKETS', True) and key in ['issue_tracker', 'issues_default_to_private'] %} {% elif not config.get('DOC_APP_URL') and key in ['project_documentation'] %} {% elif not config.get('WEBHOOK') and key in ['Web-hooks'] %} {% else %} {% if repo.settings[key] in [True, False, 'y'] %}
{% else %}
{% endif %} {% endif %} {% endfor %}

{{ form.csrf_token }}

{% if config.get('WEBHOOK') and repo.settings['Web-hooks'] %}
{{ form.csrf_token }}
{% endif %}
Public notifications

The email addresses entered below will receive all the notifications related to {% if config.get('ENABLE_TICKETS', True) %} (public) issues and {% endif %}pull-requests, this includes notifications about {% if config.get('ENABLE_TICKETS', True) %} new issue or {% endif %} new pull-request, new comment and status change.

To enter multiple addresses, separate them with a comma.

{{ tag_form.csrf_token }}
{% if config.get('ENABLE_TICKETS', True) %}
Issues notifications
{% endif %}
Pull-requests notifications
Re-generate git repos
{% if config.get('ENABLE_TICKETS', True) %}
{{ form.csrf_token }}
{% endif %}
{{ form.csrf_token }}
{% if config.get('ENABLE_USER_MNGT', True) %}
Users and Groups

Below is the list of user having commit rights to this repo.

add user add group

{% endif %} {% if config.get('DEPLOY_KEY', True) %}
Deploy Keys

Below are this projects' deploy keys.

add deploy key

    {% for deploykey in repo.deploykeys %}
  • {{ deploykey.ssh_short_key }} {% if deploykey.pushaccess %} (PUSH ACCESS) {% endif %}
    {{ form.csrf_token }}
  • {% endfor %}
{% endif %} {% if plugins %}
Hooks
{% set idcount = 1 %} {% for plugin in plugins %} {% if not config.get('ENABLE_TICKETS', True) and plugin in ['Pagure tickets'] %} {% else %} {% set idcount = idcount+1 %} {% endif %} {% endfor %}
{% endif %} {% if config.get('ENABLE_TICKETS', True) and repo.settings.get('issue_tracker', True) %}
Priorities

Below are the priorities you may assign to a ticket, allowing you to sort them with it. The Weight determines the ordering. Higher priority should correspond to lower weight. To remove an entry, simply clean the Weight and Title

{{ tag_form.csrf_token }}
Weight
Title
{% for priority in ((repo.priorities or [""]) | sort) %}
{% endfor %}
{% if not repo.priorities %} {% endif %}
Roadmap

Each issue can be assigned to a milestone. This way it is possible to create a roadmap for your project. Below you can create the milestones and optionally set dates for them.

{{ tag_form.csrf_token }}
Milestone
Date (optional)
{% for milestone in repo.milestones or [""] | sort %}
{% endfor %}
Close status

Here is the list of all the status that can be used when closing an issue.

{{ tag_form.csrf_token }}
Status
{% for status in repo.close_status or [""] | sort %}
{% endfor %}
{% if not repo.close_status %} {% endif %}
Custom issue fields

Set some custom fields for your issues. Field Values are currently only used for Lists, and it accepts a comma separated list of items for the drop down list.

{{ tag_form.csrf_token }}
Fields
Field Type
Field Values (Lists only)
Notify
{% for field in repo.issue_keys or [dict(key_type="", name="")] | sort %}
{% endfor %}
Issue Tags

Here is the list of tags associated with this project.

    {% for tag in tags %}
  •   {{ tag.tag }}  {{tag.tag}}  {{ tag.tag_description or '' }}
    {{ tag_form.csrf_token }}
  • {% endfor %}
{{ tag_form.csrf_token }}
Reports

Here is the list of reports saved for this project.

    {% for report in repo.reports %}
  •   {{ report }}
    {{ tag_form.csrf_token }}
  • {% endfor %}
{% endif %} {% if (config.get('ENABLE_TICKETS', True) and repo.settings.get('issue_tracker', True)) or repo.settings.get('pull_requests', True) %}
Quick replies

Quick replies will be offered in a new comment form on Issue or Pull Request page. This allows you to reply to common problems with a click of a button.

The reply can use the same Markdown formatting as regular comments. The list you will choose the reply from will only show the first 50 characters. Please make sure the important message is at the beginning.

The replies will be presented in the same order they are written here.

{{ tag_form.csrf_token }}
{% for quick_reply in repo.quick_replies or [""] %}
{% endfor %}
{% endif %} {% if config.get('ENABLE_GIVE_PROJECTS', True) and repo.user.user == g.fas_user.username and not repo.is_fork %}
Give Project
{{ tag_form.csrf_token }}
{% endif %} {% if config.get('ENABLE_DEL_PROJECTS', True) %}
Delete Project
{% endif %}
{% endblock %} {% block jscripts %} {{ super() }} {% endblock %}