summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJelle van der Waa <jelle@vdwaa.nl>2019-04-28 16:31:00 +0200
committerJelle van der Waa <jelle@vdwaa.nl>2019-04-28 16:31:00 +0200
commit9534e8868362a5ebebe0ef57323365b3a179e024 (patch)
treebda371f5e2d401b892284dc6329c42608797b828
parent55f59f4ffaa331cd0cf9674f0ee18daf123a75ad (diff)
downloadarchweb-9534e8868362a5ebebe0ef57323365b3a179e024.tar.gz
archweb-9534e8868362a5ebebe0ef57323365b3a179e024.zip
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.
-rw-r--r--main/migrations/0002_repo_public_testing.py18
-rw-r--r--main/models.py2
2 files changed, 20 insertions, 0 deletions
diff --git a/main/migrations/0002_repo_public_testing.py b/main/migrations/0002_repo_public_testing.py
new file mode 100644
index 00000000..3f87234e
--- /dev/null
+++ b/main/migrations/0002_repo_public_testing.py
@@ -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)?'),
+ ),
+ ]
diff --git a/main/models.py b/main/models.py
index c033a079..75982459 100644
--- a/main/models.py
+++ b/main/models.py
@@ -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,