diff options
author | Ed Bartosh <ed.bartosh@linux.intel.com> | 2016-06-07 16:37:23 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-06-15 08:35:05 +0100 |
commit | 1fd160016ddc8a3260545b73fc0b89ec42eb882f (patch) | |
tree | 7d43c08b685c4f575ff96a55d4e1978cc63f7983 /bitbake/lib | |
parent | f0740b038f8efe2dc30aa91ac040e9f4f1eb8e72 (diff) | |
download | poky-1fd160016ddc8a3260545b73fc0b89ec42eb882f.tar.gz |
bitbake: toaster: fix migrations
(Bitbake rev: bfb44886c3bec8320e4f845c9ff24ae2a795aa9f)
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib')
-rw-r--r-- | bitbake/lib/toaster/bldcontrol/migrations/0004_auto_20160523_1446.py | 34 | ||||
-rw-r--r-- | bitbake/lib/toaster/orm/migrations/0007_auto_20160523_1446.py | 89 |
2 files changed, 123 insertions, 0 deletions
diff --git a/bitbake/lib/toaster/bldcontrol/migrations/0004_auto_20160523_1446.py b/bitbake/lib/toaster/bldcontrol/migrations/0004_auto_20160523_1446.py new file mode 100644 index 0000000000..3d90629541 --- /dev/null +++ b/bitbake/lib/toaster/bldcontrol/migrations/0004_auto_20160523_1446.py | |||
@@ -0,0 +1,34 @@ | |||
1 | # -*- coding: utf-8 -*- | ||
2 | from __future__ import unicode_literals | ||
3 | |||
4 | from django.db import migrations, models | ||
5 | |||
6 | |||
7 | class 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(default=0, choices=[(0, 'stopped'), (1, 'started')]), | ||
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(default=0, choices=[(0, 'free'), (1, 'lock'), (2, 'running')]), | ||
28 | ), | ||
29 | migrations.AlterField( | ||
30 | model_name='buildrequest', | ||
31 | name='state', | ||
32 | field=models.IntegerField(default=0, choices=[(0, 'created'), (1, 'queued'), (2, 'in progress'), (3, 'completed'), (4, 'failed'), (5, 'deleted'), (6, 'cancelling'), (7, 'archive')]), | ||
33 | ), | ||
34 | ] | ||
diff --git a/bitbake/lib/toaster/orm/migrations/0007_auto_20160523_1446.py b/bitbake/lib/toaster/orm/migrations/0007_auto_20160523_1446.py new file mode 100644 index 0000000000..b472e7cf06 --- /dev/null +++ b/bitbake/lib/toaster/orm/migrations/0007_auto_20160523_1446.py | |||
@@ -0,0 +1,89 @@ | |||
1 | # -*- coding: utf-8 -*- | ||
2 | from __future__ import unicode_literals | ||
3 | |||
4 | from django.db import migrations, models | ||
5 | |||
6 | |||
7 | class 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(default=2, choices=[(0, 'Succeeded'), (1, 'Failed'), (2, 'In Progress'), (3, 'Cancelled')]), | ||
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(default=None, null=True, help_text='One-line description of the layer'), | ||
28 | ), | ||
29 | migrations.AlterField( | ||
30 | model_name='layer_version', | ||
31 | name='local_path', | ||
32 | field=models.FilePathField(default='/', max_length=1024), | ||
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(default=0, choices=[(0, 'info'), (1, 'warn'), (2, 'error'), (3, 'critical'), (-1, 'toaster exception')]), | ||
43 | ), | ||
44 | migrations.AlterField( | ||
45 | model_name='package', | ||
46 | name='installed_name', | ||
47 | field=models.CharField(default='', max_length=100), | ||
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(default='', max_length=50), | ||
63 | ), | ||
64 | migrations.AlterField( | ||
65 | model_name='releasedefaultlayer', | ||
66 | name='layer_name', | ||
67 | field=models.CharField(default='', max_length=100), | ||
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(default=-1, choices=[(-1, 'Not Available'), (0, 'Succeeded'), (1, 'Covered'), (2, 'Cached'), (3, 'Prebuilt'), (4, 'Failed'), (5, 'Empty')]), | ||
78 | ), | ||
79 | migrations.AlterField( | ||
80 | model_name='task', | ||
81 | name='script_type', | ||
82 | field=models.IntegerField(default=0, choices=[(0, 'N/A'), (2, 'Python'), (3, 'Shell')]), | ||
83 | ), | ||
84 | migrations.AlterField( | ||
85 | model_name='task', | ||
86 | name='sstate_result', | ||
87 | field=models.IntegerField(default=0, choices=[(0, 'Not Applicable'), (1, 'File not in cache'), (2, 'Failed'), (3, 'Succeeded')]), | ||
88 | ), | ||
89 | ] | ||