main: Add new Repo variant for kde-unstable

Kde-unstable is just a testing repository but does not require signoffs
but does require to be seen as a public repo (not staging) so add a new
variant.
This commit is contained in:
Jelle van der Waa 2019-04-28 16:31:00 +02:00
parent 55f59f4ffa
commit 9534e88683
2 changed files with 20 additions and 0 deletions

View File

@ -0,0 +1,18 @@
# Generated by Django 2.2 on 2019-04-28 14:23
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('main', '0001_initial'),
]
operations = [
migrations.AddField(
model_name='repo',
name='public_testing',
field=models.BooleanField(default=False, help_text='Is this repo meant for package testing (without signoffs)?'),
),
]

View File

@ -65,6 +65,8 @@ class Repo(models.Model):
name = models.CharField(max_length=255, unique=True)
testing = models.BooleanField(default=False,
help_text="Is this repo meant for package testing?")
public_testing = models.BooleanField(default=False,
help_text="Is this repo meant for package testing (without signoffs)?")
staging = models.BooleanField(default=False,
help_text="Is this repo meant for package staging?")
bugs_project = models.SmallIntegerField(default=1,