aboutsummaryrefslogtreecommitdiff
path: root/testmanager
diff options
context:
space:
mode:
Diffstat (limited to 'testmanager')
-rw-r--r--testmanager/testrunner/migrations/0002_auto_20140704_1439.py29
-rw-r--r--testmanager/testrunner/migrations/0003_auto_20140707_0940.py2
-rw-r--r--testmanager/testrunner/models.py2
3 files changed, 2 insertions, 31 deletions
diff --git a/testmanager/testrunner/migrations/0002_auto_20140704_1439.py b/testmanager/testrunner/migrations/0002_auto_20140704_1439.py
deleted file mode 100644
index da325f6..0000000
--- a/testmanager/testrunner/migrations/0002_auto_20140704_1439.py
+++ /dev/null
@@ -1,29 +0,0 @@
-# -*- coding: utf-8 -*-
-from __future__ import unicode_literals
-
-from django.db import models, migrations
-
-
-class Migration(migrations.Migration):
-
- dependencies = [
- ('testrunner', '0001_initial'),
- ]
-
- operations = [
- migrations.CreateModel(
- name='Bug',
- fields=[
- ('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)),
- ('alias', models.CharField(max_length=32)),
- ('tracker', models.CharField(max_length=16, choices=[(b'Linaro Bugzilla', b'Linaro Bugzilla'), (b'Launchpad', b'Launchpad'), (b'Linaro Jira', b'Linaro Jira')])),
- ],
- options={
- },
- bases=(models.Model,),
- ),
- migrations.AlterUniqueTogether(
- name='bug',
- unique_together=set([(b'alias', b'tracker')]),
- ),
- ]
diff --git a/testmanager/testrunner/migrations/0003_auto_20140707_0940.py b/testmanager/testrunner/migrations/0003_auto_20140707_0940.py
index 3f7af22..df2056f 100644
--- a/testmanager/testrunner/migrations/0003_auto_20140707_0940.py
+++ b/testmanager/testrunner/migrations/0003_auto_20140707_0940.py
@@ -7,7 +7,7 @@ from django.db import models, migrations
class Migration(migrations.Migration):
dependencies = [
- ('testrunner', '0002_auto_20140704_1439'),
+ ('testplanner', '0001_initial'),
]
operations = [
diff --git a/testmanager/testrunner/models.py b/testmanager/testrunner/models.py
index f07b80d..9b5f8fd 100644
--- a/testmanager/testrunner/models.py
+++ b/testmanager/testrunner/models.py
@@ -125,7 +125,7 @@ class JenkinsBuild(models.Model):
if self.is_umbrella:
for build in self.jenkinsbuild_set.all():
if build != self:
- build.tag = self.tag
+ build.tags.add(*self.tags.all())
build.save()