1 {% extends
"base.html" %}
3 {% block title %}{{ _(
"Edit repository %s") % repo.name }}{% end block %}
7 {{ _(
"Edit repository %s") % repo.name }}
8 <span>- {{ _(
"Distribution") }}: {{ distro.name }}
</span>
11 <form method=
"post" action=
"">
12 {% raw xsrf_form_html() %}
13 <table class=
"form form3">
15 <td class=
"col1">{{ _(
"Name") }}
</td>
17 <input name=
"name" type=
"text" value=
"{{ repo.name }}" />
20 {{ _(
"The name of the repository.") }}
21 {{ _(
"Must only contain of the lowercase characters.") }}
25 <td class=
"col1">{{ _(
"Description") }}
</td>
27 <textarea name=
"description">{{ repo.description }}
</textarea>
31 <div style=
"clear: both;"> </div>
33 <h2>{{ _(
"Score settings") }}
</h2>
35 {{ _(
"These settings configure the automatic score feature.") }}
36 {{ _(
"Builds that gained a certain score are moved to the next repository automatically and removed if the score is too bad.") }}
38 <table class=
"form form3">
40 <td class=
"col1">{{ _(
"Needed score") }}
</td>
42 <input name=
"name" type=
"text" value=
"{{ repo.score_needed }}" />
45 {{ _(
"The score that is needed for builds to automatically be moved into this repository.") }}
49 <td class=
"col1">{{ _(
"Minimum time") }}
</td>
51 <input name=
"name" type=
"text" value=
"{{ repo.time_min }}" />
54 {{ _(
"Every build must stay a minimum time in a repository.") }}
55 {{ _(
"This is to ensure that a package gets tested well.") }}
56 {{ _(
"Enter zero to disable the feature.") }}
60 <td class=
"col1">{{ _(
"Maximum time") }}
</td>
62 <input name=
"name" type=
"text" value=
"{{ repo.time_max }}" />
65 {{ _(
"If a build is more than a certain amount of time in a repository, it will automatically be removed.") }}
66 {{ _(
"This is to ensure that packages are not forgotten to be pushed.") }}
67 {{ _(
"Enter zero to disable the feature.") }}
71 <div style=
"clear: both;"> </div>
73 <h2>{{ _(
"Build settings") }}
</h2>
74 <table class=
"form form3">
76 <td class=
"col1">{{ _(
"Use package for builds?") }}
</td>
78 <input type=
"checkbox" name=
"enabled_for_builds" {%if repo.enabled_for_builds %}
checked=
"checked"{% end %}
/>
81 {{ _(
"Should the package be selected for builds by default?") }}
82 {{ _(
"Use with caution!") }}
86 <div style=
"clear: both;"> </div>
88 <table class=
"form form3">
90 <td colspan=
"3" class=
"buttons">
91 <input type=
"submit" value=
"{{ _("Save
") }}" />