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:
parent
55f59f4ffa
commit
9534e88683
18
main/migrations/0002_repo_public_testing.py
Normal file
18
main/migrations/0002_repo_public_testing.py
Normal 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)?'),
|
||||
),
|
||||
]
|
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user