summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEd Bartosh <ed.bartosh@linux.intel.com>2016-05-11 13:03:26 +0300
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-06-02 08:24:04 +0100
commit15bb3d4e7fd33a921e9b0681297dfee6986a66eb (patch)
tree7e5dc631cd3f0be78c05b605faac4908659a2f96
parentde21205d3d1cb1994d94fea79d024b0e293781bd (diff)
downloadpoky-15bb3d4e7fd33a921e9b0681297dfee6986a66eb.tar.gz
bitbake: toaster: fix migrations
Created two new migrations due to the models changes made in python3 patchset. (Bitbake rev: 9a6b211b2e15734379186408995851b50a2e0805) Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--bitbake/bitbake/lib/toaster/bldcontrol/migrations/0004_auto_20160509_0946.py34
-rw-r--r--bitbake/bitbake/lib/toaster/orm/migrations/0007_auto_20160509_0946.py89
2 files changed, 123 insertions, 0 deletions
diff --git a/bitbake/bitbake/lib/toaster/bldcontrol/migrations/0004_auto_20160509_0946.py b/bitbake/bitbake/lib/toaster/bldcontrol/migrations/0004_auto_20160509_0946.py
new file mode 100644
index 0000000000..4a70e2d8e8
--- /dev/null
+++ b/bitbake/bitbake/lib/toaster/bldcontrol/migrations/0004_auto_20160509_0946.py
@@ -0,0 +1,34 @@
1# -*- coding: utf-8 -*-
2from __future__ import unicode_literals
3
4from django.db import migrations, models
5
6
7class Migration(migrations.Migration):
8
9 dependencies = [
10 ('bldcontrol', '0003_add_cancelling_state'),
11 ]
12
13 operations = [
14 migrations.AlterField(
15 model_name='buildenvironment',
16 name='bbstate',
17 field=models.IntegerField(choices=[(0, 'stopped'), (1, 'started')], default=0),
18 ),
19 migrations.AlterField(
20 model_name='buildenvironment',
21 name='betype',
22 field=models.IntegerField(choices=[(0, 'local')]),
23 ),
24 migrations.AlterField(
25 model_name='buildenvironment',
26 name='lock',
27 field=models.IntegerField(choices=[(0, 'free'), (1, 'lock'), (2, 'running')], default=0),
28 ),
29 migrations.AlterField(
30 model_name='buildrequest',
31 name='state',
32 field=models.IntegerField(choices=[(0, 'created'), (1, 'queued'), (2, 'in progress'), (3, 'completed'), (4, 'failed'), (5, 'deleted'), (6, 'cancelling'), (7, 'archive')], default=0),
33 ),
34 ]
diff --git a/bitbake/bitbake/lib/toaster/orm/migrations/0007_auto_20160509_0946.py b/bitbake/bitbake/lib/toaster/orm/migrations/0007_auto_20160509_0946.py
new file mode 100644
index 0000000000..d866105f19
--- /dev/null
+++ b/bitbake/bitbake/lib/toaster/orm/migrations/0007_auto_20160509_0946.py
@@ -0,0 +1,89 @@
1# -*- coding: utf-8 -*-
2from __future__ import unicode_literals
3
4from django.db import migrations, models
5
6
7class Migration(migrations.Migration):
8
9 dependencies = [
10 ('orm', '0006_add_cancelled_state'),
11 ]
12
13 operations = [
14 migrations.AlterField(
15 model_name='build',
16 name='outcome',
17 field=models.IntegerField(choices=[(0, 'Succeeded'), (1, 'Failed'), (2, 'In Progress'), (3, 'Cancelled')], default=2),
18 ),
19 migrations.AlterField(
20 model_name='helptext',
21 name='area',
22 field=models.IntegerField(choices=[(0, 'variable')]),
23 ),
24 migrations.AlterField(
25 model_name='layer',
26 name='summary',
27 field=models.TextField(null=True, help_text='One-line description of the layer', default=None),
28 ),
29 migrations.AlterField(
30 model_name='layer_version',
31 name='local_path',
32 field=models.FilePathField(max_length=1024, default='/'),
33 ),
34 migrations.AlterField(
35 model_name='layersource',
36 name='sourcetype',
37 field=models.IntegerField(choices=[(0, 'local'), (1, 'layerindex'), (2, 'imported')]),
38 ),
39 migrations.AlterField(
40 model_name='logmessage',
41 name='level',
42 field=models.IntegerField(choices=[(0, 'info'), (1, 'warn'), (2, 'error'), (3, 'critical'), (-1, 'toaster exception')], default=0),
43 ),
44 migrations.AlterField(
45 model_name='package',
46 name='installed_name',
47 field=models.CharField(max_length=100, default=''),
48 ),
49 migrations.AlterField(
50 model_name='package_dependency',
51 name='dep_type',
52 field=models.IntegerField(choices=[(0, 'depends'), (1, 'depends'), (3, 'recommends'), (2, 'recommends'), (4, 'suggests'), (5, 'provides'), (6, 'replaces'), (7, 'conflicts')]),
53 ),
54 migrations.AlterField(
55 model_name='recipe_dependency',
56 name='dep_type',
57 field=models.IntegerField(choices=[(0, 'depends'), (1, 'rdepends')]),
58 ),
59 migrations.AlterField(
60 model_name='release',
61 name='branch_name',
62 field=models.CharField(max_length=50, default=''),
63 ),
64 migrations.AlterField(
65 model_name='releasedefaultlayer',
66 name='layer_name',
67 field=models.CharField(max_length=100, default=''),
68 ),
69 migrations.AlterField(
70 model_name='target_file',
71 name='inodetype',
72 field=models.IntegerField(choices=[(1, 'regular'), (2, 'directory'), (3, 'symlink'), (4, 'socket'), (5, 'fifo'), (6, 'character'), (7, 'block')]),
73 ),
74 migrations.AlterField(
75 model_name='task',
76 name='outcome',
77 field=models.IntegerField(choices=[(-1, 'Not Available'), (0, 'Succeeded'), (1, 'Covered'), (2, 'Cached'), (3, 'Prebuilt'), (4, 'Failed'), (5, 'Empty')], default=-1),
78 ),
79 migrations.AlterField(
80 model_name='task',
81 name='script_type',
82 field=models.IntegerField(choices=[(0, 'N/A'), (2, 'Python'), (3, 'Shell')], default=0),
83 ),
84 migrations.AlterField(
85 model_name='task',
86 name='sstate_result',
87 field=models.IntegerField(choices=[(0, 'Not Applicable'), (1, 'File not in cache'), (2, 'Failed'), (3, 'Succeeded')], default=0),
88 ),
89 ]