summaryrefslogtreecommitdiffstats
path: root/bitbake
diff options
context:
space:
mode:
Diffstat (limited to 'bitbake')
-rw-r--r--bitbake/lib/toaster/bldcontrol/migrations/0001_initial.py265
-rw-r--r--bitbake/lib/toaster/bldcontrol/migrations/0002_auto__add_field_buildenvironment_sourcedir__add_field_buildenvironment.py106
-rw-r--r--bitbake/lib/toaster/bldcontrol/migrations/0003_auto__add_field_brlayer_dirpath.py99
-rw-r--r--bitbake/lib/toaster/bldcontrol/migrations/0004_loadinitialdata.py104
-rw-r--r--bitbake/lib/toaster/bldcontrol/migrations/0005_auto__add_brerror.py112
-rw-r--r--bitbake/lib/toaster/bldcontrol/migrations/0006_auto__add_brbitbake.py128
-rw-r--r--bitbake/lib/toaster/bldcontrol/migrations/0007_auto__add_field_buildrequest_environment__chg_field_buildrequest_build.py145
-rw-r--r--bitbake/lib/toaster/bldcontrol/migrations/0008_brarchive.py138
-rw-r--r--bitbake/lib/toaster/bldcontrol/migrations/0009_auto__add_field_brlayer_layer_version.py180
-rw-r--r--bitbake/lib/toaster/orm/migrations/0001_initial.py928
-rw-r--r--bitbake/lib/toaster/orm/migrations/0002_auto__add_field_build_timespent.py180
-rw-r--r--bitbake/lib/toaster/orm/migrations/0003_timespent.py182
-rw-r--r--bitbake/lib/toaster/orm/migrations/0004_auto__add_field_package_installed_name.py181
-rw-r--r--bitbake/lib/toaster/orm/migrations/0005_auto__add_target_image_file__add_target_file__add_field_variablehistor.py281
-rw-r--r--bitbake/lib/toaster/orm/migrations/0006_auto__add_field_target_image_size__add_field_target_license_manifest_p.py235
-rw-r--r--bitbake/lib/toaster/orm/migrations/0007_auto__add_helptext.py214
-rw-r--r--bitbake/lib/toaster/orm/migrations/0008_auto__chg_field_variablehistory_operation__chg_field_recipe_descriptio.py225
-rw-r--r--bitbake/lib/toaster/orm/migrations/0009_auto__add_projectvariable__add_projectlayer__add_projecttarget__add_pr.py286
-rw-r--r--bitbake/lib/toaster/orm/migrations/0010_auto__add_field_project_branch__add_field_project_short_description__a.py257
-rw-r--r--bitbake/lib/toaster/orm/migrations/0011_auto__add_field_projectlayer_dirpath.py242
-rw-r--r--bitbake/lib/toaster/orm/migrations/0012_auto__add_field_projectlayer_optional__add_field_projecttarget_task.py252
-rw-r--r--bitbake/lib/toaster/orm/migrations/0013_auto__add_release__add_layerversiondependency__add_unique_layerversion.py710
-rw-r--r--bitbake/lib/toaster/orm/migrations/0014_auto__chg_field_package_summary__chg_field_layer_summary__chg_field_re.py336
-rw-r--r--bitbake/lib/toaster/orm/migrations/0015_auto__add_field_layer_vcs_web_url__add_field_layer_vcs_web_tree_base_u.py336
-rw-r--r--bitbake/lib/toaster/orm/migrations/0016_auto__add_field_release_helptext__chg_field_release_branch__add_index_.py359
-rw-r--r--bitbake/lib/toaster/orm/migrations/0017_auto__del_toastersettingdefaultlayer__add_releaselayersourcepriority__.py396
-rw-r--r--bitbake/lib/toaster/orm/migrations/0018_auto__add_field_layer_version_project.py331
-rw-r--r--bitbake/lib/toaster/orm/migrations/0019_auto__add_buildartifact.py342
-rw-r--r--bitbake/lib/toaster/orm/migrations/0020_auto__add_field_layer_version_local_path__add_field_recipe_pathflags__.py361
-rw-r--r--bitbake/lib/toaster/orm/migrations/0021_auto__chg_field_build_project__chg_field_project_bitbake_version__chg_.py371
-rw-r--r--bitbake/lib/toaster/orm/migrations/0022_auto__add_field_target_task__add_field_layer_version_local_path__del_f.py343
-rw-r--r--bitbake/lib/toaster/orm/migrations/0023_auto__del_field_build_warnings_no__del_field_build_errors_no__del_fiel.py353
-rw-r--r--bitbake/lib/toaster/orm/migrations/0024_auto__add_field_recipe_is_image.py338
-rw-r--r--bitbake/lib/toaster/orm/migrations/0025_auto__add_field_project_is_default.py346
-rw-r--r--bitbake/lib/toaster/orm/migrations/0026_set_default_project.py374
-rw-r--r--bitbake/lib/toaster/orm/migrations/0027_auto__add_customimagerecipe__add_unique_customimagerecipe_name_project.py375
-rw-r--r--bitbake/lib/toaster/orm/migrations/0028_auto__chg_field_logmessage_message.py345
37 files changed, 641 insertions, 10115 deletions
diff --git a/bitbake/lib/toaster/bldcontrol/migrations/0001_initial.py b/bitbake/lib/toaster/bldcontrol/migrations/0001_initial.py
index a7e6350a6d..67db378561 100644
--- a/bitbake/lib/toaster/bldcontrol/migrations/0001_initial.py
+++ b/bitbake/lib/toaster/bldcontrol/migrations/0001_initial.py
@@ -1,154 +1,113 @@
1# -*- coding: utf-8 -*- 1# -*- coding: utf-8 -*-
2from south.utils import datetime_utils as datetime 2from __future__ import unicode_literals
3from south.db import db 3
4from south.v2 import SchemaMigration 4from django.db import migrations, models
5from django.db import models 5
6 6
7 7class Migration(migrations.Migration):
8class Migration(SchemaMigration): 8
9 9 dependencies = [
10 def forwards(self, orm): 10 ('orm', '0001_initial'),
11 # Adding model 'BuildEnvironment' 11 ]
12 db.create_table(u'bldcontrol_buildenvironment', ( 12
13 (u'id', self.gf('django.db.models.fields.AutoField')(primary_key=True)), 13 operations = [
14 ('address', self.gf('django.db.models.fields.CharField')(max_length=254)), 14 migrations.CreateModel(
15 ('betype', self.gf('django.db.models.fields.IntegerField')()), 15 name='BRBitbake',
16 ('bbaddress', self.gf('django.db.models.fields.CharField')(max_length=254, blank=True)), 16 fields=[
17 ('bbport', self.gf('django.db.models.fields.IntegerField')(default=-1)), 17 ('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)),
18 ('bbtoken', self.gf('django.db.models.fields.CharField')(max_length=126, blank=True)), 18 ('giturl', models.CharField(max_length=254)),
19 ('bbstate', self.gf('django.db.models.fields.IntegerField')(default=0)), 19 ('commit', models.CharField(max_length=254)),
20 ('lock', self.gf('django.db.models.fields.IntegerField')(default=0)), 20 ('dirpath', models.CharField(max_length=254)),
21 ('created', self.gf('django.db.models.fields.DateTimeField')(auto_now_add=True, blank=True)), 21 ],
22 ('updated', self.gf('django.db.models.fields.DateTimeField')(auto_now=True, blank=True)), 22 ),
23 )) 23 migrations.CreateModel(
24 db.send_create_signal(u'bldcontrol', ['BuildEnvironment']) 24 name='BRError',
25 25 fields=[
26 # Adding model 'BuildRequest' 26 ('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)),
27 db.create_table(u'bldcontrol_buildrequest', ( 27 ('errtype', models.CharField(max_length=100)),
28 (u'id', self.gf('django.db.models.fields.AutoField')(primary_key=True)), 28 ('errmsg', models.TextField()),
29 ('project', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['orm.Project'])), 29 ('traceback', models.TextField()),
30 ('build', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['orm.Build'], null=True)), 30 ],
31 ('state', self.gf('django.db.models.fields.IntegerField')(default=0)), 31 ),
32 ('created', self.gf('django.db.models.fields.DateTimeField')(auto_now_add=True, blank=True)), 32 migrations.CreateModel(
33 ('updated', self.gf('django.db.models.fields.DateTimeField')(auto_now=True, blank=True)), 33 name='BRLayer',
34 )) 34 fields=[
35 db.send_create_signal(u'bldcontrol', ['BuildRequest']) 35 ('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)),
36 36 ('name', models.CharField(max_length=100)),
37 # Adding model 'BRLayer' 37 ('giturl', models.CharField(max_length=254)),
38 db.create_table(u'bldcontrol_brlayer', ( 38 ('commit', models.CharField(max_length=254)),
39 (u'id', self.gf('django.db.models.fields.AutoField')(primary_key=True)), 39 ('dirpath', models.CharField(max_length=254)),
40 ('req', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['bldcontrol.BuildRequest'])), 40 ('layer_version', models.ForeignKey(to='orm.Layer_Version', null=True)),
41 ('name', self.gf('django.db.models.fields.CharField')(max_length=100)), 41 ],
42 ('giturl', self.gf('django.db.models.fields.CharField')(max_length=254)), 42 ),
43 ('commit', self.gf('django.db.models.fields.CharField')(max_length=254)), 43 migrations.CreateModel(
44 )) 44 name='BRTarget',
45 db.send_create_signal(u'bldcontrol', ['BRLayer']) 45 fields=[
46 46 ('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)),
47 # Adding model 'BRVariable' 47 ('target', models.CharField(max_length=100)),
48 db.create_table(u'bldcontrol_brvariable', ( 48 ('task', models.CharField(max_length=100, null=True)),
49 (u'id', self.gf('django.db.models.fields.AutoField')(primary_key=True)), 49 ],
50 ('req', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['bldcontrol.BuildRequest'])), 50 ),
51 ('name', self.gf('django.db.models.fields.CharField')(max_length=100)), 51 migrations.CreateModel(
52 ('value', self.gf('django.db.models.fields.TextField')(blank=True)), 52 name='BRVariable',
53 )) 53 fields=[
54 db.send_create_signal(u'bldcontrol', ['BRVariable']) 54 ('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)),
55 55 ('name', models.CharField(max_length=100)),
56 # Adding model 'BRTarget' 56 ('value', models.TextField(blank=True)),
57 db.create_table(u'bldcontrol_brtarget', ( 57 ],
58 (u'id', self.gf('django.db.models.fields.AutoField')(primary_key=True)), 58 ),
59 ('req', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['bldcontrol.BuildRequest'])), 59 migrations.CreateModel(
60 ('target', self.gf('django.db.models.fields.CharField')(max_length=100)), 60 name='BuildEnvironment',
61 ('task', self.gf('django.db.models.fields.CharField')(max_length=100, null=True)), 61 fields=[
62 )) 62 ('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)),
63 db.send_create_signal(u'bldcontrol', ['BRTarget']) 63 ('address', models.CharField(max_length=254)),
64 64 ('betype', models.IntegerField(choices=[(0, b'local'), (1, b'ssh')])),
65 65 ('bbaddress', models.CharField(max_length=254, blank=True)),
66 def backwards(self, orm): 66 ('bbport', models.IntegerField(default=-1)),
67 # Deleting model 'BuildEnvironment' 67 ('bbtoken', models.CharField(max_length=126, blank=True)),
68 db.delete_table(u'bldcontrol_buildenvironment') 68 ('bbstate', models.IntegerField(default=0, choices=[(0, b'stopped'), (1, b'started')])),
69 69 ('sourcedir', models.CharField(max_length=512, blank=True)),
70 # Deleting model 'BuildRequest' 70 ('builddir', models.CharField(max_length=512, blank=True)),
71 db.delete_table(u'bldcontrol_buildrequest') 71 ('lock', models.IntegerField(default=0, choices=[(0, b'free'), (1, b'lock'), (2, b'running')])),
72 72 ('created', models.DateTimeField(auto_now_add=True)),
73 # Deleting model 'BRLayer' 73 ('updated', models.DateTimeField(auto_now=True)),
74 db.delete_table(u'bldcontrol_brlayer') 74 ],
75 75 ),
76 # Deleting model 'BRVariable' 76 migrations.CreateModel(
77 db.delete_table(u'bldcontrol_brvariable') 77 name='BuildRequest',
78 78 fields=[
79 # Deleting model 'BRTarget' 79 ('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)),
80 db.delete_table(u'bldcontrol_brtarget') 80 ('state', models.IntegerField(default=0, choices=[(0, b'created'), (1, b'queued'), (2, b'in progress'), (3, b'completed'), (4, b'failed'), (5, b'deleted'), (6, b'archive')])),
81 81 ('created', models.DateTimeField(auto_now_add=True)),
82 82 ('updated', models.DateTimeField(auto_now=True)),
83 models = { 83 ('build', models.OneToOneField(null=True, to='orm.Build')),
84 u'bldcontrol.brlayer': { 84 ('environment', models.ForeignKey(to='bldcontrol.BuildEnvironment', null=True)),
85 'Meta': {'object_name': 'BRLayer'}, 85 ('project', models.ForeignKey(to='orm.Project')),
86 'commit': ('django.db.models.fields.CharField', [], {'max_length': '254'}), 86 ],
87 'giturl': ('django.db.models.fields.CharField', [], {'max_length': '254'}), 87 ),
88 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), 88 migrations.AddField(
89 'name': ('django.db.models.fields.CharField', [], {'max_length': '100'}), 89 model_name='brvariable',
90 'req': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['bldcontrol.BuildRequest']"}) 90 name='req',
91 }, 91 field=models.ForeignKey(to='bldcontrol.BuildRequest'),
92 u'bldcontrol.brtarget': { 92 ),
93 'Meta': {'object_name': 'BRTarget'}, 93 migrations.AddField(
94 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), 94 model_name='brtarget',
95 'req': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['bldcontrol.BuildRequest']"}), 95 name='req',
96 'target': ('django.db.models.fields.CharField', [], {'max_length': '100'}), 96 field=models.ForeignKey(to='bldcontrol.BuildRequest'),
97 'task': ('django.db.models.fields.CharField', [], {'max_length': '100', 'null': 'True'}) 97 ),
98 }, 98 migrations.AddField(
99 u'bldcontrol.brvariable': { 99 model_name='brlayer',
100 'Meta': {'object_name': 'BRVariable'}, 100 name='req',
101 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), 101 field=models.ForeignKey(to='bldcontrol.BuildRequest'),
102 'name': ('django.db.models.fields.CharField', [], {'max_length': '100'}), 102 ),
103 'req': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['bldcontrol.BuildRequest']"}), 103 migrations.AddField(
104 'value': ('django.db.models.fields.TextField', [], {'blank': 'True'}) 104 model_name='brerror',
105 }, 105 name='req',
106 u'bldcontrol.buildenvironment': { 106 field=models.ForeignKey(to='bldcontrol.BuildRequest'),
107 'Meta': {'object_name': 'BuildEnvironment'}, 107 ),
108 'address': ('django.db.models.fields.CharField', [], {'max_length': '254'}), 108 migrations.AddField(
109 'bbaddress': ('django.db.models.fields.CharField', [], {'max_length': '254', 'blank': 'True'}), 109 model_name='brbitbake',
110 'bbport': ('django.db.models.fields.IntegerField', [], {'default': '-1'}), 110 name='req',
111 'bbstate': ('django.db.models.fields.IntegerField', [], {'default': '0'}), 111 field=models.OneToOneField(to='bldcontrol.BuildRequest'),
112 'bbtoken': ('django.db.models.fields.CharField', [], {'max_length': '126', 'blank': 'True'}), 112 ),
113 'betype': ('django.db.models.fields.IntegerField', [], {}), 113 ]
114 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}),
115 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
116 'lock': ('django.db.models.fields.IntegerField', [], {'default': '0'}),
117 'updated': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'})
118 },
119 u'bldcontrol.buildrequest': {
120 'Meta': {'object_name': 'BuildRequest'},
121 'build': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.Build']", 'null': 'True'}),
122 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}),
123 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
124 'project': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.Project']"}),
125 'state': ('django.db.models.fields.IntegerField', [], {'default': '0'}),
126 'updated': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'})
127 },
128 u'orm.build': {
129 'Meta': {'object_name': 'Build'},
130 'bitbake_version': ('django.db.models.fields.CharField', [], {'max_length': '50'}),
131 'build_name': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
132 'completed_on': ('django.db.models.fields.DateTimeField', [], {}),
133 'cooker_log_path': ('django.db.models.fields.CharField', [], {'max_length': '500'}),
134 'distro': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
135 'distro_version': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
136 'errors_no': ('django.db.models.fields.IntegerField', [], {'default': '0'}),
137 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
138 'machine': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
139 'outcome': ('django.db.models.fields.IntegerField', [], {'default': '2'}),
140 'project': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.Project']", 'null': 'True'}),
141 'started_on': ('django.db.models.fields.DateTimeField', [], {}),
142 'timespent': ('django.db.models.fields.IntegerField', [], {'default': '0'}),
143 'warnings_no': ('django.db.models.fields.IntegerField', [], {'default': '0'})
144 },
145 u'orm.project': {
146 'Meta': {'object_name': 'Project'},
147 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}),
148 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
149 'name': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
150 'updated': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'})
151 }
152 }
153
154 complete_apps = ['bldcontrol']
diff --git a/bitbake/lib/toaster/bldcontrol/migrations/0002_auto__add_field_buildenvironment_sourcedir__add_field_buildenvironment.py b/bitbake/lib/toaster/bldcontrol/migrations/0002_auto__add_field_buildenvironment_sourcedir__add_field_buildenvironment.py
deleted file mode 100644
index f522a500b6..0000000000
--- a/bitbake/lib/toaster/bldcontrol/migrations/0002_auto__add_field_buildenvironment_sourcedir__add_field_buildenvironment.py
+++ /dev/null
@@ -1,106 +0,0 @@
1# -*- coding: utf-8 -*-
2from south.utils import datetime_utils as datetime
3from south.db import db
4from south.v2 import SchemaMigration
5from django.db import models
6
7
8class Migration(SchemaMigration):
9
10 def forwards(self, orm):
11 # Adding field 'BuildEnvironment.sourcedir'
12 db.add_column(u'bldcontrol_buildenvironment', 'sourcedir',
13 self.gf('django.db.models.fields.CharField')(default='', max_length=512, blank=True),
14 keep_default=False)
15
16 # Adding field 'BuildEnvironment.builddir'
17 db.add_column(u'bldcontrol_buildenvironment', 'builddir',
18 self.gf('django.db.models.fields.CharField')(default='', max_length=512, blank=True),
19 keep_default=False)
20
21
22 def backwards(self, orm):
23 # Deleting field 'BuildEnvironment.sourcedir'
24 db.delete_column(u'bldcontrol_buildenvironment', 'sourcedir')
25
26 # Deleting field 'BuildEnvironment.builddir'
27 db.delete_column(u'bldcontrol_buildenvironment', 'builddir')
28
29
30 models = {
31 u'bldcontrol.brlayer': {
32 'Meta': {'object_name': 'BRLayer'},
33 'commit': ('django.db.models.fields.CharField', [], {'max_length': '254'}),
34 'giturl': ('django.db.models.fields.CharField', [], {'max_length': '254'}),
35 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
36 'name': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
37 'req': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['bldcontrol.BuildRequest']"})
38 },
39 u'bldcontrol.brtarget': {
40 'Meta': {'object_name': 'BRTarget'},
41 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
42 'req': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['bldcontrol.BuildRequest']"}),
43 'target': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
44 'task': ('django.db.models.fields.CharField', [], {'max_length': '100', 'null': 'True'})
45 },
46 u'bldcontrol.brvariable': {
47 'Meta': {'object_name': 'BRVariable'},
48 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
49 'name': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
50 'req': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['bldcontrol.BuildRequest']"}),
51 'value': ('django.db.models.fields.TextField', [], {'blank': 'True'})
52 },
53 u'bldcontrol.buildenvironment': {
54 'Meta': {'object_name': 'BuildEnvironment'},
55 'address': ('django.db.models.fields.CharField', [], {'max_length': '254'}),
56 'bbaddress': ('django.db.models.fields.CharField', [], {'max_length': '254', 'blank': 'True'}),
57 'bbport': ('django.db.models.fields.IntegerField', [], {'default': '-1'}),
58 'bbstate': ('django.db.models.fields.IntegerField', [], {'default': '0'}),
59 'bbtoken': ('django.db.models.fields.CharField', [], {'max_length': '126', 'blank': 'True'}),
60 'betype': ('django.db.models.fields.IntegerField', [], {}),
61 'builddir': ('django.db.models.fields.CharField', [], {'max_length': '512', 'blank': 'True'}),
62 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}),
63 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
64 'lock': ('django.db.models.fields.IntegerField', [], {'default': '0'}),
65 'sourcedir': ('django.db.models.fields.CharField', [], {'max_length': '512', 'blank': 'True'}),
66 'updated': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'})
67 },
68 u'bldcontrol.buildrequest': {
69 'Meta': {'object_name': 'BuildRequest'},
70 'build': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.Build']", 'null': 'True'}),
71 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}),
72 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
73 'project': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.Project']"}),
74 'state': ('django.db.models.fields.IntegerField', [], {'default': '0'}),
75 'updated': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'})
76 },
77 u'orm.build': {
78 'Meta': {'object_name': 'Build'},
79 'bitbake_version': ('django.db.models.fields.CharField', [], {'max_length': '50'}),
80 'build_name': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
81 'completed_on': ('django.db.models.fields.DateTimeField', [], {}),
82 'cooker_log_path': ('django.db.models.fields.CharField', [], {'max_length': '500'}),
83 'distro': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
84 'distro_version': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
85 'errors_no': ('django.db.models.fields.IntegerField', [], {'default': '0'}),
86 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
87 'machine': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
88 'outcome': ('django.db.models.fields.IntegerField', [], {'default': '2'}),
89 'project': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.Project']", 'null': 'True'}),
90 'started_on': ('django.db.models.fields.DateTimeField', [], {}),
91 'timespent': ('django.db.models.fields.IntegerField', [], {'default': '0'}),
92 'warnings_no': ('django.db.models.fields.IntegerField', [], {'default': '0'})
93 },
94 u'orm.project': {
95 'Meta': {'object_name': 'Project'},
96 'branch': ('django.db.models.fields.CharField', [], {'max_length': '50'}),
97 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}),
98 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
99 'name': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
100 'short_description': ('django.db.models.fields.CharField', [], {'max_length': '50', 'blank': 'True'}),
101 'updated': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}),
102 'user_id': ('django.db.models.fields.IntegerField', [], {'null': 'True'})
103 }
104 }
105
106 complete_apps = ['bldcontrol'] \ No newline at end of file
diff --git a/bitbake/lib/toaster/bldcontrol/migrations/0003_auto__add_field_brlayer_dirpath.py b/bitbake/lib/toaster/bldcontrol/migrations/0003_auto__add_field_brlayer_dirpath.py
deleted file mode 100644
index b9ba838d90..0000000000
--- a/bitbake/lib/toaster/bldcontrol/migrations/0003_auto__add_field_brlayer_dirpath.py
+++ /dev/null
@@ -1,99 +0,0 @@
1# -*- coding: utf-8 -*-
2from south.utils import datetime_utils as datetime
3from south.db import db
4from south.v2 import SchemaMigration
5from django.db import models
6
7
8class Migration(SchemaMigration):
9
10 def forwards(self, orm):
11 # Adding field 'BRLayer.dirpath'
12 db.add_column(u'bldcontrol_brlayer', 'dirpath',
13 self.gf('django.db.models.fields.CharField')(default='', max_length=254),
14 keep_default=False)
15
16
17 def backwards(self, orm):
18 # Deleting field 'BRLayer.dirpath'
19 db.delete_column(u'bldcontrol_brlayer', 'dirpath')
20
21
22 models = {
23 u'bldcontrol.brlayer': {
24 'Meta': {'object_name': 'BRLayer'},
25 'commit': ('django.db.models.fields.CharField', [], {'max_length': '254'}),
26 'dirpath': ('django.db.models.fields.CharField', [], {'max_length': '254'}),
27 'giturl': ('django.db.models.fields.CharField', [], {'max_length': '254'}),
28 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
29 'name': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
30 'req': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['bldcontrol.BuildRequest']"})
31 },
32 u'bldcontrol.brtarget': {
33 'Meta': {'object_name': 'BRTarget'},
34 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
35 'req': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['bldcontrol.BuildRequest']"}),
36 'target': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
37 'task': ('django.db.models.fields.CharField', [], {'max_length': '100', 'null': 'True'})
38 },
39 u'bldcontrol.brvariable': {
40 'Meta': {'object_name': 'BRVariable'},
41 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
42 'name': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
43 'req': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['bldcontrol.BuildRequest']"}),
44 'value': ('django.db.models.fields.TextField', [], {'blank': 'True'})
45 },
46 u'bldcontrol.buildenvironment': {
47 'Meta': {'object_name': 'BuildEnvironment'},
48 'address': ('django.db.models.fields.CharField', [], {'max_length': '254'}),
49 'bbaddress': ('django.db.models.fields.CharField', [], {'max_length': '254', 'blank': 'True'}),
50 'bbport': ('django.db.models.fields.IntegerField', [], {'default': '-1'}),
51 'bbstate': ('django.db.models.fields.IntegerField', [], {'default': '0'}),
52 'bbtoken': ('django.db.models.fields.CharField', [], {'max_length': '126', 'blank': 'True'}),
53 'betype': ('django.db.models.fields.IntegerField', [], {}),
54 'builddir': ('django.db.models.fields.CharField', [], {'max_length': '512', 'blank': 'True'}),
55 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}),
56 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
57 'lock': ('django.db.models.fields.IntegerField', [], {'default': '0'}),
58 'sourcedir': ('django.db.models.fields.CharField', [], {'max_length': '512', 'blank': 'True'}),
59 'updated': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'})
60 },
61 u'bldcontrol.buildrequest': {
62 'Meta': {'object_name': 'BuildRequest'},
63 'build': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.Build']", 'null': 'True'}),
64 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}),
65 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
66 'project': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.Project']"}),
67 'state': ('django.db.models.fields.IntegerField', [], {'default': '0'}),
68 'updated': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'})
69 },
70 u'orm.build': {
71 'Meta': {'object_name': 'Build'},
72 'bitbake_version': ('django.db.models.fields.CharField', [], {'max_length': '50'}),
73 'build_name': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
74 'completed_on': ('django.db.models.fields.DateTimeField', [], {}),
75 'cooker_log_path': ('django.db.models.fields.CharField', [], {'max_length': '500'}),
76 'distro': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
77 'distro_version': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
78 'errors_no': ('django.db.models.fields.IntegerField', [], {'default': '0'}),
79 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
80 'machine': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
81 'outcome': ('django.db.models.fields.IntegerField', [], {'default': '2'}),
82 'project': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.Project']", 'null': 'True'}),
83 'started_on': ('django.db.models.fields.DateTimeField', [], {}),
84 'timespent': ('django.db.models.fields.IntegerField', [], {'default': '0'}),
85 'warnings_no': ('django.db.models.fields.IntegerField', [], {'default': '0'})
86 },
87 u'orm.project': {
88 'Meta': {'object_name': 'Project'},
89 'branch': ('django.db.models.fields.CharField', [], {'max_length': '50'}),
90 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}),
91 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
92 'name': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
93 'short_description': ('django.db.models.fields.CharField', [], {'max_length': '50', 'blank': 'True'}),
94 'updated': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}),
95 'user_id': ('django.db.models.fields.IntegerField', [], {'null': 'True'})
96 }
97 }
98
99 complete_apps = ['bldcontrol'] \ No newline at end of file
diff --git a/bitbake/lib/toaster/bldcontrol/migrations/0004_loadinitialdata.py b/bitbake/lib/toaster/bldcontrol/migrations/0004_loadinitialdata.py
deleted file mode 100644
index d908578133..0000000000
--- a/bitbake/lib/toaster/bldcontrol/migrations/0004_loadinitialdata.py
+++ /dev/null
@@ -1,104 +0,0 @@
1# -*- coding: utf-8 -*-
2from south.utils import datetime_utils as datetime
3from south.db import db
4from south.v2 import DataMigration
5from django.db import models
6
7class Migration(DataMigration):
8
9 def forwards(self, orm):
10 "Write your forwards methods here."
11 # Note: Don't use "from appname.models import ModelName".
12 # Use orm.ModelName to refer to models in this application,
13 # and orm['appname.ModelName'] for models in other applications.
14 try:
15 orm.BuildEnvironment.objects.get(pk = 1)
16 except:
17 from django.utils import timezone
18 orm.BuildEnvironment.objects.create(pk = 1,
19 created = timezone.now(),
20 updated = timezone.now(),
21 betype = 0)
22
23 def backwards(self, orm):
24 "Write your backwards methods here."
25
26 models = {
27 u'bldcontrol.brlayer': {
28 'Meta': {'object_name': 'BRLayer'},
29 'commit': ('django.db.models.fields.CharField', [], {'max_length': '254'}),
30 'dirpath': ('django.db.models.fields.CharField', [], {'max_length': '254'}),
31 'giturl': ('django.db.models.fields.CharField', [], {'max_length': '254'}),
32 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
33 'name': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
34 'req': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['bldcontrol.BuildRequest']"})
35 },
36 u'bldcontrol.brtarget': {
37 'Meta': {'object_name': 'BRTarget'},
38 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
39 'req': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['bldcontrol.BuildRequest']"}),
40 'target': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
41 'task': ('django.db.models.fields.CharField', [], {'max_length': '100', 'null': 'True'})
42 },
43 u'bldcontrol.brvariable': {
44 'Meta': {'object_name': 'BRVariable'},
45 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
46 'name': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
47 'req': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['bldcontrol.BuildRequest']"}),
48 'value': ('django.db.models.fields.TextField', [], {'blank': 'True'})
49 },
50 u'bldcontrol.buildenvironment': {
51 'Meta': {'object_name': 'BuildEnvironment'},
52 'address': ('django.db.models.fields.CharField', [], {'max_length': '254'}),
53 'bbaddress': ('django.db.models.fields.CharField', [], {'max_length': '254', 'blank': 'True'}),
54 'bbport': ('django.db.models.fields.IntegerField', [], {'default': '-1'}),
55 'bbstate': ('django.db.models.fields.IntegerField', [], {'default': '0'}),
56 'bbtoken': ('django.db.models.fields.CharField', [], {'max_length': '126', 'blank': 'True'}),
57 'betype': ('django.db.models.fields.IntegerField', [], {}),
58 'builddir': ('django.db.models.fields.CharField', [], {'max_length': '512', 'blank': 'True'}),
59 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}),
60 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
61 'lock': ('django.db.models.fields.IntegerField', [], {'default': '0'}),
62 'sourcedir': ('django.db.models.fields.CharField', [], {'max_length': '512', 'blank': 'True'}),
63 'updated': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'})
64 },
65 u'bldcontrol.buildrequest': {
66 'Meta': {'object_name': 'BuildRequest'},
67 'build': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.Build']", 'null': 'True'}),
68 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}),
69 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
70 'project': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.Project']"}),
71 'state': ('django.db.models.fields.IntegerField', [], {'default': '0'}),
72 'updated': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'})
73 },
74 u'orm.build': {
75 'Meta': {'object_name': 'Build'},
76 'bitbake_version': ('django.db.models.fields.CharField', [], {'max_length': '50'}),
77 'build_name': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
78 'completed_on': ('django.db.models.fields.DateTimeField', [], {}),
79 'cooker_log_path': ('django.db.models.fields.CharField', [], {'max_length': '500'}),
80 'distro': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
81 'distro_version': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
82 'errors_no': ('django.db.models.fields.IntegerField', [], {'default': '0'}),
83 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
84 'machine': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
85 'outcome': ('django.db.models.fields.IntegerField', [], {'default': '2'}),
86 'project': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.Project']", 'null': 'True'}),
87 'started_on': ('django.db.models.fields.DateTimeField', [], {}),
88 'timespent': ('django.db.models.fields.IntegerField', [], {'default': '0'}),
89 'warnings_no': ('django.db.models.fields.IntegerField', [], {'default': '0'})
90 },
91 u'orm.project': {
92 'Meta': {'object_name': 'Project'},
93 'branch': ('django.db.models.fields.CharField', [], {'max_length': '50'}),
94 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}),
95 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
96 'name': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
97 'short_description': ('django.db.models.fields.CharField', [], {'max_length': '50', 'blank': 'True'}),
98 'updated': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}),
99 'user_id': ('django.db.models.fields.IntegerField', [], {'null': 'True'})
100 }
101 }
102
103 complete_apps = ['bldcontrol']
104 symmetrical = True
diff --git a/bitbake/lib/toaster/bldcontrol/migrations/0005_auto__add_brerror.py b/bitbake/lib/toaster/bldcontrol/migrations/0005_auto__add_brerror.py
deleted file mode 100644
index 98aeb41ceb..0000000000
--- a/bitbake/lib/toaster/bldcontrol/migrations/0005_auto__add_brerror.py
+++ /dev/null
@@ -1,112 +0,0 @@
1# -*- coding: utf-8 -*-
2from south.utils import datetime_utils as datetime
3from south.db import db
4from south.v2 import SchemaMigration
5from django.db import models
6
7
8class Migration(SchemaMigration):
9
10 def forwards(self, orm):
11 # Adding model 'BRError'
12 db.create_table(u'bldcontrol_brerror', (
13 (u'id', self.gf('django.db.models.fields.AutoField')(primary_key=True)),
14 ('req', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['bldcontrol.BuildRequest'])),
15 ('errtype', self.gf('django.db.models.fields.CharField')(max_length=100)),
16 ('errmsg', self.gf('django.db.models.fields.TextField')()),
17 ('traceback', self.gf('django.db.models.fields.TextField')()),
18 ))
19 db.send_create_signal(u'bldcontrol', ['BRError'])
20
21
22 def backwards(self, orm):
23 # Deleting model 'BRError'
24 db.delete_table(u'bldcontrol_brerror')
25
26
27 models = {
28 u'bldcontrol.brerror': {
29 'Meta': {'object_name': 'BRError'},
30 'errmsg': ('django.db.models.fields.TextField', [], {}),
31 'errtype': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
32 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
33 'req': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['bldcontrol.BuildRequest']"}),
34 'traceback': ('django.db.models.fields.TextField', [], {})
35 },
36 u'bldcontrol.brlayer': {
37 'Meta': {'object_name': 'BRLayer'},
38 'commit': ('django.db.models.fields.CharField', [], {'max_length': '254'}),
39 'dirpath': ('django.db.models.fields.CharField', [], {'max_length': '254'}),
40 'giturl': ('django.db.models.fields.CharField', [], {'max_length': '254'}),
41 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
42 'name': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
43 'req': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['bldcontrol.BuildRequest']"})
44 },
45 u'bldcontrol.brtarget': {
46 'Meta': {'object_name': 'BRTarget'},
47 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
48 'req': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['bldcontrol.BuildRequest']"}),
49 'target': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
50 'task': ('django.db.models.fields.CharField', [], {'max_length': '100', 'null': 'True'})
51 },
52 u'bldcontrol.brvariable': {
53 'Meta': {'object_name': 'BRVariable'},
54 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
55 'name': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
56 'req': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['bldcontrol.BuildRequest']"}),
57 'value': ('django.db.models.fields.TextField', [], {'blank': 'True'})
58 },
59 u'bldcontrol.buildenvironment': {
60 'Meta': {'object_name': 'BuildEnvironment'},
61 'address': ('django.db.models.fields.CharField', [], {'max_length': '254'}),
62 'bbaddress': ('django.db.models.fields.CharField', [], {'max_length': '254', 'blank': 'True'}),
63 'bbport': ('django.db.models.fields.IntegerField', [], {'default': '-1'}),
64 'bbstate': ('django.db.models.fields.IntegerField', [], {'default': '0'}),
65 'bbtoken': ('django.db.models.fields.CharField', [], {'max_length': '126', 'blank': 'True'}),
66 'betype': ('django.db.models.fields.IntegerField', [], {}),
67 'builddir': ('django.db.models.fields.CharField', [], {'max_length': '512', 'blank': 'True'}),
68 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}),
69 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
70 'lock': ('django.db.models.fields.IntegerField', [], {'default': '0'}),
71 'sourcedir': ('django.db.models.fields.CharField', [], {'max_length': '512', 'blank': 'True'}),
72 'updated': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'})
73 },
74 u'bldcontrol.buildrequest': {
75 'Meta': {'object_name': 'BuildRequest'},
76 'build': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.Build']", 'null': 'True'}),
77 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}),
78 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
79 'project': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.Project']"}),
80 'state': ('django.db.models.fields.IntegerField', [], {'default': '0'}),
81 'updated': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'})
82 },
83 u'orm.build': {
84 'Meta': {'object_name': 'Build'},
85 'bitbake_version': ('django.db.models.fields.CharField', [], {'max_length': '50'}),
86 'build_name': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
87 'completed_on': ('django.db.models.fields.DateTimeField', [], {}),
88 'cooker_log_path': ('django.db.models.fields.CharField', [], {'max_length': '500'}),
89 'distro': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
90 'distro_version': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
91 'errors_no': ('django.db.models.fields.IntegerField', [], {'default': '0'}),
92 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
93 'machine': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
94 'outcome': ('django.db.models.fields.IntegerField', [], {'default': '2'}),
95 'project': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.Project']", 'null': 'True'}),
96 'started_on': ('django.db.models.fields.DateTimeField', [], {}),
97 'timespent': ('django.db.models.fields.IntegerField', [], {'default': '0'}),
98 'warnings_no': ('django.db.models.fields.IntegerField', [], {'default': '0'})
99 },
100 u'orm.project': {
101 'Meta': {'object_name': 'Project'},
102 'branch': ('django.db.models.fields.CharField', [], {'max_length': '50'}),
103 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}),
104 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
105 'name': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
106 'short_description': ('django.db.models.fields.CharField', [], {'max_length': '50', 'blank': 'True'}),
107 'updated': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}),
108 'user_id': ('django.db.models.fields.IntegerField', [], {'null': 'True'})
109 }
110 }
111
112 complete_apps = ['bldcontrol'] \ No newline at end of file
diff --git a/bitbake/lib/toaster/bldcontrol/migrations/0006_auto__add_brbitbake.py b/bitbake/lib/toaster/bldcontrol/migrations/0006_auto__add_brbitbake.py
deleted file mode 100644
index 74388f8434..0000000000
--- a/bitbake/lib/toaster/bldcontrol/migrations/0006_auto__add_brbitbake.py
+++ /dev/null
@@ -1,128 +0,0 @@
1# -*- coding: utf-8 -*-
2from south.utils import datetime_utils as datetime
3from south.db import db
4from south.v2 import SchemaMigration
5from django.db import models
6
7
8class Migration(SchemaMigration):
9
10 def forwards(self, orm):
11 # Adding model 'BRBitbake'
12 db.create_table(u'bldcontrol_brbitbake', (
13 (u'id', self.gf('django.db.models.fields.AutoField')(primary_key=True)),
14 ('req', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['bldcontrol.BuildRequest'], unique=True)),
15 ('giturl', self.gf('django.db.models.fields.CharField')(max_length=254)),
16 ('commit', self.gf('django.db.models.fields.CharField')(max_length=254)),
17 ('dirpath', self.gf('django.db.models.fields.CharField')(max_length=254)),
18 ))
19 db.send_create_signal(u'bldcontrol', ['BRBitbake'])
20
21
22 def backwards(self, orm):
23 # Deleting model 'BRBitbake'
24 db.delete_table(u'bldcontrol_brbitbake')
25
26
27 models = {
28 u'bldcontrol.brbitbake': {
29 'Meta': {'object_name': 'BRBitbake'},
30 'commit': ('django.db.models.fields.CharField', [], {'max_length': '254'}),
31 'dirpath': ('django.db.models.fields.CharField', [], {'max_length': '254'}),
32 'giturl': ('django.db.models.fields.CharField', [], {'max_length': '254'}),
33 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
34 'req': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['bldcontrol.BuildRequest']", 'unique': 'True'})
35 },
36 u'bldcontrol.brerror': {
37 'Meta': {'object_name': 'BRError'},
38 'errmsg': ('django.db.models.fields.TextField', [], {}),
39 'errtype': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
40 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
41 'req': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['bldcontrol.BuildRequest']"}),
42 'traceback': ('django.db.models.fields.TextField', [], {})
43 },
44 u'bldcontrol.brlayer': {
45 'Meta': {'object_name': 'BRLayer'},
46 'commit': ('django.db.models.fields.CharField', [], {'max_length': '254'}),
47 'dirpath': ('django.db.models.fields.CharField', [], {'max_length': '254'}),
48 'giturl': ('django.db.models.fields.CharField', [], {'max_length': '254'}),
49 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
50 'name': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
51 'req': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['bldcontrol.BuildRequest']"})
52 },
53 u'bldcontrol.brtarget': {
54 'Meta': {'object_name': 'BRTarget'},
55 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
56 'req': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['bldcontrol.BuildRequest']"}),
57 'target': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
58 'task': ('django.db.models.fields.CharField', [], {'max_length': '100', 'null': 'True'})
59 },
60 u'bldcontrol.brvariable': {
61 'Meta': {'object_name': 'BRVariable'},
62 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
63 'name': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
64 'req': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['bldcontrol.BuildRequest']"}),
65 'value': ('django.db.models.fields.TextField', [], {'blank': 'True'})
66 },
67 u'bldcontrol.buildenvironment': {
68 'Meta': {'object_name': 'BuildEnvironment'},
69 'address': ('django.db.models.fields.CharField', [], {'max_length': '254'}),
70 'bbaddress': ('django.db.models.fields.CharField', [], {'max_length': '254', 'blank': 'True'}),
71 'bbport': ('django.db.models.fields.IntegerField', [], {'default': '-1'}),
72 'bbstate': ('django.db.models.fields.IntegerField', [], {'default': '0'}),
73 'bbtoken': ('django.db.models.fields.CharField', [], {'max_length': '126', 'blank': 'True'}),
74 'betype': ('django.db.models.fields.IntegerField', [], {}),
75 'builddir': ('django.db.models.fields.CharField', [], {'max_length': '512', 'blank': 'True'}),
76 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}),
77 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
78 'lock': ('django.db.models.fields.IntegerField', [], {'default': '0'}),
79 'sourcedir': ('django.db.models.fields.CharField', [], {'max_length': '512', 'blank': 'True'}),
80 'updated': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'})
81 },
82 u'bldcontrol.buildrequest': {
83 'Meta': {'object_name': 'BuildRequest'},
84 'build': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.Build']", 'null': 'True'}),
85 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}),
86 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
87 'project': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.Project']"}),
88 'state': ('django.db.models.fields.IntegerField', [], {'default': '0'}),
89 'updated': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'})
90 },
91 u'orm.bitbakeversion': {
92 'Meta': {'object_name': 'BitbakeVersion'},
93 'branch': ('django.db.models.fields.CharField', [], {'max_length': '32'}),
94 'dirpath': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
95 'giturl': ('django.db.models.fields.URLField', [], {'max_length': '200'}),
96 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
97 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '32'})
98 },
99 u'orm.build': {
100 'Meta': {'object_name': 'Build'},
101 'bitbake_version': ('django.db.models.fields.CharField', [], {'max_length': '50'}),
102 'build_name': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
103 'completed_on': ('django.db.models.fields.DateTimeField', [], {}),
104 'cooker_log_path': ('django.db.models.fields.CharField', [], {'max_length': '500'}),
105 'distro': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
106 'distro_version': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
107 'errors_no': ('django.db.models.fields.IntegerField', [], {'default': '0'}),
108 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
109 'machine': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
110 'outcome': ('django.db.models.fields.IntegerField', [], {'default': '2'}),
111 'project': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.Project']", 'null': 'True'}),
112 'started_on': ('django.db.models.fields.DateTimeField', [], {}),
113 'timespent': ('django.db.models.fields.IntegerField', [], {'default': '0'}),
114 'warnings_no': ('django.db.models.fields.IntegerField', [], {'default': '0'})
115 },
116 u'orm.project': {
117 'Meta': {'object_name': 'Project'},
118 'bitbake_version': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.BitbakeVersion']"}),
119 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}),
120 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
121 'name': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
122 'short_description': ('django.db.models.fields.CharField', [], {'max_length': '50', 'blank': 'True'}),
123 'updated': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}),
124 'user_id': ('django.db.models.fields.IntegerField', [], {'null': 'True'})
125 }
126 }
127
128 complete_apps = ['bldcontrol'] \ No newline at end of file
diff --git a/bitbake/lib/toaster/bldcontrol/migrations/0007_auto__add_field_buildrequest_environment__chg_field_buildrequest_build.py b/bitbake/lib/toaster/bldcontrol/migrations/0007_auto__add_field_buildrequest_environment__chg_field_buildrequest_build.py
deleted file mode 100644
index 70677a294e..0000000000
--- a/bitbake/lib/toaster/bldcontrol/migrations/0007_auto__add_field_buildrequest_environment__chg_field_buildrequest_build.py
+++ /dev/null
@@ -1,145 +0,0 @@
1# -*- coding: utf-8 -*-
2from south.utils import datetime_utils as datetime
3from south.db import db
4from south.v2 import SchemaMigration
5from django.db import models
6
7
8class Migration(SchemaMigration):
9
10 def forwards(self, orm):
11 # Adding field 'BuildRequest.environment'
12 db.add_column(u'bldcontrol_buildrequest', 'environment',
13 self.gf('django.db.models.fields.related.ForeignKey')(to=orm['bldcontrol.BuildEnvironment'], null=True),
14 keep_default=False)
15
16
17 # Changing field 'BuildRequest.build'
18 db.alter_column(u'bldcontrol_buildrequest', 'build_id', self.gf('django.db.models.fields.related.OneToOneField')(to=orm['orm.Build'], unique=True, null=True))
19 # Adding unique constraint on 'BuildRequest', fields ['build']
20 db.create_unique(u'bldcontrol_buildrequest', ['build_id'])
21
22
23 def backwards(self, orm):
24 # Removing unique constraint on 'BuildRequest', fields ['build']
25 db.delete_unique(u'bldcontrol_buildrequest', ['build_id'])
26
27 # Deleting field 'BuildRequest.environment'
28 db.delete_column(u'bldcontrol_buildrequest', 'environment_id')
29
30
31 # Changing field 'BuildRequest.build'
32 db.alter_column(u'bldcontrol_buildrequest', 'build_id', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['orm.Build'], null=True))
33
34 models = {
35 u'bldcontrol.brbitbake': {
36 'Meta': {'object_name': 'BRBitbake'},
37 'commit': ('django.db.models.fields.CharField', [], {'max_length': '254'}),
38 'dirpath': ('django.db.models.fields.CharField', [], {'max_length': '254'}),
39 'giturl': ('django.db.models.fields.CharField', [], {'max_length': '254'}),
40 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
41 'req': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['bldcontrol.BuildRequest']", 'unique': 'True'})
42 },
43 u'bldcontrol.brerror': {
44 'Meta': {'object_name': 'BRError'},
45 'errmsg': ('django.db.models.fields.TextField', [], {}),
46 'errtype': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
47 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
48 'req': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['bldcontrol.BuildRequest']"}),
49 'traceback': ('django.db.models.fields.TextField', [], {})
50 },
51 u'bldcontrol.brlayer': {
52 'Meta': {'object_name': 'BRLayer'},
53 'commit': ('django.db.models.fields.CharField', [], {'max_length': '254'}),
54 'dirpath': ('django.db.models.fields.CharField', [], {'max_length': '254'}),
55 'giturl': ('django.db.models.fields.CharField', [], {'max_length': '254'}),
56 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
57 'name': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
58 'req': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['bldcontrol.BuildRequest']"})
59 },
60 u'bldcontrol.brtarget': {
61 'Meta': {'object_name': 'BRTarget'},
62 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
63 'req': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['bldcontrol.BuildRequest']"}),
64 'target': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
65 'task': ('django.db.models.fields.CharField', [], {'max_length': '100', 'null': 'True'})
66 },
67 u'bldcontrol.brvariable': {
68 'Meta': {'object_name': 'BRVariable'},
69 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
70 'name': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
71 'req': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['bldcontrol.BuildRequest']"}),
72 'value': ('django.db.models.fields.TextField', [], {'blank': 'True'})
73 },
74 u'bldcontrol.buildenvironment': {
75 'Meta': {'object_name': 'BuildEnvironment'},
76 'address': ('django.db.models.fields.CharField', [], {'max_length': '254'}),
77 'bbaddress': ('django.db.models.fields.CharField', [], {'max_length': '254', 'blank': 'True'}),
78 'bbport': ('django.db.models.fields.IntegerField', [], {'default': '-1'}),
79 'bbstate': ('django.db.models.fields.IntegerField', [], {'default': '0'}),
80 'bbtoken': ('django.db.models.fields.CharField', [], {'max_length': '126', 'blank': 'True'}),
81 'betype': ('django.db.models.fields.IntegerField', [], {}),
82 'builddir': ('django.db.models.fields.CharField', [], {'max_length': '512', 'blank': 'True'}),
83 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}),
84 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
85 'lock': ('django.db.models.fields.IntegerField', [], {'default': '0'}),
86 'sourcedir': ('django.db.models.fields.CharField', [], {'max_length': '512', 'blank': 'True'}),
87 'updated': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'})
88 },
89 u'bldcontrol.buildrequest': {
90 'Meta': {'object_name': 'BuildRequest'},
91 'build': ('django.db.models.fields.related.OneToOneField', [], {'to': u"orm['orm.Build']", 'unique': 'True', 'null': 'True'}),
92 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}),
93 'environment': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['bldcontrol.BuildEnvironment']", 'null': 'True'}),
94 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
95 'project': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.Project']"}),
96 'state': ('django.db.models.fields.IntegerField', [], {'default': '0'}),
97 'updated': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'})
98 },
99 u'orm.bitbakeversion': {
100 'Meta': {'object_name': 'BitbakeVersion'},
101 'branch': ('django.db.models.fields.CharField', [], {'max_length': '32'}),
102 'dirpath': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
103 'giturl': ('django.db.models.fields.URLField', [], {'max_length': '200'}),
104 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
105 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '32'})
106 },
107 u'orm.build': {
108 'Meta': {'object_name': 'Build'},
109 'bitbake_version': ('django.db.models.fields.CharField', [], {'max_length': '50'}),
110 'build_name': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
111 'completed_on': ('django.db.models.fields.DateTimeField', [], {}),
112 'cooker_log_path': ('django.db.models.fields.CharField', [], {'max_length': '500'}),
113 'distro': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
114 'distro_version': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
115 'errors_no': ('django.db.models.fields.IntegerField', [], {'default': '0'}),
116 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
117 'machine': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
118 'outcome': ('django.db.models.fields.IntegerField', [], {'default': '2'}),
119 'project': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.Project']", 'null': 'True'}),
120 'started_on': ('django.db.models.fields.DateTimeField', [], {}),
121 'timespent': ('django.db.models.fields.IntegerField', [], {'default': '0'}),
122 'warnings_no': ('django.db.models.fields.IntegerField', [], {'default': '0'})
123 },
124 u'orm.project': {
125 'Meta': {'object_name': 'Project'},
126 'bitbake_version': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.BitbakeVersion']"}),
127 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}),
128 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
129 'name': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
130 'release': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.Release']"}),
131 'short_description': ('django.db.models.fields.CharField', [], {'max_length': '50', 'blank': 'True'}),
132 'updated': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}),
133 'user_id': ('django.db.models.fields.IntegerField', [], {'null': 'True'})
134 },
135 u'orm.release': {
136 'Meta': {'object_name': 'Release'},
137 'bitbake_version': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.BitbakeVersion']"}),
138 'branch': ('django.db.models.fields.CharField', [], {'max_length': '32'}),
139 'description': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
140 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
141 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '32'})
142 }
143 }
144
145 complete_apps = ['bldcontrol'] \ No newline at end of file
diff --git a/bitbake/lib/toaster/bldcontrol/migrations/0008_brarchive.py b/bitbake/lib/toaster/bldcontrol/migrations/0008_brarchive.py
deleted file mode 100644
index f5469607f3..0000000000
--- a/bitbake/lib/toaster/bldcontrol/migrations/0008_brarchive.py
+++ /dev/null
@@ -1,138 +0,0 @@
1# -*- coding: utf-8 -*-
2from south.utils import datetime_utils as datetime
3from south.db import db
4from south.v2 import DataMigration
5from django.db import models
6
7class Migration(DataMigration):
8 # ids that cannot be imported from BuildRequest
9
10 def forwards(self, orm):
11 REQ_COMPLETED = 3
12 REQ_ARCHIVE = 6
13 "Write your forwards methods here."
14 # Note: Don't use "from appname.models import ModelName".
15 # Use orm.ModelName to refer to models in this application,
16 # and orm['appname.ModelName'] for models in other applications.
17 orm.BuildRequest.objects.filter(state=REQ_COMPLETED).update(state=REQ_ARCHIVE)
18
19 def backwards(self, orm):
20 REQ_COMPLETED = 3
21 REQ_ARCHIVE = 6
22 "Write your backwards methods here."
23 orm.BuildRequest.objects.filter(state=REQ_ARCHIVE).update(state=REQ_COMPLETED)
24
25 models = {
26 u'bldcontrol.brbitbake': {
27 'Meta': {'object_name': 'BRBitbake'},
28 'commit': ('django.db.models.fields.CharField', [], {'max_length': '254'}),
29 'dirpath': ('django.db.models.fields.CharField', [], {'max_length': '254'}),
30 'giturl': ('django.db.models.fields.CharField', [], {'max_length': '254'}),
31 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
32 'req': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['bldcontrol.BuildRequest']", 'unique': 'True'})
33 },
34 u'bldcontrol.brerror': {
35 'Meta': {'object_name': 'BRError'},
36 'errmsg': ('django.db.models.fields.TextField', [], {}),
37 'errtype': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
38 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
39 'req': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['bldcontrol.BuildRequest']"}),
40 'traceback': ('django.db.models.fields.TextField', [], {})
41 },
42 u'bldcontrol.brlayer': {
43 'Meta': {'object_name': 'BRLayer'},
44 'commit': ('django.db.models.fields.CharField', [], {'max_length': '254'}),
45 'dirpath': ('django.db.models.fields.CharField', [], {'max_length': '254'}),
46 'giturl': ('django.db.models.fields.CharField', [], {'max_length': '254'}),
47 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
48 'name': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
49 'req': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['bldcontrol.BuildRequest']"})
50 },
51 u'bldcontrol.brtarget': {
52 'Meta': {'object_name': 'BRTarget'},
53 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
54 'req': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['bldcontrol.BuildRequest']"}),
55 'target': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
56 'task': ('django.db.models.fields.CharField', [], {'max_length': '100', 'null': 'True'})
57 },
58 u'bldcontrol.brvariable': {
59 'Meta': {'object_name': 'BRVariable'},
60 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
61 'name': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
62 'req': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['bldcontrol.BuildRequest']"}),
63 'value': ('django.db.models.fields.TextField', [], {'blank': 'True'})
64 },
65 u'bldcontrol.buildenvironment': {
66 'Meta': {'object_name': 'BuildEnvironment'},
67 'address': ('django.db.models.fields.CharField', [], {'max_length': '254'}),
68 'bbaddress': ('django.db.models.fields.CharField', [], {'max_length': '254', 'blank': 'True'}),
69 'bbport': ('django.db.models.fields.IntegerField', [], {'default': '-1'}),
70 'bbstate': ('django.db.models.fields.IntegerField', [], {'default': '0'}),
71 'bbtoken': ('django.db.models.fields.CharField', [], {'max_length': '126', 'blank': 'True'}),
72 'betype': ('django.db.models.fields.IntegerField', [], {}),
73 'builddir': ('django.db.models.fields.CharField', [], {'max_length': '512', 'blank': 'True'}),
74 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}),
75 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
76 'lock': ('django.db.models.fields.IntegerField', [], {'default': '0'}),
77 'sourcedir': ('django.db.models.fields.CharField', [], {'max_length': '512', 'blank': 'True'}),
78 'updated': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'})
79 },
80 u'bldcontrol.buildrequest': {
81 'Meta': {'object_name': 'BuildRequest'},
82 'build': ('django.db.models.fields.related.OneToOneField', [], {'to': u"orm['orm.Build']", 'unique': 'True', 'null': 'True'}),
83 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}),
84 'environment': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['bldcontrol.BuildEnvironment']", 'null': 'True'}),
85 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
86 'project': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.Project']"}),
87 'state': ('django.db.models.fields.IntegerField', [], {'default': '0'}),
88 'updated': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'})
89 },
90 u'orm.bitbakeversion': {
91 'Meta': {'object_name': 'BitbakeVersion'},
92 'branch': ('django.db.models.fields.CharField', [], {'max_length': '32'}),
93 'dirpath': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
94 'giturl': ('django.db.models.fields.URLField', [], {'max_length': '200'}),
95 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
96 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '32'})
97 },
98 u'orm.build': {
99 'Meta': {'object_name': 'Build'},
100 'bitbake_version': ('django.db.models.fields.CharField', [], {'max_length': '50'}),
101 'build_name': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
102 'completed_on': ('django.db.models.fields.DateTimeField', [], {}),
103 'cooker_log_path': ('django.db.models.fields.CharField', [], {'max_length': '500'}),
104 'distro': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
105 'distro_version': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
106 'errors_no': ('django.db.models.fields.IntegerField', [], {'default': '0'}),
107 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
108 'machine': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
109 'outcome': ('django.db.models.fields.IntegerField', [], {'default': '2'}),
110 'project': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.Project']", 'null': 'True'}),
111 'started_on': ('django.db.models.fields.DateTimeField', [], {}),
112 'timespent': ('django.db.models.fields.IntegerField', [], {'default': '0'}),
113 'warnings_no': ('django.db.models.fields.IntegerField', [], {'default': '0'})
114 },
115 u'orm.project': {
116 'Meta': {'object_name': 'Project'},
117 'bitbake_version': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.BitbakeVersion']"}),
118 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}),
119 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
120 'name': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
121 'release': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.Release']"}),
122 'short_description': ('django.db.models.fields.CharField', [], {'max_length': '50', 'blank': 'True'}),
123 'updated': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}),
124 'user_id': ('django.db.models.fields.IntegerField', [], {'null': 'True'})
125 },
126 u'orm.release': {
127 'Meta': {'object_name': 'Release'},
128 'bitbake_version': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.BitbakeVersion']"}),
129 'branch_name': ('django.db.models.fields.CharField', [], {'default': "''", 'max_length': '50'}),
130 'description': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
131 'helptext': ('django.db.models.fields.TextField', [], {'null': 'True'}),
132 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
133 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '32'})
134 }
135 }
136
137 complete_apps = ['bldcontrol']
138 symmetrical = True
diff --git a/bitbake/lib/toaster/bldcontrol/migrations/0009_auto__add_field_brlayer_layer_version.py b/bitbake/lib/toaster/bldcontrol/migrations/0009_auto__add_field_brlayer_layer_version.py
deleted file mode 100644
index 9b50bc1c03..0000000000
--- a/bitbake/lib/toaster/bldcontrol/migrations/0009_auto__add_field_brlayer_layer_version.py
+++ /dev/null
@@ -1,180 +0,0 @@
1# -*- coding: utf-8 -*-
2from south.utils import datetime_utils as datetime
3from south.db import db
4from south.v2 import SchemaMigration
5from django.db import models
6
7
8class Migration(SchemaMigration):
9
10 def forwards(self, orm):
11 # Adding field 'BRLayer.layer_version'
12 db.add_column(u'bldcontrol_brlayer', 'layer_version',
13 self.gf('django.db.models.fields.related.ForeignKey')(to=orm['orm.Layer_Version'], null=True),
14 keep_default=False)
15
16
17 def backwards(self, orm):
18 # Deleting field 'BRLayer.layer_version'
19 db.delete_column(u'bldcontrol_brlayer', 'layer_version_id')
20
21
22 models = {
23 u'bldcontrol.brbitbake': {
24 'Meta': {'object_name': 'BRBitbake'},
25 'commit': ('django.db.models.fields.CharField', [], {'max_length': '254'}),
26 'dirpath': ('django.db.models.fields.CharField', [], {'max_length': '254'}),
27 'giturl': ('django.db.models.fields.CharField', [], {'max_length': '254'}),
28 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
29 'req': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['bldcontrol.BuildRequest']", 'unique': 'True'})
30 },
31 u'bldcontrol.brerror': {
32 'Meta': {'object_name': 'BRError'},
33 'errmsg': ('django.db.models.fields.TextField', [], {}),
34 'errtype': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
35 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
36 'req': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['bldcontrol.BuildRequest']"}),
37 'traceback': ('django.db.models.fields.TextField', [], {})
38 },
39 u'bldcontrol.brlayer': {
40 'Meta': {'object_name': 'BRLayer'},
41 'commit': ('django.db.models.fields.CharField', [], {'max_length': '254'}),
42 'dirpath': ('django.db.models.fields.CharField', [], {'max_length': '254'}),
43 'giturl': ('django.db.models.fields.CharField', [], {'max_length': '254'}),
44 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
45 'layer_version': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.Layer_Version']", 'null': 'True'}),
46 'name': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
47 'req': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['bldcontrol.BuildRequest']"})
48 },
49 u'bldcontrol.brtarget': {
50 'Meta': {'object_name': 'BRTarget'},
51 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
52 'req': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['bldcontrol.BuildRequest']"}),
53 'target': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
54 'task': ('django.db.models.fields.CharField', [], {'max_length': '100', 'null': 'True'})
55 },
56 u'bldcontrol.brvariable': {
57 'Meta': {'object_name': 'BRVariable'},
58 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
59 'name': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
60 'req': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['bldcontrol.BuildRequest']"}),
61 'value': ('django.db.models.fields.TextField', [], {'blank': 'True'})
62 },
63 u'bldcontrol.buildenvironment': {
64 'Meta': {'object_name': 'BuildEnvironment'},
65 'address': ('django.db.models.fields.CharField', [], {'max_length': '254'}),
66 'bbaddress': ('django.db.models.fields.CharField', [], {'max_length': '254', 'blank': 'True'}),
67 'bbport': ('django.db.models.fields.IntegerField', [], {'default': '-1'}),
68 'bbstate': ('django.db.models.fields.IntegerField', [], {'default': '0'}),
69 'bbtoken': ('django.db.models.fields.CharField', [], {'max_length': '126', 'blank': 'True'}),
70 'betype': ('django.db.models.fields.IntegerField', [], {}),
71 'builddir': ('django.db.models.fields.CharField', [], {'max_length': '512', 'blank': 'True'}),
72 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}),
73 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
74 'lock': ('django.db.models.fields.IntegerField', [], {'default': '0'}),
75 'sourcedir': ('django.db.models.fields.CharField', [], {'max_length': '512', 'blank': 'True'}),
76 'updated': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'})
77 },
78 u'bldcontrol.buildrequest': {
79 'Meta': {'object_name': 'BuildRequest'},
80 'build': ('django.db.models.fields.related.OneToOneField', [], {'to': u"orm['orm.Build']", 'unique': 'True', 'null': 'True'}),
81 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}),
82 'environment': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['bldcontrol.BuildEnvironment']", 'null': 'True'}),
83 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
84 'project': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.Project']"}),
85 'state': ('django.db.models.fields.IntegerField', [], {'default': '0'}),
86 'updated': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'})
87 },
88 u'orm.bitbakeversion': {
89 'Meta': {'object_name': 'BitbakeVersion'},
90 'branch': ('django.db.models.fields.CharField', [], {'max_length': '32'}),
91 'dirpath': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
92 'giturl': ('django.db.models.fields.URLField', [], {'max_length': '200'}),
93 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
94 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '32'})
95 },
96 u'orm.branch': {
97 'Meta': {'unique_together': "(('layer_source', 'name'), ('layer_source', 'up_id'))", 'object_name': 'Branch'},
98 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
99 'layer_source': ('django.db.models.fields.related.ForeignKey', [], {'default': 'True', 'to': u"orm['orm.LayerSource']", 'null': 'True'}),
100 'name': ('django.db.models.fields.CharField', [], {'max_length': '50'}),
101 'short_description': ('django.db.models.fields.CharField', [], {'max_length': '50', 'blank': 'True'}),
102 'up_date': ('django.db.models.fields.DateTimeField', [], {'default': 'None', 'null': 'True'}),
103 'up_id': ('django.db.models.fields.IntegerField', [], {'default': 'None', 'null': 'True'})
104 },
105 u'orm.build': {
106 'Meta': {'object_name': 'Build'},
107 'bitbake_version': ('django.db.models.fields.CharField', [], {'max_length': '50'}),
108 'build_name': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
109 'completed_on': ('django.db.models.fields.DateTimeField', [], {}),
110 'cooker_log_path': ('django.db.models.fields.CharField', [], {'max_length': '500'}),
111 'distro': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
112 'distro_version': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
113 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
114 'machine': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
115 'outcome': ('django.db.models.fields.IntegerField', [], {'default': '2'}),
116 'project': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.Project']"}),
117 'started_on': ('django.db.models.fields.DateTimeField', [], {})
118 },
119 u'orm.layer': {
120 'Meta': {'unique_together': "(('layer_source', 'up_id'), ('layer_source', 'name'))", 'object_name': 'Layer'},
121 'description': ('django.db.models.fields.TextField', [], {'default': 'None', 'null': 'True'}),
122 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
123 'layer_index_url': ('django.db.models.fields.URLField', [], {'max_length': '200'}),
124 'layer_source': ('django.db.models.fields.related.ForeignKey', [], {'default': 'None', 'to': u"orm['orm.LayerSource']", 'null': 'True'}),
125 'name': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
126 'summary': ('django.db.models.fields.TextField', [], {'default': 'None', 'null': 'True'}),
127 'up_date': ('django.db.models.fields.DateTimeField', [], {'default': 'None', 'null': 'True'}),
128 'up_id': ('django.db.models.fields.IntegerField', [], {'default': 'None', 'null': 'True'}),
129 'vcs_url': ('django.db.models.fields.URLField', [], {'default': 'None', 'max_length': '200', 'null': 'True'}),
130 'vcs_web_file_base_url': ('django.db.models.fields.URLField', [], {'default': 'None', 'max_length': '200', 'null': 'True'}),
131 'vcs_web_tree_base_url': ('django.db.models.fields.URLField', [], {'default': 'None', 'max_length': '200', 'null': 'True'}),
132 'vcs_web_url': ('django.db.models.fields.URLField', [], {'default': 'None', 'max_length': '200', 'null': 'True'})
133 },
134 u'orm.layer_version': {
135 'Meta': {'unique_together': "(('layer_source', 'up_id'),)", 'object_name': 'Layer_Version'},
136 'branch': ('django.db.models.fields.CharField', [], {'max_length': '80'}),
137 'build': ('django.db.models.fields.related.ForeignKey', [], {'default': 'None', 'related_name': "'layer_version_build'", 'null': 'True', 'to': u"orm['orm.Build']"}),
138 'commit': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
139 'dirpath': ('django.db.models.fields.CharField', [], {'default': 'None', 'max_length': '255', 'null': 'True'}),
140 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
141 'layer': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'layer_version_layer'", 'to': u"orm['orm.Layer']"}),
142 'layer_source': ('django.db.models.fields.related.ForeignKey', [], {'default': 'None', 'to': u"orm['orm.LayerSource']", 'null': 'True'}),
143 'local_path': ('django.db.models.fields.FilePathField', [], {'default': "'/'", 'max_length': '1024'}),
144 'priority': ('django.db.models.fields.IntegerField', [], {'default': '0'}),
145 'project': ('django.db.models.fields.related.ForeignKey', [], {'default': 'None', 'to': u"orm['orm.Project']", 'null': 'True'}),
146 'up_branch': ('django.db.models.fields.related.ForeignKey', [], {'default': 'None', 'to': u"orm['orm.Branch']", 'null': 'True'}),
147 'up_date': ('django.db.models.fields.DateTimeField', [], {'default': 'None', 'null': 'True'}),
148 'up_id': ('django.db.models.fields.IntegerField', [], {'default': 'None', 'null': 'True'})
149 },
150 u'orm.layersource': {
151 'Meta': {'unique_together': "(('sourcetype', 'apiurl'),)", 'object_name': 'LayerSource'},
152 'apiurl': ('django.db.models.fields.CharField', [], {'default': 'None', 'max_length': '255', 'null': 'True'}),
153 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
154 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '63'}),
155 'sourcetype': ('django.db.models.fields.IntegerField', [], {})
156 },
157 u'orm.project': {
158 'Meta': {'object_name': 'Project'},
159 'bitbake_version': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.BitbakeVersion']", 'null': 'True'}),
160 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}),
161 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
162 'is_default': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
163 'name': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
164 'release': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.Release']", 'null': 'True'}),
165 'short_description': ('django.db.models.fields.CharField', [], {'max_length': '50', 'blank': 'True'}),
166 'updated': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}),
167 'user_id': ('django.db.models.fields.IntegerField', [], {'null': 'True'})
168 },
169 u'orm.release': {
170 'Meta': {'object_name': 'Release'},
171 'bitbake_version': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.BitbakeVersion']"}),
172 'branch_name': ('django.db.models.fields.CharField', [], {'default': "''", 'max_length': '50'}),
173 'description': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
174 'helptext': ('django.db.models.fields.TextField', [], {'null': 'True'}),
175 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
176 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '32'})
177 }
178 }
179
180 complete_apps = ['bldcontrol'] \ No newline at end of file
diff --git a/bitbake/lib/toaster/orm/migrations/0001_initial.py b/bitbake/lib/toaster/orm/migrations/0001_initial.py
index dedeef8bf7..27fd05716f 100644
--- a/bitbake/lib/toaster/orm/migrations/0001_initial.py
+++ b/bitbake/lib/toaster/orm/migrations/0001_initial.py
@@ -1,400 +1,530 @@
1# -*- coding: utf-8 -*- 1# -*- coding: utf-8 -*-
2from south.utils import datetime_utils as datetime 2from __future__ import unicode_literals
3from south.db import db 3
4from south.v2 import SchemaMigration 4from django.db import migrations, models
5from django.db import models 5
6 6
7 7class Migration(migrations.Migration):
8class Migration(SchemaMigration): 8
9 9 dependencies = [
10 def forwards(self, orm): 10 ]
11 # Adding model 'Build' 11
12 db.create_table(u'orm_build', ( 12 operations = [
13 (u'id', self.gf('django.db.models.fields.AutoField')(primary_key=True)), 13 migrations.CreateModel(
14 ('machine', self.gf('django.db.models.fields.CharField')(max_length=100)), 14 name='BitbakeVersion',
15 ('image_fstypes', self.gf('django.db.models.fields.CharField')(max_length=100)), 15 fields=[
16 ('distro', self.gf('django.db.models.fields.CharField')(max_length=100)), 16 ('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)),
17 ('distro_version', self.gf('django.db.models.fields.CharField')(max_length=100)), 17 ('name', models.CharField(unique=True, max_length=32)),
18 ('started_on', self.gf('django.db.models.fields.DateTimeField')()), 18 ('giturl', models.URLField()),
19 ('completed_on', self.gf('django.db.models.fields.DateTimeField')()), 19 ('branch', models.CharField(max_length=32)),
20 ('outcome', self.gf('django.db.models.fields.IntegerField')(default=2)), 20 ('dirpath', models.CharField(max_length=255)),
21 ('errors_no', self.gf('django.db.models.fields.IntegerField')(default=0)), 21 ],
22 ('warnings_no', self.gf('django.db.models.fields.IntegerField')(default=0)), 22 ),
23 ('cooker_log_path', self.gf('django.db.models.fields.CharField')(max_length=500)), 23 migrations.CreateModel(
24 ('build_name', self.gf('django.db.models.fields.CharField')(max_length=100)), 24 name='Branch',
25 ('bitbake_version', self.gf('django.db.models.fields.CharField')(max_length=50)), 25 fields=[
26 )) 26 ('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)),
27 db.send_create_signal(u'orm', ['Build']) 27 ('up_id', models.IntegerField(default=None, null=True)),
28 28 ('up_date', models.DateTimeField(default=None, null=True)),
29 # Adding model 'Target' 29 ('name', models.CharField(max_length=50)),
30 db.create_table(u'orm_target', ( 30 ('short_description', models.CharField(max_length=50, blank=True)),
31 (u'id', self.gf('django.db.models.fields.AutoField')(primary_key=True)), 31 ],
32 ('build', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['orm.Build'])), 32 options={
33 ('target', self.gf('django.db.models.fields.CharField')(max_length=100)), 33 'verbose_name_plural': 'Branches',
34 ('is_image', self.gf('django.db.models.fields.BooleanField')(default=False)), 34 },
35 ('file_name', self.gf('django.db.models.fields.CharField')(max_length=100)), 35 ),
36 ('file_size', self.gf('django.db.models.fields.IntegerField')()), 36 migrations.CreateModel(
37 )) 37 name='Build',
38 db.send_create_signal(u'orm', ['Target']) 38 fields=[
39 39 ('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)),
40 # Adding model 'Task' 40 ('machine', models.CharField(max_length=100)),
41 db.create_table(u'orm_task', ( 41 ('distro', models.CharField(max_length=100)),
42 (u'id', self.gf('django.db.models.fields.AutoField')(primary_key=True)), 42 ('distro_version', models.CharField(max_length=100)),
43 ('build', self.gf('django.db.models.fields.related.ForeignKey')(related_name='task_build', to=orm['orm.Build'])), 43 ('started_on', models.DateTimeField()),
44 ('order', self.gf('django.db.models.fields.IntegerField')(null=True)), 44 ('completed_on', models.DateTimeField()),
45 ('task_executed', self.gf('django.db.models.fields.BooleanField')(default=False)), 45 ('outcome', models.IntegerField(default=2, choices=[(0, b'Succeeded'), (1, b'Failed'), (2, b'In Progress')])),
46 ('outcome', self.gf('django.db.models.fields.IntegerField')(default=5)), 46 ('cooker_log_path', models.CharField(max_length=500)),
47 ('sstate_checksum', self.gf('django.db.models.fields.CharField')(max_length=100, blank=True)), 47 ('build_name', models.CharField(max_length=100)),
48 ('path_to_sstate_obj', self.gf('django.db.models.fields.FilePathField')(max_length=500, blank=True)), 48 ('bitbake_version', models.CharField(max_length=50)),
49 ('recipe', self.gf('django.db.models.fields.related.ForeignKey')(related_name='build_recipe', to=orm['orm.Recipe'])), 49 ],
50 ('task_name', self.gf('django.db.models.fields.CharField')(max_length=100)), 50 ),
51 ('source_url', self.gf('django.db.models.fields.FilePathField')(max_length=255, blank=True)), 51 migrations.CreateModel(
52 ('work_directory', self.gf('django.db.models.fields.FilePathField')(max_length=255, blank=True)), 52 name='BuildArtifact',
53 ('script_type', self.gf('django.db.models.fields.IntegerField')(default=0)), 53 fields=[
54 ('line_number', self.gf('django.db.models.fields.IntegerField')(default=0)), 54 ('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)),
55 ('disk_io', self.gf('django.db.models.fields.IntegerField')(null=True)), 55 ('file_name', models.FilePathField()),
56 ('cpu_usage', self.gf('django.db.models.fields.DecimalField')(null=True, max_digits=6, decimal_places=2)), 56 ('file_size', models.IntegerField()),
57 ('elapsed_time', self.gf('django.db.models.fields.CharField')(default=0, max_length=50)), 57 ('build', models.ForeignKey(to='orm.Build')),
58 ('sstate_result', self.gf('django.db.models.fields.IntegerField')(default=0)), 58 ],
59 ('message', self.gf('django.db.models.fields.CharField')(max_length=240)), 59 ),
60 ('logfile', self.gf('django.db.models.fields.FilePathField')(max_length=255, blank=True)), 60 migrations.CreateModel(
61 )) 61 name='CustomImageRecipe',
62 db.send_create_signal(u'orm', ['Task']) 62 fields=[
63 63 ('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)),
64 # Adding model 'Task_Dependency' 64 ('name', models.CharField(max_length=100)),
65 db.create_table(u'orm_task_dependency', ( 65 ],
66 (u'id', self.gf('django.db.models.fields.AutoField')(primary_key=True)), 66 ),
67 ('task', self.gf('django.db.models.fields.related.ForeignKey')(related_name='task_dependencies_task', to=orm['orm.Task'])), 67 migrations.CreateModel(
68 ('depends_on', self.gf('django.db.models.fields.related.ForeignKey')(related_name='task_dependencies_depends', to=orm['orm.Task'])), 68 name='HelpText',
69 )) 69 fields=[
70 db.send_create_signal(u'orm', ['Task_Dependency']) 70 ('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)),
71 71 ('area', models.IntegerField(choices=[(0, b'variable')])),
72 # Adding model 'Package' 72 ('key', models.CharField(max_length=100)),
73 db.create_table(u'orm_package', ( 73 ('text', models.TextField()),
74 (u'id', self.gf('django.db.models.fields.AutoField')(primary_key=True)), 74 ('build', models.ForeignKey(related_name='helptext_build', to='orm.Build')),
75 ('build', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['orm.Build'])), 75 ],
76 ('recipe', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['orm.Recipe'], null=True)), 76 ),
77 ('name', self.gf('django.db.models.fields.CharField')(max_length=100)), 77 migrations.CreateModel(
78 ('version', self.gf('django.db.models.fields.CharField')(max_length=100, blank=True)), 78 name='Layer',
79 ('revision', self.gf('django.db.models.fields.CharField')(max_length=32, blank=True)), 79 fields=[
80 ('summary', self.gf('django.db.models.fields.CharField')(max_length=200, blank=True)), 80 ('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)),
81 ('description', self.gf('django.db.models.fields.CharField')(max_length=200, blank=True)), 81 ('up_id', models.IntegerField(default=None, null=True)),
82 ('size', self.gf('django.db.models.fields.IntegerField')(default=0)), 82 ('up_date', models.DateTimeField(default=None, null=True)),
83 ('installed_size', self.gf('django.db.models.fields.IntegerField')(default=0)), 83 ('name', models.CharField(max_length=100)),
84 ('section', self.gf('django.db.models.fields.CharField')(max_length=80, blank=True)), 84 ('layer_index_url', models.URLField()),
85 ('license', self.gf('django.db.models.fields.CharField')(max_length=80, blank=True)), 85 ('vcs_url', models.URLField(default=None, null=True)),
86 )) 86 ('vcs_web_url', models.URLField(default=None, null=True)),
87 db.send_create_signal(u'orm', ['Package']) 87 ('vcs_web_tree_base_url', models.URLField(default=None, null=True)),
88 88 ('vcs_web_file_base_url', models.URLField(default=None, null=True)),
89 # Adding model 'Package_Dependency' 89 ('summary', models.TextField(default=None, help_text=b'One-line description of the layer', null=True)),
90 db.create_table(u'orm_package_dependency', ( 90 ('description', models.TextField(default=None, null=True)),
91 (u'id', self.gf('django.db.models.fields.AutoField')(primary_key=True)), 91 ],
92 ('package', self.gf('django.db.models.fields.related.ForeignKey')(related_name='package_dependencies_source', to=orm['orm.Package'])), 92 ),
93 ('depends_on', self.gf('django.db.models.fields.related.ForeignKey')(related_name='package_dependencies_target', to=orm['orm.Package'])), 93 migrations.CreateModel(
94 ('dep_type', self.gf('django.db.models.fields.IntegerField')()), 94 name='Layer_Version',
95 ('target', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['orm.Target'], null=True)), 95 fields=[
96 )) 96 ('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)),
97 db.send_create_signal(u'orm', ['Package_Dependency']) 97 ('up_id', models.IntegerField(default=None, null=True)),
98 98 ('up_date', models.DateTimeField(default=None, null=True)),
99 # Adding model 'Target_Installed_Package' 99 ('branch', models.CharField(max_length=80)),
100 db.create_table(u'orm_target_installed_package', ( 100 ('commit', models.CharField(max_length=100)),
101 (u'id', self.gf('django.db.models.fields.AutoField')(primary_key=True)), 101 ('dirpath', models.CharField(default=None, max_length=255, null=True)),
102 ('target', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['orm.Target'])), 102 ('priority', models.IntegerField(default=0)),
103 ('package', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['orm.Package'])), 103 ('local_path', models.FilePathField(default=b'/', max_length=1024)),
104 )) 104 ('build', models.ForeignKey(related_name='layer_version_build', default=None, to='orm.Build', null=True)),
105 db.send_create_signal(u'orm', ['Target_Installed_Package']) 105 ('layer', models.ForeignKey(related_name='layer_version_layer', to='orm.Layer')),
106 106 ],
107 # Adding model 'Package_File' 107 ),
108 db.create_table(u'orm_package_file', ( 108 migrations.CreateModel(
109 (u'id', self.gf('django.db.models.fields.AutoField')(primary_key=True)), 109 name='LayerSource',
110 ('package', self.gf('django.db.models.fields.related.ForeignKey')(related_name='buildfilelist_package', to=orm['orm.Package'])), 110 fields=[
111 ('path', self.gf('django.db.models.fields.FilePathField')(max_length=255, blank=True)), 111 ('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)),
112 ('size', self.gf('django.db.models.fields.IntegerField')()), 112 ('name', models.CharField(unique=True, max_length=63)),
113 )) 113 ('sourcetype', models.IntegerField(choices=[(0, b'local'), (1, b'layerindex'), (2, b'imported')])),
114 db.send_create_signal(u'orm', ['Package_File']) 114 ('apiurl', models.CharField(default=None, max_length=255, null=True)),
115 115 ],
116 # Adding model 'Recipe' 116 ),
117 db.create_table(u'orm_recipe', ( 117 migrations.CreateModel(
118 (u'id', self.gf('django.db.models.fields.AutoField')(primary_key=True)), 118 name='LayerVersionDependency',
119 ('name', self.gf('django.db.models.fields.CharField')(max_length=100, blank=True)), 119 fields=[
120 ('version', self.gf('django.db.models.fields.CharField')(max_length=100, blank=True)), 120 ('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)),
121 ('layer_version', self.gf('django.db.models.fields.related.ForeignKey')(related_name='recipe_layer_version', to=orm['orm.Layer_Version'])), 121 ('up_id', models.IntegerField(default=None, null=True)),
122 ('summary', self.gf('django.db.models.fields.CharField')(max_length=100, blank=True)), 122 ('depends_on', models.ForeignKey(related_name='dependees', to='orm.Layer_Version')),
123 ('description', self.gf('django.db.models.fields.CharField')(max_length=100, blank=True)), 123 ('layer_source', models.ForeignKey(default=None, to='orm.LayerSource', null=True)),
124 ('section', self.gf('django.db.models.fields.CharField')(max_length=100, blank=True)), 124 ('layer_version', models.ForeignKey(related_name='dependencies', to='orm.Layer_Version')),
125 ('license', self.gf('django.db.models.fields.CharField')(max_length=200, blank=True)), 125 ],
126 ('licensing_info', self.gf('django.db.models.fields.TextField')(blank=True)), 126 ),
127 ('homepage', self.gf('django.db.models.fields.URLField')(max_length=200, blank=True)), 127 migrations.CreateModel(
128 ('bugtracker', self.gf('django.db.models.fields.URLField')(max_length=200, blank=True)), 128 name='LogMessage',
129 ('file_path', self.gf('django.db.models.fields.FilePathField')(max_length=255)), 129 fields=[
130 )) 130 ('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)),
131 db.send_create_signal(u'orm', ['Recipe']) 131 ('level', models.IntegerField(default=0, choices=[(0, b'info'), (1, b'warn'), (2, b'error'), (3, b'critical'), (-1, b'toaster exception')])),
132 132 ('message', models.TextField(null=True, blank=True)),
133 # Adding model 'Recipe_Dependency' 133 ('pathname', models.FilePathField(max_length=255, blank=True)),
134 db.create_table(u'orm_recipe_dependency', ( 134 ('lineno', models.IntegerField(null=True)),
135 (u'id', self.gf('django.db.models.fields.AutoField')(primary_key=True)), 135 ('build', models.ForeignKey(to='orm.Build')),
136 ('recipe', self.gf('django.db.models.fields.related.ForeignKey')(related_name='r_dependencies_recipe', to=orm['orm.Recipe'])), 136 ],
137 ('depends_on', self.gf('django.db.models.fields.related.ForeignKey')(related_name='r_dependencies_depends', to=orm['orm.Recipe'])), 137 ),
138 ('dep_type', self.gf('django.db.models.fields.IntegerField')()), 138 migrations.CreateModel(
139 )) 139 name='Machine',
140 db.send_create_signal(u'orm', ['Recipe_Dependency']) 140 fields=[
141 141 ('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)),
142 # Adding model 'Layer' 142 ('up_id', models.IntegerField(default=None, null=True)),
143 db.create_table(u'orm_layer', ( 143 ('up_date', models.DateTimeField(default=None, null=True)),
144 (u'id', self.gf('django.db.models.fields.AutoField')(primary_key=True)), 144 ('name', models.CharField(max_length=255)),
145 ('name', self.gf('django.db.models.fields.CharField')(max_length=100)), 145 ('description', models.CharField(max_length=255)),
146 ('local_path', self.gf('django.db.models.fields.FilePathField')(max_length=255)), 146 ('layer_source', models.ForeignKey(default=None, to='orm.LayerSource', null=True)),
147 ('layer_index_url', self.gf('django.db.models.fields.URLField')(max_length=200)), 147 ('layer_version', models.ForeignKey(to='orm.Layer_Version')),
148 )) 148 ],
149 db.send_create_signal(u'orm', ['Layer']) 149 ),
150 150 migrations.CreateModel(
151 # Adding model 'Layer_Version' 151 name='Package',
152 db.create_table(u'orm_layer_version', ( 152 fields=[
153 (u'id', self.gf('django.db.models.fields.AutoField')(primary_key=True)), 153 ('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)),
154 ('build', self.gf('django.db.models.fields.related.ForeignKey')(related_name='layer_version_build', to=orm['orm.Build'])), 154 ('name', models.CharField(max_length=100)),
155 ('layer', self.gf('django.db.models.fields.related.ForeignKey')(related_name='layer_version_layer', to=orm['orm.Layer'])), 155 ('installed_name', models.CharField(default=b'', max_length=100)),
156 ('branch', self.gf('django.db.models.fields.CharField')(max_length=50)), 156 ('version', models.CharField(max_length=100, blank=True)),
157 ('commit', self.gf('django.db.models.fields.CharField')(max_length=100)), 157 ('revision', models.CharField(max_length=32, blank=True)),
158 ('priority', self.gf('django.db.models.fields.IntegerField')()), 158 ('summary', models.TextField(blank=True)),
159 )) 159 ('description', models.TextField(blank=True)),
160 db.send_create_signal(u'orm', ['Layer_Version']) 160 ('size', models.IntegerField(default=0)),
161 161 ('installed_size', models.IntegerField(default=0)),
162 # Adding model 'Variable' 162 ('section', models.CharField(max_length=80, blank=True)),
163 db.create_table(u'orm_variable', ( 163 ('license', models.CharField(max_length=80, blank=True)),
164 (u'id', self.gf('django.db.models.fields.AutoField')(primary_key=True)), 164 ('build', models.ForeignKey(to='orm.Build', null=True)),
165 ('build', self.gf('django.db.models.fields.related.ForeignKey')(related_name='variable_build', to=orm['orm.Build'])), 165 ],
166 ('variable_name', self.gf('django.db.models.fields.CharField')(max_length=100)), 166 ),
167 ('variable_value', self.gf('django.db.models.fields.TextField')(blank=True)), 167 migrations.CreateModel(
168 ('changed', self.gf('django.db.models.fields.BooleanField')(default=False)), 168 name='Package_Dependency',
169 ('human_readable_name', self.gf('django.db.models.fields.CharField')(max_length=200)), 169 fields=[
170 ('description', self.gf('django.db.models.fields.TextField')(blank=True)), 170 ('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)),
171 )) 171 ('dep_type', models.IntegerField(choices=[(0, b'depends'), (1, b'depends'), (3, b'recommends'), (2, b'recommends'), (4, b'suggests'), (5, b'provides'), (6, b'replaces'), (7, b'conflicts')])),
172 db.send_create_signal(u'orm', ['Variable']) 172 ('depends_on', models.ForeignKey(related_name='package_dependencies_target', to='orm.Package')),
173 173 ('package', models.ForeignKey(related_name='package_dependencies_source', to='orm.Package')),
174 # Adding model 'VariableHistory' 174 ],
175 db.create_table(u'orm_variablehistory', ( 175 ),
176 (u'id', self.gf('django.db.models.fields.AutoField')(primary_key=True)), 176 migrations.CreateModel(
177 ('variable', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['orm.Variable'])), 177 name='Package_File',
178 ('file_name', self.gf('django.db.models.fields.FilePathField')(max_length=255)), 178 fields=[
179 ('line_number', self.gf('django.db.models.fields.IntegerField')(null=True)), 179 ('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)),
180 ('operation', self.gf('django.db.models.fields.CharField')(max_length=16)), 180 ('path', models.FilePathField(max_length=255, blank=True)),
181 )) 181 ('size', models.IntegerField()),
182 db.send_create_signal(u'orm', ['VariableHistory']) 182 ('package', models.ForeignKey(related_name='buildfilelist_package', to='orm.Package')),
183 183 ],
184 # Adding model 'LogMessage' 184 ),
185 db.create_table(u'orm_logmessage', ( 185 migrations.CreateModel(
186 (u'id', self.gf('django.db.models.fields.AutoField')(primary_key=True)), 186 name='Project',
187 ('build', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['orm.Build'])), 187 fields=[
188 ('level', self.gf('django.db.models.fields.IntegerField')(default=0)), 188 ('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)),
189 ('message', self.gf('django.db.models.fields.CharField')(max_length=240)), 189 ('name', models.CharField(max_length=100)),
190 ('pathname', self.gf('django.db.models.fields.FilePathField')(max_length=255, blank=True)), 190 ('short_description', models.CharField(max_length=50, blank=True)),
191 ('lineno', self.gf('django.db.models.fields.IntegerField')(null=True)), 191 ('created', models.DateTimeField(auto_now_add=True)),
192 )) 192 ('updated', models.DateTimeField(auto_now=True)),
193 db.send_create_signal(u'orm', ['LogMessage']) 193 ('user_id', models.IntegerField(null=True)),
194 194 ('is_default', models.BooleanField(default=False)),
195 195 ('bitbake_version', models.ForeignKey(to='orm.BitbakeVersion', null=True)),
196 def backwards(self, orm): 196 ],
197 # Deleting model 'Build' 197 ),
198 db.delete_table(u'orm_build') 198 migrations.CreateModel(
199 199 name='ProjectLayer',
200 # Deleting model 'Target' 200 fields=[
201 db.delete_table(u'orm_target') 201 ('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)),
202 202 ('optional', models.BooleanField(default=True)),
203 # Deleting model 'Task' 203 ('layercommit', models.ForeignKey(to='orm.Layer_Version', null=True)),
204 db.delete_table(u'orm_task') 204 ('project', models.ForeignKey(to='orm.Project')),
205 205 ],
206 # Deleting model 'Task_Dependency' 206 ),
207 db.delete_table(u'orm_task_dependency') 207 migrations.CreateModel(
208 208 name='ProjectTarget',
209 # Deleting model 'Package' 209 fields=[
210 db.delete_table(u'orm_package') 210 ('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)),
211 211 ('target', models.CharField(max_length=100)),
212 # Deleting model 'Package_Dependency' 212 ('task', models.CharField(max_length=100, null=True)),
213 db.delete_table(u'orm_package_dependency') 213 ('project', models.ForeignKey(to='orm.Project')),
214 214 ],
215 # Deleting model 'Target_Installed_Package' 215 ),
216 db.delete_table(u'orm_target_installed_package') 216 migrations.CreateModel(
217 217 name='ProjectVariable',
218 # Deleting model 'Package_File' 218 fields=[
219 db.delete_table(u'orm_package_file') 219 ('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)),
220 220 ('name', models.CharField(max_length=100)),
221 # Deleting model 'Recipe' 221 ('value', models.TextField(blank=True)),
222 db.delete_table(u'orm_recipe') 222 ('project', models.ForeignKey(to='orm.Project')),
223 223 ],
224 # Deleting model 'Recipe_Dependency' 224 ),
225 db.delete_table(u'orm_recipe_dependency') 225 migrations.CreateModel(
226 226 name='Recipe',
227 # Deleting model 'Layer' 227 fields=[
228 db.delete_table(u'orm_layer') 228 ('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)),
229 229 ('up_id', models.IntegerField(default=None, null=True)),
230 # Deleting model 'Layer_Version' 230 ('up_date', models.DateTimeField(default=None, null=True)),
231 db.delete_table(u'orm_layer_version') 231 ('name', models.CharField(max_length=100, blank=True)),
232 232 ('version', models.CharField(max_length=100, blank=True)),
233 # Deleting model 'Variable' 233 ('summary', models.TextField(blank=True)),
234 db.delete_table(u'orm_variable') 234 ('description', models.TextField(blank=True)),
235 235 ('section', models.CharField(max_length=100, blank=True)),
236 # Deleting model 'VariableHistory' 236 ('license', models.CharField(max_length=200, blank=True)),
237 db.delete_table(u'orm_variablehistory') 237 ('homepage', models.URLField(blank=True)),
238 238 ('bugtracker', models.URLField(blank=True)),
239 # Deleting model 'LogMessage' 239 ('file_path', models.FilePathField(max_length=255)),
240 db.delete_table(u'orm_logmessage') 240 ('pathflags', models.CharField(max_length=200, blank=True)),
241 241 ('is_image', models.BooleanField(default=False)),
242 242 ('layer_source', models.ForeignKey(default=None, to='orm.LayerSource', null=True)),
243 models = { 243 ('layer_version', models.ForeignKey(related_name='recipe_layer_version', to='orm.Layer_Version')),
244 u'orm.build': { 244 ],
245 'Meta': {'object_name': 'Build'}, 245 ),
246 'bitbake_version': ('django.db.models.fields.CharField', [], {'max_length': '50'}), 246 migrations.CreateModel(
247 'build_name': ('django.db.models.fields.CharField', [], {'max_length': '100'}), 247 name='Recipe_Dependency',
248 'completed_on': ('django.db.models.fields.DateTimeField', [], {}), 248 fields=[
249 'cooker_log_path': ('django.db.models.fields.CharField', [], {'max_length': '500'}), 249 ('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)),
250 'distro': ('django.db.models.fields.CharField', [], {'max_length': '100'}), 250 ('dep_type', models.IntegerField(choices=[(0, b'depends'), (1, b'rdepends')])),
251 'distro_version': ('django.db.models.fields.CharField', [], {'max_length': '100'}), 251 ('depends_on', models.ForeignKey(related_name='r_dependencies_depends', to='orm.Recipe')),
252 'errors_no': ('django.db.models.fields.IntegerField', [], {'default': '0'}), 252 ('recipe', models.ForeignKey(related_name='r_dependencies_recipe', to='orm.Recipe')),
253 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), 253 ],
254 'image_fstypes': ('django.db.models.fields.CharField', [], {'max_length': '100'}), 254 ),
255 'machine': ('django.db.models.fields.CharField', [], {'max_length': '100'}), 255 migrations.CreateModel(
256 'outcome': ('django.db.models.fields.IntegerField', [], {'default': '2'}), 256 name='Release',
257 'started_on': ('django.db.models.fields.DateTimeField', [], {}), 257 fields=[
258 'warnings_no': ('django.db.models.fields.IntegerField', [], {'default': '0'}) 258 ('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)),
259 }, 259 ('name', models.CharField(unique=True, max_length=32)),
260 u'orm.layer': { 260 ('description', models.CharField(max_length=255)),
261 'Meta': {'object_name': 'Layer'}, 261 ('branch_name', models.CharField(default=b'', max_length=50)),
262 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), 262 ('helptext', models.TextField(null=True)),
263 'layer_index_url': ('django.db.models.fields.URLField', [], {'max_length': '200'}), 263 ('bitbake_version', models.ForeignKey(to='orm.BitbakeVersion')),
264 'local_path': ('django.db.models.fields.FilePathField', [], {'max_length': '255'}), 264 ],
265 'name': ('django.db.models.fields.CharField', [], {'max_length': '100'}) 265 ),
266 }, 266 migrations.CreateModel(
267 u'orm.layer_version': { 267 name='ReleaseDefaultLayer',
268 'Meta': {'object_name': 'Layer_Version'}, 268 fields=[
269 'branch': ('django.db.models.fields.CharField', [], {'max_length': '50'}), 269 ('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)),
270 'build': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'layer_version_build'", 'to': u"orm['orm.Build']"}), 270 ('layer_name', models.CharField(default=b'', max_length=100)),
271 'commit': ('django.db.models.fields.CharField', [], {'max_length': '100'}), 271 ('release', models.ForeignKey(to='orm.Release')),
272 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), 272 ],
273 'layer': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'layer_version_layer'", 'to': u"orm['orm.Layer']"}), 273 ),
274 'priority': ('django.db.models.fields.IntegerField', [], {}) 274 migrations.CreateModel(
275 }, 275 name='ReleaseLayerSourcePriority',
276 u'orm.logmessage': { 276 fields=[
277 'Meta': {'object_name': 'LogMessage'}, 277 ('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)),
278 'build': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.Build']"}), 278 ('priority', models.IntegerField(default=0)),
279 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), 279 ('layer_source', models.ForeignKey(to='orm.LayerSource')),
280 'level': ('django.db.models.fields.IntegerField', [], {'default': '0'}), 280 ('release', models.ForeignKey(to='orm.Release')),
281 'lineno': ('django.db.models.fields.IntegerField', [], {'null': 'True'}), 281 ],
282 'message': ('django.db.models.fields.CharField', [], {'max_length': '240'}), 282 ),
283 'pathname': ('django.db.models.fields.FilePathField', [], {'max_length': '255', 'blank': 'True'}) 283 migrations.CreateModel(
284 }, 284 name='Target',
285 u'orm.package': { 285 fields=[
286 'Meta': {'object_name': 'Package'}, 286 ('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)),
287 'build': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.Build']"}), 287 ('target', models.CharField(max_length=100)),
288 'description': ('django.db.models.fields.CharField', [], {'max_length': '200', 'blank': 'True'}), 288 ('task', models.CharField(max_length=100, null=True)),
289 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), 289 ('is_image', models.BooleanField(default=False)),
290 'installed_size': ('django.db.models.fields.IntegerField', [], {'default': '0'}), 290 ('image_size', models.IntegerField(default=0)),
291 'license': ('django.db.models.fields.CharField', [], {'max_length': '80', 'blank': 'True'}), 291 ('license_manifest_path', models.CharField(max_length=500, null=True)),
292 'name': ('django.db.models.fields.CharField', [], {'max_length': '100'}), 292 ('build', models.ForeignKey(to='orm.Build')),
293 'recipe': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.Recipe']", 'null': 'True'}), 293 ],
294 'revision': ('django.db.models.fields.CharField', [], {'max_length': '32', 'blank': 'True'}), 294 ),
295 'section': ('django.db.models.fields.CharField', [], {'max_length': '80', 'blank': 'True'}), 295 migrations.CreateModel(
296 'size': ('django.db.models.fields.IntegerField', [], {'default': '0'}), 296 name='Target_File',
297 'summary': ('django.db.models.fields.CharField', [], {'max_length': '200', 'blank': 'True'}), 297 fields=[
298 'version': ('django.db.models.fields.CharField', [], {'max_length': '100', 'blank': 'True'}) 298 ('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)),
299 }, 299 ('path', models.FilePathField()),
300 u'orm.package_dependency': { 300 ('size', models.IntegerField()),
301 'Meta': {'object_name': 'Package_Dependency'}, 301 ('inodetype', models.IntegerField(choices=[(1, b'regular'), (2, b'directory'), (3, b'symlink'), (4, b'socket'), (5, b'fifo'), (6, b'character'), (7, b'block')])),
302 'dep_type': ('django.db.models.fields.IntegerField', [], {}), 302 ('permission', models.CharField(max_length=16)),
303 'depends_on': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'package_dependencies_target'", 'to': u"orm['orm.Package']"}), 303 ('owner', models.CharField(max_length=128)),
304 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), 304 ('group', models.CharField(max_length=128)),
305 'package': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'package_dependencies_source'", 'to': u"orm['orm.Package']"}), 305 ('directory', models.ForeignKey(related_name='directory_set', to='orm.Target_File', null=True)),
306 'target': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.Target']", 'null': 'True'}) 306 ('sym_target', models.ForeignKey(related_name='symlink_set', to='orm.Target_File', null=True)),
307 }, 307 ('target', models.ForeignKey(to='orm.Target')),
308 u'orm.package_file': { 308 ],
309 'Meta': {'object_name': 'Package_File'}, 309 ),
310 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), 310 migrations.CreateModel(
311 'package': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'buildfilelist_package'", 'to': u"orm['orm.Package']"}), 311 name='Target_Image_File',
312 'path': ('django.db.models.fields.FilePathField', [], {'max_length': '255', 'blank': 'True'}), 312 fields=[
313 'size': ('django.db.models.fields.IntegerField', [], {}) 313 ('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)),
314 }, 314 ('file_name', models.FilePathField(max_length=254)),
315 u'orm.recipe': { 315 ('file_size', models.IntegerField()),
316 'Meta': {'object_name': 'Recipe'}, 316 ('target', models.ForeignKey(to='orm.Target')),
317 'bugtracker': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), 317 ],
318 'description': ('django.db.models.fields.CharField', [], {'max_length': '100', 'blank': 'True'}), 318 ),
319 'file_path': ('django.db.models.fields.FilePathField', [], {'max_length': '255'}), 319 migrations.CreateModel(
320 'homepage': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), 320 name='Target_Installed_Package',
321 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), 321 fields=[
322 'layer_version': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'recipe_layer_version'", 'to': u"orm['orm.Layer_Version']"}), 322 ('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)),
323 'license': ('django.db.models.fields.CharField', [], {'max_length': '200', 'blank': 'True'}), 323 ('package', models.ForeignKey(related_name='buildtargetlist_package', to='orm.Package')),
324 'licensing_info': ('django.db.models.fields.TextField', [], {'blank': 'True'}), 324 ('target', models.ForeignKey(to='orm.Target')),
325 'name': ('django.db.models.fields.CharField', [], {'max_length': '100', 'blank': 'True'}), 325 ],
326 'section': ('django.db.models.fields.CharField', [], {'max_length': '100', 'blank': 'True'}), 326 ),
327 'summary': ('django.db.models.fields.CharField', [], {'max_length': '100', 'blank': 'True'}), 327 migrations.CreateModel(
328 'version': ('django.db.models.fields.CharField', [], {'max_length': '100', 'blank': 'True'}) 328 name='Task',
329 }, 329 fields=[
330 u'orm.recipe_dependency': { 330 ('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)),
331 'Meta': {'object_name': 'Recipe_Dependency'}, 331 ('order', models.IntegerField(null=True)),
332 'dep_type': ('django.db.models.fields.IntegerField', [], {}), 332 ('task_executed', models.BooleanField(default=False)),
333 'depends_on': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'r_dependencies_depends'", 'to': u"orm['orm.Recipe']"}), 333 ('outcome', models.IntegerField(default=-1, choices=[(-1, b'Not Available'), (0, b'Succeeded'), (1, b'Covered'), (2, b'Cached'), (3, b'Prebuilt'), (4, b'Failed'), (5, b'Empty')])),
334 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), 334 ('sstate_checksum', models.CharField(max_length=100, blank=True)),
335 'recipe': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'r_dependencies_recipe'", 'to': u"orm['orm.Recipe']"}) 335 ('path_to_sstate_obj', models.FilePathField(max_length=500, blank=True)),
336 }, 336 ('task_name', models.CharField(max_length=100)),
337 u'orm.target': { 337 ('source_url', models.FilePathField(max_length=255, blank=True)),
338 'Meta': {'object_name': 'Target'}, 338 ('work_directory', models.FilePathField(max_length=255, blank=True)),
339 'build': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.Build']"}), 339 ('script_type', models.IntegerField(default=0, choices=[(0, b'N/A'), (2, b'Python'), (3, b'Shell')])),
340 'file_name': ('django.db.models.fields.CharField', [], {'max_length': '100'}), 340 ('line_number', models.IntegerField(default=0)),
341 'file_size': ('django.db.models.fields.IntegerField', [], {}), 341 ('disk_io', models.IntegerField(null=True)),
342 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), 342 ('cpu_usage', models.DecimalField(null=True, max_digits=8, decimal_places=2)),
343 'is_image': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), 343 ('elapsed_time', models.DecimalField(null=True, max_digits=8, decimal_places=2)),
344 'target': ('django.db.models.fields.CharField', [], {'max_length': '100'}) 344 ('sstate_result', models.IntegerField(default=0, choices=[(0, b'Not Applicable'), (1, b'File not in cache'), (2, b'Failed'), (3, b'Succeeded')])),
345 }, 345 ('message', models.CharField(max_length=240)),
346 u'orm.target_installed_package': { 346 ('logfile', models.FilePathField(max_length=255, blank=True)),
347 'Meta': {'object_name': 'Target_Installed_Package'}, 347 ('build', models.ForeignKey(related_name='task_build', to='orm.Build')),
348 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), 348 ('recipe', models.ForeignKey(related_name='tasks', to='orm.Recipe')),
349 'package': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.Package']"}), 349 ],
350 'target': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.Target']"}) 350 options={
351 }, 351 'ordering': ('order', 'recipe'),
352 u'orm.task': { 352 },
353 'Meta': {'ordering': "('order', 'recipe')", 'object_name': 'Task'}, 353 ),
354 'build': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'task_build'", 'to': u"orm['orm.Build']"}), 354 migrations.CreateModel(
355 'cpu_usage': ('django.db.models.fields.DecimalField', [], {'null': 'True', 'max_digits': '6', 'decimal_places': '2'}), 355 name='Task_Dependency',
356 'disk_io': ('django.db.models.fields.IntegerField', [], {'null': 'True'}), 356 fields=[
357 'elapsed_time': ('django.db.models.fields.CharField', [], {'default': '0', 'max_length': '50'}), 357 ('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)),
358 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), 358 ('depends_on', models.ForeignKey(related_name='task_dependencies_depends', to='orm.Task')),
359 'line_number': ('django.db.models.fields.IntegerField', [], {'default': '0'}), 359 ('task', models.ForeignKey(related_name='task_dependencies_task', to='orm.Task')),
360 'logfile': ('django.db.models.fields.FilePathField', [], {'max_length': '255', 'blank': 'True'}), 360 ],
361 'message': ('django.db.models.fields.CharField', [], {'max_length': '240'}), 361 ),
362 'order': ('django.db.models.fields.IntegerField', [], {'null': 'True'}), 362 migrations.CreateModel(
363 'outcome': ('django.db.models.fields.IntegerField', [], {'default': '5'}), 363 name='ToasterSetting',
364 'path_to_sstate_obj': ('django.db.models.fields.FilePathField', [], {'max_length': '500', 'blank': 'True'}), 364 fields=[
365 'recipe': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'build_recipe'", 'to': u"orm['orm.Recipe']"}), 365 ('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)),
366 'script_type': ('django.db.models.fields.IntegerField', [], {'default': '0'}), 366 ('name', models.CharField(max_length=63)),
367 'source_url': ('django.db.models.fields.FilePathField', [], {'max_length': '255', 'blank': 'True'}), 367 ('helptext', models.TextField()),
368 'sstate_checksum': ('django.db.models.fields.CharField', [], {'max_length': '100', 'blank': 'True'}), 368 ('value', models.CharField(max_length=255)),
369 'sstate_result': ('django.db.models.fields.IntegerField', [], {'default': '0'}), 369 ],
370 'task_executed': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), 370 ),
371 'task_name': ('django.db.models.fields.CharField', [], {'max_length': '100'}), 371 migrations.CreateModel(
372 'work_directory': ('django.db.models.fields.FilePathField', [], {'max_length': '255', 'blank': 'True'}) 372 name='Variable',
373 }, 373 fields=[
374 u'orm.task_dependency': { 374 ('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)),
375 'Meta': {'object_name': 'Task_Dependency'}, 375 ('variable_name', models.CharField(max_length=100)),
376 'depends_on': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'task_dependencies_depends'", 'to': u"orm['orm.Task']"}), 376 ('variable_value', models.TextField(blank=True)),
377 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), 377 ('changed', models.BooleanField(default=False)),
378 'task': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'task_dependencies_task'", 'to': u"orm['orm.Task']"}) 378 ('human_readable_name', models.CharField(max_length=200)),
379 }, 379 ('description', models.TextField(blank=True)),
380 u'orm.variable': { 380 ('build', models.ForeignKey(related_name='variable_build', to='orm.Build')),
381 'Meta': {'object_name': 'Variable'}, 381 ],
382 'build': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'variable_build'", 'to': u"orm['orm.Build']"}), 382 ),
383 'changed': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), 383 migrations.CreateModel(
384 'description': ('django.db.models.fields.TextField', [], {'blank': 'True'}), 384 name='VariableHistory',
385 'human_readable_name': ('django.db.models.fields.CharField', [], {'max_length': '200'}), 385 fields=[
386 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), 386 ('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)),
387 'variable_name': ('django.db.models.fields.CharField', [], {'max_length': '100'}), 387 ('value', models.TextField(blank=True)),
388 'variable_value': ('django.db.models.fields.TextField', [], {'blank': 'True'}) 388 ('file_name', models.FilePathField(max_length=255)),
389 }, 389 ('line_number', models.IntegerField(null=True)),
390 u'orm.variablehistory': { 390 ('operation', models.CharField(max_length=64)),
391 'Meta': {'object_name': 'VariableHistory'}, 391 ('variable', models.ForeignKey(related_name='vhistory', to='orm.Variable')),
392 'file_name': ('django.db.models.fields.FilePathField', [], {'max_length': '255'}), 392 ],
393 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), 393 ),
394 'line_number': ('django.db.models.fields.IntegerField', [], {'null': 'True'}), 394 migrations.AddField(
395 'operation': ('django.db.models.fields.CharField', [], {'max_length': '16'}), 395 model_name='project',
396 'variable': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.Variable']"}) 396 name='release',
397 } 397 field=models.ForeignKey(to='orm.Release', null=True),
398 } 398 ),
399 399 migrations.AddField(
400 complete_apps = ['orm'] 400 model_name='package_dependency',
401 name='target',
402 field=models.ForeignKey(to='orm.Target', null=True),
403 ),
404 migrations.AddField(
405 model_name='package',
406 name='recipe',
407 field=models.ForeignKey(to='orm.Recipe', null=True),
408 ),
409 migrations.AddField(
410 model_name='logmessage',
411 name='task',
412 field=models.ForeignKey(blank=True, to='orm.Task', null=True),
413 ),
414 migrations.AlterUniqueTogether(
415 name='layersource',
416 unique_together=set([('sourcetype', 'apiurl')]),
417 ),
418 migrations.AddField(
419 model_name='layer_version',
420 name='layer_source',
421 field=models.ForeignKey(default=None, to='orm.LayerSource', null=True),
422 ),
423 migrations.AddField(
424 model_name='layer_version',
425 name='project',
426 field=models.ForeignKey(default=None, to='orm.Project', null=True),
427 ),
428 migrations.AddField(
429 model_name='layer_version',
430 name='up_branch',
431 field=models.ForeignKey(default=None, to='orm.Branch', null=True),
432 ),
433 migrations.AddField(
434 model_name='layer',
435 name='layer_source',
436 field=models.ForeignKey(default=None, to='orm.LayerSource', null=True),
437 ),
438 migrations.AddField(
439 model_name='customimagerecipe',
440 name='base_recipe',
441 field=models.ForeignKey(to='orm.Recipe'),
442 ),
443 migrations.AddField(
444 model_name='customimagerecipe',
445 name='packages',
446 field=models.ManyToManyField(to='orm.Package'),
447 ),
448 migrations.AddField(
449 model_name='customimagerecipe',
450 name='project',
451 field=models.ForeignKey(to='orm.Project'),
452 ),
453 migrations.AddField(
454 model_name='build',
455 name='project',
456 field=models.ForeignKey(to='orm.Project'),
457 ),
458 migrations.AddField(
459 model_name='branch',
460 name='layer_source',
461 field=models.ForeignKey(default=True, to='orm.LayerSource', null=True),
462 ),
463 migrations.CreateModel(
464 name='ImportedLayerSource',
465 fields=[
466 ],
467 options={
468 'proxy': True,
469 },
470 bases=('orm.layersource',),
471 ),
472 migrations.CreateModel(
473 name='LayerIndexLayerSource',
474 fields=[
475 ],
476 options={
477 'proxy': True,
478 },
479 bases=('orm.layersource',),
480 ),
481 migrations.CreateModel(
482 name='LocalLayerSource',
483 fields=[
484 ],
485 options={
486 'proxy': True,
487 },
488 bases=('orm.layersource',),
489 ),
490 migrations.AlterUniqueTogether(
491 name='task',
492 unique_together=set([('build', 'recipe', 'task_name')]),
493 ),
494 migrations.AlterUniqueTogether(
495 name='releaselayersourcepriority',
496 unique_together=set([('release', 'layer_source')]),
497 ),
498 migrations.AlterUniqueTogether(
499 name='recipe',
500 unique_together=set([('layer_version', 'file_path', 'pathflags')]),
501 ),
502 migrations.AlterUniqueTogether(
503 name='projectlayer',
504 unique_together=set([('project', 'layercommit')]),
505 ),
506 migrations.AlterUniqueTogether(
507 name='machine',
508 unique_together=set([('layer_source', 'up_id')]),
509 ),
510 migrations.AlterUniqueTogether(
511 name='layerversiondependency',
512 unique_together=set([('layer_source', 'up_id')]),
513 ),
514 migrations.AlterUniqueTogether(
515 name='layer_version',
516 unique_together=set([('layer_source', 'up_id')]),
517 ),
518 migrations.AlterUniqueTogether(
519 name='layer',
520 unique_together=set([('layer_source', 'up_id'), ('layer_source', 'name')]),
521 ),
522 migrations.AlterUniqueTogether(
523 name='customimagerecipe',
524 unique_together=set([('name', 'project')]),
525 ),
526 migrations.AlterUniqueTogether(
527 name='branch',
528 unique_together=set([('layer_source', 'up_id'), ('layer_source', 'name')]),
529 ),
530 ]
diff --git a/bitbake/lib/toaster/orm/migrations/0002_auto__add_field_build_timespent.py b/bitbake/lib/toaster/orm/migrations/0002_auto__add_field_build_timespent.py
deleted file mode 100644
index 61421cacd1..0000000000
--- a/bitbake/lib/toaster/orm/migrations/0002_auto__add_field_build_timespent.py
+++ /dev/null
@@ -1,180 +0,0 @@
1# -*- coding: utf-8 -*-
2from south.utils import datetime_utils as datetime
3from south.db import db
4from south.v2 import SchemaMigration
5from django.db import models
6
7
8class Migration(SchemaMigration):
9
10 def forwards(self, orm):
11 # Adding field 'Build.timespent'
12 db.add_column(u'orm_build', 'timespent',
13 self.gf('django.db.models.fields.IntegerField')(default=0),
14 keep_default=False)
15
16
17 def backwards(self, orm):
18 # Deleting field 'Build.timespent'
19 db.delete_column(u'orm_build', 'timespent')
20
21
22 models = {
23 u'orm.build': {
24 'Meta': {'object_name': 'Build'},
25 'bitbake_version': ('django.db.models.fields.CharField', [], {'max_length': '50'}),
26 'build_name': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
27 'completed_on': ('django.db.models.fields.DateTimeField', [], {}),
28 'cooker_log_path': ('django.db.models.fields.CharField', [], {'max_length': '500'}),
29 'distro': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
30 'distro_version': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
31 'errors_no': ('django.db.models.fields.IntegerField', [], {'default': '0'}),
32 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
33 'image_fstypes': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
34 'machine': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
35 'outcome': ('django.db.models.fields.IntegerField', [], {'default': '2'}),
36 'started_on': ('django.db.models.fields.DateTimeField', [], {}),
37 'timespent': ('django.db.models.fields.IntegerField', [], {}),
38 'warnings_no': ('django.db.models.fields.IntegerField', [], {'default': '0'})
39 },
40 u'orm.layer': {
41 'Meta': {'object_name': 'Layer'},
42 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
43 'layer_index_url': ('django.db.models.fields.URLField', [], {'max_length': '200'}),
44 'local_path': ('django.db.models.fields.FilePathField', [], {'max_length': '255'}),
45 'name': ('django.db.models.fields.CharField', [], {'max_length': '100'})
46 },
47 u'orm.layer_version': {
48 'Meta': {'object_name': 'Layer_Version'},
49 'branch': ('django.db.models.fields.CharField', [], {'max_length': '50'}),
50 'build': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'layer_version_build'", 'to': u"orm['orm.Build']"}),
51 'commit': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
52 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
53 'layer': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'layer_version_layer'", 'to': u"orm['orm.Layer']"}),
54 'priority': ('django.db.models.fields.IntegerField', [], {})
55 },
56 u'orm.logmessage': {
57 'Meta': {'object_name': 'LogMessage'},
58 'build': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.Build']"}),
59 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
60 'level': ('django.db.models.fields.IntegerField', [], {'default': '0'}),
61 'lineno': ('django.db.models.fields.IntegerField', [], {'null': 'True'}),
62 'message': ('django.db.models.fields.CharField', [], {'max_length': '240'}),
63 'pathname': ('django.db.models.fields.FilePathField', [], {'max_length': '255', 'blank': 'True'})
64 },
65 u'orm.package': {
66 'Meta': {'object_name': 'Package'},
67 'build': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.Build']"}),
68 'description': ('django.db.models.fields.CharField', [], {'max_length': '200', 'blank': 'True'}),
69 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
70 'installed_size': ('django.db.models.fields.IntegerField', [], {'default': '0'}),
71 'license': ('django.db.models.fields.CharField', [], {'max_length': '80', 'blank': 'True'}),
72 'name': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
73 'recipe': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.Recipe']", 'null': 'True'}),
74 'revision': ('django.db.models.fields.CharField', [], {'max_length': '32', 'blank': 'True'}),
75 'section': ('django.db.models.fields.CharField', [], {'max_length': '80', 'blank': 'True'}),
76 'size': ('django.db.models.fields.IntegerField', [], {'default': '0'}),
77 'summary': ('django.db.models.fields.CharField', [], {'max_length': '200', 'blank': 'True'}),
78 'version': ('django.db.models.fields.CharField', [], {'max_length': '100', 'blank': 'True'})
79 },
80 u'orm.package_dependency': {
81 'Meta': {'object_name': 'Package_Dependency'},
82 'dep_type': ('django.db.models.fields.IntegerField', [], {}),
83 'depends_on': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'package_dependencies_target'", 'to': u"orm['orm.Package']"}),
84 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
85 'package': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'package_dependencies_source'", 'to': u"orm['orm.Package']"}),
86 'target': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.Target']", 'null': 'True'})
87 },
88 u'orm.package_file': {
89 'Meta': {'object_name': 'Package_File'},
90 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
91 'package': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'buildfilelist_package'", 'to': u"orm['orm.Package']"}),
92 'path': ('django.db.models.fields.FilePathField', [], {'max_length': '255', 'blank': 'True'}),
93 'size': ('django.db.models.fields.IntegerField', [], {})
94 },
95 u'orm.recipe': {
96 'Meta': {'object_name': 'Recipe'},
97 'bugtracker': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}),
98 'description': ('django.db.models.fields.CharField', [], {'max_length': '100', 'blank': 'True'}),
99 'file_path': ('django.db.models.fields.FilePathField', [], {'max_length': '255'}),
100 'homepage': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}),
101 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
102 'layer_version': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'recipe_layer_version'", 'to': u"orm['orm.Layer_Version']"}),
103 'license': ('django.db.models.fields.CharField', [], {'max_length': '200', 'blank': 'True'}),
104 'licensing_info': ('django.db.models.fields.TextField', [], {'blank': 'True'}),
105 'name': ('django.db.models.fields.CharField', [], {'max_length': '100', 'blank': 'True'}),
106 'section': ('django.db.models.fields.CharField', [], {'max_length': '100', 'blank': 'True'}),
107 'summary': ('django.db.models.fields.CharField', [], {'max_length': '100', 'blank': 'True'}),
108 'version': ('django.db.models.fields.CharField', [], {'max_length': '100', 'blank': 'True'})
109 },
110 u'orm.recipe_dependency': {
111 'Meta': {'object_name': 'Recipe_Dependency'},
112 'dep_type': ('django.db.models.fields.IntegerField', [], {}),
113 'depends_on': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'r_dependencies_depends'", 'to': u"orm['orm.Recipe']"}),
114 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
115 'recipe': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'r_dependencies_recipe'", 'to': u"orm['orm.Recipe']"})
116 },
117 u'orm.target': {
118 'Meta': {'object_name': 'Target'},
119 'build': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.Build']"}),
120 'file_name': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
121 'file_size': ('django.db.models.fields.IntegerField', [], {}),
122 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
123 'is_image': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
124 'target': ('django.db.models.fields.CharField', [], {'max_length': '100'})
125 },
126 u'orm.target_installed_package': {
127 'Meta': {'object_name': 'Target_Installed_Package'},
128 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
129 'package': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.Package']"}),
130 'target': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.Target']"})
131 },
132 u'orm.task': {
133 'Meta': {'ordering': "('order', 'recipe')", 'object_name': 'Task'},
134 'build': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'task_build'", 'to': u"orm['orm.Build']"}),
135 'cpu_usage': ('django.db.models.fields.DecimalField', [], {'null': 'True', 'max_digits': '6', 'decimal_places': '2'}),
136 'disk_io': ('django.db.models.fields.IntegerField', [], {'null': 'True'}),
137 'elapsed_time': ('django.db.models.fields.CharField', [], {'default': '0', 'max_length': '50'}),
138 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
139 'line_number': ('django.db.models.fields.IntegerField', [], {'default': '0'}),
140 'logfile': ('django.db.models.fields.FilePathField', [], {'max_length': '255', 'blank': 'True'}),
141 'message': ('django.db.models.fields.CharField', [], {'max_length': '240'}),
142 'order': ('django.db.models.fields.IntegerField', [], {'null': 'True'}),
143 'outcome': ('django.db.models.fields.IntegerField', [], {'default': '5'}),
144 'path_to_sstate_obj': ('django.db.models.fields.FilePathField', [], {'max_length': '500', 'blank': 'True'}),
145 'recipe': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'build_recipe'", 'to': u"orm['orm.Recipe']"}),
146 'script_type': ('django.db.models.fields.IntegerField', [], {'default': '0'}),
147 'source_url': ('django.db.models.fields.FilePathField', [], {'max_length': '255', 'blank': 'True'}),
148 'sstate_checksum': ('django.db.models.fields.CharField', [], {'max_length': '100', 'blank': 'True'}),
149 'sstate_result': ('django.db.models.fields.IntegerField', [], {'default': '0'}),
150 'task_executed': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
151 'task_name': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
152 'work_directory': ('django.db.models.fields.FilePathField', [], {'max_length': '255', 'blank': 'True'})
153 },
154 u'orm.task_dependency': {
155 'Meta': {'object_name': 'Task_Dependency'},
156 'depends_on': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'task_dependencies_depends'", 'to': u"orm['orm.Task']"}),
157 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
158 'task': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'task_dependencies_task'", 'to': u"orm['orm.Task']"})
159 },
160 u'orm.variable': {
161 'Meta': {'object_name': 'Variable'},
162 'build': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'variable_build'", 'to': u"orm['orm.Build']"}),
163 'changed': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
164 'description': ('django.db.models.fields.TextField', [], {'blank': 'True'}),
165 'human_readable_name': ('django.db.models.fields.CharField', [], {'max_length': '200'}),
166 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
167 'variable_name': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
168 'variable_value': ('django.db.models.fields.TextField', [], {'blank': 'True'})
169 },
170 u'orm.variablehistory': {
171 'Meta': {'object_name': 'VariableHistory'},
172 'file_name': ('django.db.models.fields.FilePathField', [], {'max_length': '255'}),
173 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
174 'line_number': ('django.db.models.fields.IntegerField', [], {'null': 'True'}),
175 'operation': ('django.db.models.fields.CharField', [], {'max_length': '16'}),
176 'variable': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'vhistory'", 'to': u"orm['orm.Variable']"})
177 }
178 }
179
180 complete_apps = ['orm']
diff --git a/bitbake/lib/toaster/orm/migrations/0003_timespent.py b/bitbake/lib/toaster/orm/migrations/0003_timespent.py
deleted file mode 100644
index 9600f9e296..0000000000
--- a/bitbake/lib/toaster/orm/migrations/0003_timespent.py
+++ /dev/null
@@ -1,182 +0,0 @@
1# -*- coding: utf-8 -*-
2from south.utils import datetime_utils as datetime
3from south.db import db
4from south.v2 import DataMigration
5from django.db import models
6
7class Migration(DataMigration):
8
9 def forwards(self, orm):
10 "Write your forwards methods here."
11 # Note: Don't use "from appname.models import ModelName".
12 # Use orm.ModelName to refer to models in this application,
13 # and orm['appname.ModelName'] for models in other applications.
14
15 for build in orm.Build.objects.all():
16 build.timespent = int((build.completed_on - build.started_on).total_seconds())
17 build.save()
18
19 def backwards(self, orm):
20 "Write your backwards methods here."
21 raise RuntimeError("Cannot reverse this migration.")
22
23 models = {
24 u'orm.build': {
25 'Meta': {'object_name': 'Build'},
26 'bitbake_version': ('django.db.models.fields.CharField', [], {'max_length': '50'}),
27 'build_name': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
28 'completed_on': ('django.db.models.fields.DateTimeField', [], {}),
29 'cooker_log_path': ('django.db.models.fields.CharField', [], {'max_length': '500'}),
30 'distro': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
31 'distro_version': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
32 'errors_no': ('django.db.models.fields.IntegerField', [], {'default': '0'}),
33 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
34 'image_fstypes': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
35 'machine': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
36 'outcome': ('django.db.models.fields.IntegerField', [], {'default': '2'}),
37 'started_on': ('django.db.models.fields.DateTimeField', [], {}),
38 'timespent': ('django.db.models.fields.IntegerField', [], {'default': '0'}),
39 'warnings_no': ('django.db.models.fields.IntegerField', [], {'default': '0'})
40 },
41 u'orm.layer': {
42 'Meta': {'object_name': 'Layer'},
43 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
44 'layer_index_url': ('django.db.models.fields.URLField', [], {'max_length': '200'}),
45 'local_path': ('django.db.models.fields.FilePathField', [], {'max_length': '255'}),
46 'name': ('django.db.models.fields.CharField', [], {'max_length': '100'})
47 },
48 u'orm.layer_version': {
49 'Meta': {'object_name': 'Layer_Version'},
50 'branch': ('django.db.models.fields.CharField', [], {'max_length': '50'}),
51 'build': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'layer_version_build'", 'to': u"orm['orm.Build']"}),
52 'commit': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
53 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
54 'layer': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'layer_version_layer'", 'to': u"orm['orm.Layer']"}),
55 'priority': ('django.db.models.fields.IntegerField', [], {})
56 },
57 u'orm.logmessage': {
58 'Meta': {'object_name': 'LogMessage'},
59 'build': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.Build']"}),
60 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
61 'level': ('django.db.models.fields.IntegerField', [], {'default': '0'}),
62 'lineno': ('django.db.models.fields.IntegerField', [], {'null': 'True'}),
63 'message': ('django.db.models.fields.CharField', [], {'max_length': '240'}),
64 'pathname': ('django.db.models.fields.FilePathField', [], {'max_length': '255', 'blank': 'True'})
65 },
66 u'orm.package': {
67 'Meta': {'object_name': 'Package'},
68 'build': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.Build']"}),
69 'description': ('django.db.models.fields.CharField', [], {'max_length': '200', 'blank': 'True'}),
70 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
71 'installed_size': ('django.db.models.fields.IntegerField', [], {'default': '0'}),
72 'license': ('django.db.models.fields.CharField', [], {'max_length': '80', 'blank': 'True'}),
73 'name': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
74 'recipe': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.Recipe']", 'null': 'True'}),
75 'revision': ('django.db.models.fields.CharField', [], {'max_length': '32', 'blank': 'True'}),
76 'section': ('django.db.models.fields.CharField', [], {'max_length': '80', 'blank': 'True'}),
77 'size': ('django.db.models.fields.IntegerField', [], {'default': '0'}),
78 'summary': ('django.db.models.fields.CharField', [], {'max_length': '200', 'blank': 'True'}),
79 'version': ('django.db.models.fields.CharField', [], {'max_length': '100', 'blank': 'True'})
80 },
81 u'orm.package_dependency': {
82 'Meta': {'object_name': 'Package_Dependency'},
83 'dep_type': ('django.db.models.fields.IntegerField', [], {}),
84 'depends_on': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'package_dependencies_target'", 'to': u"orm['orm.Package']"}),
85 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
86 'package': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'package_dependencies_source'", 'to': u"orm['orm.Package']"}),
87 'target': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.Target']", 'null': 'True'})
88 },
89 u'orm.package_file': {
90 'Meta': {'object_name': 'Package_File'},
91 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
92 'package': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'buildfilelist_package'", 'to': u"orm['orm.Package']"}),
93 'path': ('django.db.models.fields.FilePathField', [], {'max_length': '255', 'blank': 'True'}),
94 'size': ('django.db.models.fields.IntegerField', [], {})
95 },
96 u'orm.recipe': {
97 'Meta': {'object_name': 'Recipe'},
98 'bugtracker': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}),
99 'description': ('django.db.models.fields.CharField', [], {'max_length': '100', 'blank': 'True'}),
100 'file_path': ('django.db.models.fields.FilePathField', [], {'max_length': '255'}),
101 'homepage': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}),
102 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
103 'layer_version': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'recipe_layer_version'", 'to': u"orm['orm.Layer_Version']"}),
104 'license': ('django.db.models.fields.CharField', [], {'max_length': '200', 'blank': 'True'}),
105 'licensing_info': ('django.db.models.fields.TextField', [], {'blank': 'True'}),
106 'name': ('django.db.models.fields.CharField', [], {'max_length': '100', 'blank': 'True'}),
107 'section': ('django.db.models.fields.CharField', [], {'max_length': '100', 'blank': 'True'}),
108 'summary': ('django.db.models.fields.CharField', [], {'max_length': '100', 'blank': 'True'}),
109 'version': ('django.db.models.fields.CharField', [], {'max_length': '100', 'blank': 'True'})
110 },
111 u'orm.recipe_dependency': {
112 'Meta': {'object_name': 'Recipe_Dependency'},
113 'dep_type': ('django.db.models.fields.IntegerField', [], {}),
114 'depends_on': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'r_dependencies_depends'", 'to': u"orm['orm.Recipe']"}),
115 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
116 'recipe': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'r_dependencies_recipe'", 'to': u"orm['orm.Recipe']"})
117 },
118 u'orm.target': {
119 'Meta': {'object_name': 'Target'},
120 'build': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.Build']"}),
121 'file_name': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
122 'file_size': ('django.db.models.fields.IntegerField', [], {}),
123 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
124 'is_image': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
125 'target': ('django.db.models.fields.CharField', [], {'max_length': '100'})
126 },
127 u'orm.target_installed_package': {
128 'Meta': {'object_name': 'Target_Installed_Package'},
129 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
130 'package': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.Package']"}),
131 'target': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.Target']"})
132 },
133 u'orm.task': {
134 'Meta': {'ordering': "('order', 'recipe')", 'object_name': 'Task'},
135 'build': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'task_build'", 'to': u"orm['orm.Build']"}),
136 'cpu_usage': ('django.db.models.fields.DecimalField', [], {'null': 'True', 'max_digits': '6', 'decimal_places': '2'}),
137 'disk_io': ('django.db.models.fields.IntegerField', [], {'null': 'True'}),
138 'elapsed_time': ('django.db.models.fields.CharField', [], {'default': '0', 'max_length': '50'}),
139 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
140 'line_number': ('django.db.models.fields.IntegerField', [], {'default': '0'}),
141 'logfile': ('django.db.models.fields.FilePathField', [], {'max_length': '255', 'blank': 'True'}),
142 'message': ('django.db.models.fields.CharField', [], {'max_length': '240'}),
143 'order': ('django.db.models.fields.IntegerField', [], {'null': 'True'}),
144 'outcome': ('django.db.models.fields.IntegerField', [], {'default': '5'}),
145 'path_to_sstate_obj': ('django.db.models.fields.FilePathField', [], {'max_length': '500', 'blank': 'True'}),
146 'recipe': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'build_recipe'", 'to': u"orm['orm.Recipe']"}),
147 'script_type': ('django.db.models.fields.IntegerField', [], {'default': '0'}),
148 'source_url': ('django.db.models.fields.FilePathField', [], {'max_length': '255', 'blank': 'True'}),
149 'sstate_checksum': ('django.db.models.fields.CharField', [], {'max_length': '100', 'blank': 'True'}),
150 'sstate_result': ('django.db.models.fields.IntegerField', [], {'default': '0'}),
151 'task_executed': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
152 'task_name': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
153 'work_directory': ('django.db.models.fields.FilePathField', [], {'max_length': '255', 'blank': 'True'})
154 },
155 u'orm.task_dependency': {
156 'Meta': {'object_name': 'Task_Dependency'},
157 'depends_on': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'task_dependencies_depends'", 'to': u"orm['orm.Task']"}),
158 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
159 'task': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'task_dependencies_task'", 'to': u"orm['orm.Task']"})
160 },
161 u'orm.variable': {
162 'Meta': {'object_name': 'Variable'},
163 'build': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'variable_build'", 'to': u"orm['orm.Build']"}),
164 'changed': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
165 'description': ('django.db.models.fields.TextField', [], {'blank': 'True'}),
166 'human_readable_name': ('django.db.models.fields.CharField', [], {'max_length': '200'}),
167 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
168 'variable_name': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
169 'variable_value': ('django.db.models.fields.TextField', [], {'blank': 'True'})
170 },
171 u'orm.variablehistory': {
172 'Meta': {'object_name': 'VariableHistory'},
173 'file_name': ('django.db.models.fields.FilePathField', [], {'max_length': '255'}),
174 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
175 'line_number': ('django.db.models.fields.IntegerField', [], {'null': 'True'}),
176 'operation': ('django.db.models.fields.CharField', [], {'max_length': '16'}),
177 'variable': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'vhistory'", 'to': u"orm['orm.Variable']"})
178 }
179 }
180
181 complete_apps = ['orm']
182 symmetrical = True
diff --git a/bitbake/lib/toaster/orm/migrations/0004_auto__add_field_package_installed_name.py b/bitbake/lib/toaster/orm/migrations/0004_auto__add_field_package_installed_name.py
deleted file mode 100644
index 134445b56b..0000000000
--- a/bitbake/lib/toaster/orm/migrations/0004_auto__add_field_package_installed_name.py
+++ /dev/null
@@ -1,181 +0,0 @@
1# -*- coding: utf-8 -*-
2from south.utils import datetime_utils as datetime
3from south.db import db
4from south.v2 import SchemaMigration
5from django.db import models
6
7
8class Migration(SchemaMigration):
9
10 def forwards(self, orm):
11 # Adding field 'Package.installed_name'
12 db.add_column(u'orm_package', 'installed_name',
13 self.gf('django.db.models.fields.CharField')(default='', max_length=100),
14 keep_default=False)
15
16
17 def backwards(self, orm):
18 # Deleting field 'Package.installed_name'
19 db.delete_column(u'orm_package', 'installed_name')
20
21
22 models = {
23 u'orm.build': {
24 'Meta': {'object_name': 'Build'},
25 'bitbake_version': ('django.db.models.fields.CharField', [], {'max_length': '50'}),
26 'build_name': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
27 'completed_on': ('django.db.models.fields.DateTimeField', [], {}),
28 'cooker_log_path': ('django.db.models.fields.CharField', [], {'max_length': '500'}),
29 'distro': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
30 'distro_version': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
31 'errors_no': ('django.db.models.fields.IntegerField', [], {'default': '0'}),
32 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
33 'image_fstypes': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
34 'machine': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
35 'outcome': ('django.db.models.fields.IntegerField', [], {'default': '2'}),
36 'started_on': ('django.db.models.fields.DateTimeField', [], {}),
37 'timespent': ('django.db.models.fields.IntegerField', [], {'default': '0'}),
38 'warnings_no': ('django.db.models.fields.IntegerField', [], {'default': '0'})
39 },
40 u'orm.layer': {
41 'Meta': {'object_name': 'Layer'},
42 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
43 'layer_index_url': ('django.db.models.fields.URLField', [], {'max_length': '200'}),
44 'local_path': ('django.db.models.fields.FilePathField', [], {'max_length': '255'}),
45 'name': ('django.db.models.fields.CharField', [], {'max_length': '100'})
46 },
47 u'orm.layer_version': {
48 'Meta': {'object_name': 'Layer_Version'},
49 'branch': ('django.db.models.fields.CharField', [], {'max_length': '50'}),
50 'build': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'layer_version_build'", 'to': u"orm['orm.Build']"}),
51 'commit': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
52 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
53 'layer': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'layer_version_layer'", 'to': u"orm['orm.Layer']"}),
54 'priority': ('django.db.models.fields.IntegerField', [], {})
55 },
56 u'orm.logmessage': {
57 'Meta': {'object_name': 'LogMessage'},
58 'build': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.Build']"}),
59 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
60 'level': ('django.db.models.fields.IntegerField', [], {'default': '0'}),
61 'lineno': ('django.db.models.fields.IntegerField', [], {'null': 'True'}),
62 'message': ('django.db.models.fields.CharField', [], {'max_length': '240'}),
63 'pathname': ('django.db.models.fields.FilePathField', [], {'max_length': '255', 'blank': 'True'})
64 },
65 u'orm.package': {
66 'Meta': {'object_name': 'Package'},
67 'build': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.Build']"}),
68 'description': ('django.db.models.fields.CharField', [], {'max_length': '200', 'blank': 'True'}),
69 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
70 'installed_name': ('django.db.models.fields.CharField', [], {'default': "''", 'max_length': '100'}),
71 'installed_size': ('django.db.models.fields.IntegerField', [], {'default': '0'}),
72 'license': ('django.db.models.fields.CharField', [], {'max_length': '80', 'blank': 'True'}),
73 'name': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
74 'recipe': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.Recipe']", 'null': 'True'}),
75 'revision': ('django.db.models.fields.CharField', [], {'max_length': '32', 'blank': 'True'}),
76 'section': ('django.db.models.fields.CharField', [], {'max_length': '80', 'blank': 'True'}),
77 'size': ('django.db.models.fields.IntegerField', [], {'default': '0'}),
78 'summary': ('django.db.models.fields.CharField', [], {'max_length': '200', 'blank': 'True'}),
79 'version': ('django.db.models.fields.CharField', [], {'max_length': '100', 'blank': 'True'})
80 },
81 u'orm.package_dependency': {
82 'Meta': {'object_name': 'Package_Dependency'},
83 'dep_type': ('django.db.models.fields.IntegerField', [], {}),
84 'depends_on': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'package_dependencies_target'", 'to': u"orm['orm.Package']"}),
85 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
86 'package': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'package_dependencies_source'", 'to': u"orm['orm.Package']"}),
87 'target': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.Target']", 'null': 'True'})
88 },
89 u'orm.package_file': {
90 'Meta': {'object_name': 'Package_File'},
91 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
92 'package': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'buildfilelist_package'", 'to': u"orm['orm.Package']"}),
93 'path': ('django.db.models.fields.FilePathField', [], {'max_length': '255', 'blank': 'True'}),
94 'size': ('django.db.models.fields.IntegerField', [], {})
95 },
96 u'orm.recipe': {
97 'Meta': {'object_name': 'Recipe'},
98 'bugtracker': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}),
99 'description': ('django.db.models.fields.CharField', [], {'max_length': '100', 'blank': 'True'}),
100 'file_path': ('django.db.models.fields.FilePathField', [], {'max_length': '255'}),
101 'homepage': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}),
102 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
103 'layer_version': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'recipe_layer_version'", 'to': u"orm['orm.Layer_Version']"}),
104 'license': ('django.db.models.fields.CharField', [], {'max_length': '200', 'blank': 'True'}),
105 'licensing_info': ('django.db.models.fields.TextField', [], {'blank': 'True'}),
106 'name': ('django.db.models.fields.CharField', [], {'max_length': '100', 'blank': 'True'}),
107 'section': ('django.db.models.fields.CharField', [], {'max_length': '100', 'blank': 'True'}),
108 'summary': ('django.db.models.fields.CharField', [], {'max_length': '100', 'blank': 'True'}),
109 'version': ('django.db.models.fields.CharField', [], {'max_length': '100', 'blank': 'True'})
110 },
111 u'orm.recipe_dependency': {
112 'Meta': {'object_name': 'Recipe_Dependency'},
113 'dep_type': ('django.db.models.fields.IntegerField', [], {}),
114 'depends_on': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'r_dependencies_depends'", 'to': u"orm['orm.Recipe']"}),
115 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
116 'recipe': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'r_dependencies_recipe'", 'to': u"orm['orm.Recipe']"})
117 },
118 u'orm.target': {
119 'Meta': {'object_name': 'Target'},
120 'build': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.Build']"}),
121 'file_name': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
122 'file_size': ('django.db.models.fields.IntegerField', [], {}),
123 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
124 'is_image': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
125 'target': ('django.db.models.fields.CharField', [], {'max_length': '100'})
126 },
127 u'orm.target_installed_package': {
128 'Meta': {'object_name': 'Target_Installed_Package'},
129 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
130 'package': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.Package']"}),
131 'target': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.Target']"})
132 },
133 u'orm.task': {
134 'Meta': {'ordering': "('order', 'recipe')", 'object_name': 'Task'},
135 'build': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'task_build'", 'to': u"orm['orm.Build']"}),
136 'cpu_usage': ('django.db.models.fields.DecimalField', [], {'null': 'True', 'max_digits': '6', 'decimal_places': '2'}),
137 'disk_io': ('django.db.models.fields.IntegerField', [], {'null': 'True'}),
138 'elapsed_time': ('django.db.models.fields.CharField', [], {'default': '0', 'max_length': '50'}),
139 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
140 'line_number': ('django.db.models.fields.IntegerField', [], {'default': '0'}),
141 'logfile': ('django.db.models.fields.FilePathField', [], {'max_length': '255', 'blank': 'True'}),
142 'message': ('django.db.models.fields.CharField', [], {'max_length': '240'}),
143 'order': ('django.db.models.fields.IntegerField', [], {'null': 'True'}),
144 'outcome': ('django.db.models.fields.IntegerField', [], {'default': '5'}),
145 'path_to_sstate_obj': ('django.db.models.fields.FilePathField', [], {'max_length': '500', 'blank': 'True'}),
146 'recipe': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'build_recipe'", 'to': u"orm['orm.Recipe']"}),
147 'script_type': ('django.db.models.fields.IntegerField', [], {'default': '0'}),
148 'source_url': ('django.db.models.fields.FilePathField', [], {'max_length': '255', 'blank': 'True'}),
149 'sstate_checksum': ('django.db.models.fields.CharField', [], {'max_length': '100', 'blank': 'True'}),
150 'sstate_result': ('django.db.models.fields.IntegerField', [], {'default': '0'}),
151 'task_executed': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
152 'task_name': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
153 'work_directory': ('django.db.models.fields.FilePathField', [], {'max_length': '255', 'blank': 'True'})
154 },
155 u'orm.task_dependency': {
156 'Meta': {'object_name': 'Task_Dependency'},
157 'depends_on': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'task_dependencies_depends'", 'to': u"orm['orm.Task']"}),
158 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
159 'task': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'task_dependencies_task'", 'to': u"orm['orm.Task']"})
160 },
161 u'orm.variable': {
162 'Meta': {'object_name': 'Variable'},
163 'build': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'variable_build'", 'to': u"orm['orm.Build']"}),
164 'changed': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
165 'description': ('django.db.models.fields.TextField', [], {'blank': 'True'}),
166 'human_readable_name': ('django.db.models.fields.CharField', [], {'max_length': '200'}),
167 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
168 'variable_name': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
169 'variable_value': ('django.db.models.fields.TextField', [], {'blank': 'True'})
170 },
171 u'orm.variablehistory': {
172 'Meta': {'object_name': 'VariableHistory'},
173 'file_name': ('django.db.models.fields.FilePathField', [], {'max_length': '255'}),
174 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
175 'line_number': ('django.db.models.fields.IntegerField', [], {'null': 'True'}),
176 'operation': ('django.db.models.fields.CharField', [], {'max_length': '16'}),
177 'variable': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'vhistory'", 'to': u"orm['orm.Variable']"})
178 }
179 }
180
181 complete_apps = ['orm']
diff --git a/bitbake/lib/toaster/orm/migrations/0005_auto__add_target_image_file__add_target_file__add_field_variablehistor.py b/bitbake/lib/toaster/orm/migrations/0005_auto__add_target_image_file__add_target_file__add_field_variablehistor.py
deleted file mode 100644
index 7be7ac3bec..0000000000
--- a/bitbake/lib/toaster/orm/migrations/0005_auto__add_target_image_file__add_target_file__add_field_variablehistor.py
+++ /dev/null
@@ -1,281 +0,0 @@
1# -*- coding: utf-8 -*-
2from south.utils import datetime_utils as datetime
3from south.db import db
4from south.v2 import SchemaMigration
5from django.db import models
6
7
8class Migration(SchemaMigration):
9
10 def forwards(self, orm):
11 # Adding model 'Target_File'
12 db.create_table(u'orm_target_file', (
13 (u'id', self.gf('django.db.models.fields.AutoField')(primary_key=True)),
14 ('target', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['orm.Target'])),
15 ('path', self.gf('django.db.models.fields.FilePathField')(max_length=100)),
16 ('size', self.gf('django.db.models.fields.IntegerField')()),
17 ('inodetype', self.gf('django.db.models.fields.IntegerField')()),
18 ('permission', self.gf('django.db.models.fields.IntegerField')()),
19 ('owner', self.gf('django.db.models.fields.CharField')(max_length=128)),
20 ('group', self.gf('django.db.models.fields.CharField')(max_length=128)),
21 ('directory', self.gf('django.db.models.fields.related.ForeignKey')(related_name='directory_set', to=orm['orm.Target_File'])),
22 ('sym_target', self.gf('django.db.models.fields.related.ForeignKey')(related_name='symlink_set', blank=True, to=orm['orm.Target_File'])),
23 ))
24 db.send_create_signal(u'orm', ['Target_File'])
25
26 # Adding model 'Target_Image_File'
27 db.create_table(u'orm_target_image_file', (
28 (u'id', self.gf('django.db.models.fields.AutoField')(primary_key=True)),
29 ('target', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['orm.Target'])),
30 ('file_name', self.gf('django.db.models.fields.FilePathField')(max_length=100)),
31 ('file_size', self.gf('django.db.models.fields.IntegerField')()),
32 ))
33 db.send_create_signal(u'orm', ['Target_Image_File'])
34
35 # Adding field 'VariableHistory.value'
36 db.add_column(u'orm_variablehistory', 'value',
37 self.gf('django.db.models.fields.TextField')(default='', blank=True),
38 keep_default=False)
39
40 # Deleting field 'Recipe.licensing_info'
41 db.delete_column(u'orm_recipe', 'licensing_info')
42
43 # Deleting field 'Target.file_name'
44 db.delete_column(u'orm_target', 'file_name')
45
46 # Deleting field 'Target.file_size'
47 db.delete_column(u'orm_target', 'file_size')
48
49 # Deleting field 'Build.image_fstypes'
50 db.delete_column(u'orm_build', 'image_fstypes')
51
52 # Adding field 'LogMessage.task'
53 db.add_column(u'orm_logmessage', 'task',
54 self.gf('django.db.models.fields.related.ForeignKey')(to=orm['orm.Task'], null=True, blank=True),
55 keep_default=False)
56
57
58 # Changing field 'Task.elapsed_time'
59 db.alter_column(u'orm_task', 'elapsed_time', self.gf('django.db.models.fields.DecimalField')(null=True, max_digits=6, decimal_places=2))
60 # Adding unique constraint on 'Task', fields ['build', 'recipe', 'task_name']
61 db.create_unique(u'orm_task', ['build_id', 'recipe_id', 'task_name'])
62
63
64 def backwards(self, orm):
65 # Removing unique constraint on 'Task', fields ['build', 'recipe', 'task_name']
66 db.delete_unique(u'orm_task', ['build_id', 'recipe_id', 'task_name'])
67
68 # Deleting model 'Target_File'
69 db.delete_table(u'orm_target_file')
70
71 # Deleting model 'Target_Image_File'
72 db.delete_table(u'orm_target_image_file')
73
74 # Deleting field 'VariableHistory.value'
75 db.delete_column(u'orm_variablehistory', 'value')
76
77 # Adding field 'Recipe.licensing_info'
78 db.add_column(u'orm_recipe', 'licensing_info',
79 self.gf('django.db.models.fields.TextField')(default='', blank=True),
80 keep_default=False)
81
82 # Adding field 'Target.file_name'
83 db.add_column(u'orm_target', 'file_name',
84 self.gf('django.db.models.fields.CharField')(default='', max_length=100),
85 keep_default=False)
86
87 # Adding field 'Target.file_size'
88 db.add_column(u'orm_target', 'file_size',
89 self.gf('django.db.models.fields.IntegerField')(default=0),
90 keep_default=False)
91
92 # Adding field 'Build.image_fstypes'
93 db.add_column(u'orm_build', 'image_fstypes',
94 self.gf('django.db.models.fields.CharField')(default='', max_length=100),
95 keep_default=False)
96
97 # Deleting field 'LogMessage.task'
98 db.delete_column(u'orm_logmessage', 'task_id')
99
100
101 # Changing field 'Task.elapsed_time'
102 db.alter_column(u'orm_task', 'elapsed_time', self.gf('django.db.models.fields.CharField')(max_length=50))
103
104 models = {
105 u'orm.build': {
106 'Meta': {'object_name': 'Build'},
107 'bitbake_version': ('django.db.models.fields.CharField', [], {'max_length': '50'}),
108 'build_name': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
109 'completed_on': ('django.db.models.fields.DateTimeField', [], {}),
110 'cooker_log_path': ('django.db.models.fields.CharField', [], {'max_length': '500'}),
111 'distro': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
112 'distro_version': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
113 'errors_no': ('django.db.models.fields.IntegerField', [], {'default': '0'}),
114 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
115 'machine': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
116 'outcome': ('django.db.models.fields.IntegerField', [], {'default': '2'}),
117 'started_on': ('django.db.models.fields.DateTimeField', [], {}),
118 'timespent': ('django.db.models.fields.IntegerField', [], {'default': '0'}),
119 'warnings_no': ('django.db.models.fields.IntegerField', [], {'default': '0'})
120 },
121 u'orm.layer': {
122 'Meta': {'object_name': 'Layer'},
123 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
124 'layer_index_url': ('django.db.models.fields.URLField', [], {'max_length': '200'}),
125 'local_path': ('django.db.models.fields.FilePathField', [], {'max_length': '255'}),
126 'name': ('django.db.models.fields.CharField', [], {'max_length': '100'})
127 },
128 u'orm.layer_version': {
129 'Meta': {'object_name': 'Layer_Version'},
130 'branch': ('django.db.models.fields.CharField', [], {'max_length': '50'}),
131 'build': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'layer_version_build'", 'to': u"orm['orm.Build']"}),
132 'commit': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
133 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
134 'layer': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'layer_version_layer'", 'to': u"orm['orm.Layer']"}),
135 'priority': ('django.db.models.fields.IntegerField', [], {})
136 },
137 u'orm.logmessage': {
138 'Meta': {'object_name': 'LogMessage'},
139 'build': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.Build']"}),
140 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
141 'level': ('django.db.models.fields.IntegerField', [], {'default': '0'}),
142 'lineno': ('django.db.models.fields.IntegerField', [], {'null': 'True'}),
143 'message': ('django.db.models.fields.CharField', [], {'max_length': '240'}),
144 'pathname': ('django.db.models.fields.FilePathField', [], {'max_length': '255', 'blank': 'True'}),
145 'task': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.Task']", 'null': 'True', 'blank': 'True'})
146 },
147 u'orm.package': {
148 'Meta': {'object_name': 'Package'},
149 'build': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.Build']"}),
150 'description': ('django.db.models.fields.CharField', [], {'max_length': '200', 'blank': 'True'}),
151 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
152 'installed_name': ('django.db.models.fields.CharField', [], {'default': "''", 'max_length': '100'}),
153 'installed_size': ('django.db.models.fields.IntegerField', [], {'default': '0'}),
154 'license': ('django.db.models.fields.CharField', [], {'max_length': '80', 'blank': 'True'}),
155 'name': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
156 'recipe': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.Recipe']", 'null': 'True'}),
157 'revision': ('django.db.models.fields.CharField', [], {'max_length': '32', 'blank': 'True'}),
158 'section': ('django.db.models.fields.CharField', [], {'max_length': '80', 'blank': 'True'}),
159 'size': ('django.db.models.fields.IntegerField', [], {'default': '0'}),
160 'summary': ('django.db.models.fields.CharField', [], {'max_length': '200', 'blank': 'True'}),
161 'version': ('django.db.models.fields.CharField', [], {'max_length': '100', 'blank': 'True'})
162 },
163 u'orm.package_dependency': {
164 'Meta': {'object_name': 'Package_Dependency'},
165 'dep_type': ('django.db.models.fields.IntegerField', [], {}),
166 'depends_on': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'package_dependencies_target'", 'to': u"orm['orm.Package']"}),
167 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
168 'package': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'package_dependencies_source'", 'to': u"orm['orm.Package']"}),
169 'target': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.Target']", 'null': 'True'})
170 },
171 u'orm.package_file': {
172 'Meta': {'object_name': 'Package_File'},
173 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
174 'package': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'buildfilelist_package'", 'to': u"orm['orm.Package']"}),
175 'path': ('django.db.models.fields.FilePathField', [], {'max_length': '255', 'blank': 'True'}),
176 'size': ('django.db.models.fields.IntegerField', [], {})
177 },
178 u'orm.recipe': {
179 'Meta': {'object_name': 'Recipe'},
180 'bugtracker': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}),
181 'description': ('django.db.models.fields.CharField', [], {'max_length': '100', 'blank': 'True'}),
182 'file_path': ('django.db.models.fields.FilePathField', [], {'max_length': '255'}),
183 'homepage': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}),
184 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
185 'layer_version': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'recipe_layer_version'", 'to': u"orm['orm.Layer_Version']"}),
186 'license': ('django.db.models.fields.CharField', [], {'max_length': '200', 'blank': 'True'}),
187 'name': ('django.db.models.fields.CharField', [], {'max_length': '100', 'blank': 'True'}),
188 'section': ('django.db.models.fields.CharField', [], {'max_length': '100', 'blank': 'True'}),
189 'summary': ('django.db.models.fields.CharField', [], {'max_length': '100', 'blank': 'True'}),
190 'version': ('django.db.models.fields.CharField', [], {'max_length': '100', 'blank': 'True'})
191 },
192 u'orm.recipe_dependency': {
193 'Meta': {'object_name': 'Recipe_Dependency'},
194 'dep_type': ('django.db.models.fields.IntegerField', [], {}),
195 'depends_on': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'r_dependencies_depends'", 'to': u"orm['orm.Recipe']"}),
196 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
197 'recipe': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'r_dependencies_recipe'", 'to': u"orm['orm.Recipe']"})
198 },
199 u'orm.target': {
200 'Meta': {'object_name': 'Target'},
201 'build': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.Build']"}),
202 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
203 'is_image': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
204 'target': ('django.db.models.fields.CharField', [], {'max_length': '100'})
205 },
206 u'orm.target_file': {
207 'Meta': {'object_name': 'Target_File'},
208 'directory': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'directory_set'", 'to': u"orm['orm.Target_File']"}),
209 'group': ('django.db.models.fields.CharField', [], {'max_length': '128'}),
210 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
211 'inodetype': ('django.db.models.fields.IntegerField', [], {}),
212 'owner': ('django.db.models.fields.CharField', [], {'max_length': '128'}),
213 'path': ('django.db.models.fields.FilePathField', [], {'max_length': '100'}),
214 'permission': ('django.db.models.fields.IntegerField', [], {}),
215 'size': ('django.db.models.fields.IntegerField', [], {}),
216 'sym_target': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'symlink_set'", 'blank': 'True', 'to': u"orm['orm.Target_File']"}),
217 'target': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.Target']"})
218 },
219 u'orm.target_image_file': {
220 'Meta': {'object_name': 'Target_Image_File'},
221 'file_name': ('django.db.models.fields.FilePathField', [], {'max_length': '100'}),
222 'file_size': ('django.db.models.fields.IntegerField', [], {}),
223 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
224 'target': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.Target']"})
225 },
226 u'orm.target_installed_package': {
227 'Meta': {'object_name': 'Target_Installed_Package'},
228 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
229 'package': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'buildtargetlist_package'", 'to': u"orm['orm.Package']"}),
230 'target': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.Target']"})
231 },
232 u'orm.task': {
233 'Meta': {'ordering': "('order', 'recipe')", 'unique_together': "(('build', 'recipe', 'task_name'),)", 'object_name': 'Task'},
234 'build': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'task_build'", 'to': u"orm['orm.Build']"}),
235 'cpu_usage': ('django.db.models.fields.DecimalField', [], {'null': 'True', 'max_digits': '6', 'decimal_places': '2'}),
236 'disk_io': ('django.db.models.fields.IntegerField', [], {'null': 'True'}),
237 'elapsed_time': ('django.db.models.fields.DecimalField', [], {'null': 'True', 'max_digits': '6', 'decimal_places': '2'}),
238 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
239 'line_number': ('django.db.models.fields.IntegerField', [], {'default': '0'}),
240 'logfile': ('django.db.models.fields.FilePathField', [], {'max_length': '255', 'blank': 'True'}),
241 'message': ('django.db.models.fields.CharField', [], {'max_length': '240'}),
242 'order': ('django.db.models.fields.IntegerField', [], {'null': 'True'}),
243 'outcome': ('django.db.models.fields.IntegerField', [], {'default': '-1'}),
244 'path_to_sstate_obj': ('django.db.models.fields.FilePathField', [], {'max_length': '500', 'blank': 'True'}),
245 'recipe': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'build_recipe'", 'to': u"orm['orm.Recipe']"}),
246 'script_type': ('django.db.models.fields.IntegerField', [], {'default': '0'}),
247 'source_url': ('django.db.models.fields.FilePathField', [], {'max_length': '255', 'blank': 'True'}),
248 'sstate_checksum': ('django.db.models.fields.CharField', [], {'max_length': '100', 'blank': 'True'}),
249 'sstate_result': ('django.db.models.fields.IntegerField', [], {'default': '0'}),
250 'task_executed': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
251 'task_name': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
252 'work_directory': ('django.db.models.fields.FilePathField', [], {'max_length': '255', 'blank': 'True'})
253 },
254 u'orm.task_dependency': {
255 'Meta': {'object_name': 'Task_Dependency'},
256 'depends_on': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'task_dependencies_depends'", 'to': u"orm['orm.Task']"}),
257 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
258 'task': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'task_dependencies_task'", 'to': u"orm['orm.Task']"})
259 },
260 u'orm.variable': {
261 'Meta': {'object_name': 'Variable'},
262 'build': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'variable_build'", 'to': u"orm['orm.Build']"}),
263 'changed': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
264 'description': ('django.db.models.fields.TextField', [], {'blank': 'True'}),
265 'human_readable_name': ('django.db.models.fields.CharField', [], {'max_length': '200'}),
266 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
267 'variable_name': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
268 'variable_value': ('django.db.models.fields.TextField', [], {'blank': 'True'})
269 },
270 u'orm.variablehistory': {
271 'Meta': {'object_name': 'VariableHistory'},
272 'file_name': ('django.db.models.fields.FilePathField', [], {'max_length': '255'}),
273 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
274 'line_number': ('django.db.models.fields.IntegerField', [], {'null': 'True'}),
275 'operation': ('django.db.models.fields.CharField', [], {'max_length': '16'}),
276 'value': ('django.db.models.fields.TextField', [], {'blank': 'True'}),
277 'variable': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'vhistory'", 'to': u"orm['orm.Variable']"})
278 }
279 }
280
281 complete_apps = ['orm']
diff --git a/bitbake/lib/toaster/orm/migrations/0006_auto__add_field_target_image_size__add_field_target_license_manifest_p.py b/bitbake/lib/toaster/orm/migrations/0006_auto__add_field_target_image_size__add_field_target_license_manifest_p.py
deleted file mode 100644
index b2be30a4a9..0000000000
--- a/bitbake/lib/toaster/orm/migrations/0006_auto__add_field_target_image_size__add_field_target_license_manifest_p.py
+++ /dev/null
@@ -1,235 +0,0 @@
1# -*- coding: utf-8 -*-
2from south.utils import datetime_utils as datetime
3from south.db import db
4from south.v2 import SchemaMigration
5from django.db import models
6
7
8class Migration(SchemaMigration):
9
10 def forwards(self, orm):
11 # Adding field 'Target.image_size'
12 db.add_column(u'orm_target', 'image_size',
13 self.gf('django.db.models.fields.IntegerField')(default=0),
14 keep_default=False)
15
16 # Adding field 'Target.license_manifest_path'
17 db.add_column(u'orm_target', 'license_manifest_path',
18 self.gf('django.db.models.fields.CharField')(max_length=500, null=True),
19 keep_default=False)
20
21
22 # Changing field 'Target_File.permission'
23 db.alter_column(u'orm_target_file', 'permission', self.gf('django.db.models.fields.CharField')(max_length=16))
24
25 # Changing field 'Target_File.sym_target'
26 db.alter_column(u'orm_target_file', 'sym_target_id', self.gf('django.db.models.fields.related.ForeignKey')(null=True, to=orm['orm.Target_File']))
27
28 # Changing field 'Target_File.directory'
29 db.alter_column(u'orm_target_file', 'directory_id', self.gf('django.db.models.fields.related.ForeignKey')(null=True, to=orm['orm.Target_File']))
30
31 def backwards(self, orm):
32 # Deleting field 'Target.image_size'
33 db.delete_column(u'orm_target', 'image_size')
34
35 # Deleting field 'Target.license_manifest_path'
36 db.delete_column(u'orm_target', 'license_manifest_path')
37
38
39 # Changing field 'Target_File.permission'
40 db.alter_column(u'orm_target_file', 'permission', self.gf('django.db.models.fields.IntegerField')())
41
42 # User chose to not deal with backwards NULL issues for 'Target_File.sym_target'
43 raise RuntimeError("Cannot reverse this migration. 'Target_File.sym_target' and its values cannot be restored.")
44
45 # The following code is provided here to aid in writing a correct migration
46 # Changing field 'Target_File.sym_target'
47 db.alter_column(u'orm_target_file', 'sym_target_id', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['orm.Target_File']))
48
49 # User chose to not deal with backwards NULL issues for 'Target_File.directory'
50 raise RuntimeError("Cannot reverse this migration. 'Target_File.directory' and its values cannot be restored.")
51
52 # The following code is provided here to aid in writing a correct migration
53 # Changing field 'Target_File.directory'
54 db.alter_column(u'orm_target_file', 'directory_id', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['orm.Target_File']))
55
56 models = {
57 u'orm.build': {
58 'Meta': {'object_name': 'Build'},
59 'bitbake_version': ('django.db.models.fields.CharField', [], {'max_length': '50'}),
60 'build_name': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
61 'completed_on': ('django.db.models.fields.DateTimeField', [], {}),
62 'cooker_log_path': ('django.db.models.fields.CharField', [], {'max_length': '500'}),
63 'distro': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
64 'distro_version': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
65 'errors_no': ('django.db.models.fields.IntegerField', [], {'default': '0'}),
66 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
67 'machine': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
68 'outcome': ('django.db.models.fields.IntegerField', [], {'default': '2'}),
69 'started_on': ('django.db.models.fields.DateTimeField', [], {}),
70 'timespent': ('django.db.models.fields.IntegerField', [], {'default': '0'}),
71 'warnings_no': ('django.db.models.fields.IntegerField', [], {'default': '0'})
72 },
73 u'orm.layer': {
74 'Meta': {'object_name': 'Layer'},
75 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
76 'layer_index_url': ('django.db.models.fields.URLField', [], {'max_length': '200'}),
77 'local_path': ('django.db.models.fields.FilePathField', [], {'max_length': '255'}),
78 'name': ('django.db.models.fields.CharField', [], {'max_length': '100'})
79 },
80 u'orm.layer_version': {
81 'Meta': {'object_name': 'Layer_Version'},
82 'branch': ('django.db.models.fields.CharField', [], {'max_length': '50'}),
83 'build': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'layer_version_build'", 'to': u"orm['orm.Build']"}),
84 'commit': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
85 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
86 'layer': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'layer_version_layer'", 'to': u"orm['orm.Layer']"}),
87 'priority': ('django.db.models.fields.IntegerField', [], {})
88 },
89 u'orm.logmessage': {
90 'Meta': {'object_name': 'LogMessage'},
91 'build': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.Build']"}),
92 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
93 'level': ('django.db.models.fields.IntegerField', [], {'default': '0'}),
94 'lineno': ('django.db.models.fields.IntegerField', [], {'null': 'True'}),
95 'message': ('django.db.models.fields.CharField', [], {'max_length': '240'}),
96 'pathname': ('django.db.models.fields.FilePathField', [], {'max_length': '255', 'blank': 'True'}),
97 'task': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.Task']", 'null': 'True', 'blank': 'True'})
98 },
99 u'orm.package': {
100 'Meta': {'object_name': 'Package'},
101 'build': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.Build']"}),
102 'description': ('django.db.models.fields.CharField', [], {'max_length': '200', 'blank': 'True'}),
103 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
104 'installed_name': ('django.db.models.fields.CharField', [], {'default': "''", 'max_length': '100'}),
105 'installed_size': ('django.db.models.fields.IntegerField', [], {'default': '0'}),
106 'license': ('django.db.models.fields.CharField', [], {'max_length': '80', 'blank': 'True'}),
107 'name': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
108 'recipe': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.Recipe']", 'null': 'True'}),
109 'revision': ('django.db.models.fields.CharField', [], {'max_length': '32', 'blank': 'True'}),
110 'section': ('django.db.models.fields.CharField', [], {'max_length': '80', 'blank': 'True'}),
111 'size': ('django.db.models.fields.IntegerField', [], {'default': '0'}),
112 'summary': ('django.db.models.fields.CharField', [], {'max_length': '200', 'blank': 'True'}),
113 'version': ('django.db.models.fields.CharField', [], {'max_length': '100', 'blank': 'True'})
114 },
115 u'orm.package_dependency': {
116 'Meta': {'object_name': 'Package_Dependency'},
117 'dep_type': ('django.db.models.fields.IntegerField', [], {}),
118 'depends_on': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'package_dependencies_target'", 'to': u"orm['orm.Package']"}),
119 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
120 'package': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'package_dependencies_source'", 'to': u"orm['orm.Package']"}),
121 'target': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.Target']", 'null': 'True'})
122 },
123 u'orm.package_file': {
124 'Meta': {'object_name': 'Package_File'},
125 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
126 'package': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'buildfilelist_package'", 'to': u"orm['orm.Package']"}),
127 'path': ('django.db.models.fields.FilePathField', [], {'max_length': '255', 'blank': 'True'}),
128 'size': ('django.db.models.fields.IntegerField', [], {})
129 },
130 u'orm.recipe': {
131 'Meta': {'object_name': 'Recipe'},
132 'bugtracker': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}),
133 'description': ('django.db.models.fields.CharField', [], {'max_length': '100', 'blank': 'True'}),
134 'file_path': ('django.db.models.fields.FilePathField', [], {'max_length': '255'}),
135 'homepage': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}),
136 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
137 'layer_version': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'recipe_layer_version'", 'to': u"orm['orm.Layer_Version']"}),
138 'license': ('django.db.models.fields.CharField', [], {'max_length': '200', 'blank': 'True'}),
139 'name': ('django.db.models.fields.CharField', [], {'max_length': '100', 'blank': 'True'}),
140 'section': ('django.db.models.fields.CharField', [], {'max_length': '100', 'blank': 'True'}),
141 'summary': ('django.db.models.fields.CharField', [], {'max_length': '100', 'blank': 'True'}),
142 'version': ('django.db.models.fields.CharField', [], {'max_length': '100', 'blank': 'True'})
143 },
144 u'orm.recipe_dependency': {
145 'Meta': {'object_name': 'Recipe_Dependency'},
146 'dep_type': ('django.db.models.fields.IntegerField', [], {}),
147 'depends_on': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'r_dependencies_depends'", 'to': u"orm['orm.Recipe']"}),
148 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
149 'recipe': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'r_dependencies_recipe'", 'to': u"orm['orm.Recipe']"})
150 },
151 u'orm.target': {
152 'Meta': {'object_name': 'Target'},
153 'build': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.Build']"}),
154 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
155 'image_size': ('django.db.models.fields.IntegerField', [], {'default': '0'}),
156 'is_image': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
157 'license_manifest_path': ('django.db.models.fields.CharField', [], {'max_length': '500', 'null': 'True'}),
158 'target': ('django.db.models.fields.CharField', [], {'max_length': '100'})
159 },
160 u'orm.target_file': {
161 'Meta': {'object_name': 'Target_File'},
162 'directory': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'directory_set'", 'null': 'True', 'to': u"orm['orm.Target_File']"}),
163 'group': ('django.db.models.fields.CharField', [], {'max_length': '128'}),
164 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
165 'inodetype': ('django.db.models.fields.IntegerField', [], {}),
166 'owner': ('django.db.models.fields.CharField', [], {'max_length': '128'}),
167 'path': ('django.db.models.fields.FilePathField', [], {'max_length': '100'}),
168 'permission': ('django.db.models.fields.CharField', [], {'max_length': '16'}),
169 'size': ('django.db.models.fields.IntegerField', [], {}),
170 'sym_target': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'symlink_set'", 'null': 'True', 'to': u"orm['orm.Target_File']"}),
171 'target': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.Target']"})
172 },
173 u'orm.target_image_file': {
174 'Meta': {'object_name': 'Target_Image_File'},
175 'file_name': ('django.db.models.fields.FilePathField', [], {'max_length': '100'}),
176 'file_size': ('django.db.models.fields.IntegerField', [], {}),
177 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
178 'target': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.Target']"})
179 },
180 u'orm.target_installed_package': {
181 'Meta': {'object_name': 'Target_Installed_Package'},
182 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
183 'package': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'buildtargetlist_package'", 'to': u"orm['orm.Package']"}),
184 'target': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.Target']"})
185 },
186 u'orm.task': {
187 'Meta': {'ordering': "('order', 'recipe')", 'unique_together': "(('build', 'recipe', 'task_name'),)", 'object_name': 'Task'},
188 'build': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'task_build'", 'to': u"orm['orm.Build']"}),
189 'cpu_usage': ('django.db.models.fields.DecimalField', [], {'null': 'True', 'max_digits': '6', 'decimal_places': '2'}),
190 'disk_io': ('django.db.models.fields.IntegerField', [], {'null': 'True'}),
191 'elapsed_time': ('django.db.models.fields.DecimalField', [], {'null': 'True', 'max_digits': '6', 'decimal_places': '2'}),
192 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
193 'line_number': ('django.db.models.fields.IntegerField', [], {'default': '0'}),
194 'logfile': ('django.db.models.fields.FilePathField', [], {'max_length': '255', 'blank': 'True'}),
195 'message': ('django.db.models.fields.CharField', [], {'max_length': '240'}),
196 'order': ('django.db.models.fields.IntegerField', [], {'null': 'True'}),
197 'outcome': ('django.db.models.fields.IntegerField', [], {'default': '-1'}),
198 'path_to_sstate_obj': ('django.db.models.fields.FilePathField', [], {'max_length': '500', 'blank': 'True'}),
199 'recipe': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'build_recipe'", 'to': u"orm['orm.Recipe']"}),
200 'script_type': ('django.db.models.fields.IntegerField', [], {'default': '0'}),
201 'source_url': ('django.db.models.fields.FilePathField', [], {'max_length': '255', 'blank': 'True'}),
202 'sstate_checksum': ('django.db.models.fields.CharField', [], {'max_length': '100', 'blank': 'True'}),
203 'sstate_result': ('django.db.models.fields.IntegerField', [], {'default': '0'}),
204 'task_executed': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
205 'task_name': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
206 'work_directory': ('django.db.models.fields.FilePathField', [], {'max_length': '255', 'blank': 'True'})
207 },
208 u'orm.task_dependency': {
209 'Meta': {'object_name': 'Task_Dependency'},
210 'depends_on': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'task_dependencies_depends'", 'to': u"orm['orm.Task']"}),
211 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
212 'task': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'task_dependencies_task'", 'to': u"orm['orm.Task']"})
213 },
214 u'orm.variable': {
215 'Meta': {'object_name': 'Variable'},
216 'build': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'variable_build'", 'to': u"orm['orm.Build']"}),
217 'changed': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
218 'description': ('django.db.models.fields.TextField', [], {'blank': 'True'}),
219 'human_readable_name': ('django.db.models.fields.CharField', [], {'max_length': '200'}),
220 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
221 'variable_name': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
222 'variable_value': ('django.db.models.fields.TextField', [], {'blank': 'True'})
223 },
224 u'orm.variablehistory': {
225 'Meta': {'object_name': 'VariableHistory'},
226 'file_name': ('django.db.models.fields.FilePathField', [], {'max_length': '255'}),
227 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
228 'line_number': ('django.db.models.fields.IntegerField', [], {'null': 'True'}),
229 'operation': ('django.db.models.fields.CharField', [], {'max_length': '16'}),
230 'value': ('django.db.models.fields.TextField', [], {'blank': 'True'}),
231 'variable': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'vhistory'", 'to': u"orm['orm.Variable']"})
232 }
233 }
234
235 complete_apps = ['orm']
diff --git a/bitbake/lib/toaster/orm/migrations/0007_auto__add_helptext.py b/bitbake/lib/toaster/orm/migrations/0007_auto__add_helptext.py
deleted file mode 100644
index 1e4c5369dc..0000000000
--- a/bitbake/lib/toaster/orm/migrations/0007_auto__add_helptext.py
+++ /dev/null
@@ -1,214 +0,0 @@
1# -*- coding: utf-8 -*-
2from south.utils import datetime_utils as datetime
3from south.db import db
4from south.v2 import SchemaMigration
5from django.db import models
6
7
8class Migration(SchemaMigration):
9
10 def forwards(self, orm):
11 # Adding model 'HelpText'
12 db.create_table(u'orm_helptext', (
13 (u'id', self.gf('django.db.models.fields.AutoField')(primary_key=True)),
14 ('build', self.gf('django.db.models.fields.related.ForeignKey')(related_name='helptext_build', to=orm['orm.Build'])),
15 ('area', self.gf('django.db.models.fields.IntegerField')()),
16 ('key', self.gf('django.db.models.fields.CharField')(max_length=100)),
17 ('text', self.gf('django.db.models.fields.TextField')()),
18 ))
19 db.send_create_signal(u'orm', ['HelpText'])
20
21
22 def backwards(self, orm):
23 # Deleting model 'HelpText'
24 db.delete_table(u'orm_helptext')
25
26
27 models = {
28 u'orm.build': {
29 'Meta': {'object_name': 'Build'},
30 'bitbake_version': ('django.db.models.fields.CharField', [], {'max_length': '50'}),
31 'build_name': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
32 'completed_on': ('django.db.models.fields.DateTimeField', [], {}),
33 'cooker_log_path': ('django.db.models.fields.CharField', [], {'max_length': '500'}),
34 'distro': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
35 'distro_version': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
36 'errors_no': ('django.db.models.fields.IntegerField', [], {'default': '0'}),
37 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
38 'machine': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
39 'outcome': ('django.db.models.fields.IntegerField', [], {'default': '2'}),
40 'started_on': ('django.db.models.fields.DateTimeField', [], {}),
41 'timespent': ('django.db.models.fields.IntegerField', [], {'default': '0'}),
42 'warnings_no': ('django.db.models.fields.IntegerField', [], {'default': '0'})
43 },
44 u'orm.helptext': {
45 'Meta': {'object_name': 'HelpText'},
46 'area': ('django.db.models.fields.IntegerField', [], {}),
47 'build': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'helptext_build'", 'to': u"orm['orm.Build']"}),
48 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
49 'key': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
50 'text': ('django.db.models.fields.TextField', [], {})
51 },
52 u'orm.layer': {
53 'Meta': {'object_name': 'Layer'},
54 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
55 'layer_index_url': ('django.db.models.fields.URLField', [], {'max_length': '200'}),
56 'local_path': ('django.db.models.fields.FilePathField', [], {'max_length': '255'}),
57 'name': ('django.db.models.fields.CharField', [], {'max_length': '100'})
58 },
59 u'orm.layer_version': {
60 'Meta': {'object_name': 'Layer_Version'},
61 'branch': ('django.db.models.fields.CharField', [], {'max_length': '50'}),
62 'build': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'layer_version_build'", 'to': u"orm['orm.Build']"}),
63 'commit': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
64 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
65 'layer': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'layer_version_layer'", 'to': u"orm['orm.Layer']"}),
66 'priority': ('django.db.models.fields.IntegerField', [], {})
67 },
68 u'orm.logmessage': {
69 'Meta': {'object_name': 'LogMessage'},
70 'build': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.Build']"}),
71 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
72 'level': ('django.db.models.fields.IntegerField', [], {'default': '0'}),
73 'lineno': ('django.db.models.fields.IntegerField', [], {'null': 'True'}),
74 'message': ('django.db.models.fields.CharField', [], {'max_length': '240'}),
75 'pathname': ('django.db.models.fields.FilePathField', [], {'max_length': '255', 'blank': 'True'}),
76 'task': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.Task']", 'null': 'True', 'blank': 'True'})
77 },
78 u'orm.package': {
79 'Meta': {'object_name': 'Package'},
80 'build': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.Build']"}),
81 'description': ('django.db.models.fields.CharField', [], {'max_length': '200', 'blank': 'True'}),
82 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
83 'installed_name': ('django.db.models.fields.CharField', [], {'default': "''", 'max_length': '100'}),
84 'installed_size': ('django.db.models.fields.IntegerField', [], {'default': '0'}),
85 'license': ('django.db.models.fields.CharField', [], {'max_length': '80', 'blank': 'True'}),
86 'name': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
87 'recipe': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.Recipe']", 'null': 'True'}),
88 'revision': ('django.db.models.fields.CharField', [], {'max_length': '32', 'blank': 'True'}),
89 'section': ('django.db.models.fields.CharField', [], {'max_length': '80', 'blank': 'True'}),
90 'size': ('django.db.models.fields.IntegerField', [], {'default': '0'}),
91 'summary': ('django.db.models.fields.CharField', [], {'max_length': '200', 'blank': 'True'}),
92 'version': ('django.db.models.fields.CharField', [], {'max_length': '100', 'blank': 'True'})
93 },
94 u'orm.package_dependency': {
95 'Meta': {'object_name': 'Package_Dependency'},
96 'dep_type': ('django.db.models.fields.IntegerField', [], {}),
97 'depends_on': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'package_dependencies_target'", 'to': u"orm['orm.Package']"}),
98 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
99 'package': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'package_dependencies_source'", 'to': u"orm['orm.Package']"}),
100 'target': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.Target']", 'null': 'True'})
101 },
102 u'orm.package_file': {
103 'Meta': {'object_name': 'Package_File'},
104 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
105 'package': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'buildfilelist_package'", 'to': u"orm['orm.Package']"}),
106 'path': ('django.db.models.fields.FilePathField', [], {'max_length': '255', 'blank': 'True'}),
107 'size': ('django.db.models.fields.IntegerField', [], {})
108 },
109 u'orm.recipe': {
110 'Meta': {'object_name': 'Recipe'},
111 'bugtracker': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}),
112 'description': ('django.db.models.fields.CharField', [], {'max_length': '100', 'blank': 'True'}),
113 'file_path': ('django.db.models.fields.FilePathField', [], {'max_length': '255'}),
114 'homepage': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}),
115 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
116 'layer_version': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'recipe_layer_version'", 'to': u"orm['orm.Layer_Version']"}),
117 'license': ('django.db.models.fields.CharField', [], {'max_length': '200', 'blank': 'True'}),
118 'name': ('django.db.models.fields.CharField', [], {'max_length': '100', 'blank': 'True'}),
119 'section': ('django.db.models.fields.CharField', [], {'max_length': '100', 'blank': 'True'}),
120 'summary': ('django.db.models.fields.CharField', [], {'max_length': '100', 'blank': 'True'}),
121 'version': ('django.db.models.fields.CharField', [], {'max_length': '100', 'blank': 'True'})
122 },
123 u'orm.recipe_dependency': {
124 'Meta': {'object_name': 'Recipe_Dependency'},
125 'dep_type': ('django.db.models.fields.IntegerField', [], {}),
126 'depends_on': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'r_dependencies_depends'", 'to': u"orm['orm.Recipe']"}),
127 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
128 'recipe': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'r_dependencies_recipe'", 'to': u"orm['orm.Recipe']"})
129 },
130 u'orm.target': {
131 'Meta': {'object_name': 'Target'},
132 'build': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.Build']"}),
133 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
134 'image_size': ('django.db.models.fields.IntegerField', [], {'default': '0'}),
135 'is_image': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
136 'license_manifest_path': ('django.db.models.fields.CharField', [], {'max_length': '500', 'null': 'True'}),
137 'target': ('django.db.models.fields.CharField', [], {'max_length': '100'})
138 },
139 u'orm.target_file': {
140 'Meta': {'object_name': 'Target_File'},
141 'directory': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'directory_set'", 'null': 'True', 'to': u"orm['orm.Target_File']"}),
142 'group': ('django.db.models.fields.CharField', [], {'max_length': '128'}),
143 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
144 'inodetype': ('django.db.models.fields.IntegerField', [], {}),
145 'owner': ('django.db.models.fields.CharField', [], {'max_length': '128'}),
146 'path': ('django.db.models.fields.FilePathField', [], {'max_length': '100'}),
147 'permission': ('django.db.models.fields.CharField', [], {'max_length': '16'}),
148 'size': ('django.db.models.fields.IntegerField', [], {}),
149 'sym_target': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'symlink_set'", 'null': 'True', 'to': u"orm['orm.Target_File']"}),
150 'target': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.Target']"})
151 },
152 u'orm.target_image_file': {
153 'Meta': {'object_name': 'Target_Image_File'},
154 'file_name': ('django.db.models.fields.FilePathField', [], {'max_length': '100'}),
155 'file_size': ('django.db.models.fields.IntegerField', [], {}),
156 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
157 'target': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.Target']"})
158 },
159 u'orm.target_installed_package': {
160 'Meta': {'object_name': 'Target_Installed_Package'},
161 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
162 'package': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'buildtargetlist_package'", 'to': u"orm['orm.Package']"}),
163 'target': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.Target']"})
164 },
165 u'orm.task': {
166 'Meta': {'ordering': "('order', 'recipe')", 'unique_together': "(('build', 'recipe', 'task_name'),)", 'object_name': 'Task'},
167 'build': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'task_build'", 'to': u"orm['orm.Build']"}),
168 'cpu_usage': ('django.db.models.fields.DecimalField', [], {'null': 'True', 'max_digits': '6', 'decimal_places': '2'}),
169 'disk_io': ('django.db.models.fields.IntegerField', [], {'null': 'True'}),
170 'elapsed_time': ('django.db.models.fields.DecimalField', [], {'null': 'True', 'max_digits': '6', 'decimal_places': '2'}),
171 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
172 'line_number': ('django.db.models.fields.IntegerField', [], {'default': '0'}),
173 'logfile': ('django.db.models.fields.FilePathField', [], {'max_length': '255', 'blank': 'True'}),
174 'message': ('django.db.models.fields.CharField', [], {'max_length': '240'}),
175 'order': ('django.db.models.fields.IntegerField', [], {'null': 'True'}),
176 'outcome': ('django.db.models.fields.IntegerField', [], {'default': '-1'}),
177 'path_to_sstate_obj': ('django.db.models.fields.FilePathField', [], {'max_length': '500', 'blank': 'True'}),
178 'recipe': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'build_recipe'", 'to': u"orm['orm.Recipe']"}),
179 'script_type': ('django.db.models.fields.IntegerField', [], {'default': '0'}),
180 'source_url': ('django.db.models.fields.FilePathField', [], {'max_length': '255', 'blank': 'True'}),
181 'sstate_checksum': ('django.db.models.fields.CharField', [], {'max_length': '100', 'blank': 'True'}),
182 'sstate_result': ('django.db.models.fields.IntegerField', [], {'default': '0'}),
183 'task_executed': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
184 'task_name': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
185 'work_directory': ('django.db.models.fields.FilePathField', [], {'max_length': '255', 'blank': 'True'})
186 },
187 u'orm.task_dependency': {
188 'Meta': {'object_name': 'Task_Dependency'},
189 'depends_on': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'task_dependencies_depends'", 'to': u"orm['orm.Task']"}),
190 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
191 'task': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'task_dependencies_task'", 'to': u"orm['orm.Task']"})
192 },
193 u'orm.variable': {
194 'Meta': {'object_name': 'Variable'},
195 'build': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'variable_build'", 'to': u"orm['orm.Build']"}),
196 'changed': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
197 'description': ('django.db.models.fields.TextField', [], {'blank': 'True'}),
198 'human_readable_name': ('django.db.models.fields.CharField', [], {'max_length': '200'}),
199 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
200 'variable_name': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
201 'variable_value': ('django.db.models.fields.TextField', [], {'blank': 'True'})
202 },
203 u'orm.variablehistory': {
204 'Meta': {'object_name': 'VariableHistory'},
205 'file_name': ('django.db.models.fields.FilePathField', [], {'max_length': '255'}),
206 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
207 'line_number': ('django.db.models.fields.IntegerField', [], {'null': 'True'}),
208 'operation': ('django.db.models.fields.CharField', [], {'max_length': '16'}),
209 'value': ('django.db.models.fields.TextField', [], {'blank': 'True'}),
210 'variable': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'vhistory'", 'to': u"orm['orm.Variable']"})
211 }
212 }
213
214 complete_apps = ['orm']
diff --git a/bitbake/lib/toaster/orm/migrations/0008_auto__chg_field_variablehistory_operation__chg_field_recipe_descriptio.py b/bitbake/lib/toaster/orm/migrations/0008_auto__chg_field_variablehistory_operation__chg_field_recipe_descriptio.py
deleted file mode 100644
index ece408a3cf..0000000000
--- a/bitbake/lib/toaster/orm/migrations/0008_auto__chg_field_variablehistory_operation__chg_field_recipe_descriptio.py
+++ /dev/null
@@ -1,225 +0,0 @@
1# -*- coding: utf-8 -*-
2from south.utils import datetime_utils as datetime
3from south.db import db
4from south.v2 import SchemaMigration
5from django.db import models
6
7
8class Migration(SchemaMigration):
9
10 def forwards(self, orm):
11
12 # Changing field 'VariableHistory.operation'
13 db.alter_column(u'orm_variablehistory', 'operation', self.gf('django.db.models.fields.CharField')(max_length=64))
14
15 # Changing field 'Recipe.description'
16 db.alter_column(u'orm_recipe', 'description', self.gf('django.db.models.fields.TextField')())
17
18 # Changing field 'Target_Image_File.file_name'
19 db.alter_column(u'orm_target_image_file', 'file_name', self.gf('django.db.models.fields.FilePathField')(max_length=254))
20
21 # Changing field 'Package.description'
22 db.alter_column(u'orm_package', 'description', self.gf('django.db.models.fields.TextField')())
23
24 def backwards(self, orm):
25
26 # Changing field 'VariableHistory.operation'
27 db.alter_column(u'orm_variablehistory', 'operation', self.gf('django.db.models.fields.CharField')(max_length=16))
28
29 # Changing field 'Recipe.description'
30 db.alter_column(u'orm_recipe', 'description', self.gf('django.db.models.fields.CharField')(max_length=100))
31
32 # Changing field 'Target_Image_File.file_name'
33 db.alter_column(u'orm_target_image_file', 'file_name', self.gf('django.db.models.fields.FilePathField')(max_length=100))
34
35 # Changing field 'Package.description'
36 db.alter_column(u'orm_package', 'description', self.gf('django.db.models.fields.CharField')(max_length=200))
37
38 models = {
39 u'orm.build': {
40 'Meta': {'object_name': 'Build'},
41 'bitbake_version': ('django.db.models.fields.CharField', [], {'max_length': '50'}),
42 'build_name': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
43 'completed_on': ('django.db.models.fields.DateTimeField', [], {}),
44 'cooker_log_path': ('django.db.models.fields.CharField', [], {'max_length': '500'}),
45 'distro': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
46 'distro_version': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
47 'errors_no': ('django.db.models.fields.IntegerField', [], {'default': '0'}),
48 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
49 'machine': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
50 'outcome': ('django.db.models.fields.IntegerField', [], {'default': '2'}),
51 'started_on': ('django.db.models.fields.DateTimeField', [], {}),
52 'timespent': ('django.db.models.fields.IntegerField', [], {'default': '0'}),
53 'warnings_no': ('django.db.models.fields.IntegerField', [], {'default': '0'})
54 },
55 u'orm.helptext': {
56 'Meta': {'object_name': 'HelpText'},
57 'area': ('django.db.models.fields.IntegerField', [], {}),
58 'build': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'helptext_build'", 'to': u"orm['orm.Build']"}),
59 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
60 'key': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
61 'text': ('django.db.models.fields.TextField', [], {})
62 },
63 u'orm.layer': {
64 'Meta': {'object_name': 'Layer'},
65 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
66 'layer_index_url': ('django.db.models.fields.URLField', [], {'max_length': '200'}),
67 'local_path': ('django.db.models.fields.FilePathField', [], {'max_length': '255'}),
68 'name': ('django.db.models.fields.CharField', [], {'max_length': '100'})
69 },
70 u'orm.layer_version': {
71 'Meta': {'object_name': 'Layer_Version'},
72 'branch': ('django.db.models.fields.CharField', [], {'max_length': '50'}),
73 'build': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'layer_version_build'", 'to': u"orm['orm.Build']"}),
74 'commit': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
75 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
76 'layer': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'layer_version_layer'", 'to': u"orm['orm.Layer']"}),
77 'priority': ('django.db.models.fields.IntegerField', [], {})
78 },
79 u'orm.logmessage': {
80 'Meta': {'object_name': 'LogMessage'},
81 'build': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.Build']"}),
82 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
83 'level': ('django.db.models.fields.IntegerField', [], {'default': '0'}),
84 'lineno': ('django.db.models.fields.IntegerField', [], {'null': 'True'}),
85 'message': ('django.db.models.fields.CharField', [], {'max_length': '240'}),
86 'pathname': ('django.db.models.fields.FilePathField', [], {'max_length': '255', 'blank': 'True'}),
87 'task': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.Task']", 'null': 'True', 'blank': 'True'})
88 },
89 u'orm.package': {
90 'Meta': {'object_name': 'Package'},
91 'build': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.Build']"}),
92 'description': ('django.db.models.fields.TextField', [], {'blank': 'True'}),
93 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
94 'installed_name': ('django.db.models.fields.CharField', [], {'default': "''", 'max_length': '100'}),
95 'installed_size': ('django.db.models.fields.IntegerField', [], {'default': '0'}),
96 'license': ('django.db.models.fields.CharField', [], {'max_length': '80', 'blank': 'True'}),
97 'name': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
98 'recipe': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.Recipe']", 'null': 'True'}),
99 'revision': ('django.db.models.fields.CharField', [], {'max_length': '32', 'blank': 'True'}),
100 'section': ('django.db.models.fields.CharField', [], {'max_length': '80', 'blank': 'True'}),
101 'size': ('django.db.models.fields.IntegerField', [], {'default': '0'}),
102 'summary': ('django.db.models.fields.CharField', [], {'max_length': '200', 'blank': 'True'}),
103 'version': ('django.db.models.fields.CharField', [], {'max_length': '100', 'blank': 'True'})
104 },
105 u'orm.package_dependency': {
106 'Meta': {'object_name': 'Package_Dependency'},
107 'dep_type': ('django.db.models.fields.IntegerField', [], {}),
108 'depends_on': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'package_dependencies_target'", 'to': u"orm['orm.Package']"}),
109 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
110 'package': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'package_dependencies_source'", 'to': u"orm['orm.Package']"}),
111 'target': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.Target']", 'null': 'True'})
112 },
113 u'orm.package_file': {
114 'Meta': {'object_name': 'Package_File'},
115 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
116 'package': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'buildfilelist_package'", 'to': u"orm['orm.Package']"}),
117 'path': ('django.db.models.fields.FilePathField', [], {'max_length': '255', 'blank': 'True'}),
118 'size': ('django.db.models.fields.IntegerField', [], {})
119 },
120 u'orm.recipe': {
121 'Meta': {'object_name': 'Recipe'},
122 'bugtracker': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}),
123 'description': ('django.db.models.fields.TextField', [], {'blank': 'True'}),
124 'file_path': ('django.db.models.fields.FilePathField', [], {'max_length': '255'}),
125 'homepage': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}),
126 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
127 'layer_version': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'recipe_layer_version'", 'to': u"orm['orm.Layer_Version']"}),
128 'license': ('django.db.models.fields.CharField', [], {'max_length': '200', 'blank': 'True'}),
129 'name': ('django.db.models.fields.CharField', [], {'max_length': '100', 'blank': 'True'}),
130 'section': ('django.db.models.fields.CharField', [], {'max_length': '100', 'blank': 'True'}),
131 'summary': ('django.db.models.fields.CharField', [], {'max_length': '100', 'blank': 'True'}),
132 'version': ('django.db.models.fields.CharField', [], {'max_length': '100', 'blank': 'True'})
133 },
134 u'orm.recipe_dependency': {
135 'Meta': {'object_name': 'Recipe_Dependency'},
136 'dep_type': ('django.db.models.fields.IntegerField', [], {}),
137 'depends_on': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'r_dependencies_depends'", 'to': u"orm['orm.Recipe']"}),
138 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
139 'recipe': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'r_dependencies_recipe'", 'to': u"orm['orm.Recipe']"})
140 },
141 u'orm.target': {
142 'Meta': {'object_name': 'Target'},
143 'build': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.Build']"}),
144 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
145 'image_size': ('django.db.models.fields.IntegerField', [], {'default': '0'}),
146 'is_image': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
147 'license_manifest_path': ('django.db.models.fields.CharField', [], {'max_length': '500', 'null': 'True'}),
148 'target': ('django.db.models.fields.CharField', [], {'max_length': '100'})
149 },
150 u'orm.target_file': {
151 'Meta': {'object_name': 'Target_File'},
152 'directory': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'directory_set'", 'null': 'True', 'to': u"orm['orm.Target_File']"}),
153 'group': ('django.db.models.fields.CharField', [], {'max_length': '128'}),
154 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
155 'inodetype': ('django.db.models.fields.IntegerField', [], {}),
156 'owner': ('django.db.models.fields.CharField', [], {'max_length': '128'}),
157 'path': ('django.db.models.fields.FilePathField', [], {'max_length': '100'}),
158 'permission': ('django.db.models.fields.CharField', [], {'max_length': '16'}),
159 'size': ('django.db.models.fields.IntegerField', [], {}),
160 'sym_target': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'symlink_set'", 'null': 'True', 'to': u"orm['orm.Target_File']"}),
161 'target': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.Target']"})
162 },
163 u'orm.target_image_file': {
164 'Meta': {'object_name': 'Target_Image_File'},
165 'file_name': ('django.db.models.fields.FilePathField', [], {'max_length': '254'}),
166 'file_size': ('django.db.models.fields.IntegerField', [], {}),
167 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
168 'target': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.Target']"})
169 },
170 u'orm.target_installed_package': {
171 'Meta': {'object_name': 'Target_Installed_Package'},
172 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
173 'package': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'buildtargetlist_package'", 'to': u"orm['orm.Package']"}),
174 'target': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.Target']"})
175 },
176 u'orm.task': {
177 'Meta': {'ordering': "('order', 'recipe')", 'unique_together': "(('build', 'recipe', 'task_name'),)", 'object_name': 'Task'},
178 'build': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'task_build'", 'to': u"orm['orm.Build']"}),
179 'cpu_usage': ('django.db.models.fields.DecimalField', [], {'null': 'True', 'max_digits': '6', 'decimal_places': '2'}),
180 'disk_io': ('django.db.models.fields.IntegerField', [], {'null': 'True'}),
181 'elapsed_time': ('django.db.models.fields.DecimalField', [], {'null': 'True', 'max_digits': '6', 'decimal_places': '2'}),
182 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
183 'line_number': ('django.db.models.fields.IntegerField', [], {'default': '0'}),
184 'logfile': ('django.db.models.fields.FilePathField', [], {'max_length': '255', 'blank': 'True'}),
185 'message': ('django.db.models.fields.CharField', [], {'max_length': '240'}),
186 'order': ('django.db.models.fields.IntegerField', [], {'null': 'True'}),
187 'outcome': ('django.db.models.fields.IntegerField', [], {'default': '-1'}),
188 'path_to_sstate_obj': ('django.db.models.fields.FilePathField', [], {'max_length': '500', 'blank': 'True'}),
189 'recipe': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'build_recipe'", 'to': u"orm['orm.Recipe']"}),
190 'script_type': ('django.db.models.fields.IntegerField', [], {'default': '0'}),
191 'source_url': ('django.db.models.fields.FilePathField', [], {'max_length': '255', 'blank': 'True'}),
192 'sstate_checksum': ('django.db.models.fields.CharField', [], {'max_length': '100', 'blank': 'True'}),
193 'sstate_result': ('django.db.models.fields.IntegerField', [], {'default': '0'}),
194 'task_executed': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
195 'task_name': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
196 'work_directory': ('django.db.models.fields.FilePathField', [], {'max_length': '255', 'blank': 'True'})
197 },
198 u'orm.task_dependency': {
199 'Meta': {'object_name': 'Task_Dependency'},
200 'depends_on': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'task_dependencies_depends'", 'to': u"orm['orm.Task']"}),
201 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
202 'task': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'task_dependencies_task'", 'to': u"orm['orm.Task']"})
203 },
204 u'orm.variable': {
205 'Meta': {'object_name': 'Variable'},
206 'build': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'variable_build'", 'to': u"orm['orm.Build']"}),
207 'changed': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
208 'description': ('django.db.models.fields.TextField', [], {'blank': 'True'}),
209 'human_readable_name': ('django.db.models.fields.CharField', [], {'max_length': '200'}),
210 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
211 'variable_name': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
212 'variable_value': ('django.db.models.fields.TextField', [], {'blank': 'True'})
213 },
214 u'orm.variablehistory': {
215 'Meta': {'object_name': 'VariableHistory'},
216 'file_name': ('django.db.models.fields.FilePathField', [], {'max_length': '255'}),
217 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
218 'line_number': ('django.db.models.fields.IntegerField', [], {'null': 'True'}),
219 'operation': ('django.db.models.fields.CharField', [], {'max_length': '64'}),
220 'value': ('django.db.models.fields.TextField', [], {'blank': 'True'}),
221 'variable': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'vhistory'", 'to': u"orm['orm.Variable']"})
222 }
223 }
224
225 complete_apps = ['orm']
diff --git a/bitbake/lib/toaster/orm/migrations/0009_auto__add_projectvariable__add_projectlayer__add_projecttarget__add_pr.py b/bitbake/lib/toaster/orm/migrations/0009_auto__add_projectvariable__add_projectlayer__add_projecttarget__add_pr.py
deleted file mode 100644
index 7a58dc2e61..0000000000
--- a/bitbake/lib/toaster/orm/migrations/0009_auto__add_projectvariable__add_projectlayer__add_projecttarget__add_pr.py
+++ /dev/null
@@ -1,286 +0,0 @@
1# -*- coding: utf-8 -*-
2from south.utils import datetime_utils as datetime
3from south.db import db
4from south.v2 import SchemaMigration
5from django.db import models
6
7
8class Migration(SchemaMigration):
9
10 def forwards(self, orm):
11 # Adding model 'ProjectVariable'
12 db.create_table(u'orm_projectvariable', (
13 (u'id', self.gf('django.db.models.fields.AutoField')(primary_key=True)),
14 ('project', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['orm.Project'])),
15 ('name', self.gf('django.db.models.fields.CharField')(max_length=100)),
16 ('value', self.gf('django.db.models.fields.TextField')(blank=True)),
17 ))
18 db.send_create_signal(u'orm', ['ProjectVariable'])
19
20 # Adding model 'ProjectLayer'
21 db.create_table(u'orm_projectlayer', (
22 (u'id', self.gf('django.db.models.fields.AutoField')(primary_key=True)),
23 ('project', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['orm.Project'])),
24 ('name', self.gf('django.db.models.fields.CharField')(max_length=100)),
25 ('giturl', self.gf('django.db.models.fields.CharField')(max_length=254)),
26 ('commit', self.gf('django.db.models.fields.CharField')(max_length=254)),
27 ))
28 db.send_create_signal(u'orm', ['ProjectLayer'])
29
30 # Adding model 'ProjectTarget'
31 db.create_table(u'orm_projecttarget', (
32 (u'id', self.gf('django.db.models.fields.AutoField')(primary_key=True)),
33 ('project', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['orm.Project'])),
34 ('target', self.gf('django.db.models.fields.CharField')(max_length=100)),
35 ))
36 db.send_create_signal(u'orm', ['ProjectTarget'])
37
38 # Adding model 'Project'
39 db.create_table(u'orm_project', (
40 (u'id', self.gf('django.db.models.fields.AutoField')(primary_key=True)),
41 ('name', self.gf('django.db.models.fields.CharField')(max_length=100)),
42 ('created', self.gf('django.db.models.fields.DateTimeField')(auto_now_add=True, blank=True)),
43 ('updated', self.gf('django.db.models.fields.DateTimeField')(auto_now=True, blank=True)),
44 ))
45 db.send_create_signal(u'orm', ['Project'])
46
47 # Adding field 'Build.project'
48 db.add_column(u'orm_build', 'project',
49 self.gf('django.db.models.fields.related.ForeignKey')(to=orm['orm.Project'], null=True),
50 keep_default=False)
51
52
53 def backwards(self, orm):
54 # Deleting model 'ProjectVariable'
55 db.delete_table(u'orm_projectvariable')
56
57 # Deleting model 'ProjectLayer'
58 db.delete_table(u'orm_projectlayer')
59
60 # Deleting model 'ProjectTarget'
61 db.delete_table(u'orm_projecttarget')
62
63 # Deleting model 'Project'
64 db.delete_table(u'orm_project')
65
66 # Deleting field 'Build.project'
67 db.delete_column(u'orm_build', 'project_id')
68
69
70 models = {
71 u'orm.build': {
72 'Meta': {'object_name': 'Build'},
73 'bitbake_version': ('django.db.models.fields.CharField', [], {'max_length': '50'}),
74 'build_name': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
75 'completed_on': ('django.db.models.fields.DateTimeField', [], {}),
76 'cooker_log_path': ('django.db.models.fields.CharField', [], {'max_length': '500'}),
77 'distro': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
78 'distro_version': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
79 'errors_no': ('django.db.models.fields.IntegerField', [], {'default': '0'}),
80 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
81 'machine': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
82 'outcome': ('django.db.models.fields.IntegerField', [], {'default': '2'}),
83 'project': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.Project']", 'null': 'True'}),
84 'started_on': ('django.db.models.fields.DateTimeField', [], {}),
85 'timespent': ('django.db.models.fields.IntegerField', [], {'default': '0'}),
86 'warnings_no': ('django.db.models.fields.IntegerField', [], {'default': '0'})
87 },
88 u'orm.helptext': {
89 'Meta': {'object_name': 'HelpText'},
90 'area': ('django.db.models.fields.IntegerField', [], {}),
91 'build': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'helptext_build'", 'to': u"orm['orm.Build']"}),
92 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
93 'key': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
94 'text': ('django.db.models.fields.TextField', [], {})
95 },
96 u'orm.layer': {
97 'Meta': {'object_name': 'Layer'},
98 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
99 'layer_index_url': ('django.db.models.fields.URLField', [], {'max_length': '200'}),
100 'local_path': ('django.db.models.fields.FilePathField', [], {'max_length': '255'}),
101 'name': ('django.db.models.fields.CharField', [], {'max_length': '100'})
102 },
103 u'orm.layer_version': {
104 'Meta': {'object_name': 'Layer_Version'},
105 'branch': ('django.db.models.fields.CharField', [], {'max_length': '50'}),
106 'build': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'layer_version_build'", 'to': u"orm['orm.Build']"}),
107 'commit': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
108 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
109 'layer': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'layer_version_layer'", 'to': u"orm['orm.Layer']"}),
110 'priority': ('django.db.models.fields.IntegerField', [], {})
111 },
112 u'orm.logmessage': {
113 'Meta': {'object_name': 'LogMessage'},
114 'build': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.Build']"}),
115 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
116 'level': ('django.db.models.fields.IntegerField', [], {'default': '0'}),
117 'lineno': ('django.db.models.fields.IntegerField', [], {'null': 'True'}),
118 'message': ('django.db.models.fields.CharField', [], {'max_length': '240'}),
119 'pathname': ('django.db.models.fields.FilePathField', [], {'max_length': '255', 'blank': 'True'}),
120 'task': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.Task']", 'null': 'True', 'blank': 'True'})
121 },
122 u'orm.package': {
123 'Meta': {'object_name': 'Package'},
124 'build': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.Build']"}),
125 'description': ('django.db.models.fields.TextField', [], {'blank': 'True'}),
126 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
127 'installed_name': ('django.db.models.fields.CharField', [], {'default': "''", 'max_length': '100'}),
128 'installed_size': ('django.db.models.fields.IntegerField', [], {'default': '0'}),
129 'license': ('django.db.models.fields.CharField', [], {'max_length': '80', 'blank': 'True'}),
130 'name': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
131 'recipe': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.Recipe']", 'null': 'True'}),
132 'revision': ('django.db.models.fields.CharField', [], {'max_length': '32', 'blank': 'True'}),
133 'section': ('django.db.models.fields.CharField', [], {'max_length': '80', 'blank': 'True'}),
134 'size': ('django.db.models.fields.IntegerField', [], {'default': '0'}),
135 'summary': ('django.db.models.fields.CharField', [], {'max_length': '200', 'blank': 'True'}),
136 'version': ('django.db.models.fields.CharField', [], {'max_length': '100', 'blank': 'True'})
137 },
138 u'orm.package_dependency': {
139 'Meta': {'object_name': 'Package_Dependency'},
140 'dep_type': ('django.db.models.fields.IntegerField', [], {}),
141 'depends_on': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'package_dependencies_target'", 'to': u"orm['orm.Package']"}),
142 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
143 'package': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'package_dependencies_source'", 'to': u"orm['orm.Package']"}),
144 'target': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.Target']", 'null': 'True'})
145 },
146 u'orm.package_file': {
147 'Meta': {'object_name': 'Package_File'},
148 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
149 'package': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'buildfilelist_package'", 'to': u"orm['orm.Package']"}),
150 'path': ('django.db.models.fields.FilePathField', [], {'max_length': '255', 'blank': 'True'}),
151 'size': ('django.db.models.fields.IntegerField', [], {})
152 },
153 u'orm.project': {
154 'Meta': {'object_name': 'Project'},
155 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}),
156 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
157 'name': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
158 'updated': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'})
159 },
160 u'orm.projectlayer': {
161 'Meta': {'object_name': 'ProjectLayer'},
162 'commit': ('django.db.models.fields.CharField', [], {'max_length': '254'}),
163 'giturl': ('django.db.models.fields.CharField', [], {'max_length': '254'}),
164 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
165 'name': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
166 'project': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.Project']"})
167 },
168 u'orm.projecttarget': {
169 'Meta': {'object_name': 'ProjectTarget'},
170 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
171 'project': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.Project']"}),
172 'target': ('django.db.models.fields.CharField', [], {'max_length': '100'})
173 },
174 u'orm.projectvariable': {
175 'Meta': {'object_name': 'ProjectVariable'},
176 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
177 'name': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
178 'project': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.Project']"}),
179 'value': ('django.db.models.fields.TextField', [], {'blank': 'True'})
180 },
181 u'orm.recipe': {
182 'Meta': {'object_name': 'Recipe'},
183 'bugtracker': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}),
184 'description': ('django.db.models.fields.TextField', [], {'blank': 'True'}),
185 'file_path': ('django.db.models.fields.FilePathField', [], {'max_length': '255'}),
186 'homepage': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}),
187 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
188 'layer_version': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'recipe_layer_version'", 'to': u"orm['orm.Layer_Version']"}),
189 'license': ('django.db.models.fields.CharField', [], {'max_length': '200', 'blank': 'True'}),
190 'name': ('django.db.models.fields.CharField', [], {'max_length': '100', 'blank': 'True'}),
191 'section': ('django.db.models.fields.CharField', [], {'max_length': '100', 'blank': 'True'}),
192 'summary': ('django.db.models.fields.CharField', [], {'max_length': '100', 'blank': 'True'}),
193 'version': ('django.db.models.fields.CharField', [], {'max_length': '100', 'blank': 'True'})
194 },
195 u'orm.recipe_dependency': {
196 'Meta': {'object_name': 'Recipe_Dependency'},
197 'dep_type': ('django.db.models.fields.IntegerField', [], {}),
198 'depends_on': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'r_dependencies_depends'", 'to': u"orm['orm.Recipe']"}),
199 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
200 'recipe': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'r_dependencies_recipe'", 'to': u"orm['orm.Recipe']"})
201 },
202 u'orm.target': {
203 'Meta': {'object_name': 'Target'},
204 'build': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.Build']"}),
205 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
206 'image_size': ('django.db.models.fields.IntegerField', [], {'default': '0'}),
207 'is_image': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
208 'license_manifest_path': ('django.db.models.fields.CharField', [], {'max_length': '500', 'null': 'True'}),
209 'target': ('django.db.models.fields.CharField', [], {'max_length': '100'})
210 },
211 u'orm.target_file': {
212 'Meta': {'object_name': 'Target_File'},
213 'directory': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'directory_set'", 'null': 'True', 'to': u"orm['orm.Target_File']"}),
214 'group': ('django.db.models.fields.CharField', [], {'max_length': '128'}),
215 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
216 'inodetype': ('django.db.models.fields.IntegerField', [], {}),
217 'owner': ('django.db.models.fields.CharField', [], {'max_length': '128'}),
218 'path': ('django.db.models.fields.FilePathField', [], {'max_length': '100'}),
219 'permission': ('django.db.models.fields.CharField', [], {'max_length': '16'}),
220 'size': ('django.db.models.fields.IntegerField', [], {}),
221 'sym_target': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'symlink_set'", 'null': 'True', 'to': u"orm['orm.Target_File']"}),
222 'target': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.Target']"})
223 },
224 u'orm.target_image_file': {
225 'Meta': {'object_name': 'Target_Image_File'},
226 'file_name': ('django.db.models.fields.FilePathField', [], {'max_length': '254'}),
227 'file_size': ('django.db.models.fields.IntegerField', [], {}),
228 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
229 'target': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.Target']"})
230 },
231 u'orm.target_installed_package': {
232 'Meta': {'object_name': 'Target_Installed_Package'},
233 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
234 'package': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'buildtargetlist_package'", 'to': u"orm['orm.Package']"}),
235 'target': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.Target']"})
236 },
237 u'orm.task': {
238 'Meta': {'ordering': "('order', 'recipe')", 'unique_together': "(('build', 'recipe', 'task_name'),)", 'object_name': 'Task'},
239 'build': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'task_build'", 'to': u"orm['orm.Build']"}),
240 'cpu_usage': ('django.db.models.fields.DecimalField', [], {'null': 'True', 'max_digits': '6', 'decimal_places': '2'}),
241 'disk_io': ('django.db.models.fields.IntegerField', [], {'null': 'True'}),
242 'elapsed_time': ('django.db.models.fields.DecimalField', [], {'null': 'True', 'max_digits': '6', 'decimal_places': '2'}),
243 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
244 'line_number': ('django.db.models.fields.IntegerField', [], {'default': '0'}),
245 'logfile': ('django.db.models.fields.FilePathField', [], {'max_length': '255', 'blank': 'True'}),
246 'message': ('django.db.models.fields.CharField', [], {'max_length': '240'}),
247 'order': ('django.db.models.fields.IntegerField', [], {'null': 'True'}),
248 'outcome': ('django.db.models.fields.IntegerField', [], {'default': '-1'}),
249 'path_to_sstate_obj': ('django.db.models.fields.FilePathField', [], {'max_length': '500', 'blank': 'True'}),
250 'recipe': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'build_recipe'", 'to': u"orm['orm.Recipe']"}),
251 'script_type': ('django.db.models.fields.IntegerField', [], {'default': '0'}),
252 'source_url': ('django.db.models.fields.FilePathField', [], {'max_length': '255', 'blank': 'True'}),
253 'sstate_checksum': ('django.db.models.fields.CharField', [], {'max_length': '100', 'blank': 'True'}),
254 'sstate_result': ('django.db.models.fields.IntegerField', [], {'default': '0'}),
255 'task_executed': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
256 'task_name': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
257 'work_directory': ('django.db.models.fields.FilePathField', [], {'max_length': '255', 'blank': 'True'})
258 },
259 u'orm.task_dependency': {
260 'Meta': {'object_name': 'Task_Dependency'},
261 'depends_on': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'task_dependencies_depends'", 'to': u"orm['orm.Task']"}),
262 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
263 'task': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'task_dependencies_task'", 'to': u"orm['orm.Task']"})
264 },
265 u'orm.variable': {
266 'Meta': {'object_name': 'Variable'},
267 'build': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'variable_build'", 'to': u"orm['orm.Build']"}),
268 'changed': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
269 'description': ('django.db.models.fields.TextField', [], {'blank': 'True'}),
270 'human_readable_name': ('django.db.models.fields.CharField', [], {'max_length': '200'}),
271 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
272 'variable_name': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
273 'variable_value': ('django.db.models.fields.TextField', [], {'blank': 'True'})
274 },
275 u'orm.variablehistory': {
276 'Meta': {'object_name': 'VariableHistory'},
277 'file_name': ('django.db.models.fields.FilePathField', [], {'max_length': '255'}),
278 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
279 'line_number': ('django.db.models.fields.IntegerField', [], {'null': 'True'}),
280 'operation': ('django.db.models.fields.CharField', [], {'max_length': '64'}),
281 'value': ('django.db.models.fields.TextField', [], {'blank': 'True'}),
282 'variable': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'vhistory'", 'to': u"orm['orm.Variable']"})
283 }
284 }
285
286 complete_apps = ['orm']
diff --git a/bitbake/lib/toaster/orm/migrations/0010_auto__add_field_project_branch__add_field_project_short_description__a.py b/bitbake/lib/toaster/orm/migrations/0010_auto__add_field_project_branch__add_field_project_short_description__a.py
deleted file mode 100644
index aa1ce1f4ac..0000000000
--- a/bitbake/lib/toaster/orm/migrations/0010_auto__add_field_project_branch__add_field_project_short_description__a.py
+++ /dev/null
@@ -1,257 +0,0 @@
1# -*- coding: utf-8 -*-
2from south.utils import datetime_utils as datetime
3from south.db import db
4from south.v2 import SchemaMigration
5from django.db import models
6
7
8class Migration(SchemaMigration):
9
10 def forwards(self, orm):
11 # Adding field 'Project.branch'
12 db.add_column(u'orm_project', 'branch',
13 self.gf('django.db.models.fields.CharField')(default='master', max_length=50),
14 keep_default=False)
15
16 # Adding field 'Project.short_description'
17 db.add_column(u'orm_project', 'short_description',
18 self.gf('django.db.models.fields.CharField')(default='', max_length=50, blank=True),
19 keep_default=False)
20
21 # Adding field 'Project.user_id'
22 db.add_column(u'orm_project', 'user_id',
23 self.gf('django.db.models.fields.IntegerField')(null=True),
24 keep_default=False)
25
26
27 def backwards(self, orm):
28 # Deleting field 'Project.branch'
29 db.delete_column(u'orm_project', 'branch')
30
31 # Deleting field 'Project.short_description'
32 db.delete_column(u'orm_project', 'short_description')
33
34 # Deleting field 'Project.user_id'
35 db.delete_column(u'orm_project', 'user_id')
36
37
38 models = {
39 u'orm.build': {
40 'Meta': {'object_name': 'Build'},
41 'bitbake_version': ('django.db.models.fields.CharField', [], {'max_length': '50'}),
42 'build_name': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
43 'completed_on': ('django.db.models.fields.DateTimeField', [], {}),
44 'cooker_log_path': ('django.db.models.fields.CharField', [], {'max_length': '500'}),
45 'distro': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
46 'distro_version': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
47 'errors_no': ('django.db.models.fields.IntegerField', [], {'default': '0'}),
48 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
49 'machine': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
50 'outcome': ('django.db.models.fields.IntegerField', [], {'default': '2'}),
51 'project': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.Project']", 'null': 'True'}),
52 'started_on': ('django.db.models.fields.DateTimeField', [], {}),
53 'timespent': ('django.db.models.fields.IntegerField', [], {'default': '0'}),
54 'warnings_no': ('django.db.models.fields.IntegerField', [], {'default': '0'})
55 },
56 u'orm.helptext': {
57 'Meta': {'object_name': 'HelpText'},
58 'area': ('django.db.models.fields.IntegerField', [], {}),
59 'build': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'helptext_build'", 'to': u"orm['orm.Build']"}),
60 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
61 'key': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
62 'text': ('django.db.models.fields.TextField', [], {})
63 },
64 u'orm.layer': {
65 'Meta': {'object_name': 'Layer'},
66 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
67 'layer_index_url': ('django.db.models.fields.URLField', [], {'max_length': '200'}),
68 'local_path': ('django.db.models.fields.FilePathField', [], {'max_length': '255'}),
69 'name': ('django.db.models.fields.CharField', [], {'max_length': '100'})
70 },
71 u'orm.layer_version': {
72 'Meta': {'object_name': 'Layer_Version'},
73 'branch': ('django.db.models.fields.CharField', [], {'max_length': '50'}),
74 'build': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'layer_version_build'", 'to': u"orm['orm.Build']"}),
75 'commit': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
76 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
77 'layer': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'layer_version_layer'", 'to': u"orm['orm.Layer']"}),
78 'priority': ('django.db.models.fields.IntegerField', [], {})
79 },
80 u'orm.logmessage': {
81 'Meta': {'object_name': 'LogMessage'},
82 'build': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.Build']"}),
83 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
84 'level': ('django.db.models.fields.IntegerField', [], {'default': '0'}),
85 'lineno': ('django.db.models.fields.IntegerField', [], {'null': 'True'}),
86 'message': ('django.db.models.fields.CharField', [], {'max_length': '240'}),
87 'pathname': ('django.db.models.fields.FilePathField', [], {'max_length': '255', 'blank': 'True'}),
88 'task': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.Task']", 'null': 'True', 'blank': 'True'})
89 },
90 u'orm.package': {
91 'Meta': {'object_name': 'Package'},
92 'build': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.Build']"}),
93 'description': ('django.db.models.fields.TextField', [], {'blank': 'True'}),
94 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
95 'installed_name': ('django.db.models.fields.CharField', [], {'default': "''", 'max_length': '100'}),
96 'installed_size': ('django.db.models.fields.IntegerField', [], {'default': '0'}),
97 'license': ('django.db.models.fields.CharField', [], {'max_length': '80', 'blank': 'True'}),
98 'name': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
99 'recipe': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.Recipe']", 'null': 'True'}),
100 'revision': ('django.db.models.fields.CharField', [], {'max_length': '32', 'blank': 'True'}),
101 'section': ('django.db.models.fields.CharField', [], {'max_length': '80', 'blank': 'True'}),
102 'size': ('django.db.models.fields.IntegerField', [], {'default': '0'}),
103 'summary': ('django.db.models.fields.CharField', [], {'max_length': '200', 'blank': 'True'}),
104 'version': ('django.db.models.fields.CharField', [], {'max_length': '100', 'blank': 'True'})
105 },
106 u'orm.package_dependency': {
107 'Meta': {'object_name': 'Package_Dependency'},
108 'dep_type': ('django.db.models.fields.IntegerField', [], {}),
109 'depends_on': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'package_dependencies_target'", 'to': u"orm['orm.Package']"}),
110 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
111 'package': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'package_dependencies_source'", 'to': u"orm['orm.Package']"}),
112 'target': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.Target']", 'null': 'True'})
113 },
114 u'orm.package_file': {
115 'Meta': {'object_name': 'Package_File'},
116 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
117 'package': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'buildfilelist_package'", 'to': u"orm['orm.Package']"}),
118 'path': ('django.db.models.fields.FilePathField', [], {'max_length': '255', 'blank': 'True'}),
119 'size': ('django.db.models.fields.IntegerField', [], {})
120 },
121 u'orm.project': {
122 'Meta': {'object_name': 'Project'},
123 'branch': ('django.db.models.fields.CharField', [], {'max_length': '50'}),
124 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}),
125 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
126 'name': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
127 'short_description': ('django.db.models.fields.CharField', [], {'max_length': '50', 'blank': 'True'}),
128 'updated': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}),
129 'user_id': ('django.db.models.fields.IntegerField', [], {'null': 'True'})
130 },
131 u'orm.projectlayer': {
132 'Meta': {'object_name': 'ProjectLayer'},
133 'commit': ('django.db.models.fields.CharField', [], {'max_length': '254'}),
134 'giturl': ('django.db.models.fields.CharField', [], {'max_length': '254'}),
135 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
136 'name': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
137 'project': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.Project']"})
138 },
139 u'orm.projecttarget': {
140 'Meta': {'object_name': 'ProjectTarget'},
141 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
142 'project': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.Project']"}),
143 'target': ('django.db.models.fields.CharField', [], {'max_length': '100'})
144 },
145 u'orm.projectvariable': {
146 'Meta': {'object_name': 'ProjectVariable'},
147 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
148 'name': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
149 'project': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.Project']"}),
150 'value': ('django.db.models.fields.TextField', [], {'blank': 'True'})
151 },
152 u'orm.recipe': {
153 'Meta': {'object_name': 'Recipe'},
154 'bugtracker': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}),
155 'description': ('django.db.models.fields.TextField', [], {'blank': 'True'}),
156 'file_path': ('django.db.models.fields.FilePathField', [], {'max_length': '255'}),
157 'homepage': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}),
158 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
159 'layer_version': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'recipe_layer_version'", 'to': u"orm['orm.Layer_Version']"}),
160 'license': ('django.db.models.fields.CharField', [], {'max_length': '200', 'blank': 'True'}),
161 'name': ('django.db.models.fields.CharField', [], {'max_length': '100', 'blank': 'True'}),
162 'section': ('django.db.models.fields.CharField', [], {'max_length': '100', 'blank': 'True'}),
163 'summary': ('django.db.models.fields.CharField', [], {'max_length': '100', 'blank': 'True'}),
164 'version': ('django.db.models.fields.CharField', [], {'max_length': '100', 'blank': 'True'})
165 },
166 u'orm.recipe_dependency': {
167 'Meta': {'object_name': 'Recipe_Dependency'},
168 'dep_type': ('django.db.models.fields.IntegerField', [], {}),
169 'depends_on': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'r_dependencies_depends'", 'to': u"orm['orm.Recipe']"}),
170 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
171 'recipe': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'r_dependencies_recipe'", 'to': u"orm['orm.Recipe']"})
172 },
173 u'orm.target': {
174 'Meta': {'object_name': 'Target'},
175 'build': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.Build']"}),
176 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
177 'image_size': ('django.db.models.fields.IntegerField', [], {'default': '0'}),
178 'is_image': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
179 'license_manifest_path': ('django.db.models.fields.CharField', [], {'max_length': '500', 'null': 'True'}),
180 'target': ('django.db.models.fields.CharField', [], {'max_length': '100'})
181 },
182 u'orm.target_file': {
183 'Meta': {'object_name': 'Target_File'},
184 'directory': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'directory_set'", 'null': 'True', 'to': u"orm['orm.Target_File']"}),
185 'group': ('django.db.models.fields.CharField', [], {'max_length': '128'}),
186 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
187 'inodetype': ('django.db.models.fields.IntegerField', [], {}),
188 'owner': ('django.db.models.fields.CharField', [], {'max_length': '128'}),
189 'path': ('django.db.models.fields.FilePathField', [], {'max_length': '100'}),
190 'permission': ('django.db.models.fields.CharField', [], {'max_length': '16'}),
191 'size': ('django.db.models.fields.IntegerField', [], {}),
192 'sym_target': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'symlink_set'", 'null': 'True', 'to': u"orm['orm.Target_File']"}),
193 'target': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.Target']"})
194 },
195 u'orm.target_image_file': {
196 'Meta': {'object_name': 'Target_Image_File'},
197 'file_name': ('django.db.models.fields.FilePathField', [], {'max_length': '254'}),
198 'file_size': ('django.db.models.fields.IntegerField', [], {}),
199 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
200 'target': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.Target']"})
201 },
202 u'orm.target_installed_package': {
203 'Meta': {'object_name': 'Target_Installed_Package'},
204 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
205 'package': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'buildtargetlist_package'", 'to': u"orm['orm.Package']"}),
206 'target': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.Target']"})
207 },
208 u'orm.task': {
209 'Meta': {'ordering': "('order', 'recipe')", 'unique_together': "(('build', 'recipe', 'task_name'),)", 'object_name': 'Task'},
210 'build': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'task_build'", 'to': u"orm['orm.Build']"}),
211 'cpu_usage': ('django.db.models.fields.DecimalField', [], {'null': 'True', 'max_digits': '6', 'decimal_places': '2'}),
212 'disk_io': ('django.db.models.fields.IntegerField', [], {'null': 'True'}),
213 'elapsed_time': ('django.db.models.fields.DecimalField', [], {'null': 'True', 'max_digits': '6', 'decimal_places': '2'}),
214 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
215 'line_number': ('django.db.models.fields.IntegerField', [], {'default': '0'}),
216 'logfile': ('django.db.models.fields.FilePathField', [], {'max_length': '255', 'blank': 'True'}),
217 'message': ('django.db.models.fields.CharField', [], {'max_length': '240'}),
218 'order': ('django.db.models.fields.IntegerField', [], {'null': 'True'}),
219 'outcome': ('django.db.models.fields.IntegerField', [], {'default': '-1'}),
220 'path_to_sstate_obj': ('django.db.models.fields.FilePathField', [], {'max_length': '500', 'blank': 'True'}),
221 'recipe': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'build_recipe'", 'to': u"orm['orm.Recipe']"}),
222 'script_type': ('django.db.models.fields.IntegerField', [], {'default': '0'}),
223 'source_url': ('django.db.models.fields.FilePathField', [], {'max_length': '255', 'blank': 'True'}),
224 'sstate_checksum': ('django.db.models.fields.CharField', [], {'max_length': '100', 'blank': 'True'}),
225 'sstate_result': ('django.db.models.fields.IntegerField', [], {'default': '0'}),
226 'task_executed': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
227 'task_name': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
228 'work_directory': ('django.db.models.fields.FilePathField', [], {'max_length': '255', 'blank': 'True'})
229 },
230 u'orm.task_dependency': {
231 'Meta': {'object_name': 'Task_Dependency'},
232 'depends_on': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'task_dependencies_depends'", 'to': u"orm['orm.Task']"}),
233 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
234 'task': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'task_dependencies_task'", 'to': u"orm['orm.Task']"})
235 },
236 u'orm.variable': {
237 'Meta': {'object_name': 'Variable'},
238 'build': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'variable_build'", 'to': u"orm['orm.Build']"}),
239 'changed': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
240 'description': ('django.db.models.fields.TextField', [], {'blank': 'True'}),
241 'human_readable_name': ('django.db.models.fields.CharField', [], {'max_length': '200'}),
242 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
243 'variable_name': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
244 'variable_value': ('django.db.models.fields.TextField', [], {'blank': 'True'})
245 },
246 u'orm.variablehistory': {
247 'Meta': {'object_name': 'VariableHistory'},
248 'file_name': ('django.db.models.fields.FilePathField', [], {'max_length': '255'}),
249 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
250 'line_number': ('django.db.models.fields.IntegerField', [], {'null': 'True'}),
251 'operation': ('django.db.models.fields.CharField', [], {'max_length': '64'}),
252 'value': ('django.db.models.fields.TextField', [], {'blank': 'True'}),
253 'variable': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'vhistory'", 'to': u"orm['orm.Variable']"})
254 }
255 }
256
257 complete_apps = ['orm'] \ No newline at end of file
diff --git a/bitbake/lib/toaster/orm/migrations/0011_auto__add_field_projectlayer_dirpath.py b/bitbake/lib/toaster/orm/migrations/0011_auto__add_field_projectlayer_dirpath.py
deleted file mode 100644
index 8a65221594..0000000000
--- a/bitbake/lib/toaster/orm/migrations/0011_auto__add_field_projectlayer_dirpath.py
+++ /dev/null
@@ -1,242 +0,0 @@
1# -*- coding: utf-8 -*-
2from south.utils import datetime_utils as datetime
3from south.db import db
4from south.v2 import SchemaMigration
5from django.db import models
6
7
8class Migration(SchemaMigration):
9
10 def forwards(self, orm):
11 # Adding field 'ProjectLayer.dirpath'
12 db.add_column(u'orm_projectlayer', 'dirpath',
13 self.gf('django.db.models.fields.CharField')(default='', max_length=254),
14 keep_default=False)
15
16
17 def backwards(self, orm):
18 # Deleting field 'ProjectLayer.dirpath'
19 db.delete_column(u'orm_projectlayer', 'dirpath')
20
21
22 models = {
23 u'orm.build': {
24 'Meta': {'object_name': 'Build'},
25 'bitbake_version': ('django.db.models.fields.CharField', [], {'max_length': '50'}),
26 'build_name': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
27 'completed_on': ('django.db.models.fields.DateTimeField', [], {}),
28 'cooker_log_path': ('django.db.models.fields.CharField', [], {'max_length': '500'}),
29 'distro': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
30 'distro_version': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
31 'errors_no': ('django.db.models.fields.IntegerField', [], {'default': '0'}),
32 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
33 'machine': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
34 'outcome': ('django.db.models.fields.IntegerField', [], {'default': '2'}),
35 'project': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.Project']", 'null': 'True'}),
36 'started_on': ('django.db.models.fields.DateTimeField', [], {}),
37 'timespent': ('django.db.models.fields.IntegerField', [], {'default': '0'}),
38 'warnings_no': ('django.db.models.fields.IntegerField', [], {'default': '0'})
39 },
40 u'orm.helptext': {
41 'Meta': {'object_name': 'HelpText'},
42 'area': ('django.db.models.fields.IntegerField', [], {}),
43 'build': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'helptext_build'", 'to': u"orm['orm.Build']"}),
44 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
45 'key': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
46 'text': ('django.db.models.fields.TextField', [], {})
47 },
48 u'orm.layer': {
49 'Meta': {'object_name': 'Layer'},
50 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
51 'layer_index_url': ('django.db.models.fields.URLField', [], {'max_length': '200'}),
52 'local_path': ('django.db.models.fields.FilePathField', [], {'max_length': '255'}),
53 'name': ('django.db.models.fields.CharField', [], {'max_length': '100'})
54 },
55 u'orm.layer_version': {
56 'Meta': {'object_name': 'Layer_Version'},
57 'branch': ('django.db.models.fields.CharField', [], {'max_length': '50'}),
58 'build': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'layer_version_build'", 'to': u"orm['orm.Build']"}),
59 'commit': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
60 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
61 'layer': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'layer_version_layer'", 'to': u"orm['orm.Layer']"}),
62 'priority': ('django.db.models.fields.IntegerField', [], {})
63 },
64 u'orm.logmessage': {
65 'Meta': {'object_name': 'LogMessage'},
66 'build': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.Build']"}),
67 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
68 'level': ('django.db.models.fields.IntegerField', [], {'default': '0'}),
69 'lineno': ('django.db.models.fields.IntegerField', [], {'null': 'True'}),
70 'message': ('django.db.models.fields.CharField', [], {'max_length': '240'}),
71 'pathname': ('django.db.models.fields.FilePathField', [], {'max_length': '255', 'blank': 'True'}),
72 'task': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.Task']", 'null': 'True', 'blank': 'True'})
73 },
74 u'orm.package': {
75 'Meta': {'object_name': 'Package'},
76 'build': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.Build']"}),
77 'description': ('django.db.models.fields.TextField', [], {'blank': 'True'}),
78 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
79 'installed_name': ('django.db.models.fields.CharField', [], {'default': "''", 'max_length': '100'}),
80 'installed_size': ('django.db.models.fields.IntegerField', [], {'default': '0'}),
81 'license': ('django.db.models.fields.CharField', [], {'max_length': '80', 'blank': 'True'}),
82 'name': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
83 'recipe': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.Recipe']", 'null': 'True'}),
84 'revision': ('django.db.models.fields.CharField', [], {'max_length': '32', 'blank': 'True'}),
85 'section': ('django.db.models.fields.CharField', [], {'max_length': '80', 'blank': 'True'}),
86 'size': ('django.db.models.fields.IntegerField', [], {'default': '0'}),
87 'summary': ('django.db.models.fields.CharField', [], {'max_length': '200', 'blank': 'True'}),
88 'version': ('django.db.models.fields.CharField', [], {'max_length': '100', 'blank': 'True'})
89 },
90 u'orm.package_dependency': {
91 'Meta': {'object_name': 'Package_Dependency'},
92 'dep_type': ('django.db.models.fields.IntegerField', [], {}),
93 'depends_on': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'package_dependencies_target'", 'to': u"orm['orm.Package']"}),
94 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
95 'package': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'package_dependencies_source'", 'to': u"orm['orm.Package']"}),
96 'target': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.Target']", 'null': 'True'})
97 },
98 u'orm.package_file': {
99 'Meta': {'object_name': 'Package_File'},
100 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
101 'package': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'buildfilelist_package'", 'to': u"orm['orm.Package']"}),
102 'path': ('django.db.models.fields.FilePathField', [], {'max_length': '255', 'blank': 'True'}),
103 'size': ('django.db.models.fields.IntegerField', [], {})
104 },
105 u'orm.project': {
106 'Meta': {'object_name': 'Project'},
107 'branch': ('django.db.models.fields.CharField', [], {'max_length': '50'}),
108 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}),
109 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
110 'name': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
111 'short_description': ('django.db.models.fields.CharField', [], {'max_length': '50', 'blank': 'True'}),
112 'updated': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}),
113 'user_id': ('django.db.models.fields.IntegerField', [], {'null': 'True'})
114 },
115 u'orm.projectlayer': {
116 'Meta': {'object_name': 'ProjectLayer'},
117 'commit': ('django.db.models.fields.CharField', [], {'max_length': '254'}),
118 'dirpath': ('django.db.models.fields.CharField', [], {'max_length': '254'}),
119 'giturl': ('django.db.models.fields.CharField', [], {'max_length': '254'}),
120 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
121 'name': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
122 'project': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.Project']"})
123 },
124 u'orm.projecttarget': {
125 'Meta': {'object_name': 'ProjectTarget'},
126 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
127 'project': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.Project']"}),
128 'target': ('django.db.models.fields.CharField', [], {'max_length': '100'})
129 },
130 u'orm.projectvariable': {
131 'Meta': {'object_name': 'ProjectVariable'},
132 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
133 'name': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
134 'project': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.Project']"}),
135 'value': ('django.db.models.fields.TextField', [], {'blank': 'True'})
136 },
137 u'orm.recipe': {
138 'Meta': {'object_name': 'Recipe'},
139 'bugtracker': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}),
140 'description': ('django.db.models.fields.TextField', [], {'blank': 'True'}),
141 'file_path': ('django.db.models.fields.FilePathField', [], {'max_length': '255'}),
142 'homepage': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}),
143 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
144 'layer_version': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'recipe_layer_version'", 'to': u"orm['orm.Layer_Version']"}),
145 'license': ('django.db.models.fields.CharField', [], {'max_length': '200', 'blank': 'True'}),
146 'name': ('django.db.models.fields.CharField', [], {'max_length': '100', 'blank': 'True'}),
147 'section': ('django.db.models.fields.CharField', [], {'max_length': '100', 'blank': 'True'}),
148 'summary': ('django.db.models.fields.CharField', [], {'max_length': '100', 'blank': 'True'}),
149 'version': ('django.db.models.fields.CharField', [], {'max_length': '100', 'blank': 'True'})
150 },
151 u'orm.recipe_dependency': {
152 'Meta': {'object_name': 'Recipe_Dependency'},
153 'dep_type': ('django.db.models.fields.IntegerField', [], {}),
154 'depends_on': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'r_dependencies_depends'", 'to': u"orm['orm.Recipe']"}),
155 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
156 'recipe': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'r_dependencies_recipe'", 'to': u"orm['orm.Recipe']"})
157 },
158 u'orm.target': {
159 'Meta': {'object_name': 'Target'},
160 'build': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.Build']"}),
161 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
162 'image_size': ('django.db.models.fields.IntegerField', [], {'default': '0'}),
163 'is_image': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
164 'license_manifest_path': ('django.db.models.fields.CharField', [], {'max_length': '500', 'null': 'True'}),
165 'target': ('django.db.models.fields.CharField', [], {'max_length': '100'})
166 },
167 u'orm.target_file': {
168 'Meta': {'object_name': 'Target_File'},
169 'directory': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'directory_set'", 'null': 'True', 'to': u"orm['orm.Target_File']"}),
170 'group': ('django.db.models.fields.CharField', [], {'max_length': '128'}),
171 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
172 'inodetype': ('django.db.models.fields.IntegerField', [], {}),
173 'owner': ('django.db.models.fields.CharField', [], {'max_length': '128'}),
174 'path': ('django.db.models.fields.FilePathField', [], {'max_length': '100'}),
175 'permission': ('django.db.models.fields.CharField', [], {'max_length': '16'}),
176 'size': ('django.db.models.fields.IntegerField', [], {}),
177 'sym_target': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'symlink_set'", 'null': 'True', 'to': u"orm['orm.Target_File']"}),
178 'target': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.Target']"})
179 },
180 u'orm.target_image_file': {
181 'Meta': {'object_name': 'Target_Image_File'},
182 'file_name': ('django.db.models.fields.FilePathField', [], {'max_length': '254'}),
183 'file_size': ('django.db.models.fields.IntegerField', [], {}),
184 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
185 'target': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.Target']"})
186 },
187 u'orm.target_installed_package': {
188 'Meta': {'object_name': 'Target_Installed_Package'},
189 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
190 'package': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'buildtargetlist_package'", 'to': u"orm['orm.Package']"}),
191 'target': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.Target']"})
192 },
193 u'orm.task': {
194 'Meta': {'ordering': "('order', 'recipe')", 'unique_together': "(('build', 'recipe', 'task_name'),)", 'object_name': 'Task'},
195 'build': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'task_build'", 'to': u"orm['orm.Build']"}),
196 'cpu_usage': ('django.db.models.fields.DecimalField', [], {'null': 'True', 'max_digits': '6', 'decimal_places': '2'}),
197 'disk_io': ('django.db.models.fields.IntegerField', [], {'null': 'True'}),
198 'elapsed_time': ('django.db.models.fields.DecimalField', [], {'null': 'True', 'max_digits': '6', 'decimal_places': '2'}),
199 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
200 'line_number': ('django.db.models.fields.IntegerField', [], {'default': '0'}),
201 'logfile': ('django.db.models.fields.FilePathField', [], {'max_length': '255', 'blank': 'True'}),
202 'message': ('django.db.models.fields.CharField', [], {'max_length': '240'}),
203 'order': ('django.db.models.fields.IntegerField', [], {'null': 'True'}),
204 'outcome': ('django.db.models.fields.IntegerField', [], {'default': '-1'}),
205 'path_to_sstate_obj': ('django.db.models.fields.FilePathField', [], {'max_length': '500', 'blank': 'True'}),
206 'recipe': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'build_recipe'", 'to': u"orm['orm.Recipe']"}),
207 'script_type': ('django.db.models.fields.IntegerField', [], {'default': '0'}),
208 'source_url': ('django.db.models.fields.FilePathField', [], {'max_length': '255', 'blank': 'True'}),
209 'sstate_checksum': ('django.db.models.fields.CharField', [], {'max_length': '100', 'blank': 'True'}),
210 'sstate_result': ('django.db.models.fields.IntegerField', [], {'default': '0'}),
211 'task_executed': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
212 'task_name': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
213 'work_directory': ('django.db.models.fields.FilePathField', [], {'max_length': '255', 'blank': 'True'})
214 },
215 u'orm.task_dependency': {
216 'Meta': {'object_name': 'Task_Dependency'},
217 'depends_on': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'task_dependencies_depends'", 'to': u"orm['orm.Task']"}),
218 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
219 'task': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'task_dependencies_task'", 'to': u"orm['orm.Task']"})
220 },
221 u'orm.variable': {
222 'Meta': {'object_name': 'Variable'},
223 'build': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'variable_build'", 'to': u"orm['orm.Build']"}),
224 'changed': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
225 'description': ('django.db.models.fields.TextField', [], {'blank': 'True'}),
226 'human_readable_name': ('django.db.models.fields.CharField', [], {'max_length': '200'}),
227 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
228 'variable_name': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
229 'variable_value': ('django.db.models.fields.TextField', [], {'blank': 'True'})
230 },
231 u'orm.variablehistory': {
232 'Meta': {'object_name': 'VariableHistory'},
233 'file_name': ('django.db.models.fields.FilePathField', [], {'max_length': '255'}),
234 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
235 'line_number': ('django.db.models.fields.IntegerField', [], {'null': 'True'}),
236 'operation': ('django.db.models.fields.CharField', [], {'max_length': '64'}),
237 'value': ('django.db.models.fields.TextField', [], {'blank': 'True'}),
238 'variable': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'vhistory'", 'to': u"orm['orm.Variable']"})
239 }
240 }
241
242 complete_apps = ['orm'] \ No newline at end of file
diff --git a/bitbake/lib/toaster/orm/migrations/0012_auto__add_field_projectlayer_optional__add_field_projecttarget_task.py b/bitbake/lib/toaster/orm/migrations/0012_auto__add_field_projectlayer_optional__add_field_projecttarget_task.py
deleted file mode 100644
index 9e483f5dac..0000000000
--- a/bitbake/lib/toaster/orm/migrations/0012_auto__add_field_projectlayer_optional__add_field_projecttarget_task.py
+++ /dev/null
@@ -1,252 +0,0 @@
1# -*- coding: utf-8 -*-
2from south.utils import datetime_utils as datetime
3from south.db import db
4from south.v2 import SchemaMigration
5from django.db import models
6
7
8class Migration(SchemaMigration):
9
10 def forwards(self, orm):
11 # Adding field 'ProjectLayer.optional'
12 db.add_column(u'orm_projectlayer', 'optional',
13 self.gf('django.db.models.fields.BooleanField')(default=True),
14 keep_default=False)
15
16 # Adding field 'ProjectTarget.task'
17 db.add_column(u'orm_projecttarget', 'task',
18 self.gf('django.db.models.fields.CharField')(max_length=100, null=True),
19 keep_default=False)
20
21
22 def backwards(self, orm):
23 # Deleting field 'ProjectLayer.optional'
24 db.delete_column(u'orm_projectlayer', 'optional')
25
26 # Deleting field 'ProjectTarget.task'
27 db.delete_column(u'orm_projecttarget', 'task')
28
29
30 models = {
31 u'orm.build': {
32 'Meta': {'object_name': 'Build'},
33 'bitbake_version': ('django.db.models.fields.CharField', [], {'max_length': '50'}),
34 'build_name': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
35 'completed_on': ('django.db.models.fields.DateTimeField', [], {}),
36 'cooker_log_path': ('django.db.models.fields.CharField', [], {'max_length': '500'}),
37 'distro': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
38 'distro_version': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
39 'errors_no': ('django.db.models.fields.IntegerField', [], {'default': '0'}),
40 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
41 'machine': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
42 'outcome': ('django.db.models.fields.IntegerField', [], {'default': '2'}),
43 'project': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.Project']", 'null': 'True'}),
44 'started_on': ('django.db.models.fields.DateTimeField', [], {}),
45 'timespent': ('django.db.models.fields.IntegerField', [], {'default': '0'}),
46 'warnings_no': ('django.db.models.fields.IntegerField', [], {'default': '0'})
47 },
48 u'orm.helptext': {
49 'Meta': {'object_name': 'HelpText'},
50 'area': ('django.db.models.fields.IntegerField', [], {}),
51 'build': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'helptext_build'", 'to': u"orm['orm.Build']"}),
52 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
53 'key': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
54 'text': ('django.db.models.fields.TextField', [], {})
55 },
56 u'orm.layer': {
57 'Meta': {'object_name': 'Layer'},
58 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
59 'layer_index_url': ('django.db.models.fields.URLField', [], {'max_length': '200'}),
60 'local_path': ('django.db.models.fields.FilePathField', [], {'max_length': '255'}),
61 'name': ('django.db.models.fields.CharField', [], {'max_length': '100'})
62 },
63 u'orm.layer_version': {
64 'Meta': {'object_name': 'Layer_Version'},
65 'branch': ('django.db.models.fields.CharField', [], {'max_length': '50'}),
66 'build': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'layer_version_build'", 'to': u"orm['orm.Build']"}),
67 'commit': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
68 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
69 'layer': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'layer_version_layer'", 'to': u"orm['orm.Layer']"}),
70 'priority': ('django.db.models.fields.IntegerField', [], {})
71 },
72 u'orm.logmessage': {
73 'Meta': {'object_name': 'LogMessage'},
74 'build': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.Build']"}),
75 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
76 'level': ('django.db.models.fields.IntegerField', [], {'default': '0'}),
77 'lineno': ('django.db.models.fields.IntegerField', [], {'null': 'True'}),
78 'message': ('django.db.models.fields.CharField', [], {'max_length': '240'}),
79 'pathname': ('django.db.models.fields.FilePathField', [], {'max_length': '255', 'blank': 'True'}),
80 'task': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.Task']", 'null': 'True', 'blank': 'True'})
81 },
82 u'orm.package': {
83 'Meta': {'object_name': 'Package'},
84 'build': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.Build']"}),
85 'description': ('django.db.models.fields.TextField', [], {'blank': 'True'}),
86 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
87 'installed_name': ('django.db.models.fields.CharField', [], {'default': "''", 'max_length': '100'}),
88 'installed_size': ('django.db.models.fields.IntegerField', [], {'default': '0'}),
89 'license': ('django.db.models.fields.CharField', [], {'max_length': '80', 'blank': 'True'}),
90 'name': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
91 'recipe': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.Recipe']", 'null': 'True'}),
92 'revision': ('django.db.models.fields.CharField', [], {'max_length': '32', 'blank': 'True'}),
93 'section': ('django.db.models.fields.CharField', [], {'max_length': '80', 'blank': 'True'}),
94 'size': ('django.db.models.fields.IntegerField', [], {'default': '0'}),
95 'summary': ('django.db.models.fields.CharField', [], {'max_length': '200', 'blank': 'True'}),
96 'version': ('django.db.models.fields.CharField', [], {'max_length': '100', 'blank': 'True'})
97 },
98 u'orm.package_dependency': {
99 'Meta': {'object_name': 'Package_Dependency'},
100 'dep_type': ('django.db.models.fields.IntegerField', [], {}),
101 'depends_on': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'package_dependencies_target'", 'to': u"orm['orm.Package']"}),
102 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
103 'package': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'package_dependencies_source'", 'to': u"orm['orm.Package']"}),
104 'target': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.Target']", 'null': 'True'})
105 },
106 u'orm.package_file': {
107 'Meta': {'object_name': 'Package_File'},
108 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
109 'package': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'buildfilelist_package'", 'to': u"orm['orm.Package']"}),
110 'path': ('django.db.models.fields.FilePathField', [], {'max_length': '255', 'blank': 'True'}),
111 'size': ('django.db.models.fields.IntegerField', [], {})
112 },
113 u'orm.project': {
114 'Meta': {'object_name': 'Project'},
115 'branch': ('django.db.models.fields.CharField', [], {'max_length': '50'}),
116 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}),
117 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
118 'name': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
119 'short_description': ('django.db.models.fields.CharField', [], {'max_length': '50', 'blank': 'True'}),
120 'updated': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}),
121 'user_id': ('django.db.models.fields.IntegerField', [], {'null': 'True'})
122 },
123 u'orm.projectlayer': {
124 'Meta': {'object_name': 'ProjectLayer'},
125 'commit': ('django.db.models.fields.CharField', [], {'max_length': '254'}),
126 'dirpath': ('django.db.models.fields.CharField', [], {'max_length': '254'}),
127 'giturl': ('django.db.models.fields.CharField', [], {'max_length': '254'}),
128 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
129 'name': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
130 'optional': ('django.db.models.fields.BooleanField', [], {'default': 'True'}),
131 'project': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.Project']"})
132 },
133 u'orm.projecttarget': {
134 'Meta': {'object_name': 'ProjectTarget'},
135 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
136 'project': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.Project']"}),
137 'target': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
138 'task': ('django.db.models.fields.CharField', [], {'max_length': '100', 'null': 'True'})
139 },
140 u'orm.projectvariable': {
141 'Meta': {'object_name': 'ProjectVariable'},
142 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
143 'name': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
144 'project': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.Project']"}),
145 'value': ('django.db.models.fields.TextField', [], {'blank': 'True'})
146 },
147 u'orm.recipe': {
148 'Meta': {'object_name': 'Recipe'},
149 'bugtracker': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}),
150 'description': ('django.db.models.fields.TextField', [], {'blank': 'True'}),
151 'file_path': ('django.db.models.fields.FilePathField', [], {'max_length': '255'}),
152 'homepage': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}),
153 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
154 'layer_version': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'recipe_layer_version'", 'to': u"orm['orm.Layer_Version']"}),
155 'license': ('django.db.models.fields.CharField', [], {'max_length': '200', 'blank': 'True'}),
156 'name': ('django.db.models.fields.CharField', [], {'max_length': '100', 'blank': 'True'}),
157 'section': ('django.db.models.fields.CharField', [], {'max_length': '100', 'blank': 'True'}),
158 'summary': ('django.db.models.fields.CharField', [], {'max_length': '100', 'blank': 'True'}),
159 'version': ('django.db.models.fields.CharField', [], {'max_length': '100', 'blank': 'True'})
160 },
161 u'orm.recipe_dependency': {
162 'Meta': {'object_name': 'Recipe_Dependency'},
163 'dep_type': ('django.db.models.fields.IntegerField', [], {}),
164 'depends_on': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'r_dependencies_depends'", 'to': u"orm['orm.Recipe']"}),
165 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
166 'recipe': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'r_dependencies_recipe'", 'to': u"orm['orm.Recipe']"})
167 },
168 u'orm.target': {
169 'Meta': {'object_name': 'Target'},
170 'build': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.Build']"}),
171 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
172 'image_size': ('django.db.models.fields.IntegerField', [], {'default': '0'}),
173 'is_image': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
174 'license_manifest_path': ('django.db.models.fields.CharField', [], {'max_length': '500', 'null': 'True'}),
175 'target': ('django.db.models.fields.CharField', [], {'max_length': '100'})
176 },
177 u'orm.target_file': {
178 'Meta': {'object_name': 'Target_File'},
179 'directory': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'directory_set'", 'null': 'True', 'to': u"orm['orm.Target_File']"}),
180 'group': ('django.db.models.fields.CharField', [], {'max_length': '128'}),
181 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
182 'inodetype': ('django.db.models.fields.IntegerField', [], {}),
183 'owner': ('django.db.models.fields.CharField', [], {'max_length': '128'}),
184 'path': ('django.db.models.fields.FilePathField', [], {'max_length': '100'}),
185 'permission': ('django.db.models.fields.CharField', [], {'max_length': '16'}),
186 'size': ('django.db.models.fields.IntegerField', [], {}),
187 'sym_target': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'symlink_set'", 'null': 'True', 'to': u"orm['orm.Target_File']"}),
188 'target': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.Target']"})
189 },
190 u'orm.target_image_file': {
191 'Meta': {'object_name': 'Target_Image_File'},
192 'file_name': ('django.db.models.fields.FilePathField', [], {'max_length': '254'}),
193 'file_size': ('django.db.models.fields.IntegerField', [], {}),
194 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
195 'target': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.Target']"})
196 },
197 u'orm.target_installed_package': {
198 'Meta': {'object_name': 'Target_Installed_Package'},
199 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
200 'package': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'buildtargetlist_package'", 'to': u"orm['orm.Package']"}),
201 'target': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.Target']"})
202 },
203 u'orm.task': {
204 'Meta': {'ordering': "('order', 'recipe')", 'unique_together': "(('build', 'recipe', 'task_name'),)", 'object_name': 'Task'},
205 'build': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'task_build'", 'to': u"orm['orm.Build']"}),
206 'cpu_usage': ('django.db.models.fields.DecimalField', [], {'null': 'True', 'max_digits': '6', 'decimal_places': '2'}),
207 'disk_io': ('django.db.models.fields.IntegerField', [], {'null': 'True'}),
208 'elapsed_time': ('django.db.models.fields.DecimalField', [], {'null': 'True', 'max_digits': '6', 'decimal_places': '2'}),
209 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
210 'line_number': ('django.db.models.fields.IntegerField', [], {'default': '0'}),
211 'logfile': ('django.db.models.fields.FilePathField', [], {'max_length': '255', 'blank': 'True'}),
212 'message': ('django.db.models.fields.CharField', [], {'max_length': '240'}),
213 'order': ('django.db.models.fields.IntegerField', [], {'null': 'True'}),
214 'outcome': ('django.db.models.fields.IntegerField', [], {'default': '-1'}),
215 'path_to_sstate_obj': ('django.db.models.fields.FilePathField', [], {'max_length': '500', 'blank': 'True'}),
216 'recipe': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'build_recipe'", 'to': u"orm['orm.Recipe']"}),
217 'script_type': ('django.db.models.fields.IntegerField', [], {'default': '0'}),
218 'source_url': ('django.db.models.fields.FilePathField', [], {'max_length': '255', 'blank': 'True'}),
219 'sstate_checksum': ('django.db.models.fields.CharField', [], {'max_length': '100', 'blank': 'True'}),
220 'sstate_result': ('django.db.models.fields.IntegerField', [], {'default': '0'}),
221 'task_executed': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
222 'task_name': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
223 'work_directory': ('django.db.models.fields.FilePathField', [], {'max_length': '255', 'blank': 'True'})
224 },
225 u'orm.task_dependency': {
226 'Meta': {'object_name': 'Task_Dependency'},
227 'depends_on': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'task_dependencies_depends'", 'to': u"orm['orm.Task']"}),
228 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
229 'task': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'task_dependencies_task'", 'to': u"orm['orm.Task']"})
230 },
231 u'orm.variable': {
232 'Meta': {'object_name': 'Variable'},
233 'build': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'variable_build'", 'to': u"orm['orm.Build']"}),
234 'changed': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
235 'description': ('django.db.models.fields.TextField', [], {'blank': 'True'}),
236 'human_readable_name': ('django.db.models.fields.CharField', [], {'max_length': '200'}),
237 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
238 'variable_name': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
239 'variable_value': ('django.db.models.fields.TextField', [], {'blank': 'True'})
240 },
241 u'orm.variablehistory': {
242 'Meta': {'object_name': 'VariableHistory'},
243 'file_name': ('django.db.models.fields.FilePathField', [], {'max_length': '255'}),
244 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
245 'line_number': ('django.db.models.fields.IntegerField', [], {'null': 'True'}),
246 'operation': ('django.db.models.fields.CharField', [], {'max_length': '64'}),
247 'value': ('django.db.models.fields.TextField', [], {'blank': 'True'}),
248 'variable': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'vhistory'", 'to': u"orm['orm.Variable']"})
249 }
250 }
251
252 complete_apps = ['orm'] \ No newline at end of file
diff --git a/bitbake/lib/toaster/orm/migrations/0013_auto__add_release__add_layerversiondependency__add_unique_layerversion.py b/bitbake/lib/toaster/orm/migrations/0013_auto__add_release__add_layerversiondependency__add_unique_layerversion.py
deleted file mode 100644
index 7c954e6bef..0000000000
--- a/bitbake/lib/toaster/orm/migrations/0013_auto__add_release__add_layerversiondependency__add_unique_layerversion.py
+++ /dev/null
@@ -1,710 +0,0 @@
1# -*- coding: utf-8 -*-
2from south.utils import datetime_utils as datetime
3from south.db import db
4from south.v2 import SchemaMigration
5from django.db import models
6
7
8class Migration(SchemaMigration):
9
10 def forwards(self, orm):
11 # Adding model 'Release'
12 db.create_table(u'orm_release', (
13 (u'id', self.gf('django.db.models.fields.AutoField')(primary_key=True)),
14 ('name', self.gf('django.db.models.fields.CharField')(unique=True, max_length=32)),
15 ('description', self.gf('django.db.models.fields.CharField')(max_length=255)),
16 ('bitbake_version', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['orm.BitbakeVersion'])),
17 ('branch', self.gf('django.db.models.fields.CharField')(max_length=32)),
18 ))
19 db.send_create_signal(u'orm', ['Release'])
20
21 # Adding model 'LayerVersionDependency'
22 db.create_table(u'orm_layerversiondependency', (
23 (u'id', self.gf('django.db.models.fields.AutoField')(primary_key=True)),
24 ('layer_source', self.gf('django.db.models.fields.related.ForeignKey')(default=None, to=orm['orm.LayerSource'], null=True)),
25 ('up_id', self.gf('django.db.models.fields.IntegerField')(default=None, null=True)),
26 ('layer_version', self.gf('django.db.models.fields.related.ForeignKey')(related_name='dependencies', to=orm['orm.Layer_Version'])),
27 ('depends_on', self.gf('django.db.models.fields.related.ForeignKey')(related_name='dependees', to=orm['orm.Layer_Version'])),
28 ))
29 db.send_create_signal(u'orm', ['LayerVersionDependency'])
30
31 # Adding unique constraint on 'LayerVersionDependency', fields ['layer_source', 'up_id']
32 db.create_unique(u'orm_layerversiondependency', ['layer_source_id', 'up_id'])
33
34 # Adding model 'ToasterSetting'
35 db.create_table(u'orm_toastersetting', (
36 (u'id', self.gf('django.db.models.fields.AutoField')(primary_key=True)),
37 ('name', self.gf('django.db.models.fields.CharField')(max_length=63)),
38 ('helptext', self.gf('django.db.models.fields.TextField')()),
39 ('value', self.gf('django.db.models.fields.CharField')(max_length=255)),
40 ))
41 db.send_create_signal(u'orm', ['ToasterSetting'])
42
43 # Adding model 'Machine'
44 db.create_table(u'orm_machine', (
45 (u'id', self.gf('django.db.models.fields.AutoField')(primary_key=True)),
46 ('layer_source', self.gf('django.db.models.fields.related.ForeignKey')(default=None, to=orm['orm.LayerSource'], null=True)),
47 ('up_id', self.gf('django.db.models.fields.IntegerField')(default=None, null=True)),
48 ('up_date', self.gf('django.db.models.fields.DateTimeField')(default=None, null=True)),
49 ('layer_version', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['orm.Layer_Version'])),
50 ('name', self.gf('django.db.models.fields.CharField')(max_length=255)),
51 ('description', self.gf('django.db.models.fields.CharField')(max_length=255)),
52 ))
53 db.send_create_signal(u'orm', ['Machine'])
54
55 # Adding unique constraint on 'Machine', fields ['layer_source', 'up_id']
56 db.create_unique(u'orm_machine', ['layer_source_id', 'up_id'])
57
58 # Adding model 'ReleaseDefaultLayer'
59 db.create_table(u'orm_releasedefaultlayer', (
60 (u'id', self.gf('django.db.models.fields.AutoField')(primary_key=True)),
61 ('release', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['orm.Release'])),
62 ('layer', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['orm.Layer'])),
63 ))
64 db.send_create_signal(u'orm', ['ReleaseDefaultLayer'])
65
66 # Adding model 'BitbakeVersion'
67 db.create_table(u'orm_bitbakeversion', (
68 (u'id', self.gf('django.db.models.fields.AutoField')(primary_key=True)),
69 ('name', self.gf('django.db.models.fields.CharField')(unique=True, max_length=32)),
70 ('giturl', self.gf('django.db.models.fields.URLField')(max_length=200)),
71 ('branch', self.gf('django.db.models.fields.CharField')(max_length=32)),
72 ('dirpath', self.gf('django.db.models.fields.CharField')(max_length=255)),
73 ))
74 db.send_create_signal(u'orm', ['BitbakeVersion'])
75
76 # Adding model 'Branch'
77 db.create_table(u'orm_branch', (
78 (u'id', self.gf('django.db.models.fields.AutoField')(primary_key=True)),
79 ('layer_source', self.gf('django.db.models.fields.related.ForeignKey')(default=True, to=orm['orm.LayerSource'], null=True)),
80 ('up_id', self.gf('django.db.models.fields.IntegerField')(default=None, null=True)),
81 ('up_date', self.gf('django.db.models.fields.DateTimeField')(default=None, null=True)),
82 ('name', self.gf('django.db.models.fields.CharField')(max_length=50)),
83 ('bitbake_branch', self.gf('django.db.models.fields.CharField')(max_length=50, blank=True)),
84 ('short_description', self.gf('django.db.models.fields.CharField')(max_length=50, blank=True)),
85 ))
86 db.send_create_signal(u'orm', ['Branch'])
87
88 # Adding unique constraint on 'Branch', fields ['layer_source', 'name']
89 db.create_unique(u'orm_branch', ['layer_source_id', 'name'])
90
91 # Adding unique constraint on 'Branch', fields ['layer_source', 'up_id']
92 db.create_unique(u'orm_branch', ['layer_source_id', 'up_id'])
93
94 # Adding model 'ToasterSettingDefaultLayer'
95 db.create_table(u'orm_toastersettingdefaultlayer', (
96 (u'id', self.gf('django.db.models.fields.AutoField')(primary_key=True)),
97 ('layer_version', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['orm.Layer_Version'])),
98 ))
99 db.send_create_signal(u'orm', ['ToasterSettingDefaultLayer'])
100
101 # Adding model 'LayerSource'
102 db.create_table(u'orm_layersource', (
103 (u'id', self.gf('django.db.models.fields.AutoField')(primary_key=True)),
104 ('name', self.gf('django.db.models.fields.CharField')(max_length=63)),
105 ('sourcetype', self.gf('django.db.models.fields.IntegerField')()),
106 ('apiurl', self.gf('django.db.models.fields.CharField')(default=None, max_length=255, null=True)),
107 ))
108 db.send_create_signal(u'orm', ['LayerSource'])
109
110 # Adding unique constraint on 'LayerSource', fields ['sourcetype', 'apiurl']
111 db.create_unique(u'orm_layersource', ['sourcetype', 'apiurl'])
112
113 # Deleting field 'ProjectLayer.name'
114 db.delete_column(u'orm_projectlayer', 'name')
115
116 # Deleting field 'ProjectLayer.dirpath'
117 db.delete_column(u'orm_projectlayer', 'dirpath')
118
119 # Deleting field 'ProjectLayer.commit'
120 db.delete_column(u'orm_projectlayer', 'commit')
121
122 # Deleting field 'ProjectLayer.giturl'
123 db.delete_column(u'orm_projectlayer', 'giturl')
124
125 # Adding field 'ProjectLayer.layercommit'
126 db.add_column(u'orm_projectlayer', 'layercommit',
127 self.gf('django.db.models.fields.related.ForeignKey')(to=orm['orm.Layer_Version'], null=True),
128 keep_default=False)
129
130 # Adding field 'Layer_Version.layer_source'
131 db.add_column(u'orm_layer_version', 'layer_source',
132 self.gf('django.db.models.fields.related.ForeignKey')(default=None, to=orm['orm.LayerSource'], null=True),
133 keep_default=False)
134
135 # Adding field 'Layer_Version.up_id'
136 db.add_column(u'orm_layer_version', 'up_id',
137 self.gf('django.db.models.fields.IntegerField')(default=None, null=True),
138 keep_default=False)
139
140 # Adding field 'Layer_Version.up_date'
141 db.add_column(u'orm_layer_version', 'up_date',
142 self.gf('django.db.models.fields.DateTimeField')(default=None, null=True),
143 keep_default=False)
144
145 # Adding field 'Layer_Version.up_branch'
146 db.add_column(u'orm_layer_version', 'up_branch',
147 self.gf('django.db.models.fields.related.ForeignKey')(default=None, to=orm['orm.Branch'], null=True),
148 keep_default=False)
149
150 # Adding field 'Layer_Version.dirpath'
151 db.add_column(u'orm_layer_version', 'dirpath',
152 self.gf('django.db.models.fields.CharField')(default=None, max_length=255, null=True),
153 keep_default=False)
154
155
156 # Changing field 'Layer_Version.build'
157 db.alter_column(u'orm_layer_version', 'build_id', self.gf('django.db.models.fields.related.ForeignKey')(null=True, to=orm['orm.Build']))
158
159 # Changing field 'Layer_Version.branch'
160 db.alter_column(u'orm_layer_version', 'branch', self.gf('django.db.models.fields.CharField')(max_length=80))
161 # Adding unique constraint on 'Layer_Version', fields ['layer_source', 'up_id']
162 db.create_unique(u'orm_layer_version', ['layer_source_id', 'up_id'])
163
164 # Adding field 'Recipe.layer_source'
165 db.add_column(u'orm_recipe', 'layer_source',
166 self.gf('django.db.models.fields.related.ForeignKey')(default=None, to=orm['orm.LayerSource'], null=True),
167 keep_default=False)
168
169 # Adding field 'Recipe.up_id'
170 db.add_column(u'orm_recipe', 'up_id',
171 self.gf('django.db.models.fields.IntegerField')(default=None, null=True),
172 keep_default=False)
173
174 # Adding field 'Recipe.up_date'
175 db.add_column(u'orm_recipe', 'up_date',
176 self.gf('django.db.models.fields.DateTimeField')(default=None, null=True),
177 keep_default=False)
178
179 # Adding field 'Layer.layer_source'
180 db.add_column(u'orm_layer', 'layer_source',
181 self.gf('django.db.models.fields.related.ForeignKey')(default=None, to=orm['orm.LayerSource'], null=True),
182 keep_default=False)
183
184 # Adding field 'Layer.up_id'
185 db.add_column(u'orm_layer', 'up_id',
186 self.gf('django.db.models.fields.IntegerField')(default=None, null=True),
187 keep_default=False)
188
189 # Adding field 'Layer.up_date'
190 db.add_column(u'orm_layer', 'up_date',
191 self.gf('django.db.models.fields.DateTimeField')(default=None, null=True),
192 keep_default=False)
193
194 # Adding field 'Layer.vcs_url'
195 db.add_column(u'orm_layer', 'vcs_url',
196 self.gf('django.db.models.fields.URLField')(default=None, max_length=200, null=True),
197 keep_default=False)
198
199 # Adding field 'Layer.vcs_web_file_base_url'
200 db.add_column(u'orm_layer', 'vcs_web_file_base_url',
201 self.gf('django.db.models.fields.URLField')(default=None, max_length=200, null=True),
202 keep_default=False)
203
204 # Adding field 'Layer.summary'
205 db.add_column(u'orm_layer', 'summary',
206 self.gf('django.db.models.fields.CharField')(default=None, max_length=200, null=True),
207 keep_default=False)
208
209 # Adding field 'Layer.description'
210 db.add_column(u'orm_layer', 'description',
211 self.gf('django.db.models.fields.TextField')(default=None, null=True),
212 keep_default=False)
213
214
215 # Changing field 'Layer.local_path'
216 db.alter_column(u'orm_layer', 'local_path', self.gf('django.db.models.fields.FilePathField')(max_length=255, null=True))
217 # Adding unique constraint on 'Layer', fields ['layer_source', 'up_id']
218 db.create_unique(u'orm_layer', ['layer_source_id', 'up_id'])
219
220 # Adding unique constraint on 'Layer', fields ['layer_source', 'name']
221 db.create_unique(u'orm_layer', ['layer_source_id', 'name'])
222
223 # Deleting field 'Project.branch'
224 db.delete_column(u'orm_project', 'branch')
225
226 # Adding field 'Project.bitbake_version'
227 db.add_column(u'orm_project', 'bitbake_version',
228 self.gf('django.db.models.fields.related.ForeignKey')(default=-1, to=orm['orm.BitbakeVersion']),
229 keep_default=False)
230
231 # Adding field 'Project.release'
232 db.add_column(u'orm_project', 'release',
233 self.gf('django.db.models.fields.related.ForeignKey')(default=-1, to=orm['orm.Release']),
234 keep_default=False)
235
236
237 def backwards(self, orm):
238 # Removing unique constraint on 'Layer', fields ['layer_source', 'name']
239 db.delete_unique(u'orm_layer', ['layer_source_id', 'name'])
240
241 # Removing unique constraint on 'Layer', fields ['layer_source', 'up_id']
242 db.delete_unique(u'orm_layer', ['layer_source_id', 'up_id'])
243
244 # Removing unique constraint on 'Layer_Version', fields ['layer_source', 'up_id']
245 db.delete_unique(u'orm_layer_version', ['layer_source_id', 'up_id'])
246
247 # Removing unique constraint on 'LayerSource', fields ['sourcetype', 'apiurl']
248 db.delete_unique(u'orm_layersource', ['sourcetype', 'apiurl'])
249
250 # Removing unique constraint on 'Branch', fields ['layer_source', 'up_id']
251 db.delete_unique(u'orm_branch', ['layer_source_id', 'up_id'])
252
253 # Removing unique constraint on 'Branch', fields ['layer_source', 'name']
254 db.delete_unique(u'orm_branch', ['layer_source_id', 'name'])
255
256 # Removing unique constraint on 'Machine', fields ['layer_source', 'up_id']
257 db.delete_unique(u'orm_machine', ['layer_source_id', 'up_id'])
258
259 # Removing unique constraint on 'LayerVersionDependency', fields ['layer_source', 'up_id']
260 db.delete_unique(u'orm_layerversiondependency', ['layer_source_id', 'up_id'])
261
262 # Deleting model 'Release'
263 db.delete_table(u'orm_release')
264
265 # Deleting model 'LayerVersionDependency'
266 db.delete_table(u'orm_layerversiondependency')
267
268 # Deleting model 'ToasterSetting'
269 db.delete_table(u'orm_toastersetting')
270
271 # Deleting model 'Machine'
272 db.delete_table(u'orm_machine')
273
274 # Deleting model 'ReleaseDefaultLayer'
275 db.delete_table(u'orm_releasedefaultlayer')
276
277 # Deleting model 'BitbakeVersion'
278 db.delete_table(u'orm_bitbakeversion')
279
280 # Deleting model 'Branch'
281 db.delete_table(u'orm_branch')
282
283 # Deleting model 'ToasterSettingDefaultLayer'
284 db.delete_table(u'orm_toastersettingdefaultlayer')
285
286 # Deleting model 'LayerSource'
287 db.delete_table(u'orm_layersource')
288
289
290 # User chose to not deal with backwards NULL issues for 'ProjectLayer.name'
291 raise RuntimeError("Cannot reverse this migration. 'ProjectLayer.name' and its values cannot be restored.")
292
293 # The following code is provided here to aid in writing a correct migration # Adding field 'ProjectLayer.name'
294 db.add_column(u'orm_projectlayer', 'name',
295 self.gf('django.db.models.fields.CharField')(max_length=100),
296 keep_default=False)
297
298
299 # User chose to not deal with backwards NULL issues for 'ProjectLayer.dirpath'
300 raise RuntimeError("Cannot reverse this migration. 'ProjectLayer.dirpath' and its values cannot be restored.")
301
302 # The following code is provided here to aid in writing a correct migration # Adding field 'ProjectLayer.dirpath'
303 db.add_column(u'orm_projectlayer', 'dirpath',
304 self.gf('django.db.models.fields.CharField')(max_length=254),
305 keep_default=False)
306
307
308 # User chose to not deal with backwards NULL issues for 'ProjectLayer.commit'
309 raise RuntimeError("Cannot reverse this migration. 'ProjectLayer.commit' and its values cannot be restored.")
310
311 # The following code is provided here to aid in writing a correct migration # Adding field 'ProjectLayer.commit'
312 db.add_column(u'orm_projectlayer', 'commit',
313 self.gf('django.db.models.fields.CharField')(max_length=254),
314 keep_default=False)
315
316
317 # User chose to not deal with backwards NULL issues for 'ProjectLayer.giturl'
318 raise RuntimeError("Cannot reverse this migration. 'ProjectLayer.giturl' and its values cannot be restored.")
319
320 # The following code is provided here to aid in writing a correct migration # Adding field 'ProjectLayer.giturl'
321 db.add_column(u'orm_projectlayer', 'giturl',
322 self.gf('django.db.models.fields.CharField')(max_length=254),
323 keep_default=False)
324
325 # Deleting field 'ProjectLayer.layercommit'
326 db.delete_column(u'orm_projectlayer', 'layercommit_id')
327
328 # Deleting field 'Layer_Version.layer_source'
329 db.delete_column(u'orm_layer_version', 'layer_source_id')
330
331 # Deleting field 'Layer_Version.up_id'
332 db.delete_column(u'orm_layer_version', 'up_id')
333
334 # Deleting field 'Layer_Version.up_date'
335 db.delete_column(u'orm_layer_version', 'up_date')
336
337 # Deleting field 'Layer_Version.up_branch'
338 db.delete_column(u'orm_layer_version', 'up_branch_id')
339
340 # Deleting field 'Layer_Version.dirpath'
341 db.delete_column(u'orm_layer_version', 'dirpath')
342
343
344 # User chose to not deal with backwards NULL issues for 'Layer_Version.build'
345 raise RuntimeError("Cannot reverse this migration. 'Layer_Version.build' and its values cannot be restored.")
346
347 # The following code is provided here to aid in writing a correct migration
348 # Changing field 'Layer_Version.build'
349 db.alter_column(u'orm_layer_version', 'build_id', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['orm.Build']))
350
351 # Changing field 'Layer_Version.branch'
352 db.alter_column(u'orm_layer_version', 'branch', self.gf('django.db.models.fields.CharField')(max_length=50))
353 # Deleting field 'Recipe.layer_source'
354 db.delete_column(u'orm_recipe', 'layer_source_id')
355
356 # Deleting field 'Recipe.up_id'
357 db.delete_column(u'orm_recipe', 'up_id')
358
359 # Deleting field 'Recipe.up_date'
360 db.delete_column(u'orm_recipe', 'up_date')
361
362 # Deleting field 'Layer.layer_source'
363 db.delete_column(u'orm_layer', 'layer_source_id')
364
365 # Deleting field 'Layer.up_id'
366 db.delete_column(u'orm_layer', 'up_id')
367
368 # Deleting field 'Layer.up_date'
369 db.delete_column(u'orm_layer', 'up_date')
370
371 # Deleting field 'Layer.vcs_url'
372 db.delete_column(u'orm_layer', 'vcs_url')
373
374 # Deleting field 'Layer.vcs_web_file_base_url'
375 db.delete_column(u'orm_layer', 'vcs_web_file_base_url')
376
377 # Deleting field 'Layer.summary'
378 db.delete_column(u'orm_layer', 'summary')
379
380 # Deleting field 'Layer.description'
381 db.delete_column(u'orm_layer', 'description')
382
383
384 # User chose to not deal with backwards NULL issues for 'Layer.local_path'
385 raise RuntimeError("Cannot reverse this migration. 'Layer.local_path' and its values cannot be restored.")
386
387 # The following code is provided here to aid in writing a correct migration
388 # Changing field 'Layer.local_path'
389 db.alter_column(u'orm_layer', 'local_path', self.gf('django.db.models.fields.FilePathField')(max_length=255))
390
391 # User chose to not deal with backwards NULL issues for 'Project.branch'
392 raise RuntimeError("Cannot reverse this migration. 'Project.branch' and its values cannot be restored.")
393
394 # The following code is provided here to aid in writing a correct migration # Adding field 'Project.branch'
395 db.add_column(u'orm_project', 'branch',
396 self.gf('django.db.models.fields.CharField')(max_length=50),
397 keep_default=False)
398
399 # Deleting field 'Project.bitbake_version'
400 db.delete_column(u'orm_project', 'bitbake_version_id')
401
402 # Deleting field 'Project.release'
403 db.delete_column(u'orm_project', 'release_id')
404
405
406 models = {
407 u'orm.bitbakeversion': {
408 'Meta': {'object_name': 'BitbakeVersion'},
409 'branch': ('django.db.models.fields.CharField', [], {'max_length': '32'}),
410 'dirpath': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
411 'giturl': ('django.db.models.fields.URLField', [], {'max_length': '200'}),
412 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
413 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '32'})
414 },
415 u'orm.branch': {
416 'Meta': {'unique_together': "(('layer_source', 'name'), ('layer_source', 'up_id'))", 'object_name': 'Branch'},
417 'bitbake_branch': ('django.db.models.fields.CharField', [], {'max_length': '50', 'blank': 'True'}),
418 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
419 'layer_source': ('django.db.models.fields.related.ForeignKey', [], {'default': 'True', 'to': u"orm['orm.LayerSource']", 'null': 'True'}),
420 'name': ('django.db.models.fields.CharField', [], {'max_length': '50'}),
421 'short_description': ('django.db.models.fields.CharField', [], {'max_length': '50', 'blank': 'True'}),
422 'up_date': ('django.db.models.fields.DateTimeField', [], {'default': 'None', 'null': 'True'}),
423 'up_id': ('django.db.models.fields.IntegerField', [], {'default': 'None', 'null': 'True'})
424 },
425 u'orm.build': {
426 'Meta': {'object_name': 'Build'},
427 'bitbake_version': ('django.db.models.fields.CharField', [], {'max_length': '50'}),
428 'build_name': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
429 'completed_on': ('django.db.models.fields.DateTimeField', [], {}),
430 'cooker_log_path': ('django.db.models.fields.CharField', [], {'max_length': '500'}),
431 'distro': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
432 'distro_version': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
433 'errors_no': ('django.db.models.fields.IntegerField', [], {'default': '0'}),
434 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
435 'machine': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
436 'outcome': ('django.db.models.fields.IntegerField', [], {'default': '2'}),
437 'project': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.Project']", 'null': 'True'}),
438 'started_on': ('django.db.models.fields.DateTimeField', [], {}),
439 'timespent': ('django.db.models.fields.IntegerField', [], {'default': '0'}),
440 'warnings_no': ('django.db.models.fields.IntegerField', [], {'default': '0'})
441 },
442 u'orm.helptext': {
443 'Meta': {'object_name': 'HelpText'},
444 'area': ('django.db.models.fields.IntegerField', [], {}),
445 'build': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'helptext_build'", 'to': u"orm['orm.Build']"}),
446 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
447 'key': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
448 'text': ('django.db.models.fields.TextField', [], {})
449 },
450 u'orm.layer': {
451 'Meta': {'unique_together': "(('layer_source', 'up_id'), ('layer_source', 'name'))", 'object_name': 'Layer'},
452 'description': ('django.db.models.fields.TextField', [], {'default': 'None', 'null': 'True'}),
453 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
454 'layer_index_url': ('django.db.models.fields.URLField', [], {'max_length': '200'}),
455 'layer_source': ('django.db.models.fields.related.ForeignKey', [], {'default': 'None', 'to': u"orm['orm.LayerSource']", 'null': 'True'}),
456 'local_path': ('django.db.models.fields.FilePathField', [], {'default': 'None', 'max_length': '255', 'null': 'True'}),
457 'name': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
458 'summary': ('django.db.models.fields.CharField', [], {'default': 'None', 'max_length': '200', 'null': 'True'}),
459 'up_date': ('django.db.models.fields.DateTimeField', [], {'default': 'None', 'null': 'True'}),
460 'up_id': ('django.db.models.fields.IntegerField', [], {'default': 'None', 'null': 'True'}),
461 'vcs_url': ('django.db.models.fields.URLField', [], {'default': 'None', 'max_length': '200', 'null': 'True'}),
462 'vcs_web_file_base_url': ('django.db.models.fields.URLField', [], {'default': 'None', 'max_length': '200', 'null': 'True'})
463 },
464 u'orm.layer_version': {
465 'Meta': {'unique_together': "(('layer_source', 'up_id'),)", 'object_name': 'Layer_Version'},
466 'branch': ('django.db.models.fields.CharField', [], {'max_length': '80'}),
467 'build': ('django.db.models.fields.related.ForeignKey', [], {'default': 'None', 'related_name': "'layer_version_build'", 'null': 'True', 'to': u"orm['orm.Build']"}),
468 'commit': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
469 'dirpath': ('django.db.models.fields.CharField', [], {'default': 'None', 'max_length': '255', 'null': 'True'}),
470 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
471 'layer': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'layer_version_layer'", 'to': u"orm['orm.Layer']"}),
472 'layer_source': ('django.db.models.fields.related.ForeignKey', [], {'default': 'None', 'to': u"orm['orm.LayerSource']", 'null': 'True'}),
473 'priority': ('django.db.models.fields.IntegerField', [], {'default': '0'}),
474 'up_branch': ('django.db.models.fields.related.ForeignKey', [], {'default': 'None', 'to': u"orm['orm.Branch']", 'null': 'True'}),
475 'up_date': ('django.db.models.fields.DateTimeField', [], {'default': 'None', 'null': 'True'}),
476 'up_id': ('django.db.models.fields.IntegerField', [], {'default': 'None', 'null': 'True'})
477 },
478 u'orm.layersource': {
479 'Meta': {'unique_together': "(('sourcetype', 'apiurl'),)", 'object_name': 'LayerSource'},
480 'apiurl': ('django.db.models.fields.CharField', [], {'default': 'None', 'max_length': '255', 'null': 'True'}),
481 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
482 'name': ('django.db.models.fields.CharField', [], {'max_length': '63'}),
483 'sourcetype': ('django.db.models.fields.IntegerField', [], {})
484 },
485 u'orm.layerversiondependency': {
486 'Meta': {'unique_together': "(('layer_source', 'up_id'),)", 'object_name': 'LayerVersionDependency'},
487 'depends_on': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'dependees'", 'to': u"orm['orm.Layer_Version']"}),
488 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
489 'layer_source': ('django.db.models.fields.related.ForeignKey', [], {'default': 'None', 'to': u"orm['orm.LayerSource']", 'null': 'True'}),
490 'layer_version': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'dependencies'", 'to': u"orm['orm.Layer_Version']"}),
491 'up_id': ('django.db.models.fields.IntegerField', [], {'default': 'None', 'null': 'True'})
492 },
493 u'orm.logmessage': {
494 'Meta': {'object_name': 'LogMessage'},
495 'build': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.Build']"}),
496 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
497 'level': ('django.db.models.fields.IntegerField', [], {'default': '0'}),
498 'lineno': ('django.db.models.fields.IntegerField', [], {'null': 'True'}),
499 'message': ('django.db.models.fields.CharField', [], {'max_length': '240'}),
500 'pathname': ('django.db.models.fields.FilePathField', [], {'max_length': '255', 'blank': 'True'}),
501 'task': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.Task']", 'null': 'True', 'blank': 'True'})
502 },
503 u'orm.machine': {
504 'Meta': {'unique_together': "(('layer_source', 'up_id'),)", 'object_name': 'Machine'},
505 'description': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
506 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
507 'layer_source': ('django.db.models.fields.related.ForeignKey', [], {'default': 'None', 'to': u"orm['orm.LayerSource']", 'null': 'True'}),
508 'layer_version': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.Layer_Version']"}),
509 'name': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
510 'up_date': ('django.db.models.fields.DateTimeField', [], {'default': 'None', 'null': 'True'}),
511 'up_id': ('django.db.models.fields.IntegerField', [], {'default': 'None', 'null': 'True'})
512 },
513 u'orm.package': {
514 'Meta': {'object_name': 'Package'},
515 'build': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.Build']"}),
516 'description': ('django.db.models.fields.TextField', [], {'blank': 'True'}),
517 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
518 'installed_name': ('django.db.models.fields.CharField', [], {'default': "''", 'max_length': '100'}),
519 'installed_size': ('django.db.models.fields.IntegerField', [], {'default': '0'}),
520 'license': ('django.db.models.fields.CharField', [], {'max_length': '80', 'blank': 'True'}),
521 'name': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
522 'recipe': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.Recipe']", 'null': 'True'}),
523 'revision': ('django.db.models.fields.CharField', [], {'max_length': '32', 'blank': 'True'}),
524 'section': ('django.db.models.fields.CharField', [], {'max_length': '80', 'blank': 'True'}),
525 'size': ('django.db.models.fields.IntegerField', [], {'default': '0'}),
526 'summary': ('django.db.models.fields.CharField', [], {'max_length': '200', 'blank': 'True'}),
527 'version': ('django.db.models.fields.CharField', [], {'max_length': '100', 'blank': 'True'})
528 },
529 u'orm.package_dependency': {
530 'Meta': {'object_name': 'Package_Dependency'},
531 'dep_type': ('django.db.models.fields.IntegerField', [], {}),
532 'depends_on': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'package_dependencies_target'", 'to': u"orm['orm.Package']"}),
533 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
534 'package': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'package_dependencies_source'", 'to': u"orm['orm.Package']"}),
535 'target': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.Target']", 'null': 'True'})
536 },
537 u'orm.package_file': {
538 'Meta': {'object_name': 'Package_File'},
539 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
540 'package': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'buildfilelist_package'", 'to': u"orm['orm.Package']"}),
541 'path': ('django.db.models.fields.FilePathField', [], {'max_length': '255', 'blank': 'True'}),
542 'size': ('django.db.models.fields.IntegerField', [], {})
543 },
544 u'orm.project': {
545 'Meta': {'object_name': 'Project'},
546 'bitbake_version': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.BitbakeVersion']"}),
547 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}),
548 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
549 'name': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
550 'release': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.Release']"}),
551 'short_description': ('django.db.models.fields.CharField', [], {'max_length': '50', 'blank': 'True'}),
552 'updated': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}),
553 'user_id': ('django.db.models.fields.IntegerField', [], {'null': 'True'})
554 },
555 u'orm.projectlayer': {
556 'Meta': {'object_name': 'ProjectLayer'},
557 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
558 'layercommit': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.Layer_Version']", 'null': 'True'}),
559 'optional': ('django.db.models.fields.BooleanField', [], {'default': 'True'}),
560 'project': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.Project']"})
561 },
562 u'orm.projecttarget': {
563 'Meta': {'object_name': 'ProjectTarget'},
564 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
565 'project': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.Project']"}),
566 'target': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
567 'task': ('django.db.models.fields.CharField', [], {'max_length': '100', 'null': 'True'})
568 },
569 u'orm.projectvariable': {
570 'Meta': {'object_name': 'ProjectVariable'},
571 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
572 'name': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
573 'project': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.Project']"}),
574 'value': ('django.db.models.fields.TextField', [], {'blank': 'True'})
575 },
576 u'orm.recipe': {
577 'Meta': {'object_name': 'Recipe'},
578 'bugtracker': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}),
579 'description': ('django.db.models.fields.TextField', [], {'blank': 'True'}),
580 'file_path': ('django.db.models.fields.FilePathField', [], {'max_length': '255'}),
581 'homepage': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}),
582 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
583 'layer_source': ('django.db.models.fields.related.ForeignKey', [], {'default': 'None', 'to': u"orm['orm.LayerSource']", 'null': 'True'}),
584 'layer_version': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'recipe_layer_version'", 'to': u"orm['orm.Layer_Version']"}),
585 'license': ('django.db.models.fields.CharField', [], {'max_length': '200', 'blank': 'True'}),
586 'name': ('django.db.models.fields.CharField', [], {'max_length': '100', 'blank': 'True'}),
587 'section': ('django.db.models.fields.CharField', [], {'max_length': '100', 'blank': 'True'}),
588 'summary': ('django.db.models.fields.CharField', [], {'max_length': '100', 'blank': 'True'}),
589 'up_date': ('django.db.models.fields.DateTimeField', [], {'default': 'None', 'null': 'True'}),
590 'up_id': ('django.db.models.fields.IntegerField', [], {'default': 'None', 'null': 'True'}),
591 'version': ('django.db.models.fields.CharField', [], {'max_length': '100', 'blank': 'True'})
592 },
593 u'orm.recipe_dependency': {
594 'Meta': {'object_name': 'Recipe_Dependency'},
595 'dep_type': ('django.db.models.fields.IntegerField', [], {}),
596 'depends_on': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'r_dependencies_depends'", 'to': u"orm['orm.Recipe']"}),
597 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
598 'recipe': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'r_dependencies_recipe'", 'to': u"orm['orm.Recipe']"})
599 },
600 u'orm.release': {
601 'Meta': {'object_name': 'Release'},
602 'bitbake_version': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.BitbakeVersion']"}),
603 'branch': ('django.db.models.fields.CharField', [], {'max_length': '32'}),
604 'description': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
605 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
606 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '32'})
607 },
608 u'orm.releasedefaultlayer': {
609 'Meta': {'object_name': 'ReleaseDefaultLayer'},
610 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
611 'layer': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.Layer']"}),
612 'release': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.Release']"})
613 },
614 u'orm.target': {
615 'Meta': {'object_name': 'Target'},
616 'build': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.Build']"}),
617 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
618 'image_size': ('django.db.models.fields.IntegerField', [], {'default': '0'}),
619 'is_image': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
620 'license_manifest_path': ('django.db.models.fields.CharField', [], {'max_length': '500', 'null': 'True'}),
621 'target': ('django.db.models.fields.CharField', [], {'max_length': '100'})
622 },
623 u'orm.target_file': {
624 'Meta': {'object_name': 'Target_File'},
625 'directory': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'directory_set'", 'null': 'True', 'to': u"orm['orm.Target_File']"}),
626 'group': ('django.db.models.fields.CharField', [], {'max_length': '128'}),
627 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
628 'inodetype': ('django.db.models.fields.IntegerField', [], {}),
629 'owner': ('django.db.models.fields.CharField', [], {'max_length': '128'}),
630 'path': ('django.db.models.fields.FilePathField', [], {'max_length': '100'}),
631 'permission': ('django.db.models.fields.CharField', [], {'max_length': '16'}),
632 'size': ('django.db.models.fields.IntegerField', [], {}),
633 'sym_target': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'symlink_set'", 'null': 'True', 'to': u"orm['orm.Target_File']"}),
634 'target': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.Target']"})
635 },
636 u'orm.target_image_file': {
637 'Meta': {'object_name': 'Target_Image_File'},
638 'file_name': ('django.db.models.fields.FilePathField', [], {'max_length': '254'}),
639 'file_size': ('django.db.models.fields.IntegerField', [], {}),
640 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
641 'target': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.Target']"})
642 },
643 u'orm.target_installed_package': {
644 'Meta': {'object_name': 'Target_Installed_Package'},
645 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
646 'package': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'buildtargetlist_package'", 'to': u"orm['orm.Package']"}),
647 'target': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.Target']"})
648 },
649 u'orm.task': {
650 'Meta': {'ordering': "('order', 'recipe')", 'unique_together': "(('build', 'recipe', 'task_name'),)", 'object_name': 'Task'},
651 'build': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'task_build'", 'to': u"orm['orm.Build']"}),
652 'cpu_usage': ('django.db.models.fields.DecimalField', [], {'null': 'True', 'max_digits': '6', 'decimal_places': '2'}),
653 'disk_io': ('django.db.models.fields.IntegerField', [], {'null': 'True'}),
654 'elapsed_time': ('django.db.models.fields.DecimalField', [], {'null': 'True', 'max_digits': '6', 'decimal_places': '2'}),
655 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
656 'line_number': ('django.db.models.fields.IntegerField', [], {'default': '0'}),
657 'logfile': ('django.db.models.fields.FilePathField', [], {'max_length': '255', 'blank': 'True'}),
658 'message': ('django.db.models.fields.CharField', [], {'max_length': '240'}),
659 'order': ('django.db.models.fields.IntegerField', [], {'null': 'True'}),
660 'outcome': ('django.db.models.fields.IntegerField', [], {'default': '-1'}),
661 'path_to_sstate_obj': ('django.db.models.fields.FilePathField', [], {'max_length': '500', 'blank': 'True'}),
662 'recipe': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'build_recipe'", 'to': u"orm['orm.Recipe']"}),
663 'script_type': ('django.db.models.fields.IntegerField', [], {'default': '0'}),
664 'source_url': ('django.db.models.fields.FilePathField', [], {'max_length': '255', 'blank': 'True'}),
665 'sstate_checksum': ('django.db.models.fields.CharField', [], {'max_length': '100', 'blank': 'True'}),
666 'sstate_result': ('django.db.models.fields.IntegerField', [], {'default': '0'}),
667 'task_executed': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
668 'task_name': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
669 'work_directory': ('django.db.models.fields.FilePathField', [], {'max_length': '255', 'blank': 'True'})
670 },
671 u'orm.task_dependency': {
672 'Meta': {'object_name': 'Task_Dependency'},
673 'depends_on': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'task_dependencies_depends'", 'to': u"orm['orm.Task']"}),
674 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
675 'task': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'task_dependencies_task'", 'to': u"orm['orm.Task']"})
676 },
677 u'orm.toastersetting': {
678 'Meta': {'object_name': 'ToasterSetting'},
679 'helptext': ('django.db.models.fields.TextField', [], {}),
680 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
681 'name': ('django.db.models.fields.CharField', [], {'max_length': '63'}),
682 'value': ('django.db.models.fields.CharField', [], {'max_length': '255'})
683 },
684 u'orm.toastersettingdefaultlayer': {
685 'Meta': {'object_name': 'ToasterSettingDefaultLayer'},
686 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
687 'layer_version': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.Layer_Version']"})
688 },
689 u'orm.variable': {
690 'Meta': {'object_name': 'Variable'},
691 'build': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'variable_build'", 'to': u"orm['orm.Build']"}),
692 'changed': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
693 'description': ('django.db.models.fields.TextField', [], {'blank': 'True'}),
694 'human_readable_name': ('django.db.models.fields.CharField', [], {'max_length': '200'}),
695 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
696 'variable_name': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
697 'variable_value': ('django.db.models.fields.TextField', [], {'blank': 'True'})
698 },
699 u'orm.variablehistory': {
700 'Meta': {'object_name': 'VariableHistory'},
701 'file_name': ('django.db.models.fields.FilePathField', [], {'max_length': '255'}),
702 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
703 'line_number': ('django.db.models.fields.IntegerField', [], {'null': 'True'}),
704 'operation': ('django.db.models.fields.CharField', [], {'max_length': '64'}),
705 'value': ('django.db.models.fields.TextField', [], {'blank': 'True'}),
706 'variable': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'vhistory'", 'to': u"orm['orm.Variable']"})
707 }
708 }
709
710 complete_apps = ['orm'] \ No newline at end of file
diff --git a/bitbake/lib/toaster/orm/migrations/0014_auto__chg_field_package_summary__chg_field_layer_summary__chg_field_re.py b/bitbake/lib/toaster/orm/migrations/0014_auto__chg_field_package_summary__chg_field_layer_summary__chg_field_re.py
deleted file mode 100644
index 7945f15a17..0000000000
--- a/bitbake/lib/toaster/orm/migrations/0014_auto__chg_field_package_summary__chg_field_layer_summary__chg_field_re.py
+++ /dev/null
@@ -1,336 +0,0 @@
1# -*- coding: utf-8 -*-
2from south.utils import datetime_utils as datetime
3from south.db import db
4from south.v2 import SchemaMigration
5from django.db import models
6
7
8class Migration(SchemaMigration):
9
10 def forwards(self, orm):
11
12 # Changing field 'Package.summary'
13 db.alter_column(u'orm_package', 'summary', self.gf('django.db.models.fields.TextField')())
14
15 # Changing field 'Layer.summary'
16 db.alter_column(u'orm_layer', 'summary', self.gf('django.db.models.fields.TextField')(null=True))
17
18 # Changing field 'Recipe.summary'
19 db.alter_column(u'orm_recipe', 'summary', self.gf('django.db.models.fields.TextField')())
20
21 def backwards(self, orm):
22
23 # Changing field 'Package.summary'
24 db.alter_column(u'orm_package', 'summary', self.gf('django.db.models.fields.CharField')(max_length=200))
25
26 # Changing field 'Layer.summary'
27 db.alter_column(u'orm_layer', 'summary', self.gf('django.db.models.fields.CharField')(max_length=200, null=True))
28
29 # Changing field 'Recipe.summary'
30 db.alter_column(u'orm_recipe', 'summary', self.gf('django.db.models.fields.CharField')(max_length=100))
31
32 models = {
33 u'orm.bitbakeversion': {
34 'Meta': {'object_name': 'BitbakeVersion'},
35 'branch': ('django.db.models.fields.CharField', [], {'max_length': '32'}),
36 'dirpath': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
37 'giturl': ('django.db.models.fields.URLField', [], {'max_length': '200'}),
38 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
39 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '32'})
40 },
41 u'orm.branch': {
42 'Meta': {'unique_together': "(('layer_source', 'name'), ('layer_source', 'up_id'))", 'object_name': 'Branch'},
43 'bitbake_branch': ('django.db.models.fields.CharField', [], {'max_length': '50', 'blank': 'True'}),
44 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
45 'layer_source': ('django.db.models.fields.related.ForeignKey', [], {'default': 'True', 'to': u"orm['orm.LayerSource']", 'null': 'True'}),
46 'name': ('django.db.models.fields.CharField', [], {'max_length': '50'}),
47 'short_description': ('django.db.models.fields.CharField', [], {'max_length': '50', 'blank': 'True'}),
48 'up_date': ('django.db.models.fields.DateTimeField', [], {'default': 'None', 'null': 'True'}),
49 'up_id': ('django.db.models.fields.IntegerField', [], {'default': 'None', 'null': 'True'})
50 },
51 u'orm.build': {
52 'Meta': {'object_name': 'Build'},
53 'bitbake_version': ('django.db.models.fields.CharField', [], {'max_length': '50'}),
54 'build_name': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
55 'completed_on': ('django.db.models.fields.DateTimeField', [], {}),
56 'cooker_log_path': ('django.db.models.fields.CharField', [], {'max_length': '500'}),
57 'distro': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
58 'distro_version': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
59 'errors_no': ('django.db.models.fields.IntegerField', [], {'default': '0'}),
60 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
61 'machine': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
62 'outcome': ('django.db.models.fields.IntegerField', [], {'default': '2'}),
63 'project': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.Project']", 'null': 'True'}),
64 'started_on': ('django.db.models.fields.DateTimeField', [], {}),
65 'timespent': ('django.db.models.fields.IntegerField', [], {'default': '0'}),
66 'warnings_no': ('django.db.models.fields.IntegerField', [], {'default': '0'})
67 },
68 u'orm.helptext': {
69 'Meta': {'object_name': 'HelpText'},
70 'area': ('django.db.models.fields.IntegerField', [], {}),
71 'build': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'helptext_build'", 'to': u"orm['orm.Build']"}),
72 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
73 'key': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
74 'text': ('django.db.models.fields.TextField', [], {})
75 },
76 u'orm.layer': {
77 'Meta': {'unique_together': "(('layer_source', 'up_id'), ('layer_source', 'name'))", 'object_name': 'Layer'},
78 'description': ('django.db.models.fields.TextField', [], {'default': 'None', 'null': 'True'}),
79 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
80 'layer_index_url': ('django.db.models.fields.URLField', [], {'max_length': '200'}),
81 'layer_source': ('django.db.models.fields.related.ForeignKey', [], {'default': 'None', 'to': u"orm['orm.LayerSource']", 'null': 'True'}),
82 'local_path': ('django.db.models.fields.FilePathField', [], {'default': 'None', 'max_length': '255', 'null': 'True'}),
83 'name': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
84 'summary': ('django.db.models.fields.TextField', [], {'default': 'None', 'null': 'True'}),
85 'up_date': ('django.db.models.fields.DateTimeField', [], {'default': 'None', 'null': 'True'}),
86 'up_id': ('django.db.models.fields.IntegerField', [], {'default': 'None', 'null': 'True'}),
87 'vcs_url': ('django.db.models.fields.URLField', [], {'default': 'None', 'max_length': '200', 'null': 'True'}),
88 'vcs_web_file_base_url': ('django.db.models.fields.URLField', [], {'default': 'None', 'max_length': '200', 'null': 'True'})
89 },
90 u'orm.layer_version': {
91 'Meta': {'unique_together': "(('layer_source', 'up_id'),)", 'object_name': 'Layer_Version'},
92 'branch': ('django.db.models.fields.CharField', [], {'max_length': '80'}),
93 'build': ('django.db.models.fields.related.ForeignKey', [], {'default': 'None', 'related_name': "'layer_version_build'", 'null': 'True', 'to': u"orm['orm.Build']"}),
94 'commit': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
95 'dirpath': ('django.db.models.fields.CharField', [], {'default': 'None', 'max_length': '255', 'null': 'True'}),
96 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
97 'layer': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'layer_version_layer'", 'to': u"orm['orm.Layer']"}),
98 'layer_source': ('django.db.models.fields.related.ForeignKey', [], {'default': 'None', 'to': u"orm['orm.LayerSource']", 'null': 'True'}),
99 'priority': ('django.db.models.fields.IntegerField', [], {'default': '0'}),
100 'up_branch': ('django.db.models.fields.related.ForeignKey', [], {'default': 'None', 'to': u"orm['orm.Branch']", 'null': 'True'}),
101 'up_date': ('django.db.models.fields.DateTimeField', [], {'default': 'None', 'null': 'True'}),
102 'up_id': ('django.db.models.fields.IntegerField', [], {'default': 'None', 'null': 'True'})
103 },
104 u'orm.layersource': {
105 'Meta': {'unique_together': "(('sourcetype', 'apiurl'),)", 'object_name': 'LayerSource'},
106 'apiurl': ('django.db.models.fields.CharField', [], {'default': 'None', 'max_length': '255', 'null': 'True'}),
107 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
108 'name': ('django.db.models.fields.CharField', [], {'max_length': '63'}),
109 'sourcetype': ('django.db.models.fields.IntegerField', [], {})
110 },
111 u'orm.layerversiondependency': {
112 'Meta': {'unique_together': "(('layer_source', 'up_id'),)", 'object_name': 'LayerVersionDependency'},
113 'depends_on': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'dependees'", 'to': u"orm['orm.Layer_Version']"}),
114 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
115 'layer_source': ('django.db.models.fields.related.ForeignKey', [], {'default': 'None', 'to': u"orm['orm.LayerSource']", 'null': 'True'}),
116 'layer_version': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'dependencies'", 'to': u"orm['orm.Layer_Version']"}),
117 'up_id': ('django.db.models.fields.IntegerField', [], {'default': 'None', 'null': 'True'})
118 },
119 u'orm.logmessage': {
120 'Meta': {'object_name': 'LogMessage'},
121 'build': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.Build']"}),
122 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
123 'level': ('django.db.models.fields.IntegerField', [], {'default': '0'}),
124 'lineno': ('django.db.models.fields.IntegerField', [], {'null': 'True'}),
125 'message': ('django.db.models.fields.CharField', [], {'max_length': '240'}),
126 'pathname': ('django.db.models.fields.FilePathField', [], {'max_length': '255', 'blank': 'True'}),
127 'task': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.Task']", 'null': 'True', 'blank': 'True'})
128 },
129 u'orm.machine': {
130 'Meta': {'unique_together': "(('layer_source', 'up_id'),)", 'object_name': 'Machine'},
131 'description': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
132 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
133 'layer_source': ('django.db.models.fields.related.ForeignKey', [], {'default': 'None', 'to': u"orm['orm.LayerSource']", 'null': 'True'}),
134 'layer_version': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.Layer_Version']"}),
135 'name': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
136 'up_date': ('django.db.models.fields.DateTimeField', [], {'default': 'None', 'null': 'True'}),
137 'up_id': ('django.db.models.fields.IntegerField', [], {'default': 'None', 'null': 'True'})
138 },
139 u'orm.package': {
140 'Meta': {'object_name': 'Package'},
141 'build': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.Build']"}),
142 'description': ('django.db.models.fields.TextField', [], {'blank': 'True'}),
143 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
144 'installed_name': ('django.db.models.fields.CharField', [], {'default': "''", 'max_length': '100'}),
145 'installed_size': ('django.db.models.fields.IntegerField', [], {'default': '0'}),
146 'license': ('django.db.models.fields.CharField', [], {'max_length': '80', 'blank': 'True'}),
147 'name': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
148 'recipe': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.Recipe']", 'null': 'True'}),
149 'revision': ('django.db.models.fields.CharField', [], {'max_length': '32', 'blank': 'True'}),
150 'section': ('django.db.models.fields.CharField', [], {'max_length': '80', 'blank': 'True'}),
151 'size': ('django.db.models.fields.IntegerField', [], {'default': '0'}),
152 'summary': ('django.db.models.fields.TextField', [], {'blank': 'True'}),
153 'version': ('django.db.models.fields.CharField', [], {'max_length': '100', 'blank': 'True'})
154 },
155 u'orm.package_dependency': {
156 'Meta': {'object_name': 'Package_Dependency'},
157 'dep_type': ('django.db.models.fields.IntegerField', [], {}),
158 'depends_on': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'package_dependencies_target'", 'to': u"orm['orm.Package']"}),
159 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
160 'package': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'package_dependencies_source'", 'to': u"orm['orm.Package']"}),
161 'target': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.Target']", 'null': 'True'})
162 },
163 u'orm.package_file': {
164 'Meta': {'object_name': 'Package_File'},
165 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
166 'package': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'buildfilelist_package'", 'to': u"orm['orm.Package']"}),
167 'path': ('django.db.models.fields.FilePathField', [], {'max_length': '255', 'blank': 'True'}),
168 'size': ('django.db.models.fields.IntegerField', [], {})
169 },
170 u'orm.project': {
171 'Meta': {'object_name': 'Project'},
172 'bitbake_version': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.BitbakeVersion']"}),
173 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}),
174 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
175 'name': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
176 'release': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.Release']"}),
177 'short_description': ('django.db.models.fields.CharField', [], {'max_length': '50', 'blank': 'True'}),
178 'updated': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}),
179 'user_id': ('django.db.models.fields.IntegerField', [], {'null': 'True'})
180 },
181 u'orm.projectlayer': {
182 'Meta': {'object_name': 'ProjectLayer'},
183 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
184 'layercommit': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.Layer_Version']", 'null': 'True'}),
185 'optional': ('django.db.models.fields.BooleanField', [], {'default': 'True'}),
186 'project': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.Project']"})
187 },
188 u'orm.projecttarget': {
189 'Meta': {'object_name': 'ProjectTarget'},
190 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
191 'project': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.Project']"}),
192 'target': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
193 'task': ('django.db.models.fields.CharField', [], {'max_length': '100', 'null': 'True'})
194 },
195 u'orm.projectvariable': {
196 'Meta': {'object_name': 'ProjectVariable'},
197 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
198 'name': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
199 'project': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.Project']"}),
200 'value': ('django.db.models.fields.TextField', [], {'blank': 'True'})
201 },
202 u'orm.recipe': {
203 'Meta': {'object_name': 'Recipe'},
204 'bugtracker': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}),
205 'description': ('django.db.models.fields.TextField', [], {'blank': 'True'}),
206 'file_path': ('django.db.models.fields.FilePathField', [], {'max_length': '255'}),
207 'homepage': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}),
208 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
209 'layer_source': ('django.db.models.fields.related.ForeignKey', [], {'default': 'None', 'to': u"orm['orm.LayerSource']", 'null': 'True'}),
210 'layer_version': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'recipe_layer_version'", 'to': u"orm['orm.Layer_Version']"}),
211 'license': ('django.db.models.fields.CharField', [], {'max_length': '200', 'blank': 'True'}),
212 'name': ('django.db.models.fields.CharField', [], {'max_length': '100', 'blank': 'True'}),
213 'section': ('django.db.models.fields.CharField', [], {'max_length': '100', 'blank': 'True'}),
214 'summary': ('django.db.models.fields.TextField', [], {'blank': 'True'}),
215 'up_date': ('django.db.models.fields.DateTimeField', [], {'default': 'None', 'null': 'True'}),
216 'up_id': ('django.db.models.fields.IntegerField', [], {'default': 'None', 'null': 'True'}),
217 'version': ('django.db.models.fields.CharField', [], {'max_length': '100', 'blank': 'True'})
218 },
219 u'orm.recipe_dependency': {
220 'Meta': {'object_name': 'Recipe_Dependency'},
221 'dep_type': ('django.db.models.fields.IntegerField', [], {}),
222 'depends_on': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'r_dependencies_depends'", 'to': u"orm['orm.Recipe']"}),
223 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
224 'recipe': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'r_dependencies_recipe'", 'to': u"orm['orm.Recipe']"})
225 },
226 u'orm.release': {
227 'Meta': {'object_name': 'Release'},
228 'bitbake_version': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.BitbakeVersion']"}),
229 'branch': ('django.db.models.fields.CharField', [], {'max_length': '32'}),
230 'description': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
231 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
232 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '32'})
233 },
234 u'orm.releasedefaultlayer': {
235 'Meta': {'object_name': 'ReleaseDefaultLayer'},
236 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
237 'layer': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.Layer']"}),
238 'release': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.Release']"})
239 },
240 u'orm.target': {
241 'Meta': {'object_name': 'Target'},
242 'build': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.Build']"}),
243 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
244 'image_size': ('django.db.models.fields.IntegerField', [], {'default': '0'}),
245 'is_image': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
246 'license_manifest_path': ('django.db.models.fields.CharField', [], {'max_length': '500', 'null': 'True'}),
247 'target': ('django.db.models.fields.CharField', [], {'max_length': '100'})
248 },
249 u'orm.target_file': {
250 'Meta': {'object_name': 'Target_File'},
251 'directory': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'directory_set'", 'null': 'True', 'to': u"orm['orm.Target_File']"}),
252 'group': ('django.db.models.fields.CharField', [], {'max_length': '128'}),
253 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
254 'inodetype': ('django.db.models.fields.IntegerField', [], {}),
255 'owner': ('django.db.models.fields.CharField', [], {'max_length': '128'}),
256 'path': ('django.db.models.fields.FilePathField', [], {'max_length': '100'}),
257 'permission': ('django.db.models.fields.CharField', [], {'max_length': '16'}),
258 'size': ('django.db.models.fields.IntegerField', [], {}),
259 'sym_target': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'symlink_set'", 'null': 'True', 'to': u"orm['orm.Target_File']"}),
260 'target': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.Target']"})
261 },
262 u'orm.target_image_file': {
263 'Meta': {'object_name': 'Target_Image_File'},
264 'file_name': ('django.db.models.fields.FilePathField', [], {'max_length': '254'}),
265 'file_size': ('django.db.models.fields.IntegerField', [], {}),
266 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
267 'target': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.Target']"})
268 },
269 u'orm.target_installed_package': {
270 'Meta': {'object_name': 'Target_Installed_Package'},
271 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
272 'package': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'buildtargetlist_package'", 'to': u"orm['orm.Package']"}),
273 'target': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.Target']"})
274 },
275 u'orm.task': {
276 'Meta': {'ordering': "('order', 'recipe')", 'unique_together': "(('build', 'recipe', 'task_name'),)", 'object_name': 'Task'},
277 'build': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'task_build'", 'to': u"orm['orm.Build']"}),
278 'cpu_usage': ('django.db.models.fields.DecimalField', [], {'null': 'True', 'max_digits': '6', 'decimal_places': '2'}),
279 'disk_io': ('django.db.models.fields.IntegerField', [], {'null': 'True'}),
280 'elapsed_time': ('django.db.models.fields.DecimalField', [], {'null': 'True', 'max_digits': '6', 'decimal_places': '2'}),
281 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
282 'line_number': ('django.db.models.fields.IntegerField', [], {'default': '0'}),
283 'logfile': ('django.db.models.fields.FilePathField', [], {'max_length': '255', 'blank': 'True'}),
284 'message': ('django.db.models.fields.CharField', [], {'max_length': '240'}),
285 'order': ('django.db.models.fields.IntegerField', [], {'null': 'True'}),
286 'outcome': ('django.db.models.fields.IntegerField', [], {'default': '-1'}),
287 'path_to_sstate_obj': ('django.db.models.fields.FilePathField', [], {'max_length': '500', 'blank': 'True'}),
288 'recipe': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'build_recipe'", 'to': u"orm['orm.Recipe']"}),
289 'script_type': ('django.db.models.fields.IntegerField', [], {'default': '0'}),
290 'source_url': ('django.db.models.fields.FilePathField', [], {'max_length': '255', 'blank': 'True'}),
291 'sstate_checksum': ('django.db.models.fields.CharField', [], {'max_length': '100', 'blank': 'True'}),
292 'sstate_result': ('django.db.models.fields.IntegerField', [], {'default': '0'}),
293 'task_executed': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
294 'task_name': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
295 'work_directory': ('django.db.models.fields.FilePathField', [], {'max_length': '255', 'blank': 'True'})
296 },
297 u'orm.task_dependency': {
298 'Meta': {'object_name': 'Task_Dependency'},
299 'depends_on': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'task_dependencies_depends'", 'to': u"orm['orm.Task']"}),
300 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
301 'task': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'task_dependencies_task'", 'to': u"orm['orm.Task']"})
302 },
303 u'orm.toastersetting': {
304 'Meta': {'object_name': 'ToasterSetting'},
305 'helptext': ('django.db.models.fields.TextField', [], {}),
306 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
307 'name': ('django.db.models.fields.CharField', [], {'max_length': '63'}),
308 'value': ('django.db.models.fields.CharField', [], {'max_length': '255'})
309 },
310 u'orm.toastersettingdefaultlayer': {
311 'Meta': {'object_name': 'ToasterSettingDefaultLayer'},
312 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
313 'layer_version': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.Layer_Version']"})
314 },
315 u'orm.variable': {
316 'Meta': {'object_name': 'Variable'},
317 'build': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'variable_build'", 'to': u"orm['orm.Build']"}),
318 'changed': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
319 'description': ('django.db.models.fields.TextField', [], {'blank': 'True'}),
320 'human_readable_name': ('django.db.models.fields.CharField', [], {'max_length': '200'}),
321 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
322 'variable_name': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
323 'variable_value': ('django.db.models.fields.TextField', [], {'blank': 'True'})
324 },
325 u'orm.variablehistory': {
326 'Meta': {'object_name': 'VariableHistory'},
327 'file_name': ('django.db.models.fields.FilePathField', [], {'max_length': '255'}),
328 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
329 'line_number': ('django.db.models.fields.IntegerField', [], {'null': 'True'}),
330 'operation': ('django.db.models.fields.CharField', [], {'max_length': '64'}),
331 'value': ('django.db.models.fields.TextField', [], {'blank': 'True'}),
332 'variable': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'vhistory'", 'to': u"orm['orm.Variable']"})
333 }
334 }
335
336 complete_apps = ['orm'] \ No newline at end of file
diff --git a/bitbake/lib/toaster/orm/migrations/0015_auto__add_field_layer_vcs_web_url__add_field_layer_vcs_web_tree_base_u.py b/bitbake/lib/toaster/orm/migrations/0015_auto__add_field_layer_vcs_web_url__add_field_layer_vcs_web_tree_base_u.py
deleted file mode 100644
index 6e664c9fc8..0000000000
--- a/bitbake/lib/toaster/orm/migrations/0015_auto__add_field_layer_vcs_web_url__add_field_layer_vcs_web_tree_base_u.py
+++ /dev/null
@@ -1,336 +0,0 @@
1# -*- coding: utf-8 -*-
2from south.utils import datetime_utils as datetime
3from south.db import db
4from south.v2 import SchemaMigration
5from django.db import models
6
7
8class Migration(SchemaMigration):
9
10 def forwards(self, orm):
11 # Adding field 'Layer.vcs_web_url'
12 db.add_column(u'orm_layer', 'vcs_web_url',
13 self.gf('django.db.models.fields.URLField')(default=None, max_length=200, null=True),
14 keep_default=False)
15
16 # Adding field 'Layer.vcs_web_tree_base_url'
17 db.add_column(u'orm_layer', 'vcs_web_tree_base_url',
18 self.gf('django.db.models.fields.URLField')(default=None, max_length=200, null=True),
19 keep_default=False)
20
21
22 def backwards(self, orm):
23 # Deleting field 'Layer.vcs_web_url'
24 db.delete_column(u'orm_layer', 'vcs_web_url')
25
26 # Deleting field 'Layer.vcs_web_tree_base_url'
27 db.delete_column(u'orm_layer', 'vcs_web_tree_base_url')
28
29
30 models = {
31 u'orm.bitbakeversion': {
32 'Meta': {'object_name': 'BitbakeVersion'},
33 'branch': ('django.db.models.fields.CharField', [], {'max_length': '32'}),
34 'dirpath': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
35 'giturl': ('django.db.models.fields.URLField', [], {'max_length': '200'}),
36 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
37 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '32'})
38 },
39 u'orm.branch': {
40 'Meta': {'unique_together': "(('layer_source', 'name'), ('layer_source', 'up_id'))", 'object_name': 'Branch'},
41 'bitbake_branch': ('django.db.models.fields.CharField', [], {'max_length': '50', 'blank': 'True'}),
42 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
43 'layer_source': ('django.db.models.fields.related.ForeignKey', [], {'default': 'True', 'to': u"orm['orm.LayerSource']", 'null': 'True'}),
44 'name': ('django.db.models.fields.CharField', [], {'max_length': '50'}),
45 'short_description': ('django.db.models.fields.CharField', [], {'max_length': '50', 'blank': 'True'}),
46 'up_date': ('django.db.models.fields.DateTimeField', [], {'default': 'None', 'null': 'True'}),
47 'up_id': ('django.db.models.fields.IntegerField', [], {'default': 'None', 'null': 'True'})
48 },
49 u'orm.build': {
50 'Meta': {'object_name': 'Build'},
51 'bitbake_version': ('django.db.models.fields.CharField', [], {'max_length': '50'}),
52 'build_name': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
53 'completed_on': ('django.db.models.fields.DateTimeField', [], {}),
54 'cooker_log_path': ('django.db.models.fields.CharField', [], {'max_length': '500'}),
55 'distro': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
56 'distro_version': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
57 'errors_no': ('django.db.models.fields.IntegerField', [], {'default': '0'}),
58 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
59 'machine': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
60 'outcome': ('django.db.models.fields.IntegerField', [], {'default': '2'}),
61 'project': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.Project']", 'null': 'True'}),
62 'started_on': ('django.db.models.fields.DateTimeField', [], {}),
63 'timespent': ('django.db.models.fields.IntegerField', [], {'default': '0'}),
64 'warnings_no': ('django.db.models.fields.IntegerField', [], {'default': '0'})
65 },
66 u'orm.helptext': {
67 'Meta': {'object_name': 'HelpText'},
68 'area': ('django.db.models.fields.IntegerField', [], {}),
69 'build': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'helptext_build'", 'to': u"orm['orm.Build']"}),
70 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
71 'key': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
72 'text': ('django.db.models.fields.TextField', [], {})
73 },
74 u'orm.layer': {
75 'Meta': {'unique_together': "(('layer_source', 'up_id'), ('layer_source', 'name'))", 'object_name': 'Layer'},
76 'description': ('django.db.models.fields.TextField', [], {'default': 'None', 'null': 'True'}),
77 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
78 'layer_index_url': ('django.db.models.fields.URLField', [], {'max_length': '200'}),
79 'layer_source': ('django.db.models.fields.related.ForeignKey', [], {'default': 'None', 'to': u"orm['orm.LayerSource']", 'null': 'True'}),
80 'local_path': ('django.db.models.fields.FilePathField', [], {'default': 'None', 'max_length': '255', 'null': 'True'}),
81 'name': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
82 'summary': ('django.db.models.fields.TextField', [], {'default': 'None', 'null': 'True'}),
83 'up_date': ('django.db.models.fields.DateTimeField', [], {'default': 'None', 'null': 'True'}),
84 'up_id': ('django.db.models.fields.IntegerField', [], {'default': 'None', 'null': 'True'}),
85 'vcs_url': ('django.db.models.fields.URLField', [], {'default': 'None', 'max_length': '200', 'null': 'True'}),
86 'vcs_web_file_base_url': ('django.db.models.fields.URLField', [], {'default': 'None', 'max_length': '200', 'null': 'True'}),
87 'vcs_web_tree_base_url': ('django.db.models.fields.URLField', [], {'default': 'None', 'max_length': '200', 'null': 'True'}),
88 'vcs_web_url': ('django.db.models.fields.URLField', [], {'default': 'None', 'max_length': '200', 'null': 'True'})
89 },
90 u'orm.layer_version': {
91 'Meta': {'unique_together': "(('layer_source', 'up_id'),)", 'object_name': 'Layer_Version'},
92 'branch': ('django.db.models.fields.CharField', [], {'max_length': '80'}),
93 'build': ('django.db.models.fields.related.ForeignKey', [], {'default': 'None', 'related_name': "'layer_version_build'", 'null': 'True', 'to': u"orm['orm.Build']"}),
94 'commit': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
95 'dirpath': ('django.db.models.fields.CharField', [], {'default': 'None', 'max_length': '255', 'null': 'True'}),
96 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
97 'layer': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'layer_version_layer'", 'to': u"orm['orm.Layer']"}),
98 'layer_source': ('django.db.models.fields.related.ForeignKey', [], {'default': 'None', 'to': u"orm['orm.LayerSource']", 'null': 'True'}),
99 'priority': ('django.db.models.fields.IntegerField', [], {'default': '0'}),
100 'up_branch': ('django.db.models.fields.related.ForeignKey', [], {'default': 'None', 'to': u"orm['orm.Branch']", 'null': 'True'}),
101 'up_date': ('django.db.models.fields.DateTimeField', [], {'default': 'None', 'null': 'True'}),
102 'up_id': ('django.db.models.fields.IntegerField', [], {'default': 'None', 'null': 'True'})
103 },
104 u'orm.layersource': {
105 'Meta': {'unique_together': "(('sourcetype', 'apiurl'),)", 'object_name': 'LayerSource'},
106 'apiurl': ('django.db.models.fields.CharField', [], {'default': 'None', 'max_length': '255', 'null': 'True'}),
107 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
108 'name': ('django.db.models.fields.CharField', [], {'max_length': '63'}),
109 'sourcetype': ('django.db.models.fields.IntegerField', [], {})
110 },
111 u'orm.layerversiondependency': {
112 'Meta': {'unique_together': "(('layer_source', 'up_id'),)", 'object_name': 'LayerVersionDependency'},
113 'depends_on': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'dependees'", 'to': u"orm['orm.Layer_Version']"}),
114 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
115 'layer_source': ('django.db.models.fields.related.ForeignKey', [], {'default': 'None', 'to': u"orm['orm.LayerSource']", 'null': 'True'}),
116 'layer_version': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'dependencies'", 'to': u"orm['orm.Layer_Version']"}),
117 'up_id': ('django.db.models.fields.IntegerField', [], {'default': 'None', 'null': 'True'})
118 },
119 u'orm.logmessage': {
120 'Meta': {'object_name': 'LogMessage'},
121 'build': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.Build']"}),
122 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
123 'level': ('django.db.models.fields.IntegerField', [], {'default': '0'}),
124 'lineno': ('django.db.models.fields.IntegerField', [], {'null': 'True'}),
125 'message': ('django.db.models.fields.CharField', [], {'max_length': '240'}),
126 'pathname': ('django.db.models.fields.FilePathField', [], {'max_length': '255', 'blank': 'True'}),
127 'task': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.Task']", 'null': 'True', 'blank': 'True'})
128 },
129 u'orm.machine': {
130 'Meta': {'unique_together': "(('layer_source', 'up_id'),)", 'object_name': 'Machine'},
131 'description': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
132 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
133 'layer_source': ('django.db.models.fields.related.ForeignKey', [], {'default': 'None', 'to': u"orm['orm.LayerSource']", 'null': 'True'}),
134 'layer_version': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.Layer_Version']"}),
135 'name': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
136 'up_date': ('django.db.models.fields.DateTimeField', [], {'default': 'None', 'null': 'True'}),
137 'up_id': ('django.db.models.fields.IntegerField', [], {'default': 'None', 'null': 'True'})
138 },
139 u'orm.package': {
140 'Meta': {'object_name': 'Package'},
141 'build': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.Build']"}),
142 'description': ('django.db.models.fields.TextField', [], {'blank': 'True'}),
143 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
144 'installed_name': ('django.db.models.fields.CharField', [], {'default': "''", 'max_length': '100'}),
145 'installed_size': ('django.db.models.fields.IntegerField', [], {'default': '0'}),
146 'license': ('django.db.models.fields.CharField', [], {'max_length': '80', 'blank': 'True'}),
147 'name': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
148 'recipe': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.Recipe']", 'null': 'True'}),
149 'revision': ('django.db.models.fields.CharField', [], {'max_length': '32', 'blank': 'True'}),
150 'section': ('django.db.models.fields.CharField', [], {'max_length': '80', 'blank': 'True'}),
151 'size': ('django.db.models.fields.IntegerField', [], {'default': '0'}),
152 'summary': ('django.db.models.fields.TextField', [], {'blank': 'True'}),
153 'version': ('django.db.models.fields.CharField', [], {'max_length': '100', 'blank': 'True'})
154 },
155 u'orm.package_dependency': {
156 'Meta': {'object_name': 'Package_Dependency'},
157 'dep_type': ('django.db.models.fields.IntegerField', [], {}),
158 'depends_on': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'package_dependencies_target'", 'to': u"orm['orm.Package']"}),
159 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
160 'package': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'package_dependencies_source'", 'to': u"orm['orm.Package']"}),
161 'target': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.Target']", 'null': 'True'})
162 },
163 u'orm.package_file': {
164 'Meta': {'object_name': 'Package_File'},
165 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
166 'package': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'buildfilelist_package'", 'to': u"orm['orm.Package']"}),
167 'path': ('django.db.models.fields.FilePathField', [], {'max_length': '255', 'blank': 'True'}),
168 'size': ('django.db.models.fields.IntegerField', [], {})
169 },
170 u'orm.project': {
171 'Meta': {'object_name': 'Project'},
172 'bitbake_version': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.BitbakeVersion']"}),
173 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}),
174 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
175 'name': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
176 'release': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.Release']"}),
177 'short_description': ('django.db.models.fields.CharField', [], {'max_length': '50', 'blank': 'True'}),
178 'updated': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}),
179 'user_id': ('django.db.models.fields.IntegerField', [], {'null': 'True'})
180 },
181 u'orm.projectlayer': {
182 'Meta': {'object_name': 'ProjectLayer'},
183 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
184 'layercommit': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.Layer_Version']", 'null': 'True'}),
185 'optional': ('django.db.models.fields.BooleanField', [], {'default': 'True'}),
186 'project': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.Project']"})
187 },
188 u'orm.projecttarget': {
189 'Meta': {'object_name': 'ProjectTarget'},
190 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
191 'project': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.Project']"}),
192 'target': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
193 'task': ('django.db.models.fields.CharField', [], {'max_length': '100', 'null': 'True'})
194 },
195 u'orm.projectvariable': {
196 'Meta': {'object_name': 'ProjectVariable'},
197 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
198 'name': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
199 'project': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.Project']"}),
200 'value': ('django.db.models.fields.TextField', [], {'blank': 'True'})
201 },
202 u'orm.recipe': {
203 'Meta': {'object_name': 'Recipe'},
204 'bugtracker': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}),
205 'description': ('django.db.models.fields.TextField', [], {'blank': 'True'}),
206 'file_path': ('django.db.models.fields.FilePathField', [], {'max_length': '255'}),
207 'homepage': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}),
208 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
209 'layer_source': ('django.db.models.fields.related.ForeignKey', [], {'default': 'None', 'to': u"orm['orm.LayerSource']", 'null': 'True'}),
210 'layer_version': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'recipe_layer_version'", 'to': u"orm['orm.Layer_Version']"}),
211 'license': ('django.db.models.fields.CharField', [], {'max_length': '200', 'blank': 'True'}),
212 'name': ('django.db.models.fields.CharField', [], {'max_length': '100', 'blank': 'True'}),
213 'section': ('django.db.models.fields.CharField', [], {'max_length': '100', 'blank': 'True'}),
214 'summary': ('django.db.models.fields.TextField', [], {'blank': 'True'}),
215 'up_date': ('django.db.models.fields.DateTimeField', [], {'default': 'None', 'null': 'True'}),
216 'up_id': ('django.db.models.fields.IntegerField', [], {'default': 'None', 'null': 'True'}),
217 'version': ('django.db.models.fields.CharField', [], {'max_length': '100', 'blank': 'True'})
218 },
219 u'orm.recipe_dependency': {
220 'Meta': {'object_name': 'Recipe_Dependency'},
221 'dep_type': ('django.db.models.fields.IntegerField', [], {}),
222 'depends_on': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'r_dependencies_depends'", 'to': u"orm['orm.Recipe']"}),
223 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
224 'recipe': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'r_dependencies_recipe'", 'to': u"orm['orm.Recipe']"})
225 },
226 u'orm.release': {
227 'Meta': {'object_name': 'Release'},
228 'bitbake_version': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.BitbakeVersion']"}),
229 'branch': ('django.db.models.fields.CharField', [], {'max_length': '32'}),
230 'description': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
231 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
232 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '32'})
233 },
234 u'orm.releasedefaultlayer': {
235 'Meta': {'object_name': 'ReleaseDefaultLayer'},
236 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
237 'layer': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.Layer']"}),
238 'release': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.Release']"})
239 },
240 u'orm.target': {
241 'Meta': {'object_name': 'Target'},
242 'build': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.Build']"}),
243 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
244 'image_size': ('django.db.models.fields.IntegerField', [], {'default': '0'}),
245 'is_image': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
246 'license_manifest_path': ('django.db.models.fields.CharField', [], {'max_length': '500', 'null': 'True'}),
247 'target': ('django.db.models.fields.CharField', [], {'max_length': '100'})
248 },
249 u'orm.target_file': {
250 'Meta': {'object_name': 'Target_File'},
251 'directory': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'directory_set'", 'null': 'True', 'to': u"orm['orm.Target_File']"}),
252 'group': ('django.db.models.fields.CharField', [], {'max_length': '128'}),
253 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
254 'inodetype': ('django.db.models.fields.IntegerField', [], {}),
255 'owner': ('django.db.models.fields.CharField', [], {'max_length': '128'}),
256 'path': ('django.db.models.fields.FilePathField', [], {'max_length': '100'}),
257 'permission': ('django.db.models.fields.CharField', [], {'max_length': '16'}),
258 'size': ('django.db.models.fields.IntegerField', [], {}),
259 'sym_target': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'symlink_set'", 'null': 'True', 'to': u"orm['orm.Target_File']"}),
260 'target': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.Target']"})
261 },
262 u'orm.target_image_file': {
263 'Meta': {'object_name': 'Target_Image_File'},
264 'file_name': ('django.db.models.fields.FilePathField', [], {'max_length': '254'}),
265 'file_size': ('django.db.models.fields.IntegerField', [], {}),
266 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
267 'target': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.Target']"})
268 },
269 u'orm.target_installed_package': {
270 'Meta': {'object_name': 'Target_Installed_Package'},
271 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
272 'package': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'buildtargetlist_package'", 'to': u"orm['orm.Package']"}),
273 'target': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.Target']"})
274 },
275 u'orm.task': {
276 'Meta': {'ordering': "('order', 'recipe')", 'unique_together': "(('build', 'recipe', 'task_name'),)", 'object_name': 'Task'},
277 'build': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'task_build'", 'to': u"orm['orm.Build']"}),
278 'cpu_usage': ('django.db.models.fields.DecimalField', [], {'null': 'True', 'max_digits': '6', 'decimal_places': '2'}),
279 'disk_io': ('django.db.models.fields.IntegerField', [], {'null': 'True'}),
280 'elapsed_time': ('django.db.models.fields.DecimalField', [], {'null': 'True', 'max_digits': '6', 'decimal_places': '2'}),
281 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
282 'line_number': ('django.db.models.fields.IntegerField', [], {'default': '0'}),
283 'logfile': ('django.db.models.fields.FilePathField', [], {'max_length': '255', 'blank': 'True'}),
284 'message': ('django.db.models.fields.CharField', [], {'max_length': '240'}),
285 'order': ('django.db.models.fields.IntegerField', [], {'null': 'True'}),
286 'outcome': ('django.db.models.fields.IntegerField', [], {'default': '-1'}),
287 'path_to_sstate_obj': ('django.db.models.fields.FilePathField', [], {'max_length': '500', 'blank': 'True'}),
288 'recipe': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'build_recipe'", 'to': u"orm['orm.Recipe']"}),
289 'script_type': ('django.db.models.fields.IntegerField', [], {'default': '0'}),
290 'source_url': ('django.db.models.fields.FilePathField', [], {'max_length': '255', 'blank': 'True'}),
291 'sstate_checksum': ('django.db.models.fields.CharField', [], {'max_length': '100', 'blank': 'True'}),
292 'sstate_result': ('django.db.models.fields.IntegerField', [], {'default': '0'}),
293 'task_executed': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
294 'task_name': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
295 'work_directory': ('django.db.models.fields.FilePathField', [], {'max_length': '255', 'blank': 'True'})
296 },
297 u'orm.task_dependency': {
298 'Meta': {'object_name': 'Task_Dependency'},
299 'depends_on': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'task_dependencies_depends'", 'to': u"orm['orm.Task']"}),
300 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
301 'task': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'task_dependencies_task'", 'to': u"orm['orm.Task']"})
302 },
303 u'orm.toastersetting': {
304 'Meta': {'object_name': 'ToasterSetting'},
305 'helptext': ('django.db.models.fields.TextField', [], {}),
306 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
307 'name': ('django.db.models.fields.CharField', [], {'max_length': '63'}),
308 'value': ('django.db.models.fields.CharField', [], {'max_length': '255'})
309 },
310 u'orm.toastersettingdefaultlayer': {
311 'Meta': {'object_name': 'ToasterSettingDefaultLayer'},
312 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
313 'layer_version': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.Layer_Version']"})
314 },
315 u'orm.variable': {
316 'Meta': {'object_name': 'Variable'},
317 'build': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'variable_build'", 'to': u"orm['orm.Build']"}),
318 'changed': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
319 'description': ('django.db.models.fields.TextField', [], {'blank': 'True'}),
320 'human_readable_name': ('django.db.models.fields.CharField', [], {'max_length': '200'}),
321 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
322 'variable_name': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
323 'variable_value': ('django.db.models.fields.TextField', [], {'blank': 'True'})
324 },
325 u'orm.variablehistory': {
326 'Meta': {'object_name': 'VariableHistory'},
327 'file_name': ('django.db.models.fields.FilePathField', [], {'max_length': '255'}),
328 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
329 'line_number': ('django.db.models.fields.IntegerField', [], {'null': 'True'}),
330 'operation': ('django.db.models.fields.CharField', [], {'max_length': '64'}),
331 'value': ('django.db.models.fields.TextField', [], {'blank': 'True'}),
332 'variable': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'vhistory'", 'to': u"orm['orm.Variable']"})
333 }
334 }
335
336 complete_apps = ['orm'] \ No newline at end of file
diff --git a/bitbake/lib/toaster/orm/migrations/0016_auto__add_field_release_helptext__chg_field_release_branch__add_index_.py b/bitbake/lib/toaster/orm/migrations/0016_auto__add_field_release_helptext__chg_field_release_branch__add_index_.py
deleted file mode 100644
index 545c0ba586..0000000000
--- a/bitbake/lib/toaster/orm/migrations/0016_auto__add_field_release_helptext__chg_field_release_branch__add_index_.py
+++ /dev/null
@@ -1,359 +0,0 @@
1# -*- coding: utf-8 -*-
2from south.utils import datetime_utils as datetime
3from south.db import db
4from south.v2 import SchemaMigration
5from django.db import models
6
7
8class Migration(SchemaMigration):
9
10 def forwards(self, orm):
11 # Adding field 'Release.helptext'
12 db.add_column(u'orm_release', 'helptext',
13 self.gf('django.db.models.fields.TextField')(null=True),
14 keep_default=False)
15
16
17 # Renaming column for 'Release.branch' to match new field type.
18 db.delete_column(u'orm_release', 'branch')
19
20 # Changing field 'Release.branch'
21 db.add_column(u'orm_release', 'branch', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['orm.Branch'], default=-1))
22
23 # Deleting field 'Branch.bitbake_branch'
24 db.delete_column(u'orm_branch', 'bitbake_branch')
25
26 # Adding unique constraint on 'Recipe', fields ['layer_version', 'file_path']
27 db.create_unique(u'orm_recipe', ['layer_version_id', 'file_path'])
28
29 # Adding unique constraint on 'ProjectLayer', fields ['project', 'layercommit']
30 db.create_unique(u'orm_projectlayer', ['project_id', 'layercommit_id'])
31
32
33 def backwards(self, orm):
34 # Removing unique constraint on 'ProjectLayer', fields ['project', 'layercommit']
35 db.delete_unique(u'orm_projectlayer', ['project_id', 'layercommit_id'])
36
37 # Removing unique constraint on 'Recipe', fields ['layer_version', 'file_path']
38 db.delete_unique(u'orm_recipe', ['layer_version_id', 'file_path'])
39
40 # Deleting field 'Release.helptext'
41 db.delete_column(u'orm_release', 'helptext')
42
43 # Renaming column for 'Release.branch' to match new field type.
44 db.rename_column(u'orm_release', 'branch_id', 'branch')
45 # Changing field 'Release.branch'
46 db.alter_column(u'orm_release', 'branch', self.gf('django.db.models.fields.CharField')(max_length=32))
47 # Adding field 'Branch.bitbake_branch'
48 db.add_column(u'orm_branch', 'bitbake_branch',
49 self.gf('django.db.models.fields.CharField')(default='', max_length=50, blank=True),
50 keep_default=False)
51
52
53 models = {
54 u'orm.bitbakeversion': {
55 'Meta': {'object_name': 'BitbakeVersion'},
56 'branch': ('django.db.models.fields.CharField', [], {'max_length': '32'}),
57 'dirpath': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
58 'giturl': ('django.db.models.fields.URLField', [], {'max_length': '200'}),
59 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
60 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '32'})
61 },
62 u'orm.branch': {
63 'Meta': {'unique_together': "(('layer_source', 'name'), ('layer_source', 'up_id'))", 'object_name': 'Branch'},
64 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
65 'layer_source': ('django.db.models.fields.related.ForeignKey', [], {'default': 'True', 'to': u"orm['orm.LayerSource']", 'null': 'True'}),
66 'name': ('django.db.models.fields.CharField', [], {'max_length': '50'}),
67 'short_description': ('django.db.models.fields.CharField', [], {'max_length': '50', 'blank': 'True'}),
68 'up_date': ('django.db.models.fields.DateTimeField', [], {'default': 'None', 'null': 'True'}),
69 'up_id': ('django.db.models.fields.IntegerField', [], {'default': 'None', 'null': 'True'})
70 },
71 u'orm.build': {
72 'Meta': {'object_name': 'Build'},
73 'bitbake_version': ('django.db.models.fields.CharField', [], {'max_length': '50'}),
74 'build_name': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
75 'completed_on': ('django.db.models.fields.DateTimeField', [], {}),
76 'cooker_log_path': ('django.db.models.fields.CharField', [], {'max_length': '500'}),
77 'distro': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
78 'distro_version': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
79 'errors_no': ('django.db.models.fields.IntegerField', [], {'default': '0'}),
80 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
81 'machine': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
82 'outcome': ('django.db.models.fields.IntegerField', [], {'default': '2'}),
83 'project': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.Project']", 'null': 'True'}),
84 'started_on': ('django.db.models.fields.DateTimeField', [], {}),
85 'timespent': ('django.db.models.fields.IntegerField', [], {'default': '0'}),
86 'warnings_no': ('django.db.models.fields.IntegerField', [], {'default': '0'})
87 },
88 u'orm.helptext': {
89 'Meta': {'object_name': 'HelpText'},
90 'area': ('django.db.models.fields.IntegerField', [], {}),
91 'build': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'helptext_build'", 'to': u"orm['orm.Build']"}),
92 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
93 'key': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
94 'text': ('django.db.models.fields.TextField', [], {})
95 },
96 u'orm.layer': {
97 'Meta': {'unique_together': "(('layer_source', 'up_id'), ('layer_source', 'name'))", 'object_name': 'Layer'},
98 'description': ('django.db.models.fields.TextField', [], {'default': 'None', 'null': 'True'}),
99 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
100 'layer_index_url': ('django.db.models.fields.URLField', [], {'max_length': '200'}),
101 'layer_source': ('django.db.models.fields.related.ForeignKey', [], {'default': 'None', 'to': u"orm['orm.LayerSource']", 'null': 'True'}),
102 'local_path': ('django.db.models.fields.FilePathField', [], {'default': 'None', 'max_length': '255', 'null': 'True'}),
103 'name': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
104 'summary': ('django.db.models.fields.TextField', [], {'default': 'None', 'null': 'True'}),
105 'up_date': ('django.db.models.fields.DateTimeField', [], {'default': 'None', 'null': 'True'}),
106 'up_id': ('django.db.models.fields.IntegerField', [], {'default': 'None', 'null': 'True'}),
107 'vcs_url': ('django.db.models.fields.URLField', [], {'default': 'None', 'max_length': '200', 'null': 'True'}),
108 'vcs_web_file_base_url': ('django.db.models.fields.URLField', [], {'default': 'None', 'max_length': '200', 'null': 'True'}),
109 'vcs_web_tree_base_url': ('django.db.models.fields.URLField', [], {'default': 'None', 'max_length': '200', 'null': 'True'}),
110 'vcs_web_url': ('django.db.models.fields.URLField', [], {'default': 'None', 'max_length': '200', 'null': 'True'})
111 },
112 u'orm.layer_version': {
113 'Meta': {'unique_together': "(('layer_source', 'up_id'),)", 'object_name': 'Layer_Version'},
114 'branch': ('django.db.models.fields.CharField', [], {'max_length': '80'}),
115 'build': ('django.db.models.fields.related.ForeignKey', [], {'default': 'None', 'related_name': "'layer_version_build'", 'null': 'True', 'to': u"orm['orm.Build']"}),
116 'commit': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
117 'dirpath': ('django.db.models.fields.CharField', [], {'default': 'None', 'max_length': '255', 'null': 'True'}),
118 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
119 'layer': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'layer_version_layer'", 'to': u"orm['orm.Layer']"}),
120 'layer_source': ('django.db.models.fields.related.ForeignKey', [], {'default': 'None', 'to': u"orm['orm.LayerSource']", 'null': 'True'}),
121 'priority': ('django.db.models.fields.IntegerField', [], {'default': '0'}),
122 'up_branch': ('django.db.models.fields.related.ForeignKey', [], {'default': 'None', 'to': u"orm['orm.Branch']", 'null': 'True'}),
123 'up_date': ('django.db.models.fields.DateTimeField', [], {'default': 'None', 'null': 'True'}),
124 'up_id': ('django.db.models.fields.IntegerField', [], {'default': 'None', 'null': 'True'})
125 },
126 u'orm.layersource': {
127 'Meta': {'unique_together': "(('sourcetype', 'apiurl'),)", 'object_name': 'LayerSource'},
128 'apiurl': ('django.db.models.fields.CharField', [], {'default': 'None', 'max_length': '255', 'null': 'True'}),
129 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
130 'name': ('django.db.models.fields.CharField', [], {'max_length': '63'}),
131 'sourcetype': ('django.db.models.fields.IntegerField', [], {})
132 },
133 u'orm.layerversiondependency': {
134 'Meta': {'unique_together': "(('layer_source', 'up_id'),)", 'object_name': 'LayerVersionDependency'},
135 'depends_on': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'dependees'", 'to': u"orm['orm.Layer_Version']"}),
136 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
137 'layer_source': ('django.db.models.fields.related.ForeignKey', [], {'default': 'None', 'to': u"orm['orm.LayerSource']", 'null': 'True'}),
138 'layer_version': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'dependencies'", 'to': u"orm['orm.Layer_Version']"}),
139 'up_id': ('django.db.models.fields.IntegerField', [], {'default': 'None', 'null': 'True'})
140 },
141 u'orm.logmessage': {
142 'Meta': {'object_name': 'LogMessage'},
143 'build': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.Build']"}),
144 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
145 'level': ('django.db.models.fields.IntegerField', [], {'default': '0'}),
146 'lineno': ('django.db.models.fields.IntegerField', [], {'null': 'True'}),
147 'message': ('django.db.models.fields.CharField', [], {'max_length': '240'}),
148 'pathname': ('django.db.models.fields.FilePathField', [], {'max_length': '255', 'blank': 'True'}),
149 'task': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.Task']", 'null': 'True', 'blank': 'True'})
150 },
151 u'orm.machine': {
152 'Meta': {'unique_together': "(('layer_source', 'up_id'),)", 'object_name': 'Machine'},
153 'description': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
154 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
155 'layer_source': ('django.db.models.fields.related.ForeignKey', [], {'default': 'None', 'to': u"orm['orm.LayerSource']", 'null': 'True'}),
156 'layer_version': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.Layer_Version']"}),
157 'name': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
158 'up_date': ('django.db.models.fields.DateTimeField', [], {'default': 'None', 'null': 'True'}),
159 'up_id': ('django.db.models.fields.IntegerField', [], {'default': 'None', 'null': 'True'})
160 },
161 u'orm.package': {
162 'Meta': {'object_name': 'Package'},
163 'build': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.Build']"}),
164 'description': ('django.db.models.fields.TextField', [], {'blank': 'True'}),
165 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
166 'installed_name': ('django.db.models.fields.CharField', [], {'default': "''", 'max_length': '100'}),
167 'installed_size': ('django.db.models.fields.IntegerField', [], {'default': '0'}),
168 'license': ('django.db.models.fields.CharField', [], {'max_length': '80', 'blank': 'True'}),
169 'name': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
170 'recipe': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.Recipe']", 'null': 'True'}),
171 'revision': ('django.db.models.fields.CharField', [], {'max_length': '32', 'blank': 'True'}),
172 'section': ('django.db.models.fields.CharField', [], {'max_length': '80', 'blank': 'True'}),
173 'size': ('django.db.models.fields.IntegerField', [], {'default': '0'}),
174 'summary': ('django.db.models.fields.TextField', [], {'blank': 'True'}),
175 'version': ('django.db.models.fields.CharField', [], {'max_length': '100', 'blank': 'True'})
176 },
177 u'orm.package_dependency': {
178 'Meta': {'object_name': 'Package_Dependency'},
179 'dep_type': ('django.db.models.fields.IntegerField', [], {}),
180 'depends_on': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'package_dependencies_target'", 'to': u"orm['orm.Package']"}),
181 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
182 'package': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'package_dependencies_source'", 'to': u"orm['orm.Package']"}),
183 'target': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.Target']", 'null': 'True'})
184 },
185 u'orm.package_file': {
186 'Meta': {'object_name': 'Package_File'},
187 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
188 'package': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'buildfilelist_package'", 'to': u"orm['orm.Package']"}),
189 'path': ('django.db.models.fields.FilePathField', [], {'max_length': '255', 'blank': 'True'}),
190 'size': ('django.db.models.fields.IntegerField', [], {})
191 },
192 u'orm.project': {
193 'Meta': {'object_name': 'Project'},
194 'bitbake_version': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.BitbakeVersion']"}),
195 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}),
196 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
197 'name': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
198 'release': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.Release']"}),
199 'short_description': ('django.db.models.fields.CharField', [], {'max_length': '50', 'blank': 'True'}),
200 'updated': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}),
201 'user_id': ('django.db.models.fields.IntegerField', [], {'null': 'True'})
202 },
203 u'orm.projectlayer': {
204 'Meta': {'unique_together': "(('project', 'layercommit'),)", 'object_name': 'ProjectLayer'},
205 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
206 'layercommit': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.Layer_Version']", 'null': 'True'}),
207 'optional': ('django.db.models.fields.BooleanField', [], {'default': 'True'}),
208 'project': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.Project']"})
209 },
210 u'orm.projecttarget': {
211 'Meta': {'object_name': 'ProjectTarget'},
212 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
213 'project': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.Project']"}),
214 'target': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
215 'task': ('django.db.models.fields.CharField', [], {'max_length': '100', 'null': 'True'})
216 },
217 u'orm.projectvariable': {
218 'Meta': {'object_name': 'ProjectVariable'},
219 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
220 'name': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
221 'project': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.Project']"}),
222 'value': ('django.db.models.fields.TextField', [], {'blank': 'True'})
223 },
224 u'orm.recipe': {
225 'Meta': {'unique_together': "(('layer_version', 'file_path'),)", 'object_name': 'Recipe'},
226 'bugtracker': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}),
227 'description': ('django.db.models.fields.TextField', [], {'blank': 'True'}),
228 'file_path': ('django.db.models.fields.FilePathField', [], {'max_length': '255'}),
229 'homepage': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}),
230 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
231 'layer_source': ('django.db.models.fields.related.ForeignKey', [], {'default': 'None', 'to': u"orm['orm.LayerSource']", 'null': 'True'}),
232 'layer_version': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'recipe_layer_version'", 'to': u"orm['orm.Layer_Version']"}),
233 'license': ('django.db.models.fields.CharField', [], {'max_length': '200', 'blank': 'True'}),
234 'name': ('django.db.models.fields.CharField', [], {'max_length': '100', 'blank': 'True'}),
235 'section': ('django.db.models.fields.CharField', [], {'max_length': '100', 'blank': 'True'}),
236 'summary': ('django.db.models.fields.TextField', [], {'blank': 'True'}),
237 'up_date': ('django.db.models.fields.DateTimeField', [], {'default': 'None', 'null': 'True'}),
238 'up_id': ('django.db.models.fields.IntegerField', [], {'default': 'None', 'null': 'True'}),
239 'version': ('django.db.models.fields.CharField', [], {'max_length': '100', 'blank': 'True'})
240 },
241 u'orm.recipe_dependency': {
242 'Meta': {'object_name': 'Recipe_Dependency'},
243 'dep_type': ('django.db.models.fields.IntegerField', [], {}),
244 'depends_on': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'r_dependencies_depends'", 'to': u"orm['orm.Recipe']"}),
245 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
246 'recipe': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'r_dependencies_recipe'", 'to': u"orm['orm.Recipe']"})
247 },
248 u'orm.release': {
249 'Meta': {'object_name': 'Release'},
250 'bitbake_version': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.BitbakeVersion']"}),
251 'branch': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.Branch']"}),
252 'description': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
253 'helptext': ('django.db.models.fields.TextField', [], {'null': 'True'}),
254 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
255 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '32'})
256 },
257 u'orm.releasedefaultlayer': {
258 'Meta': {'object_name': 'ReleaseDefaultLayer'},
259 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
260 'layer': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.Layer']"}),
261 'release': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.Release']"})
262 },
263 u'orm.target': {
264 'Meta': {'object_name': 'Target'},
265 'build': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.Build']"}),
266 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
267 'image_size': ('django.db.models.fields.IntegerField', [], {'default': '0'}),
268 'is_image': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
269 'license_manifest_path': ('django.db.models.fields.CharField', [], {'max_length': '500', 'null': 'True'}),
270 'target': ('django.db.models.fields.CharField', [], {'max_length': '100'})
271 },
272 u'orm.target_file': {
273 'Meta': {'object_name': 'Target_File'},
274 'directory': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'directory_set'", 'null': 'True', 'to': u"orm['orm.Target_File']"}),
275 'group': ('django.db.models.fields.CharField', [], {'max_length': '128'}),
276 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
277 'inodetype': ('django.db.models.fields.IntegerField', [], {}),
278 'owner': ('django.db.models.fields.CharField', [], {'max_length': '128'}),
279 'path': ('django.db.models.fields.FilePathField', [], {'max_length': '100'}),
280 'permission': ('django.db.models.fields.CharField', [], {'max_length': '16'}),
281 'size': ('django.db.models.fields.IntegerField', [], {}),
282 'sym_target': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'symlink_set'", 'null': 'True', 'to': u"orm['orm.Target_File']"}),
283 'target': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.Target']"})
284 },
285 u'orm.target_image_file': {
286 'Meta': {'object_name': 'Target_Image_File'},
287 'file_name': ('django.db.models.fields.FilePathField', [], {'max_length': '254'}),
288 'file_size': ('django.db.models.fields.IntegerField', [], {}),
289 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
290 'target': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.Target']"})
291 },
292 u'orm.target_installed_package': {
293 'Meta': {'object_name': 'Target_Installed_Package'},
294 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
295 'package': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'buildtargetlist_package'", 'to': u"orm['orm.Package']"}),
296 'target': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.Target']"})
297 },
298 u'orm.task': {
299 'Meta': {'ordering': "('order', 'recipe')", 'unique_together': "(('build', 'recipe', 'task_name'),)", 'object_name': 'Task'},
300 'build': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'task_build'", 'to': u"orm['orm.Build']"}),
301 'cpu_usage': ('django.db.models.fields.DecimalField', [], {'null': 'True', 'max_digits': '6', 'decimal_places': '2'}),
302 'disk_io': ('django.db.models.fields.IntegerField', [], {'null': 'True'}),
303 'elapsed_time': ('django.db.models.fields.DecimalField', [], {'null': 'True', 'max_digits': '6', 'decimal_places': '2'}),
304 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
305 'line_number': ('django.db.models.fields.IntegerField', [], {'default': '0'}),
306 'logfile': ('django.db.models.fields.FilePathField', [], {'max_length': '255', 'blank': 'True'}),
307 'message': ('django.db.models.fields.CharField', [], {'max_length': '240'}),
308 'order': ('django.db.models.fields.IntegerField', [], {'null': 'True'}),
309 'outcome': ('django.db.models.fields.IntegerField', [], {'default': '-1'}),
310 'path_to_sstate_obj': ('django.db.models.fields.FilePathField', [], {'max_length': '500', 'blank': 'True'}),
311 'recipe': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'build_recipe'", 'to': u"orm['orm.Recipe']"}),
312 'script_type': ('django.db.models.fields.IntegerField', [], {'default': '0'}),
313 'source_url': ('django.db.models.fields.FilePathField', [], {'max_length': '255', 'blank': 'True'}),
314 'sstate_checksum': ('django.db.models.fields.CharField', [], {'max_length': '100', 'blank': 'True'}),
315 'sstate_result': ('django.db.models.fields.IntegerField', [], {'default': '0'}),
316 'task_executed': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
317 'task_name': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
318 'work_directory': ('django.db.models.fields.FilePathField', [], {'max_length': '255', 'blank': 'True'})
319 },
320 u'orm.task_dependency': {
321 'Meta': {'object_name': 'Task_Dependency'},
322 'depends_on': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'task_dependencies_depends'", 'to': u"orm['orm.Task']"}),
323 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
324 'task': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'task_dependencies_task'", 'to': u"orm['orm.Task']"})
325 },
326 u'orm.toastersetting': {
327 'Meta': {'object_name': 'ToasterSetting'},
328 'helptext': ('django.db.models.fields.TextField', [], {}),
329 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
330 'name': ('django.db.models.fields.CharField', [], {'max_length': '63'}),
331 'value': ('django.db.models.fields.CharField', [], {'max_length': '255'})
332 },
333 u'orm.toastersettingdefaultlayer': {
334 'Meta': {'object_name': 'ToasterSettingDefaultLayer'},
335 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
336 'layer_version': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.Layer_Version']"})
337 },
338 u'orm.variable': {
339 'Meta': {'object_name': 'Variable'},
340 'build': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'variable_build'", 'to': u"orm['orm.Build']"}),
341 'changed': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
342 'description': ('django.db.models.fields.TextField', [], {'blank': 'True'}),
343 'human_readable_name': ('django.db.models.fields.CharField', [], {'max_length': '200'}),
344 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
345 'variable_name': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
346 'variable_value': ('django.db.models.fields.TextField', [], {'blank': 'True'})
347 },
348 u'orm.variablehistory': {
349 'Meta': {'object_name': 'VariableHistory'},
350 'file_name': ('django.db.models.fields.FilePathField', [], {'max_length': '255'}),
351 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
352 'line_number': ('django.db.models.fields.IntegerField', [], {'null': 'True'}),
353 'operation': ('django.db.models.fields.CharField', [], {'max_length': '64'}),
354 'value': ('django.db.models.fields.TextField', [], {'blank': 'True'}),
355 'variable': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'vhistory'", 'to': u"orm['orm.Variable']"})
356 }
357 }
358
359 complete_apps = ['orm']
diff --git a/bitbake/lib/toaster/orm/migrations/0017_auto__del_toastersettingdefaultlayer__add_releaselayersourcepriority__.py b/bitbake/lib/toaster/orm/migrations/0017_auto__del_toastersettingdefaultlayer__add_releaselayersourcepriority__.py
deleted file mode 100644
index 6685b55640..0000000000
--- a/bitbake/lib/toaster/orm/migrations/0017_auto__del_toastersettingdefaultlayer__add_releaselayersourcepriority__.py
+++ /dev/null
@@ -1,396 +0,0 @@
1# -*- coding: utf-8 -*-
2from south.utils import datetime_utils as datetime
3from south.db import db
4from south.v2 import SchemaMigration
5from django.db import models
6
7
8class Migration(SchemaMigration):
9
10 def forwards(self, orm):
11 # Deleting model 'ToasterSettingDefaultLayer'
12 db.delete_table(u'orm_toastersettingdefaultlayer')
13
14 # Adding model 'ReleaseLayerSourcePriority'
15 db.create_table(u'orm_releaselayersourcepriority', (
16 (u'id', self.gf('django.db.models.fields.AutoField')(primary_key=True)),
17 ('release', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['orm.Release'])),
18 ('layer_source', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['orm.LayerSource'])),
19 ('priority', self.gf('django.db.models.fields.IntegerField')(default=0)),
20 ))
21 db.send_create_signal(u'orm', ['ReleaseLayerSourcePriority'])
22
23 # Adding unique constraint on 'ReleaseLayerSourcePriority', fields ['release', 'layer_source']
24 db.create_unique(u'orm_releaselayersourcepriority', ['release_id', 'layer_source_id'])
25
26 # Deleting field 'Release.branch'
27 db.delete_column(u'orm_release', 'branch_id')
28
29 # Adding field 'Release.branch_name'
30 db.add_column(u'orm_release', 'branch_name',
31 self.gf('django.db.models.fields.CharField')(default='', max_length=50),
32 keep_default=False)
33
34 # Adding unique constraint on 'LayerSource', fields ['name']
35 db.create_unique(u'orm_layersource', ['name'])
36
37 # Deleting field 'ReleaseDefaultLayer.layer'
38 db.delete_column(u'orm_releasedefaultlayer', 'layer_id')
39
40 # Adding field 'ReleaseDefaultLayer.layer_name'
41 db.add_column(u'orm_releasedefaultlayer', 'layer_name',
42 self.gf('django.db.models.fields.CharField')(default='', max_length=100),
43 keep_default=False)
44
45
46 def backwards(self, orm):
47 # Removing unique constraint on 'LayerSource', fields ['name']
48 db.delete_unique(u'orm_layersource', ['name'])
49
50 # Removing unique constraint on 'ReleaseLayerSourcePriority', fields ['release', 'layer_source']
51 db.delete_unique(u'orm_releaselayersourcepriority', ['release_id', 'layer_source_id'])
52
53 # Adding model 'ToasterSettingDefaultLayer'
54 db.create_table(u'orm_toastersettingdefaultlayer', (
55 (u'id', self.gf('django.db.models.fields.AutoField')(primary_key=True)),
56 ('layer_version', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['orm.Layer_Version'])),
57 ))
58 db.send_create_signal(u'orm', ['ToasterSettingDefaultLayer'])
59
60 # Deleting model 'ReleaseLayerSourcePriority'
61 db.delete_table(u'orm_releaselayersourcepriority')
62
63
64 # User chose to not deal with backwards NULL issues for 'Release.branch'
65 raise RuntimeError("Cannot reverse this migration. 'Release.branch' and its values cannot be restored.")
66
67 # The following code is provided here to aid in writing a correct migration # Adding field 'Release.branch'
68 db.add_column(u'orm_release', 'branch',
69 self.gf('django.db.models.fields.related.ForeignKey')(to=orm['orm.Branch']),
70 keep_default=False)
71
72 # Deleting field 'Release.branch_name'
73 db.delete_column(u'orm_release', 'branch_name')
74
75
76 # User chose to not deal with backwards NULL issues for 'ReleaseDefaultLayer.layer'
77 raise RuntimeError("Cannot reverse this migration. 'ReleaseDefaultLayer.layer' and its values cannot be restored.")
78
79 # The following code is provided here to aid in writing a correct migration # Adding field 'ReleaseDefaultLayer.layer'
80 db.add_column(u'orm_releasedefaultlayer', 'layer',
81 self.gf('django.db.models.fields.related.ForeignKey')(to=orm['orm.Layer']),
82 keep_default=False)
83
84 # Deleting field 'ReleaseDefaultLayer.layer_name'
85 db.delete_column(u'orm_releasedefaultlayer', 'layer_name')
86
87
88 models = {
89 u'orm.bitbakeversion': {
90 'Meta': {'object_name': 'BitbakeVersion'},
91 'branch': ('django.db.models.fields.CharField', [], {'max_length': '32'}),
92 'dirpath': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
93 'giturl': ('django.db.models.fields.URLField', [], {'max_length': '200'}),
94 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
95 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '32'})
96 },
97 u'orm.branch': {
98 'Meta': {'unique_together': "(('layer_source', 'name'), ('layer_source', 'up_id'))", 'object_name': 'Branch'},
99 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
100 'layer_source': ('django.db.models.fields.related.ForeignKey', [], {'default': 'True', 'to': u"orm['orm.LayerSource']", 'null': 'True'}),
101 'name': ('django.db.models.fields.CharField', [], {'max_length': '50'}),
102 'short_description': ('django.db.models.fields.CharField', [], {'max_length': '50', 'blank': 'True'}),
103 'up_date': ('django.db.models.fields.DateTimeField', [], {'default': 'None', 'null': 'True'}),
104 'up_id': ('django.db.models.fields.IntegerField', [], {'default': 'None', 'null': 'True'})
105 },
106 u'orm.build': {
107 'Meta': {'object_name': 'Build'},
108 'bitbake_version': ('django.db.models.fields.CharField', [], {'max_length': '50'}),
109 'build_name': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
110 'completed_on': ('django.db.models.fields.DateTimeField', [], {}),
111 'cooker_log_path': ('django.db.models.fields.CharField', [], {'max_length': '500'}),
112 'distro': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
113 'distro_version': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
114 'errors_no': ('django.db.models.fields.IntegerField', [], {'default': '0'}),
115 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
116 'machine': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
117 'outcome': ('django.db.models.fields.IntegerField', [], {'default': '2'}),
118 'project': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.Project']", 'null': 'True'}),
119 'started_on': ('django.db.models.fields.DateTimeField', [], {}),
120 'timespent': ('django.db.models.fields.IntegerField', [], {'default': '0'}),
121 'warnings_no': ('django.db.models.fields.IntegerField', [], {'default': '0'})
122 },
123 u'orm.helptext': {
124 'Meta': {'object_name': 'HelpText'},
125 'area': ('django.db.models.fields.IntegerField', [], {}),
126 'build': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'helptext_build'", 'to': u"orm['orm.Build']"}),
127 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
128 'key': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
129 'text': ('django.db.models.fields.TextField', [], {})
130 },
131 u'orm.layer': {
132 'Meta': {'unique_together': "(('layer_source', 'up_id'), ('layer_source', 'name'))", 'object_name': 'Layer'},
133 'description': ('django.db.models.fields.TextField', [], {'default': 'None', 'null': 'True'}),
134 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
135 'layer_index_url': ('django.db.models.fields.URLField', [], {'max_length': '200'}),
136 'layer_source': ('django.db.models.fields.related.ForeignKey', [], {'default': 'None', 'to': u"orm['orm.LayerSource']", 'null': 'True'}),
137 'local_path': ('django.db.models.fields.FilePathField', [], {'default': 'None', 'max_length': '255', 'null': 'True'}),
138 'name': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
139 'summary': ('django.db.models.fields.TextField', [], {'default': 'None', 'null': 'True'}),
140 'up_date': ('django.db.models.fields.DateTimeField', [], {'default': 'None', 'null': 'True'}),
141 'up_id': ('django.db.models.fields.IntegerField', [], {'default': 'None', 'null': 'True'}),
142 'vcs_url': ('django.db.models.fields.URLField', [], {'default': 'None', 'max_length': '200', 'null': 'True'}),
143 'vcs_web_file_base_url': ('django.db.models.fields.URLField', [], {'default': 'None', 'max_length': '200', 'null': 'True'}),
144 'vcs_web_tree_base_url': ('django.db.models.fields.URLField', [], {'default': 'None', 'max_length': '200', 'null': 'True'}),
145 'vcs_web_url': ('django.db.models.fields.URLField', [], {'default': 'None', 'max_length': '200', 'null': 'True'})
146 },
147 u'orm.layer_version': {
148 'Meta': {'unique_together': "(('layer_source', 'up_id'),)", 'object_name': 'Layer_Version'},
149 'branch': ('django.db.models.fields.CharField', [], {'max_length': '80'}),
150 'build': ('django.db.models.fields.related.ForeignKey', [], {'default': 'None', 'related_name': "'layer_version_build'", 'null': 'True', 'to': u"orm['orm.Build']"}),
151 'commit': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
152 'dirpath': ('django.db.models.fields.CharField', [], {'default': 'None', 'max_length': '255', 'null': 'True'}),
153 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
154 'layer': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'layer_version_layer'", 'to': u"orm['orm.Layer']"}),
155 'layer_source': ('django.db.models.fields.related.ForeignKey', [], {'default': 'None', 'to': u"orm['orm.LayerSource']", 'null': 'True'}),
156 'priority': ('django.db.models.fields.IntegerField', [], {'default': '0'}),
157 'up_branch': ('django.db.models.fields.related.ForeignKey', [], {'default': 'None', 'to': u"orm['orm.Branch']", 'null': 'True'}),
158 'up_date': ('django.db.models.fields.DateTimeField', [], {'default': 'None', 'null': 'True'}),
159 'up_id': ('django.db.models.fields.IntegerField', [], {'default': 'None', 'null': 'True'})
160 },
161 u'orm.layersource': {
162 'Meta': {'unique_together': "(('sourcetype', 'apiurl'),)", 'object_name': 'LayerSource'},
163 'apiurl': ('django.db.models.fields.CharField', [], {'default': 'None', 'max_length': '255', 'null': 'True'}),
164 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
165 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '63'}),
166 'sourcetype': ('django.db.models.fields.IntegerField', [], {})
167 },
168 u'orm.layerversiondependency': {
169 'Meta': {'unique_together': "(('layer_source', 'up_id'),)", 'object_name': 'LayerVersionDependency'},
170 'depends_on': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'dependees'", 'to': u"orm['orm.Layer_Version']"}),
171 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
172 'layer_source': ('django.db.models.fields.related.ForeignKey', [], {'default': 'None', 'to': u"orm['orm.LayerSource']", 'null': 'True'}),
173 'layer_version': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'dependencies'", 'to': u"orm['orm.Layer_Version']"}),
174 'up_id': ('django.db.models.fields.IntegerField', [], {'default': 'None', 'null': 'True'})
175 },
176 u'orm.logmessage': {
177 'Meta': {'object_name': 'LogMessage'},
178 'build': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.Build']"}),
179 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
180 'level': ('django.db.models.fields.IntegerField', [], {'default': '0'}),
181 'lineno': ('django.db.models.fields.IntegerField', [], {'null': 'True'}),
182 'message': ('django.db.models.fields.CharField', [], {'max_length': '240'}),
183 'pathname': ('django.db.models.fields.FilePathField', [], {'max_length': '255', 'blank': 'True'}),
184 'task': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.Task']", 'null': 'True', 'blank': 'True'})
185 },
186 u'orm.machine': {
187 'Meta': {'unique_together': "(('layer_source', 'up_id'),)", 'object_name': 'Machine'},
188 'description': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
189 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
190 'layer_source': ('django.db.models.fields.related.ForeignKey', [], {'default': 'None', 'to': u"orm['orm.LayerSource']", 'null': 'True'}),
191 'layer_version': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.Layer_Version']"}),
192 'name': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
193 'up_date': ('django.db.models.fields.DateTimeField', [], {'default': 'None', 'null': 'True'}),
194 'up_id': ('django.db.models.fields.IntegerField', [], {'default': 'None', 'null': 'True'})
195 },
196 u'orm.package': {
197 'Meta': {'object_name': 'Package'},
198 'build': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.Build']"}),
199 'description': ('django.db.models.fields.TextField', [], {'blank': 'True'}),
200 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
201 'installed_name': ('django.db.models.fields.CharField', [], {'default': "''", 'max_length': '100'}),
202 'installed_size': ('django.db.models.fields.IntegerField', [], {'default': '0'}),
203 'license': ('django.db.models.fields.CharField', [], {'max_length': '80', 'blank': 'True'}),
204 'name': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
205 'recipe': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.Recipe']", 'null': 'True'}),
206 'revision': ('django.db.models.fields.CharField', [], {'max_length': '32', 'blank': 'True'}),
207 'section': ('django.db.models.fields.CharField', [], {'max_length': '80', 'blank': 'True'}),
208 'size': ('django.db.models.fields.IntegerField', [], {'default': '0'}),
209 'summary': ('django.db.models.fields.TextField', [], {'blank': 'True'}),
210 'version': ('django.db.models.fields.CharField', [], {'max_length': '100', 'blank': 'True'})
211 },
212 u'orm.package_dependency': {
213 'Meta': {'object_name': 'Package_Dependency'},
214 'dep_type': ('django.db.models.fields.IntegerField', [], {}),
215 'depends_on': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'package_dependencies_target'", 'to': u"orm['orm.Package']"}),
216 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
217 'package': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'package_dependencies_source'", 'to': u"orm['orm.Package']"}),
218 'target': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.Target']", 'null': 'True'})
219 },
220 u'orm.package_file': {
221 'Meta': {'object_name': 'Package_File'},
222 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
223 'package': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'buildfilelist_package'", 'to': u"orm['orm.Package']"}),
224 'path': ('django.db.models.fields.FilePathField', [], {'max_length': '255', 'blank': 'True'}),
225 'size': ('django.db.models.fields.IntegerField', [], {})
226 },
227 u'orm.project': {
228 'Meta': {'object_name': 'Project'},
229 'bitbake_version': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.BitbakeVersion']"}),
230 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}),
231 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
232 'name': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
233 'release': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.Release']"}),
234 'short_description': ('django.db.models.fields.CharField', [], {'max_length': '50', 'blank': 'True'}),
235 'updated': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}),
236 'user_id': ('django.db.models.fields.IntegerField', [], {'null': 'True'})
237 },
238 u'orm.projectlayer': {
239 'Meta': {'unique_together': "(('project', 'layercommit'),)", 'object_name': 'ProjectLayer'},
240 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
241 'layercommit': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.Layer_Version']", 'null': 'True'}),
242 'optional': ('django.db.models.fields.BooleanField', [], {'default': 'True'}),
243 'project': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.Project']"})
244 },
245 u'orm.projecttarget': {
246 'Meta': {'object_name': 'ProjectTarget'},
247 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
248 'project': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.Project']"}),
249 'target': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
250 'task': ('django.db.models.fields.CharField', [], {'max_length': '100', 'null': 'True'})
251 },
252 u'orm.projectvariable': {
253 'Meta': {'object_name': 'ProjectVariable'},
254 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
255 'name': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
256 'project': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.Project']"}),
257 'value': ('django.db.models.fields.TextField', [], {'blank': 'True'})
258 },
259 u'orm.recipe': {
260 'Meta': {'unique_together': "(('layer_version', 'file_path'),)", 'object_name': 'Recipe'},
261 'bugtracker': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}),
262 'description': ('django.db.models.fields.TextField', [], {'blank': 'True'}),
263 'file_path': ('django.db.models.fields.FilePathField', [], {'max_length': '255'}),
264 'homepage': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}),
265 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
266 'layer_source': ('django.db.models.fields.related.ForeignKey', [], {'default': 'None', 'to': u"orm['orm.LayerSource']", 'null': 'True'}),
267 'layer_version': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'recipe_layer_version'", 'to': u"orm['orm.Layer_Version']"}),
268 'license': ('django.db.models.fields.CharField', [], {'max_length': '200', 'blank': 'True'}),
269 'name': ('django.db.models.fields.CharField', [], {'max_length': '100', 'blank': 'True'}),
270 'section': ('django.db.models.fields.CharField', [], {'max_length': '100', 'blank': 'True'}),
271 'summary': ('django.db.models.fields.TextField', [], {'blank': 'True'}),
272 'up_date': ('django.db.models.fields.DateTimeField', [], {'default': 'None', 'null': 'True'}),
273 'up_id': ('django.db.models.fields.IntegerField', [], {'default': 'None', 'null': 'True'}),
274 'version': ('django.db.models.fields.CharField', [], {'max_length': '100', 'blank': 'True'})
275 },
276 u'orm.recipe_dependency': {
277 'Meta': {'object_name': 'Recipe_Dependency'},
278 'dep_type': ('django.db.models.fields.IntegerField', [], {}),
279 'depends_on': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'r_dependencies_depends'", 'to': u"orm['orm.Recipe']"}),
280 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
281 'recipe': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'r_dependencies_recipe'", 'to': u"orm['orm.Recipe']"})
282 },
283 u'orm.release': {
284 'Meta': {'object_name': 'Release'},
285 'bitbake_version': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.BitbakeVersion']"}),
286 'branch_name': ('django.db.models.fields.CharField', [], {'default': "''", 'max_length': '50'}),
287 'description': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
288 'helptext': ('django.db.models.fields.TextField', [], {'null': 'True'}),
289 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
290 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '32'})
291 },
292 u'orm.releasedefaultlayer': {
293 'Meta': {'object_name': 'ReleaseDefaultLayer'},
294 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
295 'layer_name': ('django.db.models.fields.CharField', [], {'default': "''", 'max_length': '100'}),
296 'release': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.Release']"})
297 },
298 u'orm.releaselayersourcepriority': {
299 'Meta': {'unique_together': "(('release', 'layer_source'),)", 'object_name': 'ReleaseLayerSourcePriority'},
300 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
301 'layer_source': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.LayerSource']"}),
302 'priority': ('django.db.models.fields.IntegerField', [], {'default': '0'}),
303 'release': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.Release']"})
304 },
305 u'orm.target': {
306 'Meta': {'object_name': 'Target'},
307 'build': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.Build']"}),
308 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
309 'image_size': ('django.db.models.fields.IntegerField', [], {'default': '0'}),
310 'is_image': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
311 'license_manifest_path': ('django.db.models.fields.CharField', [], {'max_length': '500', 'null': 'True'}),
312 'target': ('django.db.models.fields.CharField', [], {'max_length': '100'})
313 },
314 u'orm.target_file': {
315 'Meta': {'object_name': 'Target_File'},
316 'directory': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'directory_set'", 'null': 'True', 'to': u"orm['orm.Target_File']"}),
317 'group': ('django.db.models.fields.CharField', [], {'max_length': '128'}),
318 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
319 'inodetype': ('django.db.models.fields.IntegerField', [], {}),
320 'owner': ('django.db.models.fields.CharField', [], {'max_length': '128'}),
321 'path': ('django.db.models.fields.FilePathField', [], {'max_length': '100'}),
322 'permission': ('django.db.models.fields.CharField', [], {'max_length': '16'}),
323 'size': ('django.db.models.fields.IntegerField', [], {}),
324 'sym_target': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'symlink_set'", 'null': 'True', 'to': u"orm['orm.Target_File']"}),
325 'target': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.Target']"})
326 },
327 u'orm.target_image_file': {
328 'Meta': {'object_name': 'Target_Image_File'},
329 'file_name': ('django.db.models.fields.FilePathField', [], {'max_length': '254'}),
330 'file_size': ('django.db.models.fields.IntegerField', [], {}),
331 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
332 'target': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.Target']"})
333 },
334 u'orm.target_installed_package': {
335 'Meta': {'object_name': 'Target_Installed_Package'},
336 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
337 'package': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'buildtargetlist_package'", 'to': u"orm['orm.Package']"}),
338 'target': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.Target']"})
339 },
340 u'orm.task': {
341 'Meta': {'ordering': "('order', 'recipe')", 'unique_together': "(('build', 'recipe', 'task_name'),)", 'object_name': 'Task'},
342 'build': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'task_build'", 'to': u"orm['orm.Build']"}),
343 'cpu_usage': ('django.db.models.fields.DecimalField', [], {'null': 'True', 'max_digits': '6', 'decimal_places': '2'}),
344 'disk_io': ('django.db.models.fields.IntegerField', [], {'null': 'True'}),
345 'elapsed_time': ('django.db.models.fields.DecimalField', [], {'null': 'True', 'max_digits': '6', 'decimal_places': '2'}),
346 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
347 'line_number': ('django.db.models.fields.IntegerField', [], {'default': '0'}),
348 'logfile': ('django.db.models.fields.FilePathField', [], {'max_length': '255', 'blank': 'True'}),
349 'message': ('django.db.models.fields.CharField', [], {'max_length': '240'}),
350 'order': ('django.db.models.fields.IntegerField', [], {'null': 'True'}),
351 'outcome': ('django.db.models.fields.IntegerField', [], {'default': '-1'}),
352 'path_to_sstate_obj': ('django.db.models.fields.FilePathField', [], {'max_length': '500', 'blank': 'True'}),
353 'recipe': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'build_recipe'", 'to': u"orm['orm.Recipe']"}),
354 'script_type': ('django.db.models.fields.IntegerField', [], {'default': '0'}),
355 'source_url': ('django.db.models.fields.FilePathField', [], {'max_length': '255', 'blank': 'True'}),
356 'sstate_checksum': ('django.db.models.fields.CharField', [], {'max_length': '100', 'blank': 'True'}),
357 'sstate_result': ('django.db.models.fields.IntegerField', [], {'default': '0'}),
358 'task_executed': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
359 'task_name': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
360 'work_directory': ('django.db.models.fields.FilePathField', [], {'max_length': '255', 'blank': 'True'})
361 },
362 u'orm.task_dependency': {
363 'Meta': {'object_name': 'Task_Dependency'},
364 'depends_on': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'task_dependencies_depends'", 'to': u"orm['orm.Task']"}),
365 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
366 'task': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'task_dependencies_task'", 'to': u"orm['orm.Task']"})
367 },
368 u'orm.toastersetting': {
369 'Meta': {'object_name': 'ToasterSetting'},
370 'helptext': ('django.db.models.fields.TextField', [], {}),
371 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
372 'name': ('django.db.models.fields.CharField', [], {'max_length': '63'}),
373 'value': ('django.db.models.fields.CharField', [], {'max_length': '255'})
374 },
375 u'orm.variable': {
376 'Meta': {'object_name': 'Variable'},
377 'build': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'variable_build'", 'to': u"orm['orm.Build']"}),
378 'changed': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
379 'description': ('django.db.models.fields.TextField', [], {'blank': 'True'}),
380 'human_readable_name': ('django.db.models.fields.CharField', [], {'max_length': '200'}),
381 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
382 'variable_name': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
383 'variable_value': ('django.db.models.fields.TextField', [], {'blank': 'True'})
384 },
385 u'orm.variablehistory': {
386 'Meta': {'object_name': 'VariableHistory'},
387 'file_name': ('django.db.models.fields.FilePathField', [], {'max_length': '255'}),
388 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
389 'line_number': ('django.db.models.fields.IntegerField', [], {'null': 'True'}),
390 'operation': ('django.db.models.fields.CharField', [], {'max_length': '64'}),
391 'value': ('django.db.models.fields.TextField', [], {'blank': 'True'}),
392 'variable': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'vhistory'", 'to': u"orm['orm.Variable']"})
393 }
394 }
395
396 complete_apps = ['orm'] \ No newline at end of file
diff --git a/bitbake/lib/toaster/orm/migrations/0018_auto__add_field_layer_version_project.py b/bitbake/lib/toaster/orm/migrations/0018_auto__add_field_layer_version_project.py
deleted file mode 100644
index 7284bb8429..0000000000
--- a/bitbake/lib/toaster/orm/migrations/0018_auto__add_field_layer_version_project.py
+++ /dev/null
@@ -1,331 +0,0 @@
1# -*- coding: utf-8 -*-
2from south.utils import datetime_utils as datetime
3from south.db import db
4from south.v2 import SchemaMigration
5from django.db import models
6
7
8class Migration(SchemaMigration):
9
10 def forwards(self, orm):
11 # Adding field 'Layer_Version.project'
12 db.add_column(u'orm_layer_version', 'project',
13 self.gf('django.db.models.fields.related.ForeignKey')(default=None, to=orm['orm.Project'], null=True),
14 keep_default=False)
15
16
17 def backwards(self, orm):
18 # Deleting field 'Layer_Version.project'
19 db.delete_column(u'orm_layer_version', 'project_id')
20
21
22 models = {
23 u'orm.bitbakeversion': {
24 'Meta': {'object_name': 'BitbakeVersion'},
25 'branch': ('django.db.models.fields.CharField', [], {'max_length': '32'}),
26 'dirpath': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
27 'giturl': ('django.db.models.fields.URLField', [], {'max_length': '200'}),
28 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
29 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '32'})
30 },
31 u'orm.branch': {
32 'Meta': {'unique_together': "(('layer_source', 'name'), ('layer_source', 'up_id'))", 'object_name': 'Branch'},
33 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
34 'layer_source': ('django.db.models.fields.related.ForeignKey', [], {'default': 'True', 'to': u"orm['orm.LayerSource']", 'null': 'True'}),
35 'name': ('django.db.models.fields.CharField', [], {'max_length': '50'}),
36 'short_description': ('django.db.models.fields.CharField', [], {'max_length': '50', 'blank': 'True'}),
37 'up_date': ('django.db.models.fields.DateTimeField', [], {'default': 'None', 'null': 'True'}),
38 'up_id': ('django.db.models.fields.IntegerField', [], {'default': 'None', 'null': 'True'})
39 },
40 u'orm.build': {
41 'Meta': {'object_name': 'Build'},
42 'bitbake_version': ('django.db.models.fields.CharField', [], {'max_length': '50'}),
43 'build_name': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
44 'completed_on': ('django.db.models.fields.DateTimeField', [], {}),
45 'cooker_log_path': ('django.db.models.fields.CharField', [], {'max_length': '500'}),
46 'distro': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
47 'distro_version': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
48 'errors_no': ('django.db.models.fields.IntegerField', [], {'default': '0'}),
49 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
50 'machine': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
51 'outcome': ('django.db.models.fields.IntegerField', [], {'default': '2'}),
52 'project': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.Project']", 'null': 'True'}),
53 'started_on': ('django.db.models.fields.DateTimeField', [], {}),
54 'timespent': ('django.db.models.fields.IntegerField', [], {'default': '0'}),
55 'warnings_no': ('django.db.models.fields.IntegerField', [], {'default': '0'})
56 },
57 u'orm.helptext': {
58 'Meta': {'object_name': 'HelpText'},
59 'area': ('django.db.models.fields.IntegerField', [], {}),
60 'build': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'helptext_build'", 'to': u"orm['orm.Build']"}),
61 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
62 'key': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
63 'text': ('django.db.models.fields.TextField', [], {})
64 },
65 u'orm.layer': {
66 'Meta': {'unique_together': "(('layer_source', 'up_id'), ('layer_source', 'name'))", 'object_name': 'Layer'},
67 'description': ('django.db.models.fields.TextField', [], {'default': 'None', 'null': 'True'}),
68 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
69 'layer_index_url': ('django.db.models.fields.URLField', [], {'max_length': '200'}),
70 'layer_source': ('django.db.models.fields.related.ForeignKey', [], {'default': 'None', 'to': u"orm['orm.LayerSource']", 'null': 'True'}),
71 'local_path': ('django.db.models.fields.FilePathField', [], {'default': 'None', 'max_length': '255', 'null': 'True'}),
72 'name': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
73 'summary': ('django.db.models.fields.TextField', [], {'default': 'None', 'null': 'True'}),
74 'up_date': ('django.db.models.fields.DateTimeField', [], {'default': 'None', 'null': 'True'}),
75 'up_id': ('django.db.models.fields.IntegerField', [], {'default': 'None', 'null': 'True'}),
76 'vcs_url': ('django.db.models.fields.URLField', [], {'default': 'None', 'max_length': '200', 'null': 'True'}),
77 'vcs_web_file_base_url': ('django.db.models.fields.URLField', [], {'default': 'None', 'max_length': '200', 'null': 'True'}),
78 'vcs_web_tree_base_url': ('django.db.models.fields.URLField', [], {'default': 'None', 'max_length': '200', 'null': 'True'}),
79 'vcs_web_url': ('django.db.models.fields.URLField', [], {'default': 'None', 'max_length': '200', 'null': 'True'})
80 },
81 u'orm.layer_version': {
82 'Meta': {'unique_together': "(('layer_source', 'up_id'),)", 'object_name': 'Layer_Version'},
83 'branch': ('django.db.models.fields.CharField', [], {'max_length': '80'}),
84 'build': ('django.db.models.fields.related.ForeignKey', [], {'default': 'None', 'related_name': "'layer_version_build'", 'null': 'True', 'to': u"orm['orm.Build']"}),
85 'commit': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
86 'dirpath': ('django.db.models.fields.CharField', [], {'default': 'None', 'max_length': '255', 'null': 'True'}),
87 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
88 'layer': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'layer_version_layer'", 'to': u"orm['orm.Layer']"}),
89 'layer_source': ('django.db.models.fields.related.ForeignKey', [], {'default': 'None', 'to': u"orm['orm.LayerSource']", 'null': 'True'}),
90 'priority': ('django.db.models.fields.IntegerField', [], {'default': '0'}),
91 'project': ('django.db.models.fields.related.ForeignKey', [], {'default': 'None', 'to': u"orm['orm.Project']", 'null': 'True'}),
92 'up_branch': ('django.db.models.fields.related.ForeignKey', [], {'default': 'None', 'to': u"orm['orm.Branch']", 'null': 'True'}),
93 'up_date': ('django.db.models.fields.DateTimeField', [], {'default': 'None', 'null': 'True'}),
94 'up_id': ('django.db.models.fields.IntegerField', [], {'default': 'None', 'null': 'True'})
95 },
96 u'orm.layersource': {
97 'Meta': {'unique_together': "(('sourcetype', 'apiurl'),)", 'object_name': 'LayerSource'},
98 'apiurl': ('django.db.models.fields.CharField', [], {'default': 'None', 'max_length': '255', 'null': 'True'}),
99 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
100 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '63'}),
101 'sourcetype': ('django.db.models.fields.IntegerField', [], {})
102 },
103 u'orm.layerversiondependency': {
104 'Meta': {'unique_together': "(('layer_source', 'up_id'),)", 'object_name': 'LayerVersionDependency'},
105 'depends_on': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'dependees'", 'to': u"orm['orm.Layer_Version']"}),
106 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
107 'layer_source': ('django.db.models.fields.related.ForeignKey', [], {'default': 'None', 'to': u"orm['orm.LayerSource']", 'null': 'True'}),
108 'layer_version': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'dependencies'", 'to': u"orm['orm.Layer_Version']"}),
109 'up_id': ('django.db.models.fields.IntegerField', [], {'default': 'None', 'null': 'True'})
110 },
111 u'orm.logmessage': {
112 'Meta': {'object_name': 'LogMessage'},
113 'build': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.Build']"}),
114 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
115 'level': ('django.db.models.fields.IntegerField', [], {'default': '0'}),
116 'lineno': ('django.db.models.fields.IntegerField', [], {'null': 'True'}),
117 'message': ('django.db.models.fields.CharField', [], {'max_length': '240'}),
118 'pathname': ('django.db.models.fields.FilePathField', [], {'max_length': '255', 'blank': 'True'}),
119 'task': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.Task']", 'null': 'True', 'blank': 'True'})
120 },
121 u'orm.machine': {
122 'Meta': {'unique_together': "(('layer_source', 'up_id'),)", 'object_name': 'Machine'},
123 'description': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
124 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
125 'layer_source': ('django.db.models.fields.related.ForeignKey', [], {'default': 'None', 'to': u"orm['orm.LayerSource']", 'null': 'True'}),
126 'layer_version': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.Layer_Version']"}),
127 'name': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
128 'up_date': ('django.db.models.fields.DateTimeField', [], {'default': 'None', 'null': 'True'}),
129 'up_id': ('django.db.models.fields.IntegerField', [], {'default': 'None', 'null': 'True'})
130 },
131 u'orm.package': {
132 'Meta': {'object_name': 'Package'},
133 'build': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.Build']"}),
134 'description': ('django.db.models.fields.TextField', [], {'blank': 'True'}),
135 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
136 'installed_name': ('django.db.models.fields.CharField', [], {'default': "''", 'max_length': '100'}),
137 'installed_size': ('django.db.models.fields.IntegerField', [], {'default': '0'}),
138 'license': ('django.db.models.fields.CharField', [], {'max_length': '80', 'blank': 'True'}),
139 'name': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
140 'recipe': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.Recipe']", 'null': 'True'}),
141 'revision': ('django.db.models.fields.CharField', [], {'max_length': '32', 'blank': 'True'}),
142 'section': ('django.db.models.fields.CharField', [], {'max_length': '80', 'blank': 'True'}),
143 'size': ('django.db.models.fields.IntegerField', [], {'default': '0'}),
144 'summary': ('django.db.models.fields.TextField', [], {'blank': 'True'}),
145 'version': ('django.db.models.fields.CharField', [], {'max_length': '100', 'blank': 'True'})
146 },
147 u'orm.package_dependency': {
148 'Meta': {'object_name': 'Package_Dependency'},
149 'dep_type': ('django.db.models.fields.IntegerField', [], {}),
150 'depends_on': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'package_dependencies_target'", 'to': u"orm['orm.Package']"}),
151 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
152 'package': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'package_dependencies_source'", 'to': u"orm['orm.Package']"}),
153 'target': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.Target']", 'null': 'True'})
154 },
155 u'orm.package_file': {
156 'Meta': {'object_name': 'Package_File'},
157 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
158 'package': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'buildfilelist_package'", 'to': u"orm['orm.Package']"}),
159 'path': ('django.db.models.fields.FilePathField', [], {'max_length': '255', 'blank': 'True'}),
160 'size': ('django.db.models.fields.IntegerField', [], {})
161 },
162 u'orm.project': {
163 'Meta': {'object_name': 'Project'},
164 'bitbake_version': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.BitbakeVersion']"}),
165 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}),
166 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
167 'name': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
168 'release': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.Release']"}),
169 'short_description': ('django.db.models.fields.CharField', [], {'max_length': '50', 'blank': 'True'}),
170 'updated': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}),
171 'user_id': ('django.db.models.fields.IntegerField', [], {'null': 'True'})
172 },
173 u'orm.projectlayer': {
174 'Meta': {'unique_together': "(('project', 'layercommit'),)", 'object_name': 'ProjectLayer'},
175 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
176 'layercommit': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.Layer_Version']", 'null': 'True'}),
177 'optional': ('django.db.models.fields.BooleanField', [], {'default': 'True'}),
178 'project': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.Project']"})
179 },
180 u'orm.projecttarget': {
181 'Meta': {'object_name': 'ProjectTarget'},
182 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
183 'project': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.Project']"}),
184 'target': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
185 'task': ('django.db.models.fields.CharField', [], {'max_length': '100', 'null': 'True'})
186 },
187 u'orm.projectvariable': {
188 'Meta': {'object_name': 'ProjectVariable'},
189 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
190 'name': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
191 'project': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.Project']"}),
192 'value': ('django.db.models.fields.TextField', [], {'blank': 'True'})
193 },
194 u'orm.recipe': {
195 'Meta': {'unique_together': "(('layer_version', 'file_path'),)", 'object_name': 'Recipe'},
196 'bugtracker': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}),
197 'description': ('django.db.models.fields.TextField', [], {'blank': 'True'}),
198 'file_path': ('django.db.models.fields.FilePathField', [], {'max_length': '255'}),
199 'homepage': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}),
200 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
201 'layer_source': ('django.db.models.fields.related.ForeignKey', [], {'default': 'None', 'to': u"orm['orm.LayerSource']", 'null': 'True'}),
202 'layer_version': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'recipe_layer_version'", 'to': u"orm['orm.Layer_Version']"}),
203 'license': ('django.db.models.fields.CharField', [], {'max_length': '200', 'blank': 'True'}),
204 'name': ('django.db.models.fields.CharField', [], {'max_length': '100', 'blank': 'True'}),
205 'section': ('django.db.models.fields.CharField', [], {'max_length': '100', 'blank': 'True'}),
206 'summary': ('django.db.models.fields.TextField', [], {'blank': 'True'}),
207 'up_date': ('django.db.models.fields.DateTimeField', [], {'default': 'None', 'null': 'True'}),
208 'up_id': ('django.db.models.fields.IntegerField', [], {'default': 'None', 'null': 'True'}),
209 'version': ('django.db.models.fields.CharField', [], {'max_length': '100', 'blank': 'True'})
210 },
211 u'orm.recipe_dependency': {
212 'Meta': {'object_name': 'Recipe_Dependency'},
213 'dep_type': ('django.db.models.fields.IntegerField', [], {}),
214 'depends_on': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'r_dependencies_depends'", 'to': u"orm['orm.Recipe']"}),
215 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
216 'recipe': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'r_dependencies_recipe'", 'to': u"orm['orm.Recipe']"})
217 },
218 u'orm.release': {
219 'Meta': {'object_name': 'Release'},
220 'bitbake_version': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.BitbakeVersion']"}),
221 'branch_name': ('django.db.models.fields.CharField', [], {'default': "''", 'max_length': '50'}),
222 'description': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
223 'helptext': ('django.db.models.fields.TextField', [], {'null': 'True'}),
224 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
225 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '32'})
226 },
227 u'orm.releasedefaultlayer': {
228 'Meta': {'object_name': 'ReleaseDefaultLayer'},
229 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
230 'layer_name': ('django.db.models.fields.CharField', [], {'default': "''", 'max_length': '100'}),
231 'release': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.Release']"})
232 },
233 u'orm.releaselayersourcepriority': {
234 'Meta': {'unique_together': "(('release', 'layer_source'),)", 'object_name': 'ReleaseLayerSourcePriority'},
235 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
236 'layer_source': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.LayerSource']"}),
237 'priority': ('django.db.models.fields.IntegerField', [], {'default': '0'}),
238 'release': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.Release']"})
239 },
240 u'orm.target': {
241 'Meta': {'object_name': 'Target'},
242 'build': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.Build']"}),
243 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
244 'image_size': ('django.db.models.fields.IntegerField', [], {'default': '0'}),
245 'is_image': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
246 'license_manifest_path': ('django.db.models.fields.CharField', [], {'max_length': '500', 'null': 'True'}),
247 'target': ('django.db.models.fields.CharField', [], {'max_length': '100'})
248 },
249 u'orm.target_file': {
250 'Meta': {'object_name': 'Target_File'},
251 'directory': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'directory_set'", 'null': 'True', 'to': u"orm['orm.Target_File']"}),
252 'group': ('django.db.models.fields.CharField', [], {'max_length': '128'}),
253 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
254 'inodetype': ('django.db.models.fields.IntegerField', [], {}),
255 'owner': ('django.db.models.fields.CharField', [], {'max_length': '128'}),
256 'path': ('django.db.models.fields.FilePathField', [], {'max_length': '100'}),
257 'permission': ('django.db.models.fields.CharField', [], {'max_length': '16'}),
258 'size': ('django.db.models.fields.IntegerField', [], {}),
259 'sym_target': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'symlink_set'", 'null': 'True', 'to': u"orm['orm.Target_File']"}),
260 'target': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.Target']"})
261 },
262 u'orm.target_image_file': {
263 'Meta': {'object_name': 'Target_Image_File'},
264 'file_name': ('django.db.models.fields.FilePathField', [], {'max_length': '254'}),
265 'file_size': ('django.db.models.fields.IntegerField', [], {}),
266 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
267 'target': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.Target']"})
268 },
269 u'orm.target_installed_package': {
270 'Meta': {'object_name': 'Target_Installed_Package'},
271 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
272 'package': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'buildtargetlist_package'", 'to': u"orm['orm.Package']"}),
273 'target': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.Target']"})
274 },
275 u'orm.task': {
276 'Meta': {'ordering': "('order', 'recipe')", 'unique_together': "(('build', 'recipe', 'task_name'),)", 'object_name': 'Task'},
277 'build': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'task_build'", 'to': u"orm['orm.Build']"}),
278 'cpu_usage': ('django.db.models.fields.DecimalField', [], {'null': 'True', 'max_digits': '6', 'decimal_places': '2'}),
279 'disk_io': ('django.db.models.fields.IntegerField', [], {'null': 'True'}),
280 'elapsed_time': ('django.db.models.fields.DecimalField', [], {'null': 'True', 'max_digits': '6', 'decimal_places': '2'}),
281 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
282 'line_number': ('django.db.models.fields.IntegerField', [], {'default': '0'}),
283 'logfile': ('django.db.models.fields.FilePathField', [], {'max_length': '255', 'blank': 'True'}),
284 'message': ('django.db.models.fields.CharField', [], {'max_length': '240'}),
285 'order': ('django.db.models.fields.IntegerField', [], {'null': 'True'}),
286 'outcome': ('django.db.models.fields.IntegerField', [], {'default': '-1'}),
287 'path_to_sstate_obj': ('django.db.models.fields.FilePathField', [], {'max_length': '500', 'blank': 'True'}),
288 'recipe': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'build_recipe'", 'to': u"orm['orm.Recipe']"}),
289 'script_type': ('django.db.models.fields.IntegerField', [], {'default': '0'}),
290 'source_url': ('django.db.models.fields.FilePathField', [], {'max_length': '255', 'blank': 'True'}),
291 'sstate_checksum': ('django.db.models.fields.CharField', [], {'max_length': '100', 'blank': 'True'}),
292 'sstate_result': ('django.db.models.fields.IntegerField', [], {'default': '0'}),
293 'task_executed': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
294 'task_name': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
295 'work_directory': ('django.db.models.fields.FilePathField', [], {'max_length': '255', 'blank': 'True'})
296 },
297 u'orm.task_dependency': {
298 'Meta': {'object_name': 'Task_Dependency'},
299 'depends_on': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'task_dependencies_depends'", 'to': u"orm['orm.Task']"}),
300 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
301 'task': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'task_dependencies_task'", 'to': u"orm['orm.Task']"})
302 },
303 u'orm.toastersetting': {
304 'Meta': {'object_name': 'ToasterSetting'},
305 'helptext': ('django.db.models.fields.TextField', [], {}),
306 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
307 'name': ('django.db.models.fields.CharField', [], {'max_length': '63'}),
308 'value': ('django.db.models.fields.CharField', [], {'max_length': '255'})
309 },
310 u'orm.variable': {
311 'Meta': {'object_name': 'Variable'},
312 'build': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'variable_build'", 'to': u"orm['orm.Build']"}),
313 'changed': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
314 'description': ('django.db.models.fields.TextField', [], {'blank': 'True'}),
315 'human_readable_name': ('django.db.models.fields.CharField', [], {'max_length': '200'}),
316 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
317 'variable_name': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
318 'variable_value': ('django.db.models.fields.TextField', [], {'blank': 'True'})
319 },
320 u'orm.variablehistory': {
321 'Meta': {'object_name': 'VariableHistory'},
322 'file_name': ('django.db.models.fields.FilePathField', [], {'max_length': '255'}),
323 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
324 'line_number': ('django.db.models.fields.IntegerField', [], {'null': 'True'}),
325 'operation': ('django.db.models.fields.CharField', [], {'max_length': '64'}),
326 'value': ('django.db.models.fields.TextField', [], {'blank': 'True'}),
327 'variable': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'vhistory'", 'to': u"orm['orm.Variable']"})
328 }
329 }
330
331 complete_apps = ['orm'] \ No newline at end of file
diff --git a/bitbake/lib/toaster/orm/migrations/0019_auto__add_buildartifact.py b/bitbake/lib/toaster/orm/migrations/0019_auto__add_buildartifact.py
deleted file mode 100644
index 0dce9ead20..0000000000
--- a/bitbake/lib/toaster/orm/migrations/0019_auto__add_buildartifact.py
+++ /dev/null
@@ -1,342 +0,0 @@
1# -*- coding: utf-8 -*-
2from south.utils import datetime_utils as datetime
3from south.db import db
4from south.v2 import SchemaMigration
5from django.db import models
6
7
8class Migration(SchemaMigration):
9
10 def forwards(self, orm):
11 # Adding model 'BuildArtifact'
12 db.create_table(u'orm_buildartifact', (
13 (u'id', self.gf('django.db.models.fields.AutoField')(primary_key=True)),
14 ('build', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['orm.Build'])),
15 ('file_name', self.gf('django.db.models.fields.FilePathField')(max_length=100)),
16 ('file_size', self.gf('django.db.models.fields.IntegerField')()),
17 ))
18 db.send_create_signal(u'orm', ['BuildArtifact'])
19
20
21 def backwards(self, orm):
22 # Deleting model 'BuildArtifact'
23 db.delete_table(u'orm_buildartifact')
24
25
26 models = {
27 u'orm.bitbakeversion': {
28 'Meta': {'object_name': 'BitbakeVersion'},
29 'branch': ('django.db.models.fields.CharField', [], {'max_length': '32'}),
30 'dirpath': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
31 'giturl': ('django.db.models.fields.URLField', [], {'max_length': '200'}),
32 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
33 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '32'})
34 },
35 u'orm.branch': {
36 'Meta': {'unique_together': "(('layer_source', 'name'), ('layer_source', 'up_id'))", 'object_name': 'Branch'},
37 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
38 'layer_source': ('django.db.models.fields.related.ForeignKey', [], {'default': 'True', 'to': u"orm['orm.LayerSource']", 'null': 'True'}),
39 'name': ('django.db.models.fields.CharField', [], {'max_length': '50'}),
40 'short_description': ('django.db.models.fields.CharField', [], {'max_length': '50', 'blank': 'True'}),
41 'up_date': ('django.db.models.fields.DateTimeField', [], {'default': 'None', 'null': 'True'}),
42 'up_id': ('django.db.models.fields.IntegerField', [], {'default': 'None', 'null': 'True'})
43 },
44 u'orm.build': {
45 'Meta': {'object_name': 'Build'},
46 'bitbake_version': ('django.db.models.fields.CharField', [], {'max_length': '50'}),
47 'build_name': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
48 'completed_on': ('django.db.models.fields.DateTimeField', [], {}),
49 'cooker_log_path': ('django.db.models.fields.CharField', [], {'max_length': '500'}),
50 'distro': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
51 'distro_version': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
52 'errors_no': ('django.db.models.fields.IntegerField', [], {'default': '0'}),
53 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
54 'machine': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
55 'outcome': ('django.db.models.fields.IntegerField', [], {'default': '2'}),
56 'project': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.Project']", 'null': 'True'}),
57 'started_on': ('django.db.models.fields.DateTimeField', [], {}),
58 'timespent': ('django.db.models.fields.IntegerField', [], {'default': '0'}),
59 'warnings_no': ('django.db.models.fields.IntegerField', [], {'default': '0'})
60 },
61 u'orm.buildartifact': {
62 'Meta': {'object_name': 'BuildArtifact'},
63 'build': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.Build']"}),
64 'file_name': ('django.db.models.fields.FilePathField', [], {'max_length': '100'}),
65 'file_size': ('django.db.models.fields.IntegerField', [], {}),
66 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'})
67 },
68 u'orm.helptext': {
69 'Meta': {'object_name': 'HelpText'},
70 'area': ('django.db.models.fields.IntegerField', [], {}),
71 'build': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'helptext_build'", 'to': u"orm['orm.Build']"}),
72 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
73 'key': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
74 'text': ('django.db.models.fields.TextField', [], {})
75 },
76 u'orm.layer': {
77 'Meta': {'unique_together': "(('layer_source', 'up_id'), ('layer_source', 'name'))", 'object_name': 'Layer'},
78 'description': ('django.db.models.fields.TextField', [], {'default': 'None', 'null': 'True'}),
79 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
80 'layer_index_url': ('django.db.models.fields.URLField', [], {'max_length': '200'}),
81 'layer_source': ('django.db.models.fields.related.ForeignKey', [], {'default': 'None', 'to': u"orm['orm.LayerSource']", 'null': 'True'}),
82 'local_path': ('django.db.models.fields.FilePathField', [], {'default': 'None', 'max_length': '255', 'null': 'True'}),
83 'name': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
84 'summary': ('django.db.models.fields.TextField', [], {'default': 'None', 'null': 'True'}),
85 'up_date': ('django.db.models.fields.DateTimeField', [], {'default': 'None', 'null': 'True'}),
86 'up_id': ('django.db.models.fields.IntegerField', [], {'default': 'None', 'null': 'True'}),
87 'vcs_url': ('django.db.models.fields.URLField', [], {'default': 'None', 'max_length': '200', 'null': 'True'}),
88 'vcs_web_file_base_url': ('django.db.models.fields.URLField', [], {'default': 'None', 'max_length': '200', 'null': 'True'}),
89 'vcs_web_tree_base_url': ('django.db.models.fields.URLField', [], {'default': 'None', 'max_length': '200', 'null': 'True'}),
90 'vcs_web_url': ('django.db.models.fields.URLField', [], {'default': 'None', 'max_length': '200', 'null': 'True'})
91 },
92 u'orm.layer_version': {
93 'Meta': {'unique_together': "(('layer_source', 'up_id'),)", 'object_name': 'Layer_Version'},
94 'branch': ('django.db.models.fields.CharField', [], {'max_length': '80'}),
95 'build': ('django.db.models.fields.related.ForeignKey', [], {'default': 'None', 'related_name': "'layer_version_build'", 'null': 'True', 'to': u"orm['orm.Build']"}),
96 'commit': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
97 'dirpath': ('django.db.models.fields.CharField', [], {'default': 'None', 'max_length': '255', 'null': 'True'}),
98 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
99 'layer': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'layer_version_layer'", 'to': u"orm['orm.Layer']"}),
100 'layer_source': ('django.db.models.fields.related.ForeignKey', [], {'default': 'None', 'to': u"orm['orm.LayerSource']", 'null': 'True'}),
101 'priority': ('django.db.models.fields.IntegerField', [], {'default': '0'}),
102 'project': ('django.db.models.fields.related.ForeignKey', [], {'default': 'None', 'to': u"orm['orm.Project']", 'null': 'True'}),
103 'up_branch': ('django.db.models.fields.related.ForeignKey', [], {'default': 'None', 'to': u"orm['orm.Branch']", 'null': 'True'}),
104 'up_date': ('django.db.models.fields.DateTimeField', [], {'default': 'None', 'null': 'True'}),
105 'up_id': ('django.db.models.fields.IntegerField', [], {'default': 'None', 'null': 'True'})
106 },
107 u'orm.layersource': {
108 'Meta': {'unique_together': "(('sourcetype', 'apiurl'),)", 'object_name': 'LayerSource'},
109 'apiurl': ('django.db.models.fields.CharField', [], {'default': 'None', 'max_length': '255', 'null': 'True'}),
110 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
111 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '63'}),
112 'sourcetype': ('django.db.models.fields.IntegerField', [], {})
113 },
114 u'orm.layerversiondependency': {
115 'Meta': {'unique_together': "(('layer_source', 'up_id'),)", 'object_name': 'LayerVersionDependency'},
116 'depends_on': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'dependees'", 'to': u"orm['orm.Layer_Version']"}),
117 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
118 'layer_source': ('django.db.models.fields.related.ForeignKey', [], {'default': 'None', 'to': u"orm['orm.LayerSource']", 'null': 'True'}),
119 'layer_version': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'dependencies'", 'to': u"orm['orm.Layer_Version']"}),
120 'up_id': ('django.db.models.fields.IntegerField', [], {'default': 'None', 'null': 'True'})
121 },
122 u'orm.logmessage': {
123 'Meta': {'object_name': 'LogMessage'},
124 'build': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.Build']"}),
125 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
126 'level': ('django.db.models.fields.IntegerField', [], {'default': '0'}),
127 'lineno': ('django.db.models.fields.IntegerField', [], {'null': 'True'}),
128 'message': ('django.db.models.fields.CharField', [], {'max_length': '240'}),
129 'pathname': ('django.db.models.fields.FilePathField', [], {'max_length': '255', 'blank': 'True'}),
130 'task': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.Task']", 'null': 'True', 'blank': 'True'})
131 },
132 u'orm.machine': {
133 'Meta': {'unique_together': "(('layer_source', 'up_id'),)", 'object_name': 'Machine'},
134 'description': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
135 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
136 'layer_source': ('django.db.models.fields.related.ForeignKey', [], {'default': 'None', 'to': u"orm['orm.LayerSource']", 'null': 'True'}),
137 'layer_version': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.Layer_Version']"}),
138 'name': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
139 'up_date': ('django.db.models.fields.DateTimeField', [], {'default': 'None', 'null': 'True'}),
140 'up_id': ('django.db.models.fields.IntegerField', [], {'default': 'None', 'null': 'True'})
141 },
142 u'orm.package': {
143 'Meta': {'object_name': 'Package'},
144 'build': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.Build']"}),
145 'description': ('django.db.models.fields.TextField', [], {'blank': 'True'}),
146 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
147 'installed_name': ('django.db.models.fields.CharField', [], {'default': "''", 'max_length': '100'}),
148 'installed_size': ('django.db.models.fields.IntegerField', [], {'default': '0'}),
149 'license': ('django.db.models.fields.CharField', [], {'max_length': '80', 'blank': 'True'}),
150 'name': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
151 'recipe': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.Recipe']", 'null': 'True'}),
152 'revision': ('django.db.models.fields.CharField', [], {'max_length': '32', 'blank': 'True'}),
153 'section': ('django.db.models.fields.CharField', [], {'max_length': '80', 'blank': 'True'}),
154 'size': ('django.db.models.fields.IntegerField', [], {'default': '0'}),
155 'summary': ('django.db.models.fields.TextField', [], {'blank': 'True'}),
156 'version': ('django.db.models.fields.CharField', [], {'max_length': '100', 'blank': 'True'})
157 },
158 u'orm.package_dependency': {
159 'Meta': {'object_name': 'Package_Dependency'},
160 'dep_type': ('django.db.models.fields.IntegerField', [], {}),
161 'depends_on': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'package_dependencies_target'", 'to': u"orm['orm.Package']"}),
162 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
163 'package': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'package_dependencies_source'", 'to': u"orm['orm.Package']"}),
164 'target': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.Target']", 'null': 'True'})
165 },
166 u'orm.package_file': {
167 'Meta': {'object_name': 'Package_File'},
168 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
169 'package': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'buildfilelist_package'", 'to': u"orm['orm.Package']"}),
170 'path': ('django.db.models.fields.FilePathField', [], {'max_length': '255', 'blank': 'True'}),
171 'size': ('django.db.models.fields.IntegerField', [], {})
172 },
173 u'orm.project': {
174 'Meta': {'object_name': 'Project'},
175 'bitbake_version': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.BitbakeVersion']"}),
176 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}),
177 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
178 'name': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
179 'release': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.Release']"}),
180 'short_description': ('django.db.models.fields.CharField', [], {'max_length': '50', 'blank': 'True'}),
181 'updated': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}),
182 'user_id': ('django.db.models.fields.IntegerField', [], {'null': 'True'})
183 },
184 u'orm.projectlayer': {
185 'Meta': {'unique_together': "(('project', 'layercommit'),)", 'object_name': 'ProjectLayer'},
186 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
187 'layercommit': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.Layer_Version']", 'null': 'True'}),
188 'optional': ('django.db.models.fields.BooleanField', [], {'default': 'True'}),
189 'project': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.Project']"})
190 },
191 u'orm.projecttarget': {
192 'Meta': {'object_name': 'ProjectTarget'},
193 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
194 'project': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.Project']"}),
195 'target': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
196 'task': ('django.db.models.fields.CharField', [], {'max_length': '100', 'null': 'True'})
197 },
198 u'orm.projectvariable': {
199 'Meta': {'object_name': 'ProjectVariable'},
200 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
201 'name': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
202 'project': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.Project']"}),
203 'value': ('django.db.models.fields.TextField', [], {'blank': 'True'})
204 },
205 u'orm.recipe': {
206 'Meta': {'unique_together': "(('layer_version', 'file_path'),)", 'object_name': 'Recipe'},
207 'bugtracker': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}),
208 'description': ('django.db.models.fields.TextField', [], {'blank': 'True'}),
209 'file_path': ('django.db.models.fields.FilePathField', [], {'max_length': '255'}),
210 'homepage': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}),
211 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
212 'layer_source': ('django.db.models.fields.related.ForeignKey', [], {'default': 'None', 'to': u"orm['orm.LayerSource']", 'null': 'True'}),
213 'layer_version': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'recipe_layer_version'", 'to': u"orm['orm.Layer_Version']"}),
214 'license': ('django.db.models.fields.CharField', [], {'max_length': '200', 'blank': 'True'}),
215 'name': ('django.db.models.fields.CharField', [], {'max_length': '100', 'blank': 'True'}),
216 'section': ('django.db.models.fields.CharField', [], {'max_length': '100', 'blank': 'True'}),
217 'summary': ('django.db.models.fields.TextField', [], {'blank': 'True'}),
218 'up_date': ('django.db.models.fields.DateTimeField', [], {'default': 'None', 'null': 'True'}),
219 'up_id': ('django.db.models.fields.IntegerField', [], {'default': 'None', 'null': 'True'}),
220 'version': ('django.db.models.fields.CharField', [], {'max_length': '100', 'blank': 'True'})
221 },
222 u'orm.recipe_dependency': {
223 'Meta': {'object_name': 'Recipe_Dependency'},
224 'dep_type': ('django.db.models.fields.IntegerField', [], {}),
225 'depends_on': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'r_dependencies_depends'", 'to': u"orm['orm.Recipe']"}),
226 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
227 'recipe': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'r_dependencies_recipe'", 'to': u"orm['orm.Recipe']"})
228 },
229 u'orm.release': {
230 'Meta': {'object_name': 'Release'},
231 'bitbake_version': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.BitbakeVersion']"}),
232 'branch_name': ('django.db.models.fields.CharField', [], {'default': "''", 'max_length': '50'}),
233 'description': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
234 'helptext': ('django.db.models.fields.TextField', [], {'null': 'True'}),
235 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
236 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '32'})
237 },
238 u'orm.releasedefaultlayer': {
239 'Meta': {'object_name': 'ReleaseDefaultLayer'},
240 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
241 'layer_name': ('django.db.models.fields.CharField', [], {'default': "''", 'max_length': '100'}),
242 'release': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.Release']"})
243 },
244 u'orm.releaselayersourcepriority': {
245 'Meta': {'unique_together': "(('release', 'layer_source'),)", 'object_name': 'ReleaseLayerSourcePriority'},
246 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
247 'layer_source': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.LayerSource']"}),
248 'priority': ('django.db.models.fields.IntegerField', [], {'default': '0'}),
249 'release': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.Release']"})
250 },
251 u'orm.target': {
252 'Meta': {'object_name': 'Target'},
253 'build': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.Build']"}),
254 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
255 'image_size': ('django.db.models.fields.IntegerField', [], {'default': '0'}),
256 'is_image': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
257 'license_manifest_path': ('django.db.models.fields.CharField', [], {'max_length': '500', 'null': 'True'}),
258 'target': ('django.db.models.fields.CharField', [], {'max_length': '100'})
259 },
260 u'orm.target_file': {
261 'Meta': {'object_name': 'Target_File'},
262 'directory': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'directory_set'", 'null': 'True', 'to': u"orm['orm.Target_File']"}),
263 'group': ('django.db.models.fields.CharField', [], {'max_length': '128'}),
264 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
265 'inodetype': ('django.db.models.fields.IntegerField', [], {}),
266 'owner': ('django.db.models.fields.CharField', [], {'max_length': '128'}),
267 'path': ('django.db.models.fields.FilePathField', [], {'max_length': '100'}),
268 'permission': ('django.db.models.fields.CharField', [], {'max_length': '16'}),
269 'size': ('django.db.models.fields.IntegerField', [], {}),
270 'sym_target': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'symlink_set'", 'null': 'True', 'to': u"orm['orm.Target_File']"}),
271 'target': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.Target']"})
272 },
273 u'orm.target_image_file': {
274 'Meta': {'object_name': 'Target_Image_File'},
275 'file_name': ('django.db.models.fields.FilePathField', [], {'max_length': '254'}),
276 'file_size': ('django.db.models.fields.IntegerField', [], {}),
277 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
278 'target': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.Target']"})
279 },
280 u'orm.target_installed_package': {
281 'Meta': {'object_name': 'Target_Installed_Package'},
282 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
283 'package': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'buildtargetlist_package'", 'to': u"orm['orm.Package']"}),
284 'target': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.Target']"})
285 },
286 u'orm.task': {
287 'Meta': {'ordering': "('order', 'recipe')", 'unique_together': "(('build', 'recipe', 'task_name'),)", 'object_name': 'Task'},
288 'build': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'task_build'", 'to': u"orm['orm.Build']"}),
289 'cpu_usage': ('django.db.models.fields.DecimalField', [], {'null': 'True', 'max_digits': '6', 'decimal_places': '2'}),
290 'disk_io': ('django.db.models.fields.IntegerField', [], {'null': 'True'}),
291 'elapsed_time': ('django.db.models.fields.DecimalField', [], {'null': 'True', 'max_digits': '6', 'decimal_places': '2'}),
292 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
293 'line_number': ('django.db.models.fields.IntegerField', [], {'default': '0'}),
294 'logfile': ('django.db.models.fields.FilePathField', [], {'max_length': '255', 'blank': 'True'}),
295 'message': ('django.db.models.fields.CharField', [], {'max_length': '240'}),
296 'order': ('django.db.models.fields.IntegerField', [], {'null': 'True'}),
297 'outcome': ('django.db.models.fields.IntegerField', [], {'default': '-1'}),
298 'path_to_sstate_obj': ('django.db.models.fields.FilePathField', [], {'max_length': '500', 'blank': 'True'}),
299 'recipe': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'build_recipe'", 'to': u"orm['orm.Recipe']"}),
300 'script_type': ('django.db.models.fields.IntegerField', [], {'default': '0'}),
301 'source_url': ('django.db.models.fields.FilePathField', [], {'max_length': '255', 'blank': 'True'}),
302 'sstate_checksum': ('django.db.models.fields.CharField', [], {'max_length': '100', 'blank': 'True'}),
303 'sstate_result': ('django.db.models.fields.IntegerField', [], {'default': '0'}),
304 'task_executed': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
305 'task_name': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
306 'work_directory': ('django.db.models.fields.FilePathField', [], {'max_length': '255', 'blank': 'True'})
307 },
308 u'orm.task_dependency': {
309 'Meta': {'object_name': 'Task_Dependency'},
310 'depends_on': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'task_dependencies_depends'", 'to': u"orm['orm.Task']"}),
311 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
312 'task': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'task_dependencies_task'", 'to': u"orm['orm.Task']"})
313 },
314 u'orm.toastersetting': {
315 'Meta': {'object_name': 'ToasterSetting'},
316 'helptext': ('django.db.models.fields.TextField', [], {}),
317 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
318 'name': ('django.db.models.fields.CharField', [], {'max_length': '63'}),
319 'value': ('django.db.models.fields.CharField', [], {'max_length': '255'})
320 },
321 u'orm.variable': {
322 'Meta': {'object_name': 'Variable'},
323 'build': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'variable_build'", 'to': u"orm['orm.Build']"}),
324 'changed': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
325 'description': ('django.db.models.fields.TextField', [], {'blank': 'True'}),
326 'human_readable_name': ('django.db.models.fields.CharField', [], {'max_length': '200'}),
327 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
328 'variable_name': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
329 'variable_value': ('django.db.models.fields.TextField', [], {'blank': 'True'})
330 },
331 u'orm.variablehistory': {
332 'Meta': {'object_name': 'VariableHistory'},
333 'file_name': ('django.db.models.fields.FilePathField', [], {'max_length': '255'}),
334 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
335 'line_number': ('django.db.models.fields.IntegerField', [], {'null': 'True'}),
336 'operation': ('django.db.models.fields.CharField', [], {'max_length': '64'}),
337 'value': ('django.db.models.fields.TextField', [], {'blank': 'True'}),
338 'variable': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'vhistory'", 'to': u"orm['orm.Variable']"})
339 }
340 }
341
342 complete_apps = ['orm'] \ No newline at end of file
diff --git a/bitbake/lib/toaster/orm/migrations/0020_auto__add_field_layer_version_local_path__add_field_recipe_pathflags__.py b/bitbake/lib/toaster/orm/migrations/0020_auto__add_field_layer_version_local_path__add_field_recipe_pathflags__.py
deleted file mode 100644
index 0ec5795976..0000000000
--- a/bitbake/lib/toaster/orm/migrations/0020_auto__add_field_layer_version_local_path__add_field_recipe_pathflags__.py
+++ /dev/null
@@ -1,361 +0,0 @@
1# -*- coding: utf-8 -*-
2from south.utils import datetime_utils as datetime
3from south.db import db
4from south.v2 import SchemaMigration
5from django.db import models
6
7
8class Migration(SchemaMigration):
9
10 def forwards(self, orm):
11 # Removing unique constraint on 'Recipe', fields ['layer_version', 'file_path']
12 db.delete_unique(u'orm_recipe', ['layer_version_id', 'file_path'])
13
14 # Adding field 'Layer_Version.local_path'
15 db.add_column(u'orm_layer_version', 'local_path',
16 self.gf('django.db.models.fields.FilePathField')(default="/", max_length=1024),
17 keep_default=False)
18
19 # Adding field 'Recipe.pathflags'
20 db.add_column(u'orm_recipe', 'pathflags',
21 self.gf('django.db.models.fields.CharField')(default='', max_length=200, blank=True),
22 keep_default=False)
23
24 # Adding unique constraint on 'Recipe', fields ['layer_version', 'file_path', 'pathflags']
25 db.create_unique(u'orm_recipe', ['layer_version_id', 'file_path', 'pathflags'])
26
27 # Migrate data from Layer.local_path to Layer_Version.local_path
28 if not db.dry_run:
29 for lv in orm.Layer_Version.objects.all():
30 if lv.layer.local_path is not None:
31 lv.local_path = lv.layer.local_path
32 else:
33 lv.local_path = "/"
34 lv.save()
35
36 db.delete_column(u'orm_layer', 'local_path')
37
38
39 def backwards(self, orm):
40 raise RuntimeError("Cannot reverse this migration")
41
42
43 models = {
44 u'orm.bitbakeversion': {
45 'Meta': {'object_name': 'BitbakeVersion'},
46 'branch': ('django.db.models.fields.CharField', [], {'max_length': '32'}),
47 'dirpath': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
48 'giturl': ('django.db.models.fields.URLField', [], {'max_length': '200'}),
49 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
50 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '32'})
51 },
52 u'orm.branch': {
53 'Meta': {'unique_together': "(('layer_source', 'name'), ('layer_source', 'up_id'))", 'object_name': 'Branch'},
54 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
55 'layer_source': ('django.db.models.fields.related.ForeignKey', [], {'default': 'True', 'to': u"orm['orm.LayerSource']", 'null': 'True'}),
56 'name': ('django.db.models.fields.CharField', [], {'max_length': '50'}),
57 'short_description': ('django.db.models.fields.CharField', [], {'max_length': '50', 'blank': 'True'}),
58 'up_date': ('django.db.models.fields.DateTimeField', [], {'default': 'None', 'null': 'True'}),
59 'up_id': ('django.db.models.fields.IntegerField', [], {'default': 'None', 'null': 'True'})
60 },
61 u'orm.build': {
62 'Meta': {'object_name': 'Build'},
63 'bitbake_version': ('django.db.models.fields.CharField', [], {'max_length': '50'}),
64 'build_name': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
65 'completed_on': ('django.db.models.fields.DateTimeField', [], {}),
66 'cooker_log_path': ('django.db.models.fields.CharField', [], {'max_length': '500'}),
67 'distro': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
68 'distro_version': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
69 'errors_no': ('django.db.models.fields.IntegerField', [], {'default': '0'}),
70 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
71 'machine': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
72 'outcome': ('django.db.models.fields.IntegerField', [], {'default': '2'}),
73 'project': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.Project']"}),
74 'started_on': ('django.db.models.fields.DateTimeField', [], {}),
75 'timespent': ('django.db.models.fields.IntegerField', [], {'default': '0'}),
76 'warnings_no': ('django.db.models.fields.IntegerField', [], {'default': '0'})
77 },
78 u'orm.buildartifact': {
79 'Meta': {'object_name': 'BuildArtifact'},
80 'build': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.Build']"}),
81 'file_name': ('django.db.models.fields.FilePathField', [], {'max_length': '100'}),
82 'file_size': ('django.db.models.fields.IntegerField', [], {}),
83 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'})
84 },
85 u'orm.helptext': {
86 'Meta': {'object_name': 'HelpText'},
87 'area': ('django.db.models.fields.IntegerField', [], {}),
88 'build': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'helptext_build'", 'to': u"orm['orm.Build']"}),
89 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
90 'key': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
91 'text': ('django.db.models.fields.TextField', [], {})
92 },
93 u'orm.layer': {
94 'Meta': {'unique_together': "(('layer_source', 'up_id'), ('layer_source', 'name'))", 'object_name': 'Layer'},
95 'description': ('django.db.models.fields.TextField', [], {'default': 'None', 'null': 'True'}),
96 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
97 'layer_index_url': ('django.db.models.fields.URLField', [], {'max_length': '200'}),
98 'layer_source': ('django.db.models.fields.related.ForeignKey', [], {'default': 'None', 'to': u"orm['orm.LayerSource']", 'null': 'True'}),
99 'local_path': ('django.db.models.fields.FilePathField', [], {'default': 'None', 'max_length': '255', 'null': 'True'}),
100 'name': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
101 'summary': ('django.db.models.fields.TextField', [], {'default': 'None', 'null': 'True'}),
102 'up_date': ('django.db.models.fields.DateTimeField', [], {'default': 'None', 'null': 'True'}),
103 'up_id': ('django.db.models.fields.IntegerField', [], {'default': 'None', 'null': 'True'}),
104 'vcs_url': ('django.db.models.fields.URLField', [], {'default': 'None', 'max_length': '200', 'null': 'True'}),
105 'vcs_web_file_base_url': ('django.db.models.fields.URLField', [], {'default': 'None', 'max_length': '200', 'null': 'True'}),
106 'vcs_web_tree_base_url': ('django.db.models.fields.URLField', [], {'default': 'None', 'max_length': '200', 'null': 'True'}),
107 'vcs_web_url': ('django.db.models.fields.URLField', [], {'default': 'None', 'max_length': '200', 'null': 'True'})
108 },
109 u'orm.layer_version': {
110 'Meta': {'unique_together': "(('layer_source', 'up_id'),)", 'object_name': 'Layer_Version'},
111 'branch': ('django.db.models.fields.CharField', [], {'max_length': '80'}),
112 'build': ('django.db.models.fields.related.ForeignKey', [], {'default': 'None', 'related_name': "'layer_version_build'", 'null': 'True', 'to': u"orm['orm.Build']"}),
113 'commit': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
114 'dirpath': ('django.db.models.fields.CharField', [], {'default': 'None', 'max_length': '255', 'null': 'True'}),
115 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
116 'layer': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'layer_version_layer'", 'to': u"orm['orm.Layer']"}),
117 'layer_source': ('django.db.models.fields.related.ForeignKey', [], {'default': 'None', 'to': u"orm['orm.LayerSource']", 'null': 'True'}),
118 'local_path': ('django.db.models.fields.FilePathField', [], {'default': 'None', 'max_length': '255', 'null': 'True'}),
119 'priority': ('django.db.models.fields.IntegerField', [], {'default': '0'}),
120 'project': ('django.db.models.fields.related.ForeignKey', [], {'default': 'None', 'to': u"orm['orm.Project']", 'null': 'True'}),
121 'up_branch': ('django.db.models.fields.related.ForeignKey', [], {'default': 'None', 'to': u"orm['orm.Branch']", 'null': 'True'}),
122 'up_date': ('django.db.models.fields.DateTimeField', [], {'default': 'None', 'null': 'True'}),
123 'up_id': ('django.db.models.fields.IntegerField', [], {'default': 'None', 'null': 'True'})
124 },
125 u'orm.layersource': {
126 'Meta': {'unique_together': "(('sourcetype', 'apiurl'),)", 'object_name': 'LayerSource'},
127 'apiurl': ('django.db.models.fields.CharField', [], {'default': 'None', 'max_length': '255', 'null': 'True'}),
128 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
129 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '63'}),
130 'sourcetype': ('django.db.models.fields.IntegerField', [], {})
131 },
132 u'orm.layerversiondependency': {
133 'Meta': {'unique_together': "(('layer_source', 'up_id'),)", 'object_name': 'LayerVersionDependency'},
134 'depends_on': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'dependees'", 'to': u"orm['orm.Layer_Version']"}),
135 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
136 'layer_source': ('django.db.models.fields.related.ForeignKey', [], {'default': 'None', 'to': u"orm['orm.LayerSource']", 'null': 'True'}),
137 'layer_version': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'dependencies'", 'to': u"orm['orm.Layer_Version']"}),
138 'up_id': ('django.db.models.fields.IntegerField', [], {'default': 'None', 'null': 'True'})
139 },
140 u'orm.logmessage': {
141 'Meta': {'object_name': 'LogMessage'},
142 'build': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.Build']"}),
143 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
144 'level': ('django.db.models.fields.IntegerField', [], {'default': '0'}),
145 'lineno': ('django.db.models.fields.IntegerField', [], {'null': 'True'}),
146 'message': ('django.db.models.fields.CharField', [], {'max_length': '240'}),
147 'pathname': ('django.db.models.fields.FilePathField', [], {'max_length': '255', 'blank': 'True'}),
148 'task': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.Task']", 'null': 'True', 'blank': 'True'})
149 },
150 u'orm.machine': {
151 'Meta': {'unique_together': "(('layer_source', 'up_id'),)", 'object_name': 'Machine'},
152 'description': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
153 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
154 'layer_source': ('django.db.models.fields.related.ForeignKey', [], {'default': 'None', 'to': u"orm['orm.LayerSource']", 'null': 'True'}),
155 'layer_version': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.Layer_Version']"}),
156 'name': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
157 'up_date': ('django.db.models.fields.DateTimeField', [], {'default': 'None', 'null': 'True'}),
158 'up_id': ('django.db.models.fields.IntegerField', [], {'default': 'None', 'null': 'True'})
159 },
160 u'orm.package': {
161 'Meta': {'object_name': 'Package'},
162 'build': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.Build']"}),
163 'description': ('django.db.models.fields.TextField', [], {'blank': 'True'}),
164 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
165 'installed_name': ('django.db.models.fields.CharField', [], {'default': "''", 'max_length': '100'}),
166 'installed_size': ('django.db.models.fields.IntegerField', [], {'default': '0'}),
167 'license': ('django.db.models.fields.CharField', [], {'max_length': '80', 'blank': 'True'}),
168 'name': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
169 'recipe': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.Recipe']", 'null': 'True'}),
170 'revision': ('django.db.models.fields.CharField', [], {'max_length': '32', 'blank': 'True'}),
171 'section': ('django.db.models.fields.CharField', [], {'max_length': '80', 'blank': 'True'}),
172 'size': ('django.db.models.fields.IntegerField', [], {'default': '0'}),
173 'summary': ('django.db.models.fields.TextField', [], {'blank': 'True'}),
174 'version': ('django.db.models.fields.CharField', [], {'max_length': '100', 'blank': 'True'})
175 },
176 u'orm.package_dependency': {
177 'Meta': {'object_name': 'Package_Dependency'},
178 'dep_type': ('django.db.models.fields.IntegerField', [], {}),
179 'depends_on': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'package_dependencies_target'", 'to': u"orm['orm.Package']"}),
180 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
181 'package': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'package_dependencies_source'", 'to': u"orm['orm.Package']"}),
182 'target': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.Target']", 'null': 'True'})
183 },
184 u'orm.package_file': {
185 'Meta': {'object_name': 'Package_File'},
186 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
187 'package': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'buildfilelist_package'", 'to': u"orm['orm.Package']"}),
188 'path': ('django.db.models.fields.FilePathField', [], {'max_length': '255', 'blank': 'True'}),
189 'size': ('django.db.models.fields.IntegerField', [], {})
190 },
191 u'orm.project': {
192 'Meta': {'object_name': 'Project'},
193 'bitbake_version': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.BitbakeVersion']", 'null': 'True'}),
194 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}),
195 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
196 'name': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
197 'release': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.Release']", 'null': 'True'}),
198 'short_description': ('django.db.models.fields.CharField', [], {'max_length': '50', 'blank': 'True'}),
199 'updated': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}),
200 'user_id': ('django.db.models.fields.IntegerField', [], {'null': 'True'})
201 },
202 u'orm.projectlayer': {
203 'Meta': {'unique_together': "(('project', 'layercommit'),)", 'object_name': 'ProjectLayer'},
204 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
205 'layercommit': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.Layer_Version']", 'null': 'True'}),
206 'optional': ('django.db.models.fields.BooleanField', [], {'default': 'True'}),
207 'project': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.Project']"})
208 },
209 u'orm.projecttarget': {
210 'Meta': {'object_name': 'ProjectTarget'},
211 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
212 'project': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.Project']"}),
213 'target': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
214 'task': ('django.db.models.fields.CharField', [], {'max_length': '100', 'null': 'True'})
215 },
216 u'orm.projectvariable': {
217 'Meta': {'object_name': 'ProjectVariable'},
218 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
219 'name': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
220 'project': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.Project']"}),
221 'value': ('django.db.models.fields.TextField', [], {'blank': 'True'})
222 },
223 u'orm.recipe': {
224 'Meta': {'unique_together': "(('layer_version', 'file_path', 'pathflags'), ('file_path', 'pathflags'))", 'object_name': 'Recipe'},
225 'bugtracker': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}),
226 'description': ('django.db.models.fields.TextField', [], {'blank': 'True'}),
227 'file_path': ('django.db.models.fields.FilePathField', [], {'max_length': '255'}),
228 'homepage': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}),
229 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
230 'layer_source': ('django.db.models.fields.related.ForeignKey', [], {'default': 'None', 'to': u"orm['orm.LayerSource']", 'null': 'True'}),
231 'layer_version': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'recipe_layer_version'", 'to': u"orm['orm.Layer_Version']"}),
232 'license': ('django.db.models.fields.CharField', [], {'max_length': '200', 'blank': 'True'}),
233 'name': ('django.db.models.fields.CharField', [], {'max_length': '100', 'blank': 'True'}),
234 'pathflags': ('django.db.models.fields.CharField', [], {'max_length': '200', 'blank': 'True'}),
235 'section': ('django.db.models.fields.CharField', [], {'max_length': '100', 'blank': 'True'}),
236 'summary': ('django.db.models.fields.TextField', [], {'blank': 'True'}),
237 'up_date': ('django.db.models.fields.DateTimeField', [], {'default': 'None', 'null': 'True'}),
238 'up_id': ('django.db.models.fields.IntegerField', [], {'default': 'None', 'null': 'True'}),
239 'version': ('django.db.models.fields.CharField', [], {'max_length': '100', 'blank': 'True'})
240 },
241 u'orm.recipe_dependency': {
242 'Meta': {'object_name': 'Recipe_Dependency'},
243 'dep_type': ('django.db.models.fields.IntegerField', [], {}),
244 'depends_on': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'r_dependencies_depends'", 'to': u"orm['orm.Recipe']"}),
245 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
246 'recipe': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'r_dependencies_recipe'", 'to': u"orm['orm.Recipe']"})
247 },
248 u'orm.release': {
249 'Meta': {'object_name': 'Release'},
250 'bitbake_version': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.BitbakeVersion']"}),
251 'branch_name': ('django.db.models.fields.CharField', [], {'default': "''", 'max_length': '50'}),
252 'description': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
253 'helptext': ('django.db.models.fields.TextField', [], {'null': 'True'}),
254 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
255 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '32'})
256 },
257 u'orm.releasedefaultlayer': {
258 'Meta': {'object_name': 'ReleaseDefaultLayer'},
259 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
260 'layer_name': ('django.db.models.fields.CharField', [], {'default': "''", 'max_length': '100'}),
261 'release': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.Release']"})
262 },
263 u'orm.releaselayersourcepriority': {
264 'Meta': {'unique_together': "(('release', 'layer_source'),)", 'object_name': 'ReleaseLayerSourcePriority'},
265 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
266 'layer_source': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.LayerSource']"}),
267 'priority': ('django.db.models.fields.IntegerField', [], {'default': '0'}),
268 'release': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.Release']"})
269 },
270 u'orm.target': {
271 'Meta': {'object_name': 'Target'},
272 'build': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.Build']"}),
273 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
274 'image_size': ('django.db.models.fields.IntegerField', [], {'default': '0'}),
275 'is_image': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
276 'license_manifest_path': ('django.db.models.fields.CharField', [], {'max_length': '500', 'null': 'True'}),
277 'target': ('django.db.models.fields.CharField', [], {'max_length': '100'})
278 },
279 u'orm.target_file': {
280 'Meta': {'object_name': 'Target_File'},
281 'directory': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'directory_set'", 'null': 'True', 'to': u"orm['orm.Target_File']"}),
282 'group': ('django.db.models.fields.CharField', [], {'max_length': '128'}),
283 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
284 'inodetype': ('django.db.models.fields.IntegerField', [], {}),
285 'owner': ('django.db.models.fields.CharField', [], {'max_length': '128'}),
286 'path': ('django.db.models.fields.FilePathField', [], {'max_length': '100'}),
287 'permission': ('django.db.models.fields.CharField', [], {'max_length': '16'}),
288 'size': ('django.db.models.fields.IntegerField', [], {}),
289 'sym_target': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'symlink_set'", 'null': 'True', 'to': u"orm['orm.Target_File']"}),
290 'target': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.Target']"})
291 },
292 u'orm.target_image_file': {
293 'Meta': {'object_name': 'Target_Image_File'},
294 'file_name': ('django.db.models.fields.FilePathField', [], {'max_length': '254'}),
295 'file_size': ('django.db.models.fields.IntegerField', [], {}),
296 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
297 'target': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.Target']"})
298 },
299 u'orm.target_installed_package': {
300 'Meta': {'object_name': 'Target_Installed_Package'},
301 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
302 'package': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'buildtargetlist_package'", 'to': u"orm['orm.Package']"}),
303 'target': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.Target']"})
304 },
305 u'orm.task': {
306 'Meta': {'ordering': "('order', 'recipe')", 'unique_together': "(('build', 'recipe', 'task_name'),)", 'object_name': 'Task'},
307 'build': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'task_build'", 'to': u"orm['orm.Build']"}),
308 'cpu_usage': ('django.db.models.fields.DecimalField', [], {'null': 'True', 'max_digits': '8', 'decimal_places': '2'}),
309 'disk_io': ('django.db.models.fields.IntegerField', [], {'null': 'True'}),
310 'elapsed_time': ('django.db.models.fields.DecimalField', [], {'null': 'True', 'max_digits': '8', 'decimal_places': '2'}),
311 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
312 'line_number': ('django.db.models.fields.IntegerField', [], {'default': '0'}),
313 'logfile': ('django.db.models.fields.FilePathField', [], {'max_length': '255', 'blank': 'True'}),
314 'message': ('django.db.models.fields.CharField', [], {'max_length': '240'}),
315 'order': ('django.db.models.fields.IntegerField', [], {'null': 'True'}),
316 'outcome': ('django.db.models.fields.IntegerField', [], {'default': '-1'}),
317 'path_to_sstate_obj': ('django.db.models.fields.FilePathField', [], {'max_length': '500', 'blank': 'True'}),
318 'recipe': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'tasks'", 'to': u"orm['orm.Recipe']"}),
319 'script_type': ('django.db.models.fields.IntegerField', [], {'default': '0'}),
320 'source_url': ('django.db.models.fields.FilePathField', [], {'max_length': '255', 'blank': 'True'}),
321 'sstate_checksum': ('django.db.models.fields.CharField', [], {'max_length': '100', 'blank': 'True'}),
322 'sstate_result': ('django.db.models.fields.IntegerField', [], {'default': '0'}),
323 'task_executed': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
324 'task_name': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
325 'work_directory': ('django.db.models.fields.FilePathField', [], {'max_length': '255', 'blank': 'True'})
326 },
327 u'orm.task_dependency': {
328 'Meta': {'object_name': 'Task_Dependency'},
329 'depends_on': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'task_dependencies_depends'", 'to': u"orm['orm.Task']"}),
330 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
331 'task': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'task_dependencies_task'", 'to': u"orm['orm.Task']"})
332 },
333 u'orm.toastersetting': {
334 'Meta': {'object_name': 'ToasterSetting'},
335 'helptext': ('django.db.models.fields.TextField', [], {}),
336 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
337 'name': ('django.db.models.fields.CharField', [], {'max_length': '63'}),
338 'value': ('django.db.models.fields.CharField', [], {'max_length': '255'})
339 },
340 u'orm.variable': {
341 'Meta': {'object_name': 'Variable'},
342 'build': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'variable_build'", 'to': u"orm['orm.Build']"}),
343 'changed': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
344 'description': ('django.db.models.fields.TextField', [], {'blank': 'True'}),
345 'human_readable_name': ('django.db.models.fields.CharField', [], {'max_length': '200'}),
346 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
347 'variable_name': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
348 'variable_value': ('django.db.models.fields.TextField', [], {'blank': 'True'})
349 },
350 u'orm.variablehistory': {
351 'Meta': {'object_name': 'VariableHistory'},
352 'file_name': ('django.db.models.fields.FilePathField', [], {'max_length': '255'}),
353 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
354 'line_number': ('django.db.models.fields.IntegerField', [], {'null': 'True'}),
355 'operation': ('django.db.models.fields.CharField', [], {'max_length': '64'}),
356 'value': ('django.db.models.fields.TextField', [], {'blank': 'True'}),
357 'variable': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'vhistory'", 'to': u"orm['orm.Variable']"})
358 }
359 }
360
361 complete_apps = ['orm']
diff --git a/bitbake/lib/toaster/orm/migrations/0021_auto__chg_field_build_project__chg_field_project_bitbake_version__chg_.py b/bitbake/lib/toaster/orm/migrations/0021_auto__chg_field_build_project__chg_field_project_bitbake_version__chg_.py
deleted file mode 100644
index a62ddb7ee4..0000000000
--- a/bitbake/lib/toaster/orm/migrations/0021_auto__chg_field_build_project__chg_field_project_bitbake_version__chg_.py
+++ /dev/null
@@ -1,371 +0,0 @@
1# -*- coding: utf-8 -*-
2from south.utils import datetime_utils as datetime
3from south.db import db
4from south.v2 import SchemaMigration
5from django.db import models
6
7
8class Migration(SchemaMigration):
9
10 no_dry_run = True
11
12 def forwards(self, orm):
13
14 # Changing field 'Build.project'
15 db.alter_column(u'orm_build', 'project_id', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['orm.Project']))
16
17 # Changing field 'Project.bitbake_version'
18 db.alter_column(u'orm_project', 'bitbake_version_id', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['orm.BitbakeVersion'], null=True))
19
20 # Changing field 'Project.release'
21 db.alter_column(u'orm_project', 'release_id', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['orm.Release'], null=True))
22
23 # Changing field 'Task.cpu_usage'
24 db.alter_column(u'orm_task', 'cpu_usage', self.gf('django.db.models.fields.DecimalField')(null=True, max_digits=8, decimal_places=2))
25
26 # Changing field 'Task.elapsed_time'
27 db.alter_column(u'orm_task', 'elapsed_time', self.gf('django.db.models.fields.DecimalField')(null=True, max_digits=8, decimal_places=2))
28
29 def backwards(self, orm):
30
31 # Changing field 'Build.project'
32 db.alter_column(u'orm_build', 'project_id', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['orm.Project'], null=True))
33
34 # User chose to not deal with backwards NULL issues for 'Project.bitbake_version'
35 raise RuntimeError("Cannot reverse this migration. 'Project.bitbake_version' and its values cannot be restored.")
36
37 # The following code is provided here to aid in writing a correct migration
38 # Changing field 'Project.bitbake_version'
39 db.alter_column(u'orm_project', 'bitbake_version_id', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['orm.BitbakeVersion']))
40
41 # User chose to not deal with backwards NULL issues for 'Project.release'
42 raise RuntimeError("Cannot reverse this migration. 'Project.release' and its values cannot be restored.")
43
44 # The following code is provided here to aid in writing a correct migration
45 # Changing field 'Project.release'
46 db.alter_column(u'orm_project', 'release_id', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['orm.Release']))
47
48 # Changing field 'Task.cpu_usage'
49 db.alter_column(u'orm_task', 'cpu_usage', self.gf('django.db.models.fields.DecimalField')(null=True, max_digits=6, decimal_places=2))
50
51 # Changing field 'Task.elapsed_time'
52 db.alter_column(u'orm_task', 'elapsed_time', self.gf('django.db.models.fields.DecimalField')(null=True, max_digits=6, decimal_places=2))
53
54 models = {
55 u'orm.bitbakeversion': {
56 'Meta': {'object_name': 'BitbakeVersion'},
57 'branch': ('django.db.models.fields.CharField', [], {'max_length': '32'}),
58 'dirpath': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
59 'giturl': ('django.db.models.fields.URLField', [], {'max_length': '200'}),
60 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
61 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '32'})
62 },
63 u'orm.branch': {
64 'Meta': {'unique_together': "(('layer_source', 'name'), ('layer_source', 'up_id'))", 'object_name': 'Branch'},
65 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
66 'layer_source': ('django.db.models.fields.related.ForeignKey', [], {'default': 'True', 'to': u"orm['orm.LayerSource']", 'null': 'True'}),
67 'name': ('django.db.models.fields.CharField', [], {'max_length': '50'}),
68 'short_description': ('django.db.models.fields.CharField', [], {'max_length': '50', 'blank': 'True'}),
69 'up_date': ('django.db.models.fields.DateTimeField', [], {'default': 'None', 'null': 'True'}),
70 'up_id': ('django.db.models.fields.IntegerField', [], {'default': 'None', 'null': 'True'})
71 },
72 u'orm.build': {
73 'Meta': {'object_name': 'Build'},
74 'bitbake_version': ('django.db.models.fields.CharField', [], {'max_length': '50'}),
75 'build_name': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
76 'completed_on': ('django.db.models.fields.DateTimeField', [], {}),
77 'cooker_log_path': ('django.db.models.fields.CharField', [], {'max_length': '500'}),
78 'distro': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
79 'distro_version': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
80 'errors_no': ('django.db.models.fields.IntegerField', [], {'default': '0'}),
81 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
82 'machine': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
83 'outcome': ('django.db.models.fields.IntegerField', [], {'default': '2'}),
84 'project': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.Project']"}),
85 'started_on': ('django.db.models.fields.DateTimeField', [], {}),
86 'timespent': ('django.db.models.fields.IntegerField', [], {'default': '0'}),
87 'warnings_no': ('django.db.models.fields.IntegerField', [], {'default': '0'})
88 },
89 u'orm.buildartifact': {
90 'Meta': {'object_name': 'BuildArtifact'},
91 'build': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.Build']"}),
92 'file_name': ('django.db.models.fields.FilePathField', [], {'max_length': '100'}),
93 'file_size': ('django.db.models.fields.IntegerField', [], {}),
94 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'})
95 },
96 u'orm.helptext': {
97 'Meta': {'object_name': 'HelpText'},
98 'area': ('django.db.models.fields.IntegerField', [], {}),
99 'build': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'helptext_build'", 'to': u"orm['orm.Build']"}),
100 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
101 'key': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
102 'text': ('django.db.models.fields.TextField', [], {})
103 },
104 u'orm.layer': {
105 'Meta': {'unique_together': "(('layer_source', 'up_id'), ('layer_source', 'name'))", 'object_name': 'Layer'},
106 'description': ('django.db.models.fields.TextField', [], {'default': 'None', 'null': 'True'}),
107 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
108 'layer_index_url': ('django.db.models.fields.URLField', [], {'max_length': '200'}),
109 'layer_source': ('django.db.models.fields.related.ForeignKey', [], {'default': 'None', 'to': u"orm['orm.LayerSource']", 'null': 'True'}),
110 'name': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
111 'summary': ('django.db.models.fields.TextField', [], {'default': 'None', 'null': 'True'}),
112 'up_date': ('django.db.models.fields.DateTimeField', [], {'default': 'None', 'null': 'True'}),
113 'up_id': ('django.db.models.fields.IntegerField', [], {'default': 'None', 'null': 'True'}),
114 'vcs_url': ('django.db.models.fields.URLField', [], {'default': 'None', 'max_length': '200', 'null': 'True'}),
115 'vcs_web_file_base_url': ('django.db.models.fields.URLField', [], {'default': 'None', 'max_length': '200', 'null': 'True'}),
116 'vcs_web_tree_base_url': ('django.db.models.fields.URLField', [], {'default': 'None', 'max_length': '200', 'null': 'True'}),
117 'vcs_web_url': ('django.db.models.fields.URLField', [], {'default': 'None', 'max_length': '200', 'null': 'True'})
118 },
119 u'orm.layer_version': {
120 'Meta': {'unique_together': "(('layer_source', 'up_id'),)", 'object_name': 'Layer_Version'},
121 'branch': ('django.db.models.fields.CharField', [], {'max_length': '80'}),
122 'build': ('django.db.models.fields.related.ForeignKey', [], {'default': 'None', 'related_name': "'layer_version_build'", 'null': 'True', 'to': u"orm['orm.Build']"}),
123 'commit': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
124 'dirpath': ('django.db.models.fields.CharField', [], {'default': 'None', 'max_length': '255', 'null': 'True'}),
125 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
126 'layer': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'layer_version_layer'", 'to': u"orm['orm.Layer']"}),
127 'layer_source': ('django.db.models.fields.related.ForeignKey', [], {'default': 'None', 'to': u"orm['orm.LayerSource']", 'null': 'True'}),
128 'local_path': ('django.db.models.fields.FilePathField', [], {'default': "'/'", 'max_length': '1024'}),
129 'priority': ('django.db.models.fields.IntegerField', [], {'default': '0'}),
130 'project': ('django.db.models.fields.related.ForeignKey', [], {'default': 'None', 'to': u"orm['orm.Project']", 'null': 'True'}),
131 'up_branch': ('django.db.models.fields.related.ForeignKey', [], {'default': 'None', 'to': u"orm['orm.Branch']", 'null': 'True'}),
132 'up_date': ('django.db.models.fields.DateTimeField', [], {'default': 'None', 'null': 'True'}),
133 'up_id': ('django.db.models.fields.IntegerField', [], {'default': 'None', 'null': 'True'})
134 },
135 u'orm.layersource': {
136 'Meta': {'unique_together': "(('sourcetype', 'apiurl'),)", 'object_name': 'LayerSource'},
137 'apiurl': ('django.db.models.fields.CharField', [], {'default': 'None', 'max_length': '255', 'null': 'True'}),
138 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
139 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '63'}),
140 'sourcetype': ('django.db.models.fields.IntegerField', [], {})
141 },
142 u'orm.layerversiondependency': {
143 'Meta': {'unique_together': "(('layer_source', 'up_id'),)", 'object_name': 'LayerVersionDependency'},
144 'depends_on': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'dependees'", 'to': u"orm['orm.Layer_Version']"}),
145 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
146 'layer_source': ('django.db.models.fields.related.ForeignKey', [], {'default': 'None', 'to': u"orm['orm.LayerSource']", 'null': 'True'}),
147 'layer_version': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'dependencies'", 'to': u"orm['orm.Layer_Version']"}),
148 'up_id': ('django.db.models.fields.IntegerField', [], {'default': 'None', 'null': 'True'})
149 },
150 u'orm.logmessage': {
151 'Meta': {'object_name': 'LogMessage'},
152 'build': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.Build']"}),
153 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
154 'level': ('django.db.models.fields.IntegerField', [], {'default': '0'}),
155 'lineno': ('django.db.models.fields.IntegerField', [], {'null': 'True'}),
156 'message': ('django.db.models.fields.CharField', [], {'max_length': '240'}),
157 'pathname': ('django.db.models.fields.FilePathField', [], {'max_length': '255', 'blank': 'True'}),
158 'task': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.Task']", 'null': 'True', 'blank': 'True'})
159 },
160 u'orm.machine': {
161 'Meta': {'unique_together': "(('layer_source', 'up_id'),)", 'object_name': 'Machine'},
162 'description': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
163 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
164 'layer_source': ('django.db.models.fields.related.ForeignKey', [], {'default': 'None', 'to': u"orm['orm.LayerSource']", 'null': 'True'}),
165 'layer_version': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.Layer_Version']"}),
166 'name': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
167 'up_date': ('django.db.models.fields.DateTimeField', [], {'default': 'None', 'null': 'True'}),
168 'up_id': ('django.db.models.fields.IntegerField', [], {'default': 'None', 'null': 'True'})
169 },
170 u'orm.package': {
171 'Meta': {'object_name': 'Package'},
172 'build': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.Build']"}),
173 'description': ('django.db.models.fields.TextField', [], {'blank': 'True'}),
174 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
175 'installed_name': ('django.db.models.fields.CharField', [], {'default': "''", 'max_length': '100'}),
176 'installed_size': ('django.db.models.fields.IntegerField', [], {'default': '0'}),
177 'license': ('django.db.models.fields.CharField', [], {'max_length': '80', 'blank': 'True'}),
178 'name': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
179 'recipe': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.Recipe']", 'null': 'True'}),
180 'revision': ('django.db.models.fields.CharField', [], {'max_length': '32', 'blank': 'True'}),
181 'section': ('django.db.models.fields.CharField', [], {'max_length': '80', 'blank': 'True'}),
182 'size': ('django.db.models.fields.IntegerField', [], {'default': '0'}),
183 'summary': ('django.db.models.fields.TextField', [], {'blank': 'True'}),
184 'version': ('django.db.models.fields.CharField', [], {'max_length': '100', 'blank': 'True'})
185 },
186 u'orm.package_dependency': {
187 'Meta': {'object_name': 'Package_Dependency'},
188 'dep_type': ('django.db.models.fields.IntegerField', [], {}),
189 'depends_on': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'package_dependencies_target'", 'to': u"orm['orm.Package']"}),
190 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
191 'package': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'package_dependencies_source'", 'to': u"orm['orm.Package']"}),
192 'target': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.Target']", 'null': 'True'})
193 },
194 u'orm.package_file': {
195 'Meta': {'object_name': 'Package_File'},
196 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
197 'package': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'buildfilelist_package'", 'to': u"orm['orm.Package']"}),
198 'path': ('django.db.models.fields.FilePathField', [], {'max_length': '255', 'blank': 'True'}),
199 'size': ('django.db.models.fields.IntegerField', [], {})
200 },
201 u'orm.project': {
202 'Meta': {'object_name': 'Project'},
203 'bitbake_version': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.BitbakeVersion']", 'null': 'True'}),
204 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}),
205 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
206 'name': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
207 'release': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.Release']", 'null': 'True'}),
208 'short_description': ('django.db.models.fields.CharField', [], {'max_length': '50', 'blank': 'True'}),
209 'updated': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}),
210 'user_id': ('django.db.models.fields.IntegerField', [], {'null': 'True'})
211 },
212 u'orm.projectlayer': {
213 'Meta': {'unique_together': "(('project', 'layercommit'),)", 'object_name': 'ProjectLayer'},
214 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
215 'layercommit': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.Layer_Version']", 'null': 'True'}),
216 'optional': ('django.db.models.fields.BooleanField', [], {'default': 'True'}),
217 'project': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.Project']"})
218 },
219 u'orm.projecttarget': {
220 'Meta': {'object_name': 'ProjectTarget'},
221 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
222 'project': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.Project']"}),
223 'target': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
224 'task': ('django.db.models.fields.CharField', [], {'max_length': '100', 'null': 'True'})
225 },
226 u'orm.projectvariable': {
227 'Meta': {'object_name': 'ProjectVariable'},
228 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
229 'name': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
230 'project': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.Project']"}),
231 'value': ('django.db.models.fields.TextField', [], {'blank': 'True'})
232 },
233 u'orm.recipe': {
234 'Meta': {'unique_together': "(('layer_version', 'file_path', 'pathflags'),)", 'object_name': 'Recipe'},
235 'bugtracker': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}),
236 'description': ('django.db.models.fields.TextField', [], {'blank': 'True'}),
237 'file_path': ('django.db.models.fields.FilePathField', [], {'max_length': '255'}),
238 'homepage': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}),
239 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
240 'layer_source': ('django.db.models.fields.related.ForeignKey', [], {'default': 'None', 'to': u"orm['orm.LayerSource']", 'null': 'True'}),
241 'layer_version': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'recipe_layer_version'", 'to': u"orm['orm.Layer_Version']"}),
242 'license': ('django.db.models.fields.CharField', [], {'max_length': '200', 'blank': 'True'}),
243 'name': ('django.db.models.fields.CharField', [], {'max_length': '100', 'blank': 'True'}),
244 'pathflags': ('django.db.models.fields.CharField', [], {'max_length': '200', 'blank': 'True'}),
245 'section': ('django.db.models.fields.CharField', [], {'max_length': '100', 'blank': 'True'}),
246 'summary': ('django.db.models.fields.TextField', [], {'blank': 'True'}),
247 'up_date': ('django.db.models.fields.DateTimeField', [], {'default': 'None', 'null': 'True'}),
248 'up_id': ('django.db.models.fields.IntegerField', [], {'default': 'None', 'null': 'True'}),
249 'version': ('django.db.models.fields.CharField', [], {'max_length': '100', 'blank': 'True'})
250 },
251 u'orm.recipe_dependency': {
252 'Meta': {'object_name': 'Recipe_Dependency'},
253 'dep_type': ('django.db.models.fields.IntegerField', [], {}),
254 'depends_on': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'r_dependencies_depends'", 'to': u"orm['orm.Recipe']"}),
255 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
256 'recipe': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'r_dependencies_recipe'", 'to': u"orm['orm.Recipe']"})
257 },
258 u'orm.release': {
259 'Meta': {'object_name': 'Release'},
260 'bitbake_version': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.BitbakeVersion']"}),
261 'branch_name': ('django.db.models.fields.CharField', [], {'default': "''", 'max_length': '50'}),
262 'description': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
263 'helptext': ('django.db.models.fields.TextField', [], {'null': 'True'}),
264 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
265 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '32'})
266 },
267 u'orm.releasedefaultlayer': {
268 'Meta': {'object_name': 'ReleaseDefaultLayer'},
269 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
270 'layer_name': ('django.db.models.fields.CharField', [], {'default': "''", 'max_length': '100'}),
271 'release': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.Release']"})
272 },
273 u'orm.releaselayersourcepriority': {
274 'Meta': {'unique_together': "(('release', 'layer_source'),)", 'object_name': 'ReleaseLayerSourcePriority'},
275 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
276 'layer_source': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.LayerSource']"}),
277 'priority': ('django.db.models.fields.IntegerField', [], {'default': '0'}),
278 'release': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.Release']"})
279 },
280 u'orm.target': {
281 'Meta': {'object_name': 'Target'},
282 'build': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.Build']"}),
283 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
284 'image_size': ('django.db.models.fields.IntegerField', [], {'default': '0'}),
285 'is_image': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
286 'license_manifest_path': ('django.db.models.fields.CharField', [], {'max_length': '500', 'null': 'True'}),
287 'target': ('django.db.models.fields.CharField', [], {'max_length': '100'})
288 },
289 u'orm.target_file': {
290 'Meta': {'object_name': 'Target_File'},
291 'directory': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'directory_set'", 'null': 'True', 'to': u"orm['orm.Target_File']"}),
292 'group': ('django.db.models.fields.CharField', [], {'max_length': '128'}),
293 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
294 'inodetype': ('django.db.models.fields.IntegerField', [], {}),
295 'owner': ('django.db.models.fields.CharField', [], {'max_length': '128'}),
296 'path': ('django.db.models.fields.FilePathField', [], {'max_length': '100'}),
297 'permission': ('django.db.models.fields.CharField', [], {'max_length': '16'}),
298 'size': ('django.db.models.fields.IntegerField', [], {}),
299 'sym_target': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'symlink_set'", 'null': 'True', 'to': u"orm['orm.Target_File']"}),
300 'target': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.Target']"})
301 },
302 u'orm.target_image_file': {
303 'Meta': {'object_name': 'Target_Image_File'},
304 'file_name': ('django.db.models.fields.FilePathField', [], {'max_length': '254'}),
305 'file_size': ('django.db.models.fields.IntegerField', [], {}),
306 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
307 'target': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.Target']"})
308 },
309 u'orm.target_installed_package': {
310 'Meta': {'object_name': 'Target_Installed_Package'},
311 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
312 'package': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'buildtargetlist_package'", 'to': u"orm['orm.Package']"}),
313 'target': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.Target']"})
314 },
315 u'orm.task': {
316 'Meta': {'ordering': "('order', 'recipe')", 'unique_together': "(('build', 'recipe', 'task_name'),)", 'object_name': 'Task'},
317 'build': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'task_build'", 'to': u"orm['orm.Build']"}),
318 'cpu_usage': ('django.db.models.fields.DecimalField', [], {'null': 'True', 'max_digits': '8', 'decimal_places': '2'}),
319 'disk_io': ('django.db.models.fields.IntegerField', [], {'null': 'True'}),
320 'elapsed_time': ('django.db.models.fields.DecimalField', [], {'null': 'True', 'max_digits': '8', 'decimal_places': '2'}),
321 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
322 'line_number': ('django.db.models.fields.IntegerField', [], {'default': '0'}),
323 'logfile': ('django.db.models.fields.FilePathField', [], {'max_length': '255', 'blank': 'True'}),
324 'message': ('django.db.models.fields.CharField', [], {'max_length': '240'}),
325 'order': ('django.db.models.fields.IntegerField', [], {'null': 'True'}),
326 'outcome': ('django.db.models.fields.IntegerField', [], {'default': '-1'}),
327 'path_to_sstate_obj': ('django.db.models.fields.FilePathField', [], {'max_length': '500', 'blank': 'True'}),
328 'recipe': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'tasks'", 'to': u"orm['orm.Recipe']"}),
329 'script_type': ('django.db.models.fields.IntegerField', [], {'default': '0'}),
330 'source_url': ('django.db.models.fields.FilePathField', [], {'max_length': '255', 'blank': 'True'}),
331 'sstate_checksum': ('django.db.models.fields.CharField', [], {'max_length': '100', 'blank': 'True'}),
332 'sstate_result': ('django.db.models.fields.IntegerField', [], {'default': '0'}),
333 'task_executed': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
334 'task_name': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
335 'work_directory': ('django.db.models.fields.FilePathField', [], {'max_length': '255', 'blank': 'True'})
336 },
337 u'orm.task_dependency': {
338 'Meta': {'object_name': 'Task_Dependency'},
339 'depends_on': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'task_dependencies_depends'", 'to': u"orm['orm.Task']"}),
340 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
341 'task': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'task_dependencies_task'", 'to': u"orm['orm.Task']"})
342 },
343 u'orm.toastersetting': {
344 'Meta': {'object_name': 'ToasterSetting'},
345 'helptext': ('django.db.models.fields.TextField', [], {}),
346 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
347 'name': ('django.db.models.fields.CharField', [], {'max_length': '63'}),
348 'value': ('django.db.models.fields.CharField', [], {'max_length': '255'})
349 },
350 u'orm.variable': {
351 'Meta': {'object_name': 'Variable'},
352 'build': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'variable_build'", 'to': u"orm['orm.Build']"}),
353 'changed': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
354 'description': ('django.db.models.fields.TextField', [], {'blank': 'True'}),
355 'human_readable_name': ('django.db.models.fields.CharField', [], {'max_length': '200'}),
356 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
357 'variable_name': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
358 'variable_value': ('django.db.models.fields.TextField', [], {'blank': 'True'})
359 },
360 u'orm.variablehistory': {
361 'Meta': {'object_name': 'VariableHistory'},
362 'file_name': ('django.db.models.fields.FilePathField', [], {'max_length': '255'}),
363 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
364 'line_number': ('django.db.models.fields.IntegerField', [], {'null': 'True'}),
365 'operation': ('django.db.models.fields.CharField', [], {'max_length': '64'}),
366 'value': ('django.db.models.fields.TextField', [], {'blank': 'True'}),
367 'variable': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'vhistory'", 'to': u"orm['orm.Variable']"})
368 }
369 }
370
371 complete_apps = ['orm'] \ No newline at end of file
diff --git a/bitbake/lib/toaster/orm/migrations/0022_auto__add_field_target_task__add_field_layer_version_local_path__del_f.py b/bitbake/lib/toaster/orm/migrations/0022_auto__add_field_target_task__add_field_layer_version_local_path__del_f.py
deleted file mode 100644
index 3dec3912eb..0000000000
--- a/bitbake/lib/toaster/orm/migrations/0022_auto__add_field_target_task__add_field_layer_version_local_path__del_f.py
+++ /dev/null
@@ -1,343 +0,0 @@
1# -*- coding: utf-8 -*-
2from south.utils import datetime_utils as datetime
3from south.db import db
4from south.v2 import SchemaMigration
5from django.db import models
6
7
8class Migration(SchemaMigration):
9
10 def forwards(self, orm):
11 # Adding field 'Target.task'
12 db.add_column(u'orm_target', 'task',
13 self.gf('django.db.models.fields.CharField')(max_length=100, null=True),
14 keep_default=False)
15
16
17
18
19
20 def backwards(self, orm):
21 # Deleting field 'Target.task'
22 db.delete_column(u'orm_target', 'task')
23
24
25 models = {
26 u'orm.bitbakeversion': {
27 'Meta': {'object_name': 'BitbakeVersion'},
28 'branch': ('django.db.models.fields.CharField', [], {'max_length': '32'}),
29 'dirpath': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
30 'giturl': ('django.db.models.fields.URLField', [], {'max_length': '200'}),
31 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
32 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '32'})
33 },
34 u'orm.branch': {
35 'Meta': {'unique_together': "(('layer_source', 'name'), ('layer_source', 'up_id'))", 'object_name': 'Branch'},
36 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
37 'layer_source': ('django.db.models.fields.related.ForeignKey', [], {'default': 'True', 'to': u"orm['orm.LayerSource']", 'null': 'True'}),
38 'name': ('django.db.models.fields.CharField', [], {'max_length': '50'}),
39 'short_description': ('django.db.models.fields.CharField', [], {'max_length': '50', 'blank': 'True'}),
40 'up_date': ('django.db.models.fields.DateTimeField', [], {'default': 'None', 'null': 'True'}),
41 'up_id': ('django.db.models.fields.IntegerField', [], {'default': 'None', 'null': 'True'})
42 },
43 u'orm.build': {
44 'Meta': {'object_name': 'Build'},
45 'bitbake_version': ('django.db.models.fields.CharField', [], {'max_length': '50'}),
46 'build_name': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
47 'completed_on': ('django.db.models.fields.DateTimeField', [], {}),
48 'cooker_log_path': ('django.db.models.fields.CharField', [], {'max_length': '500'}),
49 'distro': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
50 'distro_version': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
51 'errors_no': ('django.db.models.fields.IntegerField', [], {'default': '0'}),
52 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
53 'machine': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
54 'outcome': ('django.db.models.fields.IntegerField', [], {'default': '2'}),
55 'project': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.Project']"}),
56 'started_on': ('django.db.models.fields.DateTimeField', [], {}),
57 'timespent': ('django.db.models.fields.IntegerField', [], {'default': '0'}),
58 'warnings_no': ('django.db.models.fields.IntegerField', [], {'default': '0'})
59 },
60 u'orm.buildartifact': {
61 'Meta': {'object_name': 'BuildArtifact'},
62 'build': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.Build']"}),
63 'file_name': ('django.db.models.fields.FilePathField', [], {'max_length': '100'}),
64 'file_size': ('django.db.models.fields.IntegerField', [], {}),
65 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'})
66 },
67 u'orm.helptext': {
68 'Meta': {'object_name': 'HelpText'},
69 'area': ('django.db.models.fields.IntegerField', [], {}),
70 'build': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'helptext_build'", 'to': u"orm['orm.Build']"}),
71 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
72 'key': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
73 'text': ('django.db.models.fields.TextField', [], {})
74 },
75 u'orm.layer': {
76 'Meta': {'unique_together': "(('layer_source', 'up_id'), ('layer_source', 'name'))", 'object_name': 'Layer'},
77 'description': ('django.db.models.fields.TextField', [], {'default': 'None', 'null': 'True'}),
78 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
79 'layer_index_url': ('django.db.models.fields.URLField', [], {'max_length': '200'}),
80 'layer_source': ('django.db.models.fields.related.ForeignKey', [], {'default': 'None', 'to': u"orm['orm.LayerSource']", 'null': 'True'}),
81 'name': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
82 'summary': ('django.db.models.fields.TextField', [], {'default': 'None', 'null': 'True'}),
83 'up_date': ('django.db.models.fields.DateTimeField', [], {'default': 'None', 'null': 'True'}),
84 'up_id': ('django.db.models.fields.IntegerField', [], {'default': 'None', 'null': 'True'}),
85 'vcs_url': ('django.db.models.fields.URLField', [], {'default': 'None', 'max_length': '200', 'null': 'True'}),
86 'vcs_web_file_base_url': ('django.db.models.fields.URLField', [], {'default': 'None', 'max_length': '200', 'null': 'True'}),
87 'vcs_web_tree_base_url': ('django.db.models.fields.URLField', [], {'default': 'None', 'max_length': '200', 'null': 'True'}),
88 'vcs_web_url': ('django.db.models.fields.URLField', [], {'default': 'None', 'max_length': '200', 'null': 'True'})
89 },
90 u'orm.layer_version': {
91 'Meta': {'unique_together': "(('layer_source', 'up_id'),)", 'object_name': 'Layer_Version'},
92 'branch': ('django.db.models.fields.CharField', [], {'max_length': '80'}),
93 'build': ('django.db.models.fields.related.ForeignKey', [], {'default': 'None', 'related_name': "'layer_version_build'", 'null': 'True', 'to': u"orm['orm.Build']"}),
94 'commit': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
95 'dirpath': ('django.db.models.fields.CharField', [], {'default': 'None', 'max_length': '255', 'null': 'True'}),
96 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
97 'layer': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'layer_version_layer'", 'to': u"orm['orm.Layer']"}),
98 'layer_source': ('django.db.models.fields.related.ForeignKey', [], {'default': 'None', 'to': u"orm['orm.LayerSource']", 'null': 'True'}),
99 'local_path': ('django.db.models.fields.FilePathField', [], {'default': "'/'", 'max_length': '1024'}),
100 'priority': ('django.db.models.fields.IntegerField', [], {'default': '0'}),
101 'project': ('django.db.models.fields.related.ForeignKey', [], {'default': 'None', 'to': u"orm['orm.Project']", 'null': 'True'}),
102 'up_branch': ('django.db.models.fields.related.ForeignKey', [], {'default': 'None', 'to': u"orm['orm.Branch']", 'null': 'True'}),
103 'up_date': ('django.db.models.fields.DateTimeField', [], {'default': 'None', 'null': 'True'}),
104 'up_id': ('django.db.models.fields.IntegerField', [], {'default': 'None', 'null': 'True'})
105 },
106 u'orm.layersource': {
107 'Meta': {'unique_together': "(('sourcetype', 'apiurl'),)", 'object_name': 'LayerSource'},
108 'apiurl': ('django.db.models.fields.CharField', [], {'default': 'None', 'max_length': '255', 'null': 'True'}),
109 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
110 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '63'}),
111 'sourcetype': ('django.db.models.fields.IntegerField', [], {})
112 },
113 u'orm.layerversiondependency': {
114 'Meta': {'unique_together': "(('layer_source', 'up_id'),)", 'object_name': 'LayerVersionDependency'},
115 'depends_on': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'dependees'", 'to': u"orm['orm.Layer_Version']"}),
116 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
117 'layer_source': ('django.db.models.fields.related.ForeignKey', [], {'default': 'None', 'to': u"orm['orm.LayerSource']", 'null': 'True'}),
118 'layer_version': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'dependencies'", 'to': u"orm['orm.Layer_Version']"}),
119 'up_id': ('django.db.models.fields.IntegerField', [], {'default': 'None', 'null': 'True'})
120 },
121 u'orm.logmessage': {
122 'Meta': {'object_name': 'LogMessage'},
123 'build': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.Build']"}),
124 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
125 'level': ('django.db.models.fields.IntegerField', [], {'default': '0'}),
126 'lineno': ('django.db.models.fields.IntegerField', [], {'null': 'True'}),
127 'message': ('django.db.models.fields.CharField', [], {'max_length': '240'}),
128 'pathname': ('django.db.models.fields.FilePathField', [], {'max_length': '255', 'blank': 'True'}),
129 'task': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.Task']", 'null': 'True', 'blank': 'True'})
130 },
131 u'orm.machine': {
132 'Meta': {'unique_together': "(('layer_source', 'up_id'),)", 'object_name': 'Machine'},
133 'description': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
134 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
135 'layer_source': ('django.db.models.fields.related.ForeignKey', [], {'default': 'None', 'to': u"orm['orm.LayerSource']", 'null': 'True'}),
136 'layer_version': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.Layer_Version']"}),
137 'name': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
138 'up_date': ('django.db.models.fields.DateTimeField', [], {'default': 'None', 'null': 'True'}),
139 'up_id': ('django.db.models.fields.IntegerField', [], {'default': 'None', 'null': 'True'})
140 },
141 u'orm.package': {
142 'Meta': {'object_name': 'Package'},
143 'build': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.Build']"}),
144 'description': ('django.db.models.fields.TextField', [], {'blank': 'True'}),
145 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
146 'installed_name': ('django.db.models.fields.CharField', [], {'default': "''", 'max_length': '100'}),
147 'installed_size': ('django.db.models.fields.IntegerField', [], {'default': '0'}),
148 'license': ('django.db.models.fields.CharField', [], {'max_length': '80', 'blank': 'True'}),
149 'name': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
150 'recipe': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.Recipe']", 'null': 'True'}),
151 'revision': ('django.db.models.fields.CharField', [], {'max_length': '32', 'blank': 'True'}),
152 'section': ('django.db.models.fields.CharField', [], {'max_length': '80', 'blank': 'True'}),
153 'size': ('django.db.models.fields.IntegerField', [], {'default': '0'}),
154 'summary': ('django.db.models.fields.TextField', [], {'blank': 'True'}),
155 'version': ('django.db.models.fields.CharField', [], {'max_length': '100', 'blank': 'True'})
156 },
157 u'orm.package_dependency': {
158 'Meta': {'object_name': 'Package_Dependency'},
159 'dep_type': ('django.db.models.fields.IntegerField', [], {}),
160 'depends_on': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'package_dependencies_target'", 'to': u"orm['orm.Package']"}),
161 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
162 'package': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'package_dependencies_source'", 'to': u"orm['orm.Package']"}),
163 'target': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.Target']", 'null': 'True'})
164 },
165 u'orm.package_file': {
166 'Meta': {'object_name': 'Package_File'},
167 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
168 'package': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'buildfilelist_package'", 'to': u"orm['orm.Package']"}),
169 'path': ('django.db.models.fields.FilePathField', [], {'max_length': '255', 'blank': 'True'}),
170 'size': ('django.db.models.fields.IntegerField', [], {})
171 },
172 u'orm.project': {
173 'Meta': {'object_name': 'Project'},
174 'bitbake_version': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.BitbakeVersion']", 'null': 'True'}),
175 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}),
176 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
177 'name': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
178 'release': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.Release']", 'null': 'True'}),
179 'short_description': ('django.db.models.fields.CharField', [], {'max_length': '50', 'blank': 'True'}),
180 'updated': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}),
181 'user_id': ('django.db.models.fields.IntegerField', [], {'null': 'True'})
182 },
183 u'orm.projectlayer': {
184 'Meta': {'unique_together': "(('project', 'layercommit'),)", 'object_name': 'ProjectLayer'},
185 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
186 'layercommit': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.Layer_Version']", 'null': 'True'}),
187 'optional': ('django.db.models.fields.BooleanField', [], {'default': 'True'}),
188 'project': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.Project']"})
189 },
190 u'orm.projecttarget': {
191 'Meta': {'object_name': 'ProjectTarget'},
192 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
193 'project': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.Project']"}),
194 'target': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
195 'task': ('django.db.models.fields.CharField', [], {'max_length': '100', 'null': 'True'})
196 },
197 u'orm.projectvariable': {
198 'Meta': {'object_name': 'ProjectVariable'},
199 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
200 'name': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
201 'project': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.Project']"}),
202 'value': ('django.db.models.fields.TextField', [], {'blank': 'True'})
203 },
204 u'orm.recipe': {
205 'Meta': {'unique_together': "(('layer_version', 'file_path', 'pathflags'),)", 'object_name': 'Recipe'},
206 'bugtracker': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}),
207 'description': ('django.db.models.fields.TextField', [], {'blank': 'True'}),
208 'file_path': ('django.db.models.fields.FilePathField', [], {'max_length': '255'}),
209 'homepage': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}),
210 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
211 'layer_source': ('django.db.models.fields.related.ForeignKey', [], {'default': 'None', 'to': u"orm['orm.LayerSource']", 'null': 'True'}),
212 'layer_version': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'recipe_layer_version'", 'to': u"orm['orm.Layer_Version']"}),
213 'license': ('django.db.models.fields.CharField', [], {'max_length': '200', 'blank': 'True'}),
214 'name': ('django.db.models.fields.CharField', [], {'max_length': '100', 'blank': 'True'}),
215 'pathflags': ('django.db.models.fields.CharField', [], {'max_length': '200', 'blank': 'True'}),
216 'section': ('django.db.models.fields.CharField', [], {'max_length': '100', 'blank': 'True'}),
217 'summary': ('django.db.models.fields.TextField', [], {'blank': 'True'}),
218 'up_date': ('django.db.models.fields.DateTimeField', [], {'default': 'None', 'null': 'True'}),
219 'up_id': ('django.db.models.fields.IntegerField', [], {'default': 'None', 'null': 'True'}),
220 'version': ('django.db.models.fields.CharField', [], {'max_length': '100', 'blank': 'True'})
221 },
222 u'orm.recipe_dependency': {
223 'Meta': {'object_name': 'Recipe_Dependency'},
224 'dep_type': ('django.db.models.fields.IntegerField', [], {}),
225 'depends_on': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'r_dependencies_depends'", 'to': u"orm['orm.Recipe']"}),
226 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
227 'recipe': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'r_dependencies_recipe'", 'to': u"orm['orm.Recipe']"})
228 },
229 u'orm.release': {
230 'Meta': {'object_name': 'Release'},
231 'bitbake_version': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.BitbakeVersion']"}),
232 'branch_name': ('django.db.models.fields.CharField', [], {'default': "''", 'max_length': '50'}),
233 'description': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
234 'helptext': ('django.db.models.fields.TextField', [], {'null': 'True'}),
235 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
236 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '32'})
237 },
238 u'orm.releasedefaultlayer': {
239 'Meta': {'object_name': 'ReleaseDefaultLayer'},
240 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
241 'layer_name': ('django.db.models.fields.CharField', [], {'default': "''", 'max_length': '100'}),
242 'release': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.Release']"})
243 },
244 u'orm.releaselayersourcepriority': {
245 'Meta': {'unique_together': "(('release', 'layer_source'),)", 'object_name': 'ReleaseLayerSourcePriority'},
246 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
247 'layer_source': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.LayerSource']"}),
248 'priority': ('django.db.models.fields.IntegerField', [], {'default': '0'}),
249 'release': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.Release']"})
250 },
251 u'orm.target': {
252 'Meta': {'object_name': 'Target'},
253 'build': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.Build']"}),
254 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
255 'image_size': ('django.db.models.fields.IntegerField', [], {'default': '0'}),
256 'is_image': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
257 'license_manifest_path': ('django.db.models.fields.CharField', [], {'max_length': '500', 'null': 'True'}),
258 'target': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
259 'task': ('django.db.models.fields.CharField', [], {'max_length': '100', 'null': 'True'})
260 },
261 u'orm.target_file': {
262 'Meta': {'object_name': 'Target_File'},
263 'directory': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'directory_set'", 'null': 'True', 'to': u"orm['orm.Target_File']"}),
264 'group': ('django.db.models.fields.CharField', [], {'max_length': '128'}),
265 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
266 'inodetype': ('django.db.models.fields.IntegerField', [], {}),
267 'owner': ('django.db.models.fields.CharField', [], {'max_length': '128'}),
268 'path': ('django.db.models.fields.FilePathField', [], {'max_length': '100'}),
269 'permission': ('django.db.models.fields.CharField', [], {'max_length': '16'}),
270 'size': ('django.db.models.fields.IntegerField', [], {}),
271 'sym_target': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'symlink_set'", 'null': 'True', 'to': u"orm['orm.Target_File']"}),
272 'target': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.Target']"})
273 },
274 u'orm.target_image_file': {
275 'Meta': {'object_name': 'Target_Image_File'},
276 'file_name': ('django.db.models.fields.FilePathField', [], {'max_length': '254'}),
277 'file_size': ('django.db.models.fields.IntegerField', [], {}),
278 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
279 'target': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.Target']"})
280 },
281 u'orm.target_installed_package': {
282 'Meta': {'object_name': 'Target_Installed_Package'},
283 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
284 'package': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'buildtargetlist_package'", 'to': u"orm['orm.Package']"}),
285 'target': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.Target']"})
286 },
287 u'orm.task': {
288 'Meta': {'ordering': "('order', 'recipe')", 'unique_together': "(('build', 'recipe', 'task_name'),)", 'object_name': 'Task'},
289 'build': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'task_build'", 'to': u"orm['orm.Build']"}),
290 'cpu_usage': ('django.db.models.fields.DecimalField', [], {'null': 'True', 'max_digits': '8', 'decimal_places': '2'}),
291 'disk_io': ('django.db.models.fields.IntegerField', [], {'null': 'True'}),
292 'elapsed_time': ('django.db.models.fields.DecimalField', [], {'null': 'True', 'max_digits': '8', 'decimal_places': '2'}),
293 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
294 'line_number': ('django.db.models.fields.IntegerField', [], {'default': '0'}),
295 'logfile': ('django.db.models.fields.FilePathField', [], {'max_length': '255', 'blank': 'True'}),
296 'message': ('django.db.models.fields.CharField', [], {'max_length': '240'}),
297 'order': ('django.db.models.fields.IntegerField', [], {'null': 'True'}),
298 'outcome': ('django.db.models.fields.IntegerField', [], {'default': '-1'}),
299 'path_to_sstate_obj': ('django.db.models.fields.FilePathField', [], {'max_length': '500', 'blank': 'True'}),
300 'recipe': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'tasks'", 'to': u"orm['orm.Recipe']"}),
301 'script_type': ('django.db.models.fields.IntegerField', [], {'default': '0'}),
302 'source_url': ('django.db.models.fields.FilePathField', [], {'max_length': '255', 'blank': 'True'}),
303 'sstate_checksum': ('django.db.models.fields.CharField', [], {'max_length': '100', 'blank': 'True'}),
304 'sstate_result': ('django.db.models.fields.IntegerField', [], {'default': '0'}),
305 'task_executed': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
306 'task_name': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
307 'work_directory': ('django.db.models.fields.FilePathField', [], {'max_length': '255', 'blank': 'True'})
308 },
309 u'orm.task_dependency': {
310 'Meta': {'object_name': 'Task_Dependency'},
311 'depends_on': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'task_dependencies_depends'", 'to': u"orm['orm.Task']"}),
312 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
313 'task': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'task_dependencies_task'", 'to': u"orm['orm.Task']"})
314 },
315 u'orm.toastersetting': {
316 'Meta': {'object_name': 'ToasterSetting'},
317 'helptext': ('django.db.models.fields.TextField', [], {}),
318 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
319 'name': ('django.db.models.fields.CharField', [], {'max_length': '63'}),
320 'value': ('django.db.models.fields.CharField', [], {'max_length': '255'})
321 },
322 u'orm.variable': {
323 'Meta': {'object_name': 'Variable'},
324 'build': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'variable_build'", 'to': u"orm['orm.Build']"}),
325 'changed': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
326 'description': ('django.db.models.fields.TextField', [], {'blank': 'True'}),
327 'human_readable_name': ('django.db.models.fields.CharField', [], {'max_length': '200'}),
328 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
329 'variable_name': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
330 'variable_value': ('django.db.models.fields.TextField', [], {'blank': 'True'})
331 },
332 u'orm.variablehistory': {
333 'Meta': {'object_name': 'VariableHistory'},
334 'file_name': ('django.db.models.fields.FilePathField', [], {'max_length': '255'}),
335 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
336 'line_number': ('django.db.models.fields.IntegerField', [], {'null': 'True'}),
337 'operation': ('django.db.models.fields.CharField', [], {'max_length': '64'}),
338 'value': ('django.db.models.fields.TextField', [], {'blank': 'True'}),
339 'variable': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'vhistory'", 'to': u"orm['orm.Variable']"})
340 }
341 }
342
343 complete_apps = ['orm']
diff --git a/bitbake/lib/toaster/orm/migrations/0023_auto__del_field_build_warnings_no__del_field_build_errors_no__del_fiel.py b/bitbake/lib/toaster/orm/migrations/0023_auto__del_field_build_warnings_no__del_field_build_errors_no__del_fiel.py
deleted file mode 100644
index b5b200cdd8..0000000000
--- a/bitbake/lib/toaster/orm/migrations/0023_auto__del_field_build_warnings_no__del_field_build_errors_no__del_fiel.py
+++ /dev/null
@@ -1,353 +0,0 @@
1# -*- coding: utf-8 -*-
2from south.utils import datetime_utils as datetime
3from south.db import db
4from south.v2 import SchemaMigration
5from django.db import models
6
7
8class Migration(SchemaMigration):
9
10 def forwards(self, orm):
11 # Deleting field 'Build.warnings_no'
12 db.delete_column(u'orm_build', 'warnings_no')
13
14 # Deleting field 'Build.errors_no'
15 db.delete_column(u'orm_build', 'errors_no')
16
17 # Deleting field 'Build.timespent'
18 db.delete_column(u'orm_build', 'timespent')
19
20
21 def backwards(self, orm):
22 # Adding field 'Build.warnings_no'
23 db.add_column(u'orm_build', 'warnings_no',
24 self.gf('django.db.models.fields.IntegerField')(default=0),
25 keep_default=False)
26
27 # Adding field 'Build.errors_no'
28 db.add_column(u'orm_build', 'errors_no',
29 self.gf('django.db.models.fields.IntegerField')(default=0),
30 keep_default=False)
31
32 # Adding field 'Build.timespent'
33 db.add_column(u'orm_build', 'timespent',
34 self.gf('django.db.models.fields.IntegerField')(default=0),
35 keep_default=False)
36
37
38 models = {
39 u'orm.bitbakeversion': {
40 'Meta': {'object_name': 'BitbakeVersion'},
41 'branch': ('django.db.models.fields.CharField', [], {'max_length': '32'}),
42 'dirpath': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
43 'giturl': ('django.db.models.fields.URLField', [], {'max_length': '200'}),
44 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
45 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '32'})
46 },
47 u'orm.branch': {
48 'Meta': {'unique_together': "(('layer_source', 'name'), ('layer_source', 'up_id'))", 'object_name': 'Branch'},
49 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
50 'layer_source': ('django.db.models.fields.related.ForeignKey', [], {'default': 'True', 'to': u"orm['orm.LayerSource']", 'null': 'True'}),
51 'name': ('django.db.models.fields.CharField', [], {'max_length': '50'}),
52 'short_description': ('django.db.models.fields.CharField', [], {'max_length': '50', 'blank': 'True'}),
53 'up_date': ('django.db.models.fields.DateTimeField', [], {'default': 'None', 'null': 'True'}),
54 'up_id': ('django.db.models.fields.IntegerField', [], {'default': 'None', 'null': 'True'})
55 },
56 u'orm.build': {
57 'Meta': {'object_name': 'Build'},
58 'bitbake_version': ('django.db.models.fields.CharField', [], {'max_length': '50'}),
59 'build_name': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
60 'completed_on': ('django.db.models.fields.DateTimeField', [], {}),
61 'cooker_log_path': ('django.db.models.fields.CharField', [], {'max_length': '500'}),
62 'distro': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
63 'distro_version': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
64 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
65 'machine': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
66 'outcome': ('django.db.models.fields.IntegerField', [], {'default': '2'}),
67 'project': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.Project']"}),
68 'started_on': ('django.db.models.fields.DateTimeField', [], {})
69 },
70 u'orm.buildartifact': {
71 'Meta': {'object_name': 'BuildArtifact'},
72 'build': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.Build']"}),
73 'file_name': ('django.db.models.fields.FilePathField', [], {'max_length': '100'}),
74 'file_size': ('django.db.models.fields.IntegerField', [], {}),
75 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'})
76 },
77 u'orm.helptext': {
78 'Meta': {'object_name': 'HelpText'},
79 'area': ('django.db.models.fields.IntegerField', [], {}),
80 'build': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'helptext_build'", 'to': u"orm['orm.Build']"}),
81 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
82 'key': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
83 'text': ('django.db.models.fields.TextField', [], {})
84 },
85 u'orm.layer': {
86 'Meta': {'unique_together': "(('layer_source', 'up_id'), ('layer_source', 'name'))", 'object_name': 'Layer'},
87 'description': ('django.db.models.fields.TextField', [], {'default': 'None', 'null': 'True'}),
88 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
89 'layer_index_url': ('django.db.models.fields.URLField', [], {'max_length': '200'}),
90 'layer_source': ('django.db.models.fields.related.ForeignKey', [], {'default': 'None', 'to': u"orm['orm.LayerSource']", 'null': 'True'}),
91 'name': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
92 'summary': ('django.db.models.fields.TextField', [], {'default': 'None', 'null': 'True'}),
93 'up_date': ('django.db.models.fields.DateTimeField', [], {'default': 'None', 'null': 'True'}),
94 'up_id': ('django.db.models.fields.IntegerField', [], {'default': 'None', 'null': 'True'}),
95 'vcs_url': ('django.db.models.fields.URLField', [], {'default': 'None', 'max_length': '200', 'null': 'True'}),
96 'vcs_web_file_base_url': ('django.db.models.fields.URLField', [], {'default': 'None', 'max_length': '200', 'null': 'True'}),
97 'vcs_web_tree_base_url': ('django.db.models.fields.URLField', [], {'default': 'None', 'max_length': '200', 'null': 'True'}),
98 'vcs_web_url': ('django.db.models.fields.URLField', [], {'default': 'None', 'max_length': '200', 'null': 'True'})
99 },
100 u'orm.layer_version': {
101 'Meta': {'unique_together': "(('layer_source', 'up_id'),)", 'object_name': 'Layer_Version'},
102 'branch': ('django.db.models.fields.CharField', [], {'max_length': '80'}),
103 'build': ('django.db.models.fields.related.ForeignKey', [], {'default': 'None', 'related_name': "'layer_version_build'", 'null': 'True', 'to': u"orm['orm.Build']"}),
104 'commit': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
105 'dirpath': ('django.db.models.fields.CharField', [], {'default': 'None', 'max_length': '255', 'null': 'True'}),
106 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
107 'layer': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'layer_version_layer'", 'to': u"orm['orm.Layer']"}),
108 'layer_source': ('django.db.models.fields.related.ForeignKey', [], {'default': 'None', 'to': u"orm['orm.LayerSource']", 'null': 'True'}),
109 'local_path': ('django.db.models.fields.FilePathField', [], {'default': "'/'", 'max_length': '1024'}),
110 'priority': ('django.db.models.fields.IntegerField', [], {'default': '0'}),
111 'project': ('django.db.models.fields.related.ForeignKey', [], {'default': 'None', 'to': u"orm['orm.Project']", 'null': 'True'}),
112 'up_branch': ('django.db.models.fields.related.ForeignKey', [], {'default': 'None', 'to': u"orm['orm.Branch']", 'null': 'True'}),
113 'up_date': ('django.db.models.fields.DateTimeField', [], {'default': 'None', 'null': 'True'}),
114 'up_id': ('django.db.models.fields.IntegerField', [], {'default': 'None', 'null': 'True'})
115 },
116 u'orm.layersource': {
117 'Meta': {'unique_together': "(('sourcetype', 'apiurl'),)", 'object_name': 'LayerSource'},
118 'apiurl': ('django.db.models.fields.CharField', [], {'default': 'None', 'max_length': '255', 'null': 'True'}),
119 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
120 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '63'}),
121 'sourcetype': ('django.db.models.fields.IntegerField', [], {})
122 },
123 u'orm.layerversiondependency': {
124 'Meta': {'unique_together': "(('layer_source', 'up_id'),)", 'object_name': 'LayerVersionDependency'},
125 'depends_on': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'dependees'", 'to': u"orm['orm.Layer_Version']"}),
126 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
127 'layer_source': ('django.db.models.fields.related.ForeignKey', [], {'default': 'None', 'to': u"orm['orm.LayerSource']", 'null': 'True'}),
128 'layer_version': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'dependencies'", 'to': u"orm['orm.Layer_Version']"}),
129 'up_id': ('django.db.models.fields.IntegerField', [], {'default': 'None', 'null': 'True'})
130 },
131 u'orm.logmessage': {
132 'Meta': {'object_name': 'LogMessage'},
133 'build': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.Build']"}),
134 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
135 'level': ('django.db.models.fields.IntegerField', [], {'default': '0'}),
136 'lineno': ('django.db.models.fields.IntegerField', [], {'null': 'True'}),
137 'message': ('django.db.models.fields.CharField', [], {'max_length': '240'}),
138 'pathname': ('django.db.models.fields.FilePathField', [], {'max_length': '255', 'blank': 'True'}),
139 'task': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.Task']", 'null': 'True', 'blank': 'True'})
140 },
141 u'orm.machine': {
142 'Meta': {'unique_together': "(('layer_source', 'up_id'),)", 'object_name': 'Machine'},
143 'description': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
144 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
145 'layer_source': ('django.db.models.fields.related.ForeignKey', [], {'default': 'None', 'to': u"orm['orm.LayerSource']", 'null': 'True'}),
146 'layer_version': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.Layer_Version']"}),
147 'name': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
148 'up_date': ('django.db.models.fields.DateTimeField', [], {'default': 'None', 'null': 'True'}),
149 'up_id': ('django.db.models.fields.IntegerField', [], {'default': 'None', 'null': 'True'})
150 },
151 u'orm.package': {
152 'Meta': {'object_name': 'Package'},
153 'build': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.Build']"}),
154 'description': ('django.db.models.fields.TextField', [], {'blank': 'True'}),
155 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
156 'installed_name': ('django.db.models.fields.CharField', [], {'default': "''", 'max_length': '100'}),
157 'installed_size': ('django.db.models.fields.IntegerField', [], {'default': '0'}),
158 'license': ('django.db.models.fields.CharField', [], {'max_length': '80', 'blank': 'True'}),
159 'name': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
160 'recipe': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.Recipe']", 'null': 'True'}),
161 'revision': ('django.db.models.fields.CharField', [], {'max_length': '32', 'blank': 'True'}),
162 'section': ('django.db.models.fields.CharField', [], {'max_length': '80', 'blank': 'True'}),
163 'size': ('django.db.models.fields.IntegerField', [], {'default': '0'}),
164 'summary': ('django.db.models.fields.TextField', [], {'blank': 'True'}),
165 'version': ('django.db.models.fields.CharField', [], {'max_length': '100', 'blank': 'True'})
166 },
167 u'orm.package_dependency': {
168 'Meta': {'object_name': 'Package_Dependency'},
169 'dep_type': ('django.db.models.fields.IntegerField', [], {}),
170 'depends_on': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'package_dependencies_target'", 'to': u"orm['orm.Package']"}),
171 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
172 'package': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'package_dependencies_source'", 'to': u"orm['orm.Package']"}),
173 'target': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.Target']", 'null': 'True'})
174 },
175 u'orm.package_file': {
176 'Meta': {'object_name': 'Package_File'},
177 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
178 'package': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'buildfilelist_package'", 'to': u"orm['orm.Package']"}),
179 'path': ('django.db.models.fields.FilePathField', [], {'max_length': '255', 'blank': 'True'}),
180 'size': ('django.db.models.fields.IntegerField', [], {})
181 },
182 u'orm.project': {
183 'Meta': {'object_name': 'Project'},
184 'bitbake_version': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.BitbakeVersion']", 'null': 'True'}),
185 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}),
186 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
187 'name': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
188 'release': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.Release']", 'null': 'True'}),
189 'short_description': ('django.db.models.fields.CharField', [], {'max_length': '50', 'blank': 'True'}),
190 'updated': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}),
191 'user_id': ('django.db.models.fields.IntegerField', [], {'null': 'True'})
192 },
193 u'orm.projectlayer': {
194 'Meta': {'unique_together': "(('project', 'layercommit'),)", 'object_name': 'ProjectLayer'},
195 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
196 'layercommit': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.Layer_Version']", 'null': 'True'}),
197 'optional': ('django.db.models.fields.BooleanField', [], {'default': 'True'}),
198 'project': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.Project']"})
199 },
200 u'orm.projecttarget': {
201 'Meta': {'object_name': 'ProjectTarget'},
202 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
203 'project': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.Project']"}),
204 'target': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
205 'task': ('django.db.models.fields.CharField', [], {'max_length': '100', 'null': 'True'})
206 },
207 u'orm.projectvariable': {
208 'Meta': {'object_name': 'ProjectVariable'},
209 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
210 'name': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
211 'project': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.Project']"}),
212 'value': ('django.db.models.fields.TextField', [], {'blank': 'True'})
213 },
214 u'orm.recipe': {
215 'Meta': {'unique_together': "(('layer_version', 'file_path', 'pathflags'),)", 'object_name': 'Recipe'},
216 'bugtracker': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}),
217 'description': ('django.db.models.fields.TextField', [], {'blank': 'True'}),
218 'file_path': ('django.db.models.fields.FilePathField', [], {'max_length': '255'}),
219 'homepage': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}),
220 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
221 'layer_source': ('django.db.models.fields.related.ForeignKey', [], {'default': 'None', 'to': u"orm['orm.LayerSource']", 'null': 'True'}),
222 'layer_version': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'recipe_layer_version'", 'to': u"orm['orm.Layer_Version']"}),
223 'license': ('django.db.models.fields.CharField', [], {'max_length': '200', 'blank': 'True'}),
224 'name': ('django.db.models.fields.CharField', [], {'max_length': '100', 'blank': 'True'}),
225 'pathflags': ('django.db.models.fields.CharField', [], {'max_length': '200', 'blank': 'True'}),
226 'section': ('django.db.models.fields.CharField', [], {'max_length': '100', 'blank': 'True'}),
227 'summary': ('django.db.models.fields.TextField', [], {'blank': 'True'}),
228 'up_date': ('django.db.models.fields.DateTimeField', [], {'default': 'None', 'null': 'True'}),
229 'up_id': ('django.db.models.fields.IntegerField', [], {'default': 'None', 'null': 'True'}),
230 'version': ('django.db.models.fields.CharField', [], {'max_length': '100', 'blank': 'True'})
231 },
232 u'orm.recipe_dependency': {
233 'Meta': {'object_name': 'Recipe_Dependency'},
234 'dep_type': ('django.db.models.fields.IntegerField', [], {}),
235 'depends_on': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'r_dependencies_depends'", 'to': u"orm['orm.Recipe']"}),
236 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
237 'recipe': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'r_dependencies_recipe'", 'to': u"orm['orm.Recipe']"})
238 },
239 u'orm.release': {
240 'Meta': {'object_name': 'Release'},
241 'bitbake_version': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.BitbakeVersion']"}),
242 'branch_name': ('django.db.models.fields.CharField', [], {'default': "''", 'max_length': '50'}),
243 'description': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
244 'helptext': ('django.db.models.fields.TextField', [], {'null': 'True'}),
245 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
246 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '32'})
247 },
248 u'orm.releasedefaultlayer': {
249 'Meta': {'object_name': 'ReleaseDefaultLayer'},
250 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
251 'layer_name': ('django.db.models.fields.CharField', [], {'default': "''", 'max_length': '100'}),
252 'release': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.Release']"})
253 },
254 u'orm.releaselayersourcepriority': {
255 'Meta': {'unique_together': "(('release', 'layer_source'),)", 'object_name': 'ReleaseLayerSourcePriority'},
256 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
257 'layer_source': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.LayerSource']"}),
258 'priority': ('django.db.models.fields.IntegerField', [], {'default': '0'}),
259 'release': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.Release']"})
260 },
261 u'orm.target': {
262 'Meta': {'object_name': 'Target'},
263 'build': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.Build']"}),
264 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
265 'image_size': ('django.db.models.fields.IntegerField', [], {'default': '0'}),
266 'is_image': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
267 'license_manifest_path': ('django.db.models.fields.CharField', [], {'max_length': '500', 'null': 'True'}),
268 'target': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
269 'task': ('django.db.models.fields.CharField', [], {'max_length': '100', 'null': 'True'})
270 },
271 u'orm.target_file': {
272 'Meta': {'object_name': 'Target_File'},
273 'directory': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'directory_set'", 'null': 'True', 'to': u"orm['orm.Target_File']"}),
274 'group': ('django.db.models.fields.CharField', [], {'max_length': '128'}),
275 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
276 'inodetype': ('django.db.models.fields.IntegerField', [], {}),
277 'owner': ('django.db.models.fields.CharField', [], {'max_length': '128'}),
278 'path': ('django.db.models.fields.FilePathField', [], {'max_length': '100'}),
279 'permission': ('django.db.models.fields.CharField', [], {'max_length': '16'}),
280 'size': ('django.db.models.fields.IntegerField', [], {}),
281 'sym_target': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'symlink_set'", 'null': 'True', 'to': u"orm['orm.Target_File']"}),
282 'target': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.Target']"})
283 },
284 u'orm.target_image_file': {
285 'Meta': {'object_name': 'Target_Image_File'},
286 'file_name': ('django.db.models.fields.FilePathField', [], {'max_length': '254'}),
287 'file_size': ('django.db.models.fields.IntegerField', [], {}),
288 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
289 'target': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.Target']"})
290 },
291 u'orm.target_installed_package': {
292 'Meta': {'object_name': 'Target_Installed_Package'},
293 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
294 'package': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'buildtargetlist_package'", 'to': u"orm['orm.Package']"}),
295 'target': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.Target']"})
296 },
297 u'orm.task': {
298 'Meta': {'ordering': "('order', 'recipe')", 'unique_together': "(('build', 'recipe', 'task_name'),)", 'object_name': 'Task'},
299 'build': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'task_build'", 'to': u"orm['orm.Build']"}),
300 'cpu_usage': ('django.db.models.fields.DecimalField', [], {'null': 'True', 'max_digits': '8', 'decimal_places': '2'}),
301 'disk_io': ('django.db.models.fields.IntegerField', [], {'null': 'True'}),
302 'elapsed_time': ('django.db.models.fields.DecimalField', [], {'null': 'True', 'max_digits': '8', 'decimal_places': '2'}),
303 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
304 'line_number': ('django.db.models.fields.IntegerField', [], {'default': '0'}),
305 'logfile': ('django.db.models.fields.FilePathField', [], {'max_length': '255', 'blank': 'True'}),
306 'message': ('django.db.models.fields.CharField', [], {'max_length': '240'}),
307 'order': ('django.db.models.fields.IntegerField', [], {'null': 'True'}),
308 'outcome': ('django.db.models.fields.IntegerField', [], {'default': '-1'}),
309 'path_to_sstate_obj': ('django.db.models.fields.FilePathField', [], {'max_length': '500', 'blank': 'True'}),
310 'recipe': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'tasks'", 'to': u"orm['orm.Recipe']"}),
311 'script_type': ('django.db.models.fields.IntegerField', [], {'default': '0'}),
312 'source_url': ('django.db.models.fields.FilePathField', [], {'max_length': '255', 'blank': 'True'}),
313 'sstate_checksum': ('django.db.models.fields.CharField', [], {'max_length': '100', 'blank': 'True'}),
314 'sstate_result': ('django.db.models.fields.IntegerField', [], {'default': '0'}),
315 'task_executed': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
316 'task_name': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
317 'work_directory': ('django.db.models.fields.FilePathField', [], {'max_length': '255', 'blank': 'True'})
318 },
319 u'orm.task_dependency': {
320 'Meta': {'object_name': 'Task_Dependency'},
321 'depends_on': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'task_dependencies_depends'", 'to': u"orm['orm.Task']"}),
322 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
323 'task': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'task_dependencies_task'", 'to': u"orm['orm.Task']"})
324 },
325 u'orm.toastersetting': {
326 'Meta': {'object_name': 'ToasterSetting'},
327 'helptext': ('django.db.models.fields.TextField', [], {}),
328 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
329 'name': ('django.db.models.fields.CharField', [], {'max_length': '63'}),
330 'value': ('django.db.models.fields.CharField', [], {'max_length': '255'})
331 },
332 u'orm.variable': {
333 'Meta': {'object_name': 'Variable'},
334 'build': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'variable_build'", 'to': u"orm['orm.Build']"}),
335 'changed': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
336 'description': ('django.db.models.fields.TextField', [], {'blank': 'True'}),
337 'human_readable_name': ('django.db.models.fields.CharField', [], {'max_length': '200'}),
338 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
339 'variable_name': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
340 'variable_value': ('django.db.models.fields.TextField', [], {'blank': 'True'})
341 },
342 u'orm.variablehistory': {
343 'Meta': {'object_name': 'VariableHistory'},
344 'file_name': ('django.db.models.fields.FilePathField', [], {'max_length': '255'}),
345 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
346 'line_number': ('django.db.models.fields.IntegerField', [], {'null': 'True'}),
347 'operation': ('django.db.models.fields.CharField', [], {'max_length': '64'}),
348 'value': ('django.db.models.fields.TextField', [], {'blank': 'True'}),
349 'variable': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'vhistory'", 'to': u"orm['orm.Variable']"})
350 }
351 }
352
353 complete_apps = ['orm'] \ No newline at end of file
diff --git a/bitbake/lib/toaster/orm/migrations/0024_auto__add_field_recipe_is_image.py b/bitbake/lib/toaster/orm/migrations/0024_auto__add_field_recipe_is_image.py
deleted file mode 100644
index 88f60a946e..0000000000
--- a/bitbake/lib/toaster/orm/migrations/0024_auto__add_field_recipe_is_image.py
+++ /dev/null
@@ -1,338 +0,0 @@
1# -*- coding: utf-8 -*-
2from south.utils import datetime_utils as datetime
3from south.db import db
4from south.v2 import SchemaMigration
5from django.db import models
6
7
8class Migration(SchemaMigration):
9
10 def forwards(self, orm):
11 # Adding field 'Recipe.is_image'
12 db.add_column(u'orm_recipe', 'is_image',
13 self.gf('django.db.models.fields.BooleanField')(default=False),
14 keep_default=False)
15
16
17 def backwards(self, orm):
18 # Deleting field 'Recipe.is_image'
19 db.delete_column(u'orm_recipe', 'is_image')
20
21
22 models = {
23 u'orm.bitbakeversion': {
24 'Meta': {'object_name': 'BitbakeVersion'},
25 'branch': ('django.db.models.fields.CharField', [], {'max_length': '32'}),
26 'dirpath': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
27 'giturl': ('django.db.models.fields.URLField', [], {'max_length': '200'}),
28 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
29 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '32'})
30 },
31 u'orm.branch': {
32 'Meta': {'unique_together': "(('layer_source', 'name'), ('layer_source', 'up_id'))", 'object_name': 'Branch'},
33 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
34 'layer_source': ('django.db.models.fields.related.ForeignKey', [], {'default': 'True', 'to': u"orm['orm.LayerSource']", 'null': 'True'}),
35 'name': ('django.db.models.fields.CharField', [], {'max_length': '50'}),
36 'short_description': ('django.db.models.fields.CharField', [], {'max_length': '50', 'blank': 'True'}),
37 'up_date': ('django.db.models.fields.DateTimeField', [], {'default': 'None', 'null': 'True'}),
38 'up_id': ('django.db.models.fields.IntegerField', [], {'default': 'None', 'null': 'True'})
39 },
40 u'orm.build': {
41 'Meta': {'object_name': 'Build'},
42 'bitbake_version': ('django.db.models.fields.CharField', [], {'max_length': '50'}),
43 'build_name': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
44 'completed_on': ('django.db.models.fields.DateTimeField', [], {}),
45 'cooker_log_path': ('django.db.models.fields.CharField', [], {'max_length': '500'}),
46 'distro': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
47 'distro_version': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
48 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
49 'machine': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
50 'outcome': ('django.db.models.fields.IntegerField', [], {'default': '2'}),
51 'project': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.Project']"}),
52 'started_on': ('django.db.models.fields.DateTimeField', [], {})
53 },
54 u'orm.buildartifact': {
55 'Meta': {'object_name': 'BuildArtifact'},
56 'build': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.Build']"}),
57 'file_name': ('django.db.models.fields.FilePathField', [], {'max_length': '100'}),
58 'file_size': ('django.db.models.fields.IntegerField', [], {}),
59 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'})
60 },
61 u'orm.helptext': {
62 'Meta': {'object_name': 'HelpText'},
63 'area': ('django.db.models.fields.IntegerField', [], {}),
64 'build': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'helptext_build'", 'to': u"orm['orm.Build']"}),
65 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
66 'key': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
67 'text': ('django.db.models.fields.TextField', [], {})
68 },
69 u'orm.layer': {
70 'Meta': {'unique_together': "(('layer_source', 'up_id'), ('layer_source', 'name'))", 'object_name': 'Layer'},
71 'description': ('django.db.models.fields.TextField', [], {'default': 'None', 'null': 'True'}),
72 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
73 'layer_index_url': ('django.db.models.fields.URLField', [], {'max_length': '200'}),
74 'layer_source': ('django.db.models.fields.related.ForeignKey', [], {'default': 'None', 'to': u"orm['orm.LayerSource']", 'null': 'True'}),
75 'name': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
76 'summary': ('django.db.models.fields.TextField', [], {'default': 'None', 'null': 'True'}),
77 'up_date': ('django.db.models.fields.DateTimeField', [], {'default': 'None', 'null': 'True'}),
78 'up_id': ('django.db.models.fields.IntegerField', [], {'default': 'None', 'null': 'True'}),
79 'vcs_url': ('django.db.models.fields.URLField', [], {'default': 'None', 'max_length': '200', 'null': 'True'}),
80 'vcs_web_file_base_url': ('django.db.models.fields.URLField', [], {'default': 'None', 'max_length': '200', 'null': 'True'}),
81 'vcs_web_tree_base_url': ('django.db.models.fields.URLField', [], {'default': 'None', 'max_length': '200', 'null': 'True'}),
82 'vcs_web_url': ('django.db.models.fields.URLField', [], {'default': 'None', 'max_length': '200', 'null': 'True'})
83 },
84 u'orm.layer_version': {
85 'Meta': {'unique_together': "(('layer_source', 'up_id'),)", 'object_name': 'Layer_Version'},
86 'branch': ('django.db.models.fields.CharField', [], {'max_length': '80'}),
87 'build': ('django.db.models.fields.related.ForeignKey', [], {'default': 'None', 'related_name': "'layer_version_build'", 'null': 'True', 'to': u"orm['orm.Build']"}),
88 'commit': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
89 'dirpath': ('django.db.models.fields.CharField', [], {'default': 'None', 'max_length': '255', 'null': 'True'}),
90 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
91 'layer': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'layer_version_layer'", 'to': u"orm['orm.Layer']"}),
92 'layer_source': ('django.db.models.fields.related.ForeignKey', [], {'default': 'None', 'to': u"orm['orm.LayerSource']", 'null': 'True'}),
93 'local_path': ('django.db.models.fields.FilePathField', [], {'default': "'/'", 'max_length': '1024'}),
94 'priority': ('django.db.models.fields.IntegerField', [], {'default': '0'}),
95 'project': ('django.db.models.fields.related.ForeignKey', [], {'default': 'None', 'to': u"orm['orm.Project']", 'null': 'True'}),
96 'up_branch': ('django.db.models.fields.related.ForeignKey', [], {'default': 'None', 'to': u"orm['orm.Branch']", 'null': 'True'}),
97 'up_date': ('django.db.models.fields.DateTimeField', [], {'default': 'None', 'null': 'True'}),
98 'up_id': ('django.db.models.fields.IntegerField', [], {'default': 'None', 'null': 'True'})
99 },
100 u'orm.layersource': {
101 'Meta': {'unique_together': "(('sourcetype', 'apiurl'),)", 'object_name': 'LayerSource'},
102 'apiurl': ('django.db.models.fields.CharField', [], {'default': 'None', 'max_length': '255', 'null': 'True'}),
103 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
104 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '63'}),
105 'sourcetype': ('django.db.models.fields.IntegerField', [], {})
106 },
107 u'orm.layerversiondependency': {
108 'Meta': {'unique_together': "(('layer_source', 'up_id'),)", 'object_name': 'LayerVersionDependency'},
109 'depends_on': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'dependees'", 'to': u"orm['orm.Layer_Version']"}),
110 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
111 'layer_source': ('django.db.models.fields.related.ForeignKey', [], {'default': 'None', 'to': u"orm['orm.LayerSource']", 'null': 'True'}),
112 'layer_version': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'dependencies'", 'to': u"orm['orm.Layer_Version']"}),
113 'up_id': ('django.db.models.fields.IntegerField', [], {'default': 'None', 'null': 'True'})
114 },
115 u'orm.logmessage': {
116 'Meta': {'object_name': 'LogMessage'},
117 'build': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.Build']"}),
118 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
119 'level': ('django.db.models.fields.IntegerField', [], {'default': '0'}),
120 'lineno': ('django.db.models.fields.IntegerField', [], {'null': 'True'}),
121 'message': ('django.db.models.fields.CharField', [], {'max_length': '240'}),
122 'pathname': ('django.db.models.fields.FilePathField', [], {'max_length': '255', 'blank': 'True'}),
123 'task': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.Task']", 'null': 'True', 'blank': 'True'})
124 },
125 u'orm.machine': {
126 'Meta': {'unique_together': "(('layer_source', 'up_id'),)", 'object_name': 'Machine'},
127 'description': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
128 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
129 'layer_source': ('django.db.models.fields.related.ForeignKey', [], {'default': 'None', 'to': u"orm['orm.LayerSource']", 'null': 'True'}),
130 'layer_version': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.Layer_Version']"}),
131 'name': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
132 'up_date': ('django.db.models.fields.DateTimeField', [], {'default': 'None', 'null': 'True'}),
133 'up_id': ('django.db.models.fields.IntegerField', [], {'default': 'None', 'null': 'True'})
134 },
135 u'orm.package': {
136 'Meta': {'object_name': 'Package'},
137 'build': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.Build']"}),
138 'description': ('django.db.models.fields.TextField', [], {'blank': 'True'}),
139 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
140 'installed_name': ('django.db.models.fields.CharField', [], {'default': "''", 'max_length': '100'}),
141 'installed_size': ('django.db.models.fields.IntegerField', [], {'default': '0'}),
142 'license': ('django.db.models.fields.CharField', [], {'max_length': '80', 'blank': 'True'}),
143 'name': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
144 'recipe': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.Recipe']", 'null': 'True'}),
145 'revision': ('django.db.models.fields.CharField', [], {'max_length': '32', 'blank': 'True'}),
146 'section': ('django.db.models.fields.CharField', [], {'max_length': '80', 'blank': 'True'}),
147 'size': ('django.db.models.fields.IntegerField', [], {'default': '0'}),
148 'summary': ('django.db.models.fields.TextField', [], {'blank': 'True'}),
149 'version': ('django.db.models.fields.CharField', [], {'max_length': '100', 'blank': 'True'})
150 },
151 u'orm.package_dependency': {
152 'Meta': {'object_name': 'Package_Dependency'},
153 'dep_type': ('django.db.models.fields.IntegerField', [], {}),
154 'depends_on': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'package_dependencies_target'", 'to': u"orm['orm.Package']"}),
155 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
156 'package': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'package_dependencies_source'", 'to': u"orm['orm.Package']"}),
157 'target': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.Target']", 'null': 'True'})
158 },
159 u'orm.package_file': {
160 'Meta': {'object_name': 'Package_File'},
161 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
162 'package': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'buildfilelist_package'", 'to': u"orm['orm.Package']"}),
163 'path': ('django.db.models.fields.FilePathField', [], {'max_length': '255', 'blank': 'True'}),
164 'size': ('django.db.models.fields.IntegerField', [], {})
165 },
166 u'orm.project': {
167 'Meta': {'object_name': 'Project'},
168 'bitbake_version': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.BitbakeVersion']", 'null': 'True'}),
169 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}),
170 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
171 'name': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
172 'release': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.Release']", 'null': 'True'}),
173 'short_description': ('django.db.models.fields.CharField', [], {'max_length': '50', 'blank': 'True'}),
174 'updated': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}),
175 'user_id': ('django.db.models.fields.IntegerField', [], {'null': 'True'})
176 },
177 u'orm.projectlayer': {
178 'Meta': {'unique_together': "(('project', 'layercommit'),)", 'object_name': 'ProjectLayer'},
179 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
180 'layercommit': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.Layer_Version']", 'null': 'True'}),
181 'optional': ('django.db.models.fields.BooleanField', [], {'default': 'True'}),
182 'project': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.Project']"})
183 },
184 u'orm.projecttarget': {
185 'Meta': {'object_name': 'ProjectTarget'},
186 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
187 'project': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.Project']"}),
188 'target': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
189 'task': ('django.db.models.fields.CharField', [], {'max_length': '100', 'null': 'True'})
190 },
191 u'orm.projectvariable': {
192 'Meta': {'object_name': 'ProjectVariable'},
193 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
194 'name': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
195 'project': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.Project']"}),
196 'value': ('django.db.models.fields.TextField', [], {'blank': 'True'})
197 },
198 u'orm.recipe': {
199 'Meta': {'unique_together': "(('layer_version', 'file_path', 'pathflags'),)", 'object_name': 'Recipe'},
200 'bugtracker': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}),
201 'description': ('django.db.models.fields.TextField', [], {'blank': 'True'}),
202 'file_path': ('django.db.models.fields.FilePathField', [], {'max_length': '255'}),
203 'homepage': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}),
204 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
205 'is_image': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
206 'layer_source': ('django.db.models.fields.related.ForeignKey', [], {'default': 'None', 'to': u"orm['orm.LayerSource']", 'null': 'True'}),
207 'layer_version': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'recipe_layer_version'", 'to': u"orm['orm.Layer_Version']"}),
208 'license': ('django.db.models.fields.CharField', [], {'max_length': '200', 'blank': 'True'}),
209 'name': ('django.db.models.fields.CharField', [], {'max_length': '100', 'blank': 'True'}),
210 'pathflags': ('django.db.models.fields.CharField', [], {'max_length': '200', 'blank': 'True'}),
211 'section': ('django.db.models.fields.CharField', [], {'max_length': '100', 'blank': 'True'}),
212 'summary': ('django.db.models.fields.TextField', [], {'blank': 'True'}),
213 'up_date': ('django.db.models.fields.DateTimeField', [], {'default': 'None', 'null': 'True'}),
214 'up_id': ('django.db.models.fields.IntegerField', [], {'default': 'None', 'null': 'True'}),
215 'version': ('django.db.models.fields.CharField', [], {'max_length': '100', 'blank': 'True'})
216 },
217 u'orm.recipe_dependency': {
218 'Meta': {'object_name': 'Recipe_Dependency'},
219 'dep_type': ('django.db.models.fields.IntegerField', [], {}),
220 'depends_on': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'r_dependencies_depends'", 'to': u"orm['orm.Recipe']"}),
221 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
222 'recipe': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'r_dependencies_recipe'", 'to': u"orm['orm.Recipe']"})
223 },
224 u'orm.release': {
225 'Meta': {'object_name': 'Release'},
226 'bitbake_version': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.BitbakeVersion']"}),
227 'branch_name': ('django.db.models.fields.CharField', [], {'default': "''", 'max_length': '50'}),
228 'description': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
229 'helptext': ('django.db.models.fields.TextField', [], {'null': 'True'}),
230 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
231 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '32'})
232 },
233 u'orm.releasedefaultlayer': {
234 'Meta': {'object_name': 'ReleaseDefaultLayer'},
235 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
236 'layer_name': ('django.db.models.fields.CharField', [], {'default': "''", 'max_length': '100'}),
237 'release': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.Release']"})
238 },
239 u'orm.releaselayersourcepriority': {
240 'Meta': {'unique_together': "(('release', 'layer_source'),)", 'object_name': 'ReleaseLayerSourcePriority'},
241 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
242 'layer_source': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.LayerSource']"}),
243 'priority': ('django.db.models.fields.IntegerField', [], {'default': '0'}),
244 'release': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.Release']"})
245 },
246 u'orm.target': {
247 'Meta': {'object_name': 'Target'},
248 'build': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.Build']"}),
249 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
250 'image_size': ('django.db.models.fields.IntegerField', [], {'default': '0'}),
251 'is_image': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
252 'license_manifest_path': ('django.db.models.fields.CharField', [], {'max_length': '500', 'null': 'True'}),
253 'target': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
254 'task': ('django.db.models.fields.CharField', [], {'max_length': '100', 'null': 'True'})
255 },
256 u'orm.target_file': {
257 'Meta': {'object_name': 'Target_File'},
258 'directory': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'directory_set'", 'null': 'True', 'to': u"orm['orm.Target_File']"}),
259 'group': ('django.db.models.fields.CharField', [], {'max_length': '128'}),
260 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
261 'inodetype': ('django.db.models.fields.IntegerField', [], {}),
262 'owner': ('django.db.models.fields.CharField', [], {'max_length': '128'}),
263 'path': ('django.db.models.fields.FilePathField', [], {'max_length': '100'}),
264 'permission': ('django.db.models.fields.CharField', [], {'max_length': '16'}),
265 'size': ('django.db.models.fields.IntegerField', [], {}),
266 'sym_target': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'symlink_set'", 'null': 'True', 'to': u"orm['orm.Target_File']"}),
267 'target': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.Target']"})
268 },
269 u'orm.target_image_file': {
270 'Meta': {'object_name': 'Target_Image_File'},
271 'file_name': ('django.db.models.fields.FilePathField', [], {'max_length': '254'}),
272 'file_size': ('django.db.models.fields.IntegerField', [], {}),
273 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
274 'target': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.Target']"})
275 },
276 u'orm.target_installed_package': {
277 'Meta': {'object_name': 'Target_Installed_Package'},
278 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
279 'package': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'buildtargetlist_package'", 'to': u"orm['orm.Package']"}),
280 'target': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.Target']"})
281 },
282 u'orm.task': {
283 'Meta': {'ordering': "('order', 'recipe')", 'unique_together': "(('build', 'recipe', 'task_name'),)", 'object_name': 'Task'},
284 'build': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'task_build'", 'to': u"orm['orm.Build']"}),
285 'cpu_usage': ('django.db.models.fields.DecimalField', [], {'null': 'True', 'max_digits': '8', 'decimal_places': '2'}),
286 'disk_io': ('django.db.models.fields.IntegerField', [], {'null': 'True'}),
287 'elapsed_time': ('django.db.models.fields.DecimalField', [], {'null': 'True', 'max_digits': '8', 'decimal_places': '2'}),
288 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
289 'line_number': ('django.db.models.fields.IntegerField', [], {'default': '0'}),
290 'logfile': ('django.db.models.fields.FilePathField', [], {'max_length': '255', 'blank': 'True'}),
291 'message': ('django.db.models.fields.CharField', [], {'max_length': '240'}),
292 'order': ('django.db.models.fields.IntegerField', [], {'null': 'True'}),
293 'outcome': ('django.db.models.fields.IntegerField', [], {'default': '-1'}),
294 'path_to_sstate_obj': ('django.db.models.fields.FilePathField', [], {'max_length': '500', 'blank': 'True'}),
295 'recipe': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'tasks'", 'to': u"orm['orm.Recipe']"}),
296 'script_type': ('django.db.models.fields.IntegerField', [], {'default': '0'}),
297 'source_url': ('django.db.models.fields.FilePathField', [], {'max_length': '255', 'blank': 'True'}),
298 'sstate_checksum': ('django.db.models.fields.CharField', [], {'max_length': '100', 'blank': 'True'}),
299 'sstate_result': ('django.db.models.fields.IntegerField', [], {'default': '0'}),
300 'task_executed': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
301 'task_name': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
302 'work_directory': ('django.db.models.fields.FilePathField', [], {'max_length': '255', 'blank': 'True'})
303 },
304 u'orm.task_dependency': {
305 'Meta': {'object_name': 'Task_Dependency'},
306 'depends_on': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'task_dependencies_depends'", 'to': u"orm['orm.Task']"}),
307 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
308 'task': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'task_dependencies_task'", 'to': u"orm['orm.Task']"})
309 },
310 u'orm.toastersetting': {
311 'Meta': {'object_name': 'ToasterSetting'},
312 'helptext': ('django.db.models.fields.TextField', [], {}),
313 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
314 'name': ('django.db.models.fields.CharField', [], {'max_length': '63'}),
315 'value': ('django.db.models.fields.CharField', [], {'max_length': '255'})
316 },
317 u'orm.variable': {
318 'Meta': {'object_name': 'Variable'},
319 'build': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'variable_build'", 'to': u"orm['orm.Build']"}),
320 'changed': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
321 'description': ('django.db.models.fields.TextField', [], {'blank': 'True'}),
322 'human_readable_name': ('django.db.models.fields.CharField', [], {'max_length': '200'}),
323 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
324 'variable_name': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
325 'variable_value': ('django.db.models.fields.TextField', [], {'blank': 'True'})
326 },
327 u'orm.variablehistory': {
328 'Meta': {'object_name': 'VariableHistory'},
329 'file_name': ('django.db.models.fields.FilePathField', [], {'max_length': '255'}),
330 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
331 'line_number': ('django.db.models.fields.IntegerField', [], {'null': 'True'}),
332 'operation': ('django.db.models.fields.CharField', [], {'max_length': '64'}),
333 'value': ('django.db.models.fields.TextField', [], {'blank': 'True'}),
334 'variable': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'vhistory'", 'to': u"orm['orm.Variable']"})
335 }
336 }
337
338 complete_apps = ['orm'] \ No newline at end of file
diff --git a/bitbake/lib/toaster/orm/migrations/0025_auto__add_field_project_is_default.py b/bitbake/lib/toaster/orm/migrations/0025_auto__add_field_project_is_default.py
deleted file mode 100644
index e76990d7a5..0000000000
--- a/bitbake/lib/toaster/orm/migrations/0025_auto__add_field_project_is_default.py
+++ /dev/null
@@ -1,346 +0,0 @@
1# -*- coding: utf-8 -*-
2from south.utils import datetime_utils as datetime
3from south.db import db
4from south.v2 import SchemaMigration
5from django.db import models
6
7
8class Migration(SchemaMigration):
9
10 def forwards(self, orm):
11 # work-around for http://south.aeracode.org/ticket/578:
12 # SQLite boolean fields aren't set to the correct default value
13 # (needs to be 0 or 1, rather than True or False)
14 default = False
15 if db.backend_name == 'sqlite3':
16 default = 0
17
18 # Adding field 'Project.is_default'
19 db.add_column(u'orm_project', 'is_default',
20 self.gf('django.db.models.fields.BooleanField')(default=default),
21 keep_default=False)
22
23
24 def backwards(self, orm):
25 # Deleting field 'Project.is_default'
26 db.delete_column(u'orm_project', 'is_default')
27
28
29 models = {
30 u'orm.bitbakeversion': {
31 'Meta': {'object_name': 'BitbakeVersion'},
32 'branch': ('django.db.models.fields.CharField', [], {'max_length': '32'}),
33 'dirpath': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
34 'giturl': ('django.db.models.fields.URLField', [], {'max_length': '200'}),
35 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
36 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '32'})
37 },
38 u'orm.branch': {
39 'Meta': {'unique_together': "(('layer_source', 'name'), ('layer_source', 'up_id'))", 'object_name': 'Branch'},
40 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
41 'layer_source': ('django.db.models.fields.related.ForeignKey', [], {'default': 'True', 'to': u"orm['orm.LayerSource']", 'null': 'True'}),
42 'name': ('django.db.models.fields.CharField', [], {'max_length': '50'}),
43 'short_description': ('django.db.models.fields.CharField', [], {'max_length': '50', 'blank': 'True'}),
44 'up_date': ('django.db.models.fields.DateTimeField', [], {'default': 'None', 'null': 'True'}),
45 'up_id': ('django.db.models.fields.IntegerField', [], {'default': 'None', 'null': 'True'})
46 },
47 u'orm.build': {
48 'Meta': {'object_name': 'Build'},
49 'bitbake_version': ('django.db.models.fields.CharField', [], {'max_length': '50'}),
50 'build_name': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
51 'completed_on': ('django.db.models.fields.DateTimeField', [], {}),
52 'cooker_log_path': ('django.db.models.fields.CharField', [], {'max_length': '500'}),
53 'distro': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
54 'distro_version': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
55 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
56 'machine': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
57 'outcome': ('django.db.models.fields.IntegerField', [], {'default': '2'}),
58 'project': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.Project']"}),
59 'started_on': ('django.db.models.fields.DateTimeField', [], {})
60 },
61 u'orm.buildartifact': {
62 'Meta': {'object_name': 'BuildArtifact'},
63 'build': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.Build']"}),
64 'file_name': ('django.db.models.fields.FilePathField', [], {'max_length': '100'}),
65 'file_size': ('django.db.models.fields.IntegerField', [], {}),
66 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'})
67 },
68 u'orm.helptext': {
69 'Meta': {'object_name': 'HelpText'},
70 'area': ('django.db.models.fields.IntegerField', [], {}),
71 'build': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'helptext_build'", 'to': u"orm['orm.Build']"}),
72 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
73 'key': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
74 'text': ('django.db.models.fields.TextField', [], {})
75 },
76 u'orm.layer': {
77 'Meta': {'unique_together': "(('layer_source', 'up_id'), ('layer_source', 'name'))", 'object_name': 'Layer'},
78 'description': ('django.db.models.fields.TextField', [], {'default': 'None', 'null': 'True'}),
79 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
80 'layer_index_url': ('django.db.models.fields.URLField', [], {'max_length': '200'}),
81 'layer_source': ('django.db.models.fields.related.ForeignKey', [], {'default': 'None', 'to': u"orm['orm.LayerSource']", 'null': 'True'}),
82 'name': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
83 'summary': ('django.db.models.fields.TextField', [], {'default': 'None', 'null': 'True'}),
84 'up_date': ('django.db.models.fields.DateTimeField', [], {'default': 'None', 'null': 'True'}),
85 'up_id': ('django.db.models.fields.IntegerField', [], {'default': 'None', 'null': 'True'}),
86 'vcs_url': ('django.db.models.fields.URLField', [], {'default': 'None', 'max_length': '200', 'null': 'True'}),
87 'vcs_web_file_base_url': ('django.db.models.fields.URLField', [], {'default': 'None', 'max_length': '200', 'null': 'True'}),
88 'vcs_web_tree_base_url': ('django.db.models.fields.URLField', [], {'default': 'None', 'max_length': '200', 'null': 'True'}),
89 'vcs_web_url': ('django.db.models.fields.URLField', [], {'default': 'None', 'max_length': '200', 'null': 'True'})
90 },
91 u'orm.layer_version': {
92 'Meta': {'unique_together': "(('layer_source', 'up_id'),)", 'object_name': 'Layer_Version'},
93 'branch': ('django.db.models.fields.CharField', [], {'max_length': '80'}),
94 'build': ('django.db.models.fields.related.ForeignKey', [], {'default': 'None', 'related_name': "'layer_version_build'", 'null': 'True', 'to': u"orm['orm.Build']"}),
95 'commit': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
96 'dirpath': ('django.db.models.fields.CharField', [], {'default': 'None', 'max_length': '255', 'null': 'True'}),
97 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
98 'layer': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'layer_version_layer'", 'to': u"orm['orm.Layer']"}),
99 'layer_source': ('django.db.models.fields.related.ForeignKey', [], {'default': 'None', 'to': u"orm['orm.LayerSource']", 'null': 'True'}),
100 'local_path': ('django.db.models.fields.FilePathField', [], {'default': "'/'", 'max_length': '1024'}),
101 'priority': ('django.db.models.fields.IntegerField', [], {'default': '0'}),
102 'project': ('django.db.models.fields.related.ForeignKey', [], {'default': 'None', 'to': u"orm['orm.Project']", 'null': 'True'}),
103 'up_branch': ('django.db.models.fields.related.ForeignKey', [], {'default': 'None', 'to': u"orm['orm.Branch']", 'null': 'True'}),
104 'up_date': ('django.db.models.fields.DateTimeField', [], {'default': 'None', 'null': 'True'}),
105 'up_id': ('django.db.models.fields.IntegerField', [], {'default': 'None', 'null': 'True'})
106 },
107 u'orm.layersource': {
108 'Meta': {'unique_together': "(('sourcetype', 'apiurl'),)", 'object_name': 'LayerSource'},
109 'apiurl': ('django.db.models.fields.CharField', [], {'default': 'None', 'max_length': '255', 'null': 'True'}),
110 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
111 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '63'}),
112 'sourcetype': ('django.db.models.fields.IntegerField', [], {})
113 },
114 u'orm.layerversiondependency': {
115 'Meta': {'unique_together': "(('layer_source', 'up_id'),)", 'object_name': 'LayerVersionDependency'},
116 'depends_on': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'dependees'", 'to': u"orm['orm.Layer_Version']"}),
117 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
118 'layer_source': ('django.db.models.fields.related.ForeignKey', [], {'default': 'None', 'to': u"orm['orm.LayerSource']", 'null': 'True'}),
119 'layer_version': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'dependencies'", 'to': u"orm['orm.Layer_Version']"}),
120 'up_id': ('django.db.models.fields.IntegerField', [], {'default': 'None', 'null': 'True'})
121 },
122 u'orm.logmessage': {
123 'Meta': {'object_name': 'LogMessage'},
124 'build': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.Build']"}),
125 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
126 'level': ('django.db.models.fields.IntegerField', [], {'default': '0'}),
127 'lineno': ('django.db.models.fields.IntegerField', [], {'null': 'True'}),
128 'message': ('django.db.models.fields.CharField', [], {'max_length': '240'}),
129 'pathname': ('django.db.models.fields.FilePathField', [], {'max_length': '255', 'blank': 'True'}),
130 'task': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.Task']", 'null': 'True', 'blank': 'True'})
131 },
132 u'orm.machine': {
133 'Meta': {'unique_together': "(('layer_source', 'up_id'),)", 'object_name': 'Machine'},
134 'description': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
135 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
136 'layer_source': ('django.db.models.fields.related.ForeignKey', [], {'default': 'None', 'to': u"orm['orm.LayerSource']", 'null': 'True'}),
137 'layer_version': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.Layer_Version']"}),
138 'name': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
139 'up_date': ('django.db.models.fields.DateTimeField', [], {'default': 'None', 'null': 'True'}),
140 'up_id': ('django.db.models.fields.IntegerField', [], {'default': 'None', 'null': 'True'})
141 },
142 u'orm.package': {
143 'Meta': {'object_name': 'Package'},
144 'build': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.Build']"}),
145 'description': ('django.db.models.fields.TextField', [], {'blank': 'True'}),
146 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
147 'installed_name': ('django.db.models.fields.CharField', [], {'default': "''", 'max_length': '100'}),
148 'installed_size': ('django.db.models.fields.IntegerField', [], {'default': '0'}),
149 'license': ('django.db.models.fields.CharField', [], {'max_length': '80', 'blank': 'True'}),
150 'name': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
151 'recipe': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.Recipe']", 'null': 'True'}),
152 'revision': ('django.db.models.fields.CharField', [], {'max_length': '32', 'blank': 'True'}),
153 'section': ('django.db.models.fields.CharField', [], {'max_length': '80', 'blank': 'True'}),
154 'size': ('django.db.models.fields.IntegerField', [], {'default': '0'}),
155 'summary': ('django.db.models.fields.TextField', [], {'blank': 'True'}),
156 'version': ('django.db.models.fields.CharField', [], {'max_length': '100', 'blank': 'True'})
157 },
158 u'orm.package_dependency': {
159 'Meta': {'object_name': 'Package_Dependency'},
160 'dep_type': ('django.db.models.fields.IntegerField', [], {}),
161 'depends_on': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'package_dependencies_target'", 'to': u"orm['orm.Package']"}),
162 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
163 'package': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'package_dependencies_source'", 'to': u"orm['orm.Package']"}),
164 'target': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.Target']", 'null': 'True'})
165 },
166 u'orm.package_file': {
167 'Meta': {'object_name': 'Package_File'},
168 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
169 'package': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'buildfilelist_package'", 'to': u"orm['orm.Package']"}),
170 'path': ('django.db.models.fields.FilePathField', [], {'max_length': '255', 'blank': 'True'}),
171 'size': ('django.db.models.fields.IntegerField', [], {})
172 },
173 u'orm.project': {
174 'Meta': {'object_name': 'Project'},
175 'bitbake_version': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.BitbakeVersion']", 'null': 'True'}),
176 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}),
177 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
178 'is_default': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
179 'name': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
180 'release': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.Release']", 'null': 'True'}),
181 'short_description': ('django.db.models.fields.CharField', [], {'max_length': '50', 'blank': 'True'}),
182 'updated': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}),
183 'user_id': ('django.db.models.fields.IntegerField', [], {'null': 'True'})
184 },
185 u'orm.projectlayer': {
186 'Meta': {'unique_together': "(('project', 'layercommit'),)", 'object_name': 'ProjectLayer'},
187 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
188 'layercommit': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.Layer_Version']", 'null': 'True'}),
189 'optional': ('django.db.models.fields.BooleanField', [], {'default': 'True'}),
190 'project': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.Project']"})
191 },
192 u'orm.projecttarget': {
193 'Meta': {'object_name': 'ProjectTarget'},
194 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
195 'project': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.Project']"}),
196 'target': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
197 'task': ('django.db.models.fields.CharField', [], {'max_length': '100', 'null': 'True'})
198 },
199 u'orm.projectvariable': {
200 'Meta': {'object_name': 'ProjectVariable'},
201 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
202 'name': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
203 'project': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.Project']"}),
204 'value': ('django.db.models.fields.TextField', [], {'blank': 'True'})
205 },
206 u'orm.recipe': {
207 'Meta': {'unique_together': "(('layer_version', 'file_path', 'pathflags'),)", 'object_name': 'Recipe'},
208 'bugtracker': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}),
209 'description': ('django.db.models.fields.TextField', [], {'blank': 'True'}),
210 'file_path': ('django.db.models.fields.FilePathField', [], {'max_length': '255'}),
211 'homepage': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}),
212 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
213 'is_image': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
214 'layer_source': ('django.db.models.fields.related.ForeignKey', [], {'default': 'None', 'to': u"orm['orm.LayerSource']", 'null': 'True'}),
215 'layer_version': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'recipe_layer_version'", 'to': u"orm['orm.Layer_Version']"}),
216 'license': ('django.db.models.fields.CharField', [], {'max_length': '200', 'blank': 'True'}),
217 'name': ('django.db.models.fields.CharField', [], {'max_length': '100', 'blank': 'True'}),
218 'pathflags': ('django.db.models.fields.CharField', [], {'max_length': '200', 'blank': 'True'}),
219 'section': ('django.db.models.fields.CharField', [], {'max_length': '100', 'blank': 'True'}),
220 'summary': ('django.db.models.fields.TextField', [], {'blank': 'True'}),
221 'up_date': ('django.db.models.fields.DateTimeField', [], {'default': 'None', 'null': 'True'}),
222 'up_id': ('django.db.models.fields.IntegerField', [], {'default': 'None', 'null': 'True'}),
223 'version': ('django.db.models.fields.CharField', [], {'max_length': '100', 'blank': 'True'})
224 },
225 u'orm.recipe_dependency': {
226 'Meta': {'object_name': 'Recipe_Dependency'},
227 'dep_type': ('django.db.models.fields.IntegerField', [], {}),
228 'depends_on': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'r_dependencies_depends'", 'to': u"orm['orm.Recipe']"}),
229 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
230 'recipe': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'r_dependencies_recipe'", 'to': u"orm['orm.Recipe']"})
231 },
232 u'orm.release': {
233 'Meta': {'object_name': 'Release'},
234 'bitbake_version': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.BitbakeVersion']"}),
235 'branch_name': ('django.db.models.fields.CharField', [], {'default': "''", 'max_length': '50'}),
236 'description': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
237 'helptext': ('django.db.models.fields.TextField', [], {'null': 'True'}),
238 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
239 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '32'})
240 },
241 u'orm.releasedefaultlayer': {
242 'Meta': {'object_name': 'ReleaseDefaultLayer'},
243 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
244 'layer_name': ('django.db.models.fields.CharField', [], {'default': "''", 'max_length': '100'}),
245 'release': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.Release']"})
246 },
247 u'orm.releaselayersourcepriority': {
248 'Meta': {'unique_together': "(('release', 'layer_source'),)", 'object_name': 'ReleaseLayerSourcePriority'},
249 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
250 'layer_source': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.LayerSource']"}),
251 'priority': ('django.db.models.fields.IntegerField', [], {'default': '0'}),
252 'release': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.Release']"})
253 },
254 u'orm.target': {
255 'Meta': {'object_name': 'Target'},
256 'build': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.Build']"}),
257 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
258 'image_size': ('django.db.models.fields.IntegerField', [], {'default': '0'}),
259 'is_image': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
260 'license_manifest_path': ('django.db.models.fields.CharField', [], {'max_length': '500', 'null': 'True'}),
261 'target': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
262 'task': ('django.db.models.fields.CharField', [], {'max_length': '100', 'null': 'True'})
263 },
264 u'orm.target_file': {
265 'Meta': {'object_name': 'Target_File'},
266 'directory': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'directory_set'", 'null': 'True', 'to': u"orm['orm.Target_File']"}),
267 'group': ('django.db.models.fields.CharField', [], {'max_length': '128'}),
268 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
269 'inodetype': ('django.db.models.fields.IntegerField', [], {}),
270 'owner': ('django.db.models.fields.CharField', [], {'max_length': '128'}),
271 'path': ('django.db.models.fields.FilePathField', [], {'max_length': '100'}),
272 'permission': ('django.db.models.fields.CharField', [], {'max_length': '16'}),
273 'size': ('django.db.models.fields.IntegerField', [], {}),
274 'sym_target': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'symlink_set'", 'null': 'True', 'to': u"orm['orm.Target_File']"}),
275 'target': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.Target']"})
276 },
277 u'orm.target_image_file': {
278 'Meta': {'object_name': 'Target_Image_File'},
279 'file_name': ('django.db.models.fields.FilePathField', [], {'max_length': '254'}),
280 'file_size': ('django.db.models.fields.IntegerField', [], {}),
281 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
282 'target': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.Target']"})
283 },
284 u'orm.target_installed_package': {
285 'Meta': {'object_name': 'Target_Installed_Package'},
286 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
287 'package': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'buildtargetlist_package'", 'to': u"orm['orm.Package']"}),
288 'target': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.Target']"})
289 },
290 u'orm.task': {
291 'Meta': {'ordering': "('order', 'recipe')", 'unique_together': "(('build', 'recipe', 'task_name'),)", 'object_name': 'Task'},
292 'build': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'task_build'", 'to': u"orm['orm.Build']"}),
293 'cpu_usage': ('django.db.models.fields.DecimalField', [], {'null': 'True', 'max_digits': '8', 'decimal_places': '2'}),
294 'disk_io': ('django.db.models.fields.IntegerField', [], {'null': 'True'}),
295 'elapsed_time': ('django.db.models.fields.DecimalField', [], {'null': 'True', 'max_digits': '8', 'decimal_places': '2'}),
296 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
297 'line_number': ('django.db.models.fields.IntegerField', [], {'default': '0'}),
298 'logfile': ('django.db.models.fields.FilePathField', [], {'max_length': '255', 'blank': 'True'}),
299 'message': ('django.db.models.fields.CharField', [], {'max_length': '240'}),
300 'order': ('django.db.models.fields.IntegerField', [], {'null': 'True'}),
301 'outcome': ('django.db.models.fields.IntegerField', [], {'default': '-1'}),
302 'path_to_sstate_obj': ('django.db.models.fields.FilePathField', [], {'max_length': '500', 'blank': 'True'}),
303 'recipe': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'tasks'", 'to': u"orm['orm.Recipe']"}),
304 'script_type': ('django.db.models.fields.IntegerField', [], {'default': '0'}),
305 'source_url': ('django.db.models.fields.FilePathField', [], {'max_length': '255', 'blank': 'True'}),
306 'sstate_checksum': ('django.db.models.fields.CharField', [], {'max_length': '100', 'blank': 'True'}),
307 'sstate_result': ('django.db.models.fields.IntegerField', [], {'default': '0'}),
308 'task_executed': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
309 'task_name': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
310 'work_directory': ('django.db.models.fields.FilePathField', [], {'max_length': '255', 'blank': 'True'})
311 },
312 u'orm.task_dependency': {
313 'Meta': {'object_name': 'Task_Dependency'},
314 'depends_on': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'task_dependencies_depends'", 'to': u"orm['orm.Task']"}),
315 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
316 'task': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'task_dependencies_task'", 'to': u"orm['orm.Task']"})
317 },
318 u'orm.toastersetting': {
319 'Meta': {'object_name': 'ToasterSetting'},
320 'helptext': ('django.db.models.fields.TextField', [], {}),
321 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
322 'name': ('django.db.models.fields.CharField', [], {'max_length': '63'}),
323 'value': ('django.db.models.fields.CharField', [], {'max_length': '255'})
324 },
325 u'orm.variable': {
326 'Meta': {'object_name': 'Variable'},
327 'build': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'variable_build'", 'to': u"orm['orm.Build']"}),
328 'changed': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
329 'description': ('django.db.models.fields.TextField', [], {'blank': 'True'}),
330 'human_readable_name': ('django.db.models.fields.CharField', [], {'max_length': '200'}),
331 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
332 'variable_name': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
333 'variable_value': ('django.db.models.fields.TextField', [], {'blank': 'True'})
334 },
335 u'orm.variablehistory': {
336 'Meta': {'object_name': 'VariableHistory'},
337 'file_name': ('django.db.models.fields.FilePathField', [], {'max_length': '255'}),
338 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
339 'line_number': ('django.db.models.fields.IntegerField', [], {'null': 'True'}),
340 'operation': ('django.db.models.fields.CharField', [], {'max_length': '64'}),
341 'value': ('django.db.models.fields.TextField', [], {'blank': 'True'}),
342 'variable': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'vhistory'", 'to': u"orm['orm.Variable']"})
343 }
344 }
345
346 complete_apps = ['orm']
diff --git a/bitbake/lib/toaster/orm/migrations/0026_set_default_project.py b/bitbake/lib/toaster/orm/migrations/0026_set_default_project.py
deleted file mode 100644
index 6240abd854..0000000000
--- a/bitbake/lib/toaster/orm/migrations/0026_set_default_project.py
+++ /dev/null
@@ -1,374 +0,0 @@
1# -*- coding: utf-8 -*-
2from south.utils import datetime_utils as datetime
3from south.db import db
4from south.v2 import SchemaMigration
5from django.db import models
6
7# data-only migration to set the is_default field correctly
8# across all projects, so it has the correct value on a single
9# record only; this will add or amend default project (marked with
10# is_default = True)
11class Migration(SchemaMigration):
12
13 no_dry_run = True
14
15 # work-around for http://south.aeracode.org/ticket/578:
16 # SQLite boolean fields aren't set to the correct default value
17 # when added to existing records (value needs to be 0 or 1, rather
18 # than True or False), so manually update that field for all
19 # existing records
20 def _sqlite_update_all_projects_is_default(self, orm):
21 if db.backend_name == 'sqlite3':
22 for project in orm.Project.objects.all():
23 project.is_default = 0
24 project.save()
25
26 def forwards(self, orm):
27 # fix is_default field
28 self._sqlite_update_all_projects_is_default(orm)
29
30 # now create or modify the default project
31 project = None
32
33 # check for existing default project with ID 0 which has
34 # already been added in code
35 projects = orm.Project.objects.filter(pk = 0)
36
37 if len(projects) == 1:
38 project = projects[0]
39 else:
40 # create default project
41 options = {
42 "name": "Command line builds",
43 "short_description": "Project for builds started outside Toaster"
44 }
45 project = orm.Project.objects.create(**options)
46
47 project.is_default = True
48 project.save()
49
50 def backwards(self, orm):
51 # don't do anything when reversing this migration, as we can safely
52 # keep any generated default project which has builds attached;
53 # it's just that the old code won't use that project as the
54 # container for any new builds, as it doesn't have an ID of 0
55 pass
56
57 models = {
58 u'orm.bitbakeversion': {
59 'Meta': {'object_name': 'BitbakeVersion'},
60 'branch': ('django.db.models.fields.CharField', [], {'max_length': '32'}),
61 'dirpath': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
62 'giturl': ('django.db.models.fields.URLField', [], {'max_length': '200'}),
63 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
64 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '32'})
65 },
66 u'orm.branch': {
67 'Meta': {'unique_together': "(('layer_source', 'name'), ('layer_source', 'up_id'))", 'object_name': 'Branch'},
68 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
69 'layer_source': ('django.db.models.fields.related.ForeignKey', [], {'default': 'True', 'to': u"orm['orm.LayerSource']", 'null': 'True'}),
70 'name': ('django.db.models.fields.CharField', [], {'max_length': '50'}),
71 'short_description': ('django.db.models.fields.CharField', [], {'max_length': '50', 'blank': 'True'}),
72 'up_date': ('django.db.models.fields.DateTimeField', [], {'default': 'None', 'null': 'True'}),
73 'up_id': ('django.db.models.fields.IntegerField', [], {'default': 'None', 'null': 'True'})
74 },
75 u'orm.build': {
76 'Meta': {'object_name': 'Build'},
77 'bitbake_version': ('django.db.models.fields.CharField', [], {'max_length': '50'}),
78 'build_name': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
79 'completed_on': ('django.db.models.fields.DateTimeField', [], {}),
80 'cooker_log_path': ('django.db.models.fields.CharField', [], {'max_length': '500'}),
81 'distro': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
82 'distro_version': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
83 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
84 'machine': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
85 'outcome': ('django.db.models.fields.IntegerField', [], {'default': '2'}),
86 'project': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.Project']"}),
87 'started_on': ('django.db.models.fields.DateTimeField', [], {})
88 },
89 u'orm.buildartifact': {
90 'Meta': {'object_name': 'BuildArtifact'},
91 'build': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.Build']"}),
92 'file_name': ('django.db.models.fields.FilePathField', [], {'max_length': '100'}),
93 'file_size': ('django.db.models.fields.IntegerField', [], {}),
94 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'})
95 },
96 u'orm.helptext': {
97 'Meta': {'object_name': 'HelpText'},
98 'area': ('django.db.models.fields.IntegerField', [], {}),
99 'build': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'helptext_build'", 'to': u"orm['orm.Build']"}),
100 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
101 'key': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
102 'text': ('django.db.models.fields.TextField', [], {})
103 },
104 u'orm.layer': {
105 'Meta': {'unique_together': "(('layer_source', 'up_id'), ('layer_source', 'name'))", 'object_name': 'Layer'},
106 'description': ('django.db.models.fields.TextField', [], {'default': 'None', 'null': 'True'}),
107 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
108 'layer_index_url': ('django.db.models.fields.URLField', [], {'max_length': '200'}),
109 'layer_source': ('django.db.models.fields.related.ForeignKey', [], {'default': 'None', 'to': u"orm['orm.LayerSource']", 'null': 'True'}),
110 'name': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
111 'summary': ('django.db.models.fields.TextField', [], {'default': 'None', 'null': 'True'}),
112 'up_date': ('django.db.models.fields.DateTimeField', [], {'default': 'None', 'null': 'True'}),
113 'up_id': ('django.db.models.fields.IntegerField', [], {'default': 'None', 'null': 'True'}),
114 'vcs_url': ('django.db.models.fields.URLField', [], {'default': 'None', 'max_length': '200', 'null': 'True'}),
115 'vcs_web_file_base_url': ('django.db.models.fields.URLField', [], {'default': 'None', 'max_length': '200', 'null': 'True'}),
116 'vcs_web_tree_base_url': ('django.db.models.fields.URLField', [], {'default': 'None', 'max_length': '200', 'null': 'True'}),
117 'vcs_web_url': ('django.db.models.fields.URLField', [], {'default': 'None', 'max_length': '200', 'null': 'True'})
118 },
119 u'orm.layer_version': {
120 'Meta': {'unique_together': "(('layer_source', 'up_id'),)", 'object_name': 'Layer_Version'},
121 'branch': ('django.db.models.fields.CharField', [], {'max_length': '80'}),
122 'build': ('django.db.models.fields.related.ForeignKey', [], {'default': 'None', 'related_name': "'layer_version_build'", 'null': 'True', 'to': u"orm['orm.Build']"}),
123 'commit': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
124 'dirpath': ('django.db.models.fields.CharField', [], {'default': 'None', 'max_length': '255', 'null': 'True'}),
125 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
126 'layer': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'layer_version_layer'", 'to': u"orm['orm.Layer']"}),
127 'layer_source': ('django.db.models.fields.related.ForeignKey', [], {'default': 'None', 'to': u"orm['orm.LayerSource']", 'null': 'True'}),
128 'local_path': ('django.db.models.fields.FilePathField', [], {'default': "'/'", 'max_length': '1024'}),
129 'priority': ('django.db.models.fields.IntegerField', [], {'default': '0'}),
130 'project': ('django.db.models.fields.related.ForeignKey', [], {'default': 'None', 'to': u"orm['orm.Project']", 'null': 'True'}),
131 'up_branch': ('django.db.models.fields.related.ForeignKey', [], {'default': 'None', 'to': u"orm['orm.Branch']", 'null': 'True'}),
132 'up_date': ('django.db.models.fields.DateTimeField', [], {'default': 'None', 'null': 'True'}),
133 'up_id': ('django.db.models.fields.IntegerField', [], {'default': 'None', 'null': 'True'})
134 },
135 u'orm.layersource': {
136 'Meta': {'unique_together': "(('sourcetype', 'apiurl'),)", 'object_name': 'LayerSource'},
137 'apiurl': ('django.db.models.fields.CharField', [], {'default': 'None', 'max_length': '255', 'null': 'True'}),
138 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
139 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '63'}),
140 'sourcetype': ('django.db.models.fields.IntegerField', [], {})
141 },
142 u'orm.layerversiondependency': {
143 'Meta': {'unique_together': "(('layer_source', 'up_id'),)", 'object_name': 'LayerVersionDependency'},
144 'depends_on': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'dependees'", 'to': u"orm['orm.Layer_Version']"}),
145 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
146 'layer_source': ('django.db.models.fields.related.ForeignKey', [], {'default': 'None', 'to': u"orm['orm.LayerSource']", 'null': 'True'}),
147 'layer_version': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'dependencies'", 'to': u"orm['orm.Layer_Version']"}),
148 'up_id': ('django.db.models.fields.IntegerField', [], {'default': 'None', 'null': 'True'})
149 },
150 u'orm.logmessage': {
151 'Meta': {'object_name': 'LogMessage'},
152 'build': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.Build']"}),
153 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
154 'level': ('django.db.models.fields.IntegerField', [], {'default': '0'}),
155 'lineno': ('django.db.models.fields.IntegerField', [], {'null': 'True'}),
156 'message': ('django.db.models.fields.CharField', [], {'max_length': '240'}),
157 'pathname': ('django.db.models.fields.FilePathField', [], {'max_length': '255', 'blank': 'True'}),
158 'task': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.Task']", 'null': 'True', 'blank': 'True'})
159 },
160 u'orm.machine': {
161 'Meta': {'unique_together': "(('layer_source', 'up_id'),)", 'object_name': 'Machine'},
162 'description': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
163 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
164 'layer_source': ('django.db.models.fields.related.ForeignKey', [], {'default': 'None', 'to': u"orm['orm.LayerSource']", 'null': 'True'}),
165 'layer_version': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.Layer_Version']"}),
166 'name': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
167 'up_date': ('django.db.models.fields.DateTimeField', [], {'default': 'None', 'null': 'True'}),
168 'up_id': ('django.db.models.fields.IntegerField', [], {'default': 'None', 'null': 'True'})
169 },
170 u'orm.package': {
171 'Meta': {'object_name': 'Package'},
172 'build': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.Build']"}),
173 'description': ('django.db.models.fields.TextField', [], {'blank': 'True'}),
174 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
175 'installed_name': ('django.db.models.fields.CharField', [], {'default': "''", 'max_length': '100'}),
176 'installed_size': ('django.db.models.fields.IntegerField', [], {'default': '0'}),
177 'license': ('django.db.models.fields.CharField', [], {'max_length': '80', 'blank': 'True'}),
178 'name': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
179 'recipe': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.Recipe']", 'null': 'True'}),
180 'revision': ('django.db.models.fields.CharField', [], {'max_length': '32', 'blank': 'True'}),
181 'section': ('django.db.models.fields.CharField', [], {'max_length': '80', 'blank': 'True'}),
182 'size': ('django.db.models.fields.IntegerField', [], {'default': '0'}),
183 'summary': ('django.db.models.fields.TextField', [], {'blank': 'True'}),
184 'version': ('django.db.models.fields.CharField', [], {'max_length': '100', 'blank': 'True'})
185 },
186 u'orm.package_dependency': {
187 'Meta': {'object_name': 'Package_Dependency'},
188 'dep_type': ('django.db.models.fields.IntegerField', [], {}),
189 'depends_on': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'package_dependencies_target'", 'to': u"orm['orm.Package']"}),
190 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
191 'package': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'package_dependencies_source'", 'to': u"orm['orm.Package']"}),
192 'target': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.Target']", 'null': 'True'})
193 },
194 u'orm.package_file': {
195 'Meta': {'object_name': 'Package_File'},
196 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
197 'package': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'buildfilelist_package'", 'to': u"orm['orm.Package']"}),
198 'path': ('django.db.models.fields.FilePathField', [], {'max_length': '255', 'blank': 'True'}),
199 'size': ('django.db.models.fields.IntegerField', [], {})
200 },
201 u'orm.project': {
202 'Meta': {'object_name': 'Project'},
203 'bitbake_version': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.BitbakeVersion']", 'null': 'True'}),
204 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}),
205 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
206 'is_default': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
207 'name': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
208 'release': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.Release']", 'null': 'True'}),
209 'short_description': ('django.db.models.fields.CharField', [], {'max_length': '50', 'blank': 'True'}),
210 'updated': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}),
211 'user_id': ('django.db.models.fields.IntegerField', [], {'null': 'True'})
212 },
213 u'orm.projectlayer': {
214 'Meta': {'unique_together': "(('project', 'layercommit'),)", 'object_name': 'ProjectLayer'},
215 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
216 'layercommit': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.Layer_Version']", 'null': 'True'}),
217 'optional': ('django.db.models.fields.BooleanField', [], {'default': 'True'}),
218 'project': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.Project']"})
219 },
220 u'orm.projecttarget': {
221 'Meta': {'object_name': 'ProjectTarget'},
222 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
223 'project': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.Project']"}),
224 'target': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
225 'task': ('django.db.models.fields.CharField', [], {'max_length': '100', 'null': 'True'})
226 },
227 u'orm.projectvariable': {
228 'Meta': {'object_name': 'ProjectVariable'},
229 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
230 'name': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
231 'project': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.Project']"}),
232 'value': ('django.db.models.fields.TextField', [], {'blank': 'True'})
233 },
234 u'orm.recipe': {
235 'Meta': {'unique_together': "(('layer_version', 'file_path', 'pathflags'),)", 'object_name': 'Recipe'},
236 'bugtracker': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}),
237 'description': ('django.db.models.fields.TextField', [], {'blank': 'True'}),
238 'file_path': ('django.db.models.fields.FilePathField', [], {'max_length': '255'}),
239 'homepage': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}),
240 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
241 'is_image': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
242 'layer_source': ('django.db.models.fields.related.ForeignKey', [], {'default': 'None', 'to': u"orm['orm.LayerSource']", 'null': 'True'}),
243 'layer_version': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'recipe_layer_version'", 'to': u"orm['orm.Layer_Version']"}),
244 'license': ('django.db.models.fields.CharField', [], {'max_length': '200', 'blank': 'True'}),
245 'name': ('django.db.models.fields.CharField', [], {'max_length': '100', 'blank': 'True'}),
246 'pathflags': ('django.db.models.fields.CharField', [], {'max_length': '200', 'blank': 'True'}),
247 'section': ('django.db.models.fields.CharField', [], {'max_length': '100', 'blank': 'True'}),
248 'summary': ('django.db.models.fields.TextField', [], {'blank': 'True'}),
249 'up_date': ('django.db.models.fields.DateTimeField', [], {'default': 'None', 'null': 'True'}),
250 'up_id': ('django.db.models.fields.IntegerField', [], {'default': 'None', 'null': 'True'}),
251 'version': ('django.db.models.fields.CharField', [], {'max_length': '100', 'blank': 'True'})
252 },
253 u'orm.recipe_dependency': {
254 'Meta': {'object_name': 'Recipe_Dependency'},
255 'dep_type': ('django.db.models.fields.IntegerField', [], {}),
256 'depends_on': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'r_dependencies_depends'", 'to': u"orm['orm.Recipe']"}),
257 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
258 'recipe': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'r_dependencies_recipe'", 'to': u"orm['orm.Recipe']"})
259 },
260 u'orm.release': {
261 'Meta': {'object_name': 'Release'},
262 'bitbake_version': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.BitbakeVersion']"}),
263 'branch_name': ('django.db.models.fields.CharField', [], {'default': "''", 'max_length': '50'}),
264 'description': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
265 'helptext': ('django.db.models.fields.TextField', [], {'null': 'True'}),
266 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
267 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '32'})
268 },
269 u'orm.releasedefaultlayer': {
270 'Meta': {'object_name': 'ReleaseDefaultLayer'},
271 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
272 'layer_name': ('django.db.models.fields.CharField', [], {'default': "''", 'max_length': '100'}),
273 'release': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.Release']"})
274 },
275 u'orm.releaselayersourcepriority': {
276 'Meta': {'unique_together': "(('release', 'layer_source'),)", 'object_name': 'ReleaseLayerSourcePriority'},
277 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
278 'layer_source': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.LayerSource']"}),
279 'priority': ('django.db.models.fields.IntegerField', [], {'default': '0'}),
280 'release': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.Release']"})
281 },
282 u'orm.target': {
283 'Meta': {'object_name': 'Target'},
284 'build': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.Build']"}),
285 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
286 'image_size': ('django.db.models.fields.IntegerField', [], {'default': '0'}),
287 'is_image': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
288 'license_manifest_path': ('django.db.models.fields.CharField', [], {'max_length': '500', 'null': 'True'}),
289 'target': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
290 'task': ('django.db.models.fields.CharField', [], {'max_length': '100', 'null': 'True'})
291 },
292 u'orm.target_file': {
293 'Meta': {'object_name': 'Target_File'},
294 'directory': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'directory_set'", 'null': 'True', 'to': u"orm['orm.Target_File']"}),
295 'group': ('django.db.models.fields.CharField', [], {'max_length': '128'}),
296 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
297 'inodetype': ('django.db.models.fields.IntegerField', [], {}),
298 'owner': ('django.db.models.fields.CharField', [], {'max_length': '128'}),
299 'path': ('django.db.models.fields.FilePathField', [], {'max_length': '100'}),
300 'permission': ('django.db.models.fields.CharField', [], {'max_length': '16'}),
301 'size': ('django.db.models.fields.IntegerField', [], {}),
302 'sym_target': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'symlink_set'", 'null': 'True', 'to': u"orm['orm.Target_File']"}),
303 'target': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.Target']"})
304 },
305 u'orm.target_image_file': {
306 'Meta': {'object_name': 'Target_Image_File'},
307 'file_name': ('django.db.models.fields.FilePathField', [], {'max_length': '254'}),
308 'file_size': ('django.db.models.fields.IntegerField', [], {}),
309 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
310 'target': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.Target']"})
311 },
312 u'orm.target_installed_package': {
313 'Meta': {'object_name': 'Target_Installed_Package'},
314 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
315 'package': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'buildtargetlist_package'", 'to': u"orm['orm.Package']"}),
316 'target': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.Target']"})
317 },
318 u'orm.task': {
319 'Meta': {'ordering': "('order', 'recipe')", 'unique_together': "(('build', 'recipe', 'task_name'),)", 'object_name': 'Task'},
320 'build': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'task_build'", 'to': u"orm['orm.Build']"}),
321 'cpu_usage': ('django.db.models.fields.DecimalField', [], {'null': 'True', 'max_digits': '8', 'decimal_places': '2'}),
322 'disk_io': ('django.db.models.fields.IntegerField', [], {'null': 'True'}),
323 'elapsed_time': ('django.db.models.fields.DecimalField', [], {'null': 'True', 'max_digits': '8', 'decimal_places': '2'}),
324 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
325 'line_number': ('django.db.models.fields.IntegerField', [], {'default': '0'}),
326 'logfile': ('django.db.models.fields.FilePathField', [], {'max_length': '255', 'blank': 'True'}),
327 'message': ('django.db.models.fields.CharField', [], {'max_length': '240'}),
328 'order': ('django.db.models.fields.IntegerField', [], {'null': 'True'}),
329 'outcome': ('django.db.models.fields.IntegerField', [], {'default': '-1'}),
330 'path_to_sstate_obj': ('django.db.models.fields.FilePathField', [], {'max_length': '500', 'blank': 'True'}),
331 'recipe': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'tasks'", 'to': u"orm['orm.Recipe']"}),
332 'script_type': ('django.db.models.fields.IntegerField', [], {'default': '0'}),
333 'source_url': ('django.db.models.fields.FilePathField', [], {'max_length': '255', 'blank': 'True'}),
334 'sstate_checksum': ('django.db.models.fields.CharField', [], {'max_length': '100', 'blank': 'True'}),
335 'sstate_result': ('django.db.models.fields.IntegerField', [], {'default': '0'}),
336 'task_executed': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
337 'task_name': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
338 'work_directory': ('django.db.models.fields.FilePathField', [], {'max_length': '255', 'blank': 'True'})
339 },
340 u'orm.task_dependency': {
341 'Meta': {'object_name': 'Task_Dependency'},
342 'depends_on': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'task_dependencies_depends'", 'to': u"orm['orm.Task']"}),
343 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
344 'task': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'task_dependencies_task'", 'to': u"orm['orm.Task']"})
345 },
346 u'orm.toastersetting': {
347 'Meta': {'object_name': 'ToasterSetting'},
348 'helptext': ('django.db.models.fields.TextField', [], {}),
349 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
350 'name': ('django.db.models.fields.CharField', [], {'max_length': '63'}),
351 'value': ('django.db.models.fields.CharField', [], {'max_length': '255'})
352 },
353 u'orm.variable': {
354 'Meta': {'object_name': 'Variable'},
355 'build': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'variable_build'", 'to': u"orm['orm.Build']"}),
356 'changed': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
357 'description': ('django.db.models.fields.TextField', [], {'blank': 'True'}),
358 'human_readable_name': ('django.db.models.fields.CharField', [], {'max_length': '200'}),
359 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
360 'variable_name': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
361 'variable_value': ('django.db.models.fields.TextField', [], {'blank': 'True'})
362 },
363 u'orm.variablehistory': {
364 'Meta': {'object_name': 'VariableHistory'},
365 'file_name': ('django.db.models.fields.FilePathField', [], {'max_length': '255'}),
366 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
367 'line_number': ('django.db.models.fields.IntegerField', [], {'null': 'True'}),
368 'operation': ('django.db.models.fields.CharField', [], {'max_length': '64'}),
369 'value': ('django.db.models.fields.TextField', [], {'blank': 'True'}),
370 'variable': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'vhistory'", 'to': u"orm['orm.Variable']"})
371 }
372 }
373
374 complete_apps = ['orm']
diff --git a/bitbake/lib/toaster/orm/migrations/0027_auto__add_customimagerecipe__add_unique_customimagerecipe_name_project.py b/bitbake/lib/toaster/orm/migrations/0027_auto__add_customimagerecipe__add_unique_customimagerecipe_name_project.py
deleted file mode 100644
index 6030605148..0000000000
--- a/bitbake/lib/toaster/orm/migrations/0027_auto__add_customimagerecipe__add_unique_customimagerecipe_name_project.py
+++ /dev/null
@@ -1,375 +0,0 @@
1# -*- coding: utf-8 -*-
2from south.utils import datetime_utils as datetime
3from south.db import db
4from south.v2 import SchemaMigration
5from django.db import models
6
7
8class Migration(SchemaMigration):
9
10 def forwards(self, orm):
11 # Adding model 'CustomImageRecipe'
12 db.create_table(u'orm_customimagerecipe', (
13 (u'id', self.gf('django.db.models.fields.AutoField')(primary_key=True)),
14 ('name', self.gf('django.db.models.fields.CharField')(max_length=100)),
15 ('base_recipe', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['orm.Recipe'])),
16 ('project', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['orm.Project'])),
17 ))
18 db.send_create_signal(u'orm', ['CustomImageRecipe'])
19
20 # Adding M2M table for field packages on 'CustomImageRecipe'
21 m2m_table_name = db.shorten_name(u'orm_customimagerecipe_packages')
22 db.create_table(m2m_table_name, (
23 ('id', models.AutoField(verbose_name='ID', primary_key=True, auto_created=True)),
24 ('customimagerecipe', models.ForeignKey(orm[u'orm.customimagerecipe'], null=False)),
25 ('package', models.ForeignKey(orm[u'orm.package'], null=False))
26 ))
27 db.create_unique(m2m_table_name, ['customimagerecipe_id', 'package_id'])
28
29 # Adding unique constraint on 'CustomImageRecipe', fields ['name', 'project']
30 db.create_unique(u'orm_customimagerecipe', ['name', 'project_id'])
31
32
33 # Changing field 'Package.build'
34 db.alter_column(u'orm_package', 'build_id', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['orm.Build'], null=True))
35
36 def backwards(self, orm):
37 # Removing unique constraint on 'CustomImageRecipe', fields ['name', 'project']
38 db.delete_unique(u'orm_customimagerecipe', ['name', 'project_id'])
39
40 # Deleting model 'CustomImageRecipe'
41 db.delete_table(u'orm_customimagerecipe')
42
43 # Removing M2M table for field packages on 'CustomImageRecipe'
44 db.delete_table(db.shorten_name(u'orm_customimagerecipe_packages'))
45
46
47 # Changing field 'Package.build'
48 db.alter_column(u'orm_package', 'build_id', self.gf('django.db.models.fields.related.ForeignKey')(default=None, to=orm['orm.Build']))
49
50 models = {
51 u'orm.bitbakeversion': {
52 'Meta': {'object_name': 'BitbakeVersion'},
53 'branch': ('django.db.models.fields.CharField', [], {'max_length': '32'}),
54 'dirpath': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
55 'giturl': ('django.db.models.fields.URLField', [], {'max_length': '200'}),
56 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
57 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '32'})
58 },
59 u'orm.branch': {
60 'Meta': {'unique_together': "(('layer_source', 'name'), ('layer_source', 'up_id'))", 'object_name': 'Branch'},
61 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
62 'layer_source': ('django.db.models.fields.related.ForeignKey', [], {'default': 'True', 'to': u"orm['orm.LayerSource']", 'null': 'True'}),
63 'name': ('django.db.models.fields.CharField', [], {'max_length': '50'}),
64 'short_description': ('django.db.models.fields.CharField', [], {'max_length': '50', 'blank': 'True'}),
65 'up_date': ('django.db.models.fields.DateTimeField', [], {'default': 'None', 'null': 'True'}),
66 'up_id': ('django.db.models.fields.IntegerField', [], {'default': 'None', 'null': 'True'})
67 },
68 u'orm.build': {
69 'Meta': {'object_name': 'Build'},
70 'bitbake_version': ('django.db.models.fields.CharField', [], {'max_length': '50'}),
71 'build_name': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
72 'completed_on': ('django.db.models.fields.DateTimeField', [], {}),
73 'cooker_log_path': ('django.db.models.fields.CharField', [], {'max_length': '500'}),
74 'distro': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
75 'distro_version': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
76 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
77 'machine': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
78 'outcome': ('django.db.models.fields.IntegerField', [], {'default': '2'}),
79 'project': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.Project']"}),
80 'started_on': ('django.db.models.fields.DateTimeField', [], {})
81 },
82 u'orm.buildartifact': {
83 'Meta': {'object_name': 'BuildArtifact'},
84 'build': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.Build']"}),
85 'file_name': ('django.db.models.fields.FilePathField', [], {'max_length': '100'}),
86 'file_size': ('django.db.models.fields.IntegerField', [], {}),
87 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'})
88 },
89 u'orm.customimagerecipe': {
90 'Meta': {'unique_together': "(('name', 'project'),)", 'object_name': 'CustomImageRecipe'},
91 'base_recipe': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.Recipe']"}),
92 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
93 'name': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
94 'packages': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['orm.Package']", 'symmetrical': 'False'}),
95 'project': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.Project']"})
96 },
97 u'orm.helptext': {
98 'Meta': {'object_name': 'HelpText'},
99 'area': ('django.db.models.fields.IntegerField', [], {}),
100 'build': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'helptext_build'", 'to': u"orm['orm.Build']"}),
101 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
102 'key': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
103 'text': ('django.db.models.fields.TextField', [], {})
104 },
105 u'orm.layer': {
106 'Meta': {'unique_together': "(('layer_source', 'up_id'), ('layer_source', 'name'))", 'object_name': 'Layer'},
107 'description': ('django.db.models.fields.TextField', [], {'default': 'None', 'null': 'True'}),
108 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
109 'layer_index_url': ('django.db.models.fields.URLField', [], {'max_length': '200'}),
110 'layer_source': ('django.db.models.fields.related.ForeignKey', [], {'default': 'None', 'to': u"orm['orm.LayerSource']", 'null': 'True'}),
111 'name': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
112 'summary': ('django.db.models.fields.TextField', [], {'default': 'None', 'null': 'True'}),
113 'up_date': ('django.db.models.fields.DateTimeField', [], {'default': 'None', 'null': 'True'}),
114 'up_id': ('django.db.models.fields.IntegerField', [], {'default': 'None', 'null': 'True'}),
115 'vcs_url': ('django.db.models.fields.URLField', [], {'default': 'None', 'max_length': '200', 'null': 'True'}),
116 'vcs_web_file_base_url': ('django.db.models.fields.URLField', [], {'default': 'None', 'max_length': '200', 'null': 'True'}),
117 'vcs_web_tree_base_url': ('django.db.models.fields.URLField', [], {'default': 'None', 'max_length': '200', 'null': 'True'}),
118 'vcs_web_url': ('django.db.models.fields.URLField', [], {'default': 'None', 'max_length': '200', 'null': 'True'})
119 },
120 u'orm.layer_version': {
121 'Meta': {'unique_together': "(('layer_source', 'up_id'),)", 'object_name': 'Layer_Version'},
122 'branch': ('django.db.models.fields.CharField', [], {'max_length': '80'}),
123 'build': ('django.db.models.fields.related.ForeignKey', [], {'default': 'None', 'related_name': "'layer_version_build'", 'null': 'True', 'to': u"orm['orm.Build']"}),
124 'commit': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
125 'dirpath': ('django.db.models.fields.CharField', [], {'default': 'None', 'max_length': '255', 'null': 'True'}),
126 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
127 'layer': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'layer_version_layer'", 'to': u"orm['orm.Layer']"}),
128 'layer_source': ('django.db.models.fields.related.ForeignKey', [], {'default': 'None', 'to': u"orm['orm.LayerSource']", 'null': 'True'}),
129 'local_path': ('django.db.models.fields.FilePathField', [], {'default': "'/'", 'max_length': '1024'}),
130 'priority': ('django.db.models.fields.IntegerField', [], {'default': '0'}),
131 'project': ('django.db.models.fields.related.ForeignKey', [], {'default': 'None', 'to': u"orm['orm.Project']", 'null': 'True'}),
132 'up_branch': ('django.db.models.fields.related.ForeignKey', [], {'default': 'None', 'to': u"orm['orm.Branch']", 'null': 'True'}),
133 'up_date': ('django.db.models.fields.DateTimeField', [], {'default': 'None', 'null': 'True'}),
134 'up_id': ('django.db.models.fields.IntegerField', [], {'default': 'None', 'null': 'True'})
135 },
136 u'orm.layersource': {
137 'Meta': {'unique_together': "(('sourcetype', 'apiurl'),)", 'object_name': 'LayerSource'},
138 'apiurl': ('django.db.models.fields.CharField', [], {'default': 'None', 'max_length': '255', 'null': 'True'}),
139 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
140 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '63'}),
141 'sourcetype': ('django.db.models.fields.IntegerField', [], {})
142 },
143 u'orm.layerversiondependency': {
144 'Meta': {'unique_together': "(('layer_source', 'up_id'),)", 'object_name': 'LayerVersionDependency'},
145 'depends_on': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'dependees'", 'to': u"orm['orm.Layer_Version']"}),
146 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
147 'layer_source': ('django.db.models.fields.related.ForeignKey', [], {'default': 'None', 'to': u"orm['orm.LayerSource']", 'null': 'True'}),
148 'layer_version': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'dependencies'", 'to': u"orm['orm.Layer_Version']"}),
149 'up_id': ('django.db.models.fields.IntegerField', [], {'default': 'None', 'null': 'True'})
150 },
151 u'orm.logmessage': {
152 'Meta': {'object_name': 'LogMessage'},
153 'build': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.Build']"}),
154 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
155 'level': ('django.db.models.fields.IntegerField', [], {'default': '0'}),
156 'lineno': ('django.db.models.fields.IntegerField', [], {'null': 'True'}),
157 'message': ('django.db.models.fields.CharField', [], {'max_length': '240'}),
158 'pathname': ('django.db.models.fields.FilePathField', [], {'max_length': '255', 'blank': 'True'}),
159 'task': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.Task']", 'null': 'True', 'blank': 'True'})
160 },
161 u'orm.machine': {
162 'Meta': {'unique_together': "(('layer_source', 'up_id'),)", 'object_name': 'Machine'},
163 'description': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
164 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
165 'layer_source': ('django.db.models.fields.related.ForeignKey', [], {'default': 'None', 'to': u"orm['orm.LayerSource']", 'null': 'True'}),
166 'layer_version': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.Layer_Version']"}),
167 'name': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
168 'up_date': ('django.db.models.fields.DateTimeField', [], {'default': 'None', 'null': 'True'}),
169 'up_id': ('django.db.models.fields.IntegerField', [], {'default': 'None', 'null': 'True'})
170 },
171 u'orm.package': {
172 'Meta': {'object_name': 'Package'},
173 'build': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.Build']", 'null': 'True'}),
174 'description': ('django.db.models.fields.TextField', [], {'blank': 'True'}),
175 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
176 'installed_name': ('django.db.models.fields.CharField', [], {'default': "''", 'max_length': '100'}),
177 'installed_size': ('django.db.models.fields.IntegerField', [], {'default': '0'}),
178 'license': ('django.db.models.fields.CharField', [], {'max_length': '80', 'blank': 'True'}),
179 'name': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
180 'recipe': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.Recipe']", 'null': 'True'}),
181 'revision': ('django.db.models.fields.CharField', [], {'max_length': '32', 'blank': 'True'}),
182 'section': ('django.db.models.fields.CharField', [], {'max_length': '80', 'blank': 'True'}),
183 'size': ('django.db.models.fields.IntegerField', [], {'default': '0'}),
184 'summary': ('django.db.models.fields.TextField', [], {'blank': 'True'}),
185 'version': ('django.db.models.fields.CharField', [], {'max_length': '100', 'blank': 'True'})
186 },
187 u'orm.package_dependency': {
188 'Meta': {'object_name': 'Package_Dependency'},
189 'dep_type': ('django.db.models.fields.IntegerField', [], {}),
190 'depends_on': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'package_dependencies_target'", 'to': u"orm['orm.Package']"}),
191 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
192 'package': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'package_dependencies_source'", 'to': u"orm['orm.Package']"}),
193 'target': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.Target']", 'null': 'True'})
194 },
195 u'orm.package_file': {
196 'Meta': {'object_name': 'Package_File'},
197 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
198 'package': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'buildfilelist_package'", 'to': u"orm['orm.Package']"}),
199 'path': ('django.db.models.fields.FilePathField', [], {'max_length': '255', 'blank': 'True'}),
200 'size': ('django.db.models.fields.IntegerField', [], {})
201 },
202 u'orm.project': {
203 'Meta': {'object_name': 'Project'},
204 'bitbake_version': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.BitbakeVersion']", 'null': 'True'}),
205 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}),
206 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
207 'is_default': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
208 'name': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
209 'release': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.Release']", 'null': 'True'}),
210 'short_description': ('django.db.models.fields.CharField', [], {'max_length': '50', 'blank': 'True'}),
211 'updated': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}),
212 'user_id': ('django.db.models.fields.IntegerField', [], {'null': 'True'})
213 },
214 u'orm.projectlayer': {
215 'Meta': {'unique_together': "(('project', 'layercommit'),)", 'object_name': 'ProjectLayer'},
216 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
217 'layercommit': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.Layer_Version']", 'null': 'True'}),
218 'optional': ('django.db.models.fields.BooleanField', [], {'default': 'True'}),
219 'project': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.Project']"})
220 },
221 u'orm.projecttarget': {
222 'Meta': {'object_name': 'ProjectTarget'},
223 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
224 'project': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.Project']"}),
225 'target': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
226 'task': ('django.db.models.fields.CharField', [], {'max_length': '100', 'null': 'True'})
227 },
228 u'orm.projectvariable': {
229 'Meta': {'object_name': 'ProjectVariable'},
230 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
231 'name': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
232 'project': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.Project']"}),
233 'value': ('django.db.models.fields.TextField', [], {'blank': 'True'})
234 },
235 u'orm.recipe': {
236 'Meta': {'unique_together': "(('layer_version', 'file_path', 'pathflags'),)", 'object_name': 'Recipe'},
237 'bugtracker': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}),
238 'description': ('django.db.models.fields.TextField', [], {'blank': 'True'}),
239 'file_path': ('django.db.models.fields.FilePathField', [], {'max_length': '255'}),
240 'homepage': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}),
241 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
242 'is_image': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
243 'layer_source': ('django.db.models.fields.related.ForeignKey', [], {'default': 'None', 'to': u"orm['orm.LayerSource']", 'null': 'True'}),
244 'layer_version': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'recipe_layer_version'", 'to': u"orm['orm.Layer_Version']"}),
245 'license': ('django.db.models.fields.CharField', [], {'max_length': '200', 'blank': 'True'}),
246 'name': ('django.db.models.fields.CharField', [], {'max_length': '100', 'blank': 'True'}),
247 'pathflags': ('django.db.models.fields.CharField', [], {'max_length': '200', 'blank': 'True'}),
248 'section': ('django.db.models.fields.CharField', [], {'max_length': '100', 'blank': 'True'}),
249 'summary': ('django.db.models.fields.TextField', [], {'blank': 'True'}),
250 'up_date': ('django.db.models.fields.DateTimeField', [], {'default': 'None', 'null': 'True'}),
251 'up_id': ('django.db.models.fields.IntegerField', [], {'default': 'None', 'null': 'True'}),
252 'version': ('django.db.models.fields.CharField', [], {'max_length': '100', 'blank': 'True'})
253 },
254 u'orm.recipe_dependency': {
255 'Meta': {'object_name': 'Recipe_Dependency'},
256 'dep_type': ('django.db.models.fields.IntegerField', [], {}),
257 'depends_on': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'r_dependencies_depends'", 'to': u"orm['orm.Recipe']"}),
258 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
259 'recipe': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'r_dependencies_recipe'", 'to': u"orm['orm.Recipe']"})
260 },
261 u'orm.release': {
262 'Meta': {'object_name': 'Release'},
263 'bitbake_version': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.BitbakeVersion']"}),
264 'branch_name': ('django.db.models.fields.CharField', [], {'default': "''", 'max_length': '50'}),
265 'description': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
266 'helptext': ('django.db.models.fields.TextField', [], {'null': 'True'}),
267 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
268 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '32'})
269 },
270 u'orm.releasedefaultlayer': {
271 'Meta': {'object_name': 'ReleaseDefaultLayer'},
272 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
273 'layer_name': ('django.db.models.fields.CharField', [], {'default': "''", 'max_length': '100'}),
274 'release': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.Release']"})
275 },
276 u'orm.releaselayersourcepriority': {
277 'Meta': {'unique_together': "(('release', 'layer_source'),)", 'object_name': 'ReleaseLayerSourcePriority'},
278 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
279 'layer_source': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.LayerSource']"}),
280 'priority': ('django.db.models.fields.IntegerField', [], {'default': '0'}),
281 'release': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.Release']"})
282 },
283 u'orm.target': {
284 'Meta': {'object_name': 'Target'},
285 'build': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.Build']"}),
286 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
287 'image_size': ('django.db.models.fields.IntegerField', [], {'default': '0'}),
288 'is_image': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
289 'license_manifest_path': ('django.db.models.fields.CharField', [], {'max_length': '500', 'null': 'True'}),
290 'target': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
291 'task': ('django.db.models.fields.CharField', [], {'max_length': '100', 'null': 'True'})
292 },
293 u'orm.target_file': {
294 'Meta': {'object_name': 'Target_File'},
295 'directory': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'directory_set'", 'null': 'True', 'to': u"orm['orm.Target_File']"}),
296 'group': ('django.db.models.fields.CharField', [], {'max_length': '128'}),
297 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
298 'inodetype': ('django.db.models.fields.IntegerField', [], {}),
299 'owner': ('django.db.models.fields.CharField', [], {'max_length': '128'}),
300 'path': ('django.db.models.fields.FilePathField', [], {'max_length': '100'}),
301 'permission': ('django.db.models.fields.CharField', [], {'max_length': '16'}),
302 'size': ('django.db.models.fields.IntegerField', [], {}),
303 'sym_target': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'symlink_set'", 'null': 'True', 'to': u"orm['orm.Target_File']"}),
304 'target': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.Target']"})
305 },
306 u'orm.target_image_file': {
307 'Meta': {'object_name': 'Target_Image_File'},
308 'file_name': ('django.db.models.fields.FilePathField', [], {'max_length': '254'}),
309 'file_size': ('django.db.models.fields.IntegerField', [], {}),
310 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
311 'target': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.Target']"})
312 },
313 u'orm.target_installed_package': {
314 'Meta': {'object_name': 'Target_Installed_Package'},
315 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
316 'package': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'buildtargetlist_package'", 'to': u"orm['orm.Package']"}),
317 'target': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.Target']"})
318 },
319 u'orm.task': {
320 'Meta': {'ordering': "('order', 'recipe')", 'unique_together': "(('build', 'recipe', 'task_name'),)", 'object_name': 'Task'},
321 'build': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'task_build'", 'to': u"orm['orm.Build']"}),
322 'cpu_usage': ('django.db.models.fields.DecimalField', [], {'null': 'True', 'max_digits': '8', 'decimal_places': '2'}),
323 'disk_io': ('django.db.models.fields.IntegerField', [], {'null': 'True'}),
324 'elapsed_time': ('django.db.models.fields.DecimalField', [], {'null': 'True', 'max_digits': '8', 'decimal_places': '2'}),
325 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
326 'line_number': ('django.db.models.fields.IntegerField', [], {'default': '0'}),
327 'logfile': ('django.db.models.fields.FilePathField', [], {'max_length': '255', 'blank': 'True'}),
328 'message': ('django.db.models.fields.CharField', [], {'max_length': '240'}),
329 'order': ('django.db.models.fields.IntegerField', [], {'null': 'True'}),
330 'outcome': ('django.db.models.fields.IntegerField', [], {'default': '-1'}),
331 'path_to_sstate_obj': ('django.db.models.fields.FilePathField', [], {'max_length': '500', 'blank': 'True'}),
332 'recipe': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'tasks'", 'to': u"orm['orm.Recipe']"}),
333 'script_type': ('django.db.models.fields.IntegerField', [], {'default': '0'}),
334 'source_url': ('django.db.models.fields.FilePathField', [], {'max_length': '255', 'blank': 'True'}),
335 'sstate_checksum': ('django.db.models.fields.CharField', [], {'max_length': '100', 'blank': 'True'}),
336 'sstate_result': ('django.db.models.fields.IntegerField', [], {'default': '0'}),
337 'task_executed': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
338 'task_name': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
339 'work_directory': ('django.db.models.fields.FilePathField', [], {'max_length': '255', 'blank': 'True'})
340 },
341 u'orm.task_dependency': {
342 'Meta': {'object_name': 'Task_Dependency'},
343 'depends_on': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'task_dependencies_depends'", 'to': u"orm['orm.Task']"}),
344 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
345 'task': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'task_dependencies_task'", 'to': u"orm['orm.Task']"})
346 },
347 u'orm.toastersetting': {
348 'Meta': {'object_name': 'ToasterSetting'},
349 'helptext': ('django.db.models.fields.TextField', [], {}),
350 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
351 'name': ('django.db.models.fields.CharField', [], {'max_length': '63'}),
352 'value': ('django.db.models.fields.CharField', [], {'max_length': '255'})
353 },
354 u'orm.variable': {
355 'Meta': {'object_name': 'Variable'},
356 'build': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'variable_build'", 'to': u"orm['orm.Build']"}),
357 'changed': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
358 'description': ('django.db.models.fields.TextField', [], {'blank': 'True'}),
359 'human_readable_name': ('django.db.models.fields.CharField', [], {'max_length': '200'}),
360 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
361 'variable_name': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
362 'variable_value': ('django.db.models.fields.TextField', [], {'blank': 'True'})
363 },
364 u'orm.variablehistory': {
365 'Meta': {'object_name': 'VariableHistory'},
366 'file_name': ('django.db.models.fields.FilePathField', [], {'max_length': '255'}),
367 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
368 'line_number': ('django.db.models.fields.IntegerField', [], {'null': 'True'}),
369 'operation': ('django.db.models.fields.CharField', [], {'max_length': '64'}),
370 'value': ('django.db.models.fields.TextField', [], {'blank': 'True'}),
371 'variable': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'vhistory'", 'to': u"orm['orm.Variable']"})
372 }
373 }
374
375 complete_apps = ['orm'] \ No newline at end of file
diff --git a/bitbake/lib/toaster/orm/migrations/0028_auto__chg_field_logmessage_message.py b/bitbake/lib/toaster/orm/migrations/0028_auto__chg_field_logmessage_message.py
deleted file mode 100644
index a2f8661afc..0000000000
--- a/bitbake/lib/toaster/orm/migrations/0028_auto__chg_field_logmessage_message.py
+++ /dev/null
@@ -1,345 +0,0 @@
1# -*- coding: utf-8 -*-
2from south.utils import datetime_utils as datetime
3from south.db import db
4from south.v2 import SchemaMigration
5from django.db import models
6
7
8class Migration(SchemaMigration):
9
10 def forwards(self, orm):
11
12 # Changing field 'LogMessage.message'
13 db.alter_column(u'orm_logmessage', 'message', self.gf('django.db.models.fields.TextField')(null=True))
14
15 def backwards(self, orm):
16
17 # Changing field 'LogMessage.message'
18 db.alter_column(u'orm_logmessage', 'message', self.gf('django.db.models.fields.CharField')(default='', max_length=240))
19
20 models = {
21 u'orm.bitbakeversion': {
22 'Meta': {'object_name': 'BitbakeVersion'},
23 'branch': ('django.db.models.fields.CharField', [], {'max_length': '32'}),
24 'dirpath': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
25 'giturl': ('django.db.models.fields.URLField', [], {'max_length': '200'}),
26 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
27 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '32'})
28 },
29 u'orm.branch': {
30 'Meta': {'unique_together': "(('layer_source', 'name'), ('layer_source', 'up_id'))", 'object_name': 'Branch'},
31 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
32 'layer_source': ('django.db.models.fields.related.ForeignKey', [], {'default': 'True', 'to': u"orm['orm.LayerSource']", 'null': 'True'}),
33 'name': ('django.db.models.fields.CharField', [], {'max_length': '50'}),
34 'short_description': ('django.db.models.fields.CharField', [], {'max_length': '50', 'blank': 'True'}),
35 'up_date': ('django.db.models.fields.DateTimeField', [], {'default': 'None', 'null': 'True'}),
36 'up_id': ('django.db.models.fields.IntegerField', [], {'default': 'None', 'null': 'True'})
37 },
38 u'orm.build': {
39 'Meta': {'object_name': 'Build'},
40 'bitbake_version': ('django.db.models.fields.CharField', [], {'max_length': '50'}),
41 'build_name': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
42 'completed_on': ('django.db.models.fields.DateTimeField', [], {}),
43 'cooker_log_path': ('django.db.models.fields.CharField', [], {'max_length': '500'}),
44 'distro': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
45 'distro_version': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
46 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
47 'machine': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
48 'outcome': ('django.db.models.fields.IntegerField', [], {'default': '2'}),
49 'project': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.Project']"}),
50 'started_on': ('django.db.models.fields.DateTimeField', [], {})
51 },
52 u'orm.buildartifact': {
53 'Meta': {'object_name': 'BuildArtifact'},
54 'build': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.Build']"}),
55 'file_name': ('django.db.models.fields.FilePathField', [], {'max_length': '100'}),
56 'file_size': ('django.db.models.fields.IntegerField', [], {}),
57 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'})
58 },
59 u'orm.customimagerecipe': {
60 'Meta': {'unique_together': "(('name', 'project'),)", 'object_name': 'CustomImageRecipe'},
61 'base_recipe': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.Recipe']"}),
62 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
63 'name': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
64 'packages': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['orm.Package']", 'symmetrical': 'False'}),
65 'project': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.Project']"})
66 },
67 u'orm.helptext': {
68 'Meta': {'object_name': 'HelpText'},
69 'area': ('django.db.models.fields.IntegerField', [], {}),
70 'build': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'helptext_build'", 'to': u"orm['orm.Build']"}),
71 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
72 'key': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
73 'text': ('django.db.models.fields.TextField', [], {})
74 },
75 u'orm.layer': {
76 'Meta': {'unique_together': "(('layer_source', 'up_id'), ('layer_source', 'name'))", 'object_name': 'Layer'},
77 'description': ('django.db.models.fields.TextField', [], {'default': 'None', 'null': 'True'}),
78 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
79 'layer_index_url': ('django.db.models.fields.URLField', [], {'max_length': '200'}),
80 'layer_source': ('django.db.models.fields.related.ForeignKey', [], {'default': 'None', 'to': u"orm['orm.LayerSource']", 'null': 'True'}),
81 'name': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
82 'summary': ('django.db.models.fields.TextField', [], {'default': 'None', 'null': 'True'}),
83 'up_date': ('django.db.models.fields.DateTimeField', [], {'default': 'None', 'null': 'True'}),
84 'up_id': ('django.db.models.fields.IntegerField', [], {'default': 'None', 'null': 'True'}),
85 'vcs_url': ('django.db.models.fields.URLField', [], {'default': 'None', 'max_length': '200', 'null': 'True'}),
86 'vcs_web_file_base_url': ('django.db.models.fields.URLField', [], {'default': 'None', 'max_length': '200', 'null': 'True'}),
87 'vcs_web_tree_base_url': ('django.db.models.fields.URLField', [], {'default': 'None', 'max_length': '200', 'null': 'True'}),
88 'vcs_web_url': ('django.db.models.fields.URLField', [], {'default': 'None', 'max_length': '200', 'null': 'True'})
89 },
90 u'orm.layer_version': {
91 'Meta': {'unique_together': "(('layer_source', 'up_id'),)", 'object_name': 'Layer_Version'},
92 'branch': ('django.db.models.fields.CharField', [], {'max_length': '80'}),
93 'build': ('django.db.models.fields.related.ForeignKey', [], {'default': 'None', 'related_name': "'layer_version_build'", 'null': 'True', 'to': u"orm['orm.Build']"}),
94 'commit': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
95 'dirpath': ('django.db.models.fields.CharField', [], {'default': 'None', 'max_length': '255', 'null': 'True'}),
96 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
97 'layer': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'layer_version_layer'", 'to': u"orm['orm.Layer']"}),
98 'layer_source': ('django.db.models.fields.related.ForeignKey', [], {'default': 'None', 'to': u"orm['orm.LayerSource']", 'null': 'True'}),
99 'local_path': ('django.db.models.fields.FilePathField', [], {'default': "'/'", 'max_length': '1024'}),
100 'priority': ('django.db.models.fields.IntegerField', [], {'default': '0'}),
101 'project': ('django.db.models.fields.related.ForeignKey', [], {'default': 'None', 'to': u"orm['orm.Project']", 'null': 'True'}),
102 'up_branch': ('django.db.models.fields.related.ForeignKey', [], {'default': 'None', 'to': u"orm['orm.Branch']", 'null': 'True'}),
103 'up_date': ('django.db.models.fields.DateTimeField', [], {'default': 'None', 'null': 'True'}),
104 'up_id': ('django.db.models.fields.IntegerField', [], {'default': 'None', 'null': 'True'})
105 },
106 u'orm.layersource': {
107 'Meta': {'unique_together': "(('sourcetype', 'apiurl'),)", 'object_name': 'LayerSource'},
108 'apiurl': ('django.db.models.fields.CharField', [], {'default': 'None', 'max_length': '255', 'null': 'True'}),
109 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
110 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '63'}),
111 'sourcetype': ('django.db.models.fields.IntegerField', [], {})
112 },
113 u'orm.layerversiondependency': {
114 'Meta': {'unique_together': "(('layer_source', 'up_id'),)", 'object_name': 'LayerVersionDependency'},
115 'depends_on': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'dependees'", 'to': u"orm['orm.Layer_Version']"}),
116 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
117 'layer_source': ('django.db.models.fields.related.ForeignKey', [], {'default': 'None', 'to': u"orm['orm.LayerSource']", 'null': 'True'}),
118 'layer_version': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'dependencies'", 'to': u"orm['orm.Layer_Version']"}),
119 'up_id': ('django.db.models.fields.IntegerField', [], {'default': 'None', 'null': 'True'})
120 },
121 u'orm.logmessage': {
122 'Meta': {'object_name': 'LogMessage'},
123 'build': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.Build']"}),
124 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
125 'level': ('django.db.models.fields.IntegerField', [], {'default': '0'}),
126 'lineno': ('django.db.models.fields.IntegerField', [], {'null': 'True'}),
127 'message': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}),
128 'pathname': ('django.db.models.fields.FilePathField', [], {'max_length': '255', 'blank': 'True'}),
129 'task': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.Task']", 'null': 'True', 'blank': 'True'})
130 },
131 u'orm.machine': {
132 'Meta': {'unique_together': "(('layer_source', 'up_id'),)", 'object_name': 'Machine'},
133 'description': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
134 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
135 'layer_source': ('django.db.models.fields.related.ForeignKey', [], {'default': 'None', 'to': u"orm['orm.LayerSource']", 'null': 'True'}),
136 'layer_version': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.Layer_Version']"}),
137 'name': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
138 'up_date': ('django.db.models.fields.DateTimeField', [], {'default': 'None', 'null': 'True'}),
139 'up_id': ('django.db.models.fields.IntegerField', [], {'default': 'None', 'null': 'True'})
140 },
141 u'orm.package': {
142 'Meta': {'object_name': 'Package'},
143 'build': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.Build']", 'null': 'True'}),
144 'description': ('django.db.models.fields.TextField', [], {'blank': 'True'}),
145 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
146 'installed_name': ('django.db.models.fields.CharField', [], {'default': "''", 'max_length': '100'}),
147 'installed_size': ('django.db.models.fields.IntegerField', [], {'default': '0'}),
148 'license': ('django.db.models.fields.CharField', [], {'max_length': '80', 'blank': 'True'}),
149 'name': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
150 'recipe': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.Recipe']", 'null': 'True'}),
151 'revision': ('django.db.models.fields.CharField', [], {'max_length': '32', 'blank': 'True'}),
152 'section': ('django.db.models.fields.CharField', [], {'max_length': '80', 'blank': 'True'}),
153 'size': ('django.db.models.fields.IntegerField', [], {'default': '0'}),
154 'summary': ('django.db.models.fields.TextField', [], {'blank': 'True'}),
155 'version': ('django.db.models.fields.CharField', [], {'max_length': '100', 'blank': 'True'})
156 },
157 u'orm.package_dependency': {
158 'Meta': {'object_name': 'Package_Dependency'},
159 'dep_type': ('django.db.models.fields.IntegerField', [], {}),
160 'depends_on': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'package_dependencies_target'", 'to': u"orm['orm.Package']"}),
161 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
162 'package': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'package_dependencies_source'", 'to': u"orm['orm.Package']"}),
163 'target': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.Target']", 'null': 'True'})
164 },
165 u'orm.package_file': {
166 'Meta': {'object_name': 'Package_File'},
167 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
168 'package': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'buildfilelist_package'", 'to': u"orm['orm.Package']"}),
169 'path': ('django.db.models.fields.FilePathField', [], {'max_length': '255', 'blank': 'True'}),
170 'size': ('django.db.models.fields.IntegerField', [], {})
171 },
172 u'orm.project': {
173 'Meta': {'object_name': 'Project'},
174 'bitbake_version': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.BitbakeVersion']", 'null': 'True'}),
175 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}),
176 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
177 'is_default': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
178 'name': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
179 'release': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.Release']", 'null': 'True'}),
180 'short_description': ('django.db.models.fields.CharField', [], {'max_length': '50', 'blank': 'True'}),
181 'updated': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}),
182 'user_id': ('django.db.models.fields.IntegerField', [], {'null': 'True'})
183 },
184 u'orm.projectlayer': {
185 'Meta': {'unique_together': "(('project', 'layercommit'),)", 'object_name': 'ProjectLayer'},
186 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
187 'layercommit': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.Layer_Version']", 'null': 'True'}),
188 'optional': ('django.db.models.fields.BooleanField', [], {'default': 'True'}),
189 'project': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.Project']"})
190 },
191 u'orm.projecttarget': {
192 'Meta': {'object_name': 'ProjectTarget'},
193 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
194 'project': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.Project']"}),
195 'target': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
196 'task': ('django.db.models.fields.CharField', [], {'max_length': '100', 'null': 'True'})
197 },
198 u'orm.projectvariable': {
199 'Meta': {'object_name': 'ProjectVariable'},
200 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
201 'name': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
202 'project': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.Project']"}),
203 'value': ('django.db.models.fields.TextField', [], {'blank': 'True'})
204 },
205 u'orm.recipe': {
206 'Meta': {'unique_together': "(('layer_version', 'file_path', 'pathflags'),)", 'object_name': 'Recipe'},
207 'bugtracker': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}),
208 'description': ('django.db.models.fields.TextField', [], {'blank': 'True'}),
209 'file_path': ('django.db.models.fields.FilePathField', [], {'max_length': '255'}),
210 'homepage': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}),
211 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
212 'is_image': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
213 'layer_source': ('django.db.models.fields.related.ForeignKey', [], {'default': 'None', 'to': u"orm['orm.LayerSource']", 'null': 'True'}),
214 'layer_version': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'recipe_layer_version'", 'to': u"orm['orm.Layer_Version']"}),
215 'license': ('django.db.models.fields.CharField', [], {'max_length': '200', 'blank': 'True'}),
216 'name': ('django.db.models.fields.CharField', [], {'max_length': '100', 'blank': 'True'}),
217 'pathflags': ('django.db.models.fields.CharField', [], {'max_length': '200', 'blank': 'True'}),
218 'section': ('django.db.models.fields.CharField', [], {'max_length': '100', 'blank': 'True'}),
219 'summary': ('django.db.models.fields.TextField', [], {'blank': 'True'}),
220 'up_date': ('django.db.models.fields.DateTimeField', [], {'default': 'None', 'null': 'True'}),
221 'up_id': ('django.db.models.fields.IntegerField', [], {'default': 'None', 'null': 'True'}),
222 'version': ('django.db.models.fields.CharField', [], {'max_length': '100', 'blank': 'True'})
223 },
224 u'orm.recipe_dependency': {
225 'Meta': {'object_name': 'Recipe_Dependency'},
226 'dep_type': ('django.db.models.fields.IntegerField', [], {}),
227 'depends_on': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'r_dependencies_depends'", 'to': u"orm['orm.Recipe']"}),
228 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
229 'recipe': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'r_dependencies_recipe'", 'to': u"orm['orm.Recipe']"})
230 },
231 u'orm.release': {
232 'Meta': {'object_name': 'Release'},
233 'bitbake_version': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.BitbakeVersion']"}),
234 'branch_name': ('django.db.models.fields.CharField', [], {'default': "''", 'max_length': '50'}),
235 'description': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
236 'helptext': ('django.db.models.fields.TextField', [], {'null': 'True'}),
237 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
238 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '32'})
239 },
240 u'orm.releasedefaultlayer': {
241 'Meta': {'object_name': 'ReleaseDefaultLayer'},
242 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
243 'layer_name': ('django.db.models.fields.CharField', [], {'default': "''", 'max_length': '100'}),
244 'release': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.Release']"})
245 },
246 u'orm.releaselayersourcepriority': {
247 'Meta': {'unique_together': "(('release', 'layer_source'),)", 'object_name': 'ReleaseLayerSourcePriority'},
248 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
249 'layer_source': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.LayerSource']"}),
250 'priority': ('django.db.models.fields.IntegerField', [], {'default': '0'}),
251 'release': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.Release']"})
252 },
253 u'orm.target': {
254 'Meta': {'object_name': 'Target'},
255 'build': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.Build']"}),
256 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
257 'image_size': ('django.db.models.fields.IntegerField', [], {'default': '0'}),
258 'is_image': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
259 'license_manifest_path': ('django.db.models.fields.CharField', [], {'max_length': '500', 'null': 'True'}),
260 'target': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
261 'task': ('django.db.models.fields.CharField', [], {'max_length': '100', 'null': 'True'})
262 },
263 u'orm.target_file': {
264 'Meta': {'object_name': 'Target_File'},
265 'directory': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'directory_set'", 'null': 'True', 'to': u"orm['orm.Target_File']"}),
266 'group': ('django.db.models.fields.CharField', [], {'max_length': '128'}),
267 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
268 'inodetype': ('django.db.models.fields.IntegerField', [], {}),
269 'owner': ('django.db.models.fields.CharField', [], {'max_length': '128'}),
270 'path': ('django.db.models.fields.FilePathField', [], {'max_length': '100'}),
271 'permission': ('django.db.models.fields.CharField', [], {'max_length': '16'}),
272 'size': ('django.db.models.fields.IntegerField', [], {}),
273 'sym_target': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'symlink_set'", 'null': 'True', 'to': u"orm['orm.Target_File']"}),
274 'target': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.Target']"})
275 },
276 u'orm.target_image_file': {
277 'Meta': {'object_name': 'Target_Image_File'},
278 'file_name': ('django.db.models.fields.FilePathField', [], {'max_length': '254'}),
279 'file_size': ('django.db.models.fields.IntegerField', [], {}),
280 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
281 'target': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.Target']"})
282 },
283 u'orm.target_installed_package': {
284 'Meta': {'object_name': 'Target_Installed_Package'},
285 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
286 'package': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'buildtargetlist_package'", 'to': u"orm['orm.Package']"}),
287 'target': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.Target']"})
288 },
289 u'orm.task': {
290 'Meta': {'ordering': "('order', 'recipe')", 'unique_together': "(('build', 'recipe', 'task_name'),)", 'object_name': 'Task'},
291 'build': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'task_build'", 'to': u"orm['orm.Build']"}),
292 'cpu_usage': ('django.db.models.fields.DecimalField', [], {'null': 'True', 'max_digits': '8', 'decimal_places': '2'}),
293 'disk_io': ('django.db.models.fields.IntegerField', [], {'null': 'True'}),
294 'elapsed_time': ('django.db.models.fields.DecimalField', [], {'null': 'True', 'max_digits': '8', 'decimal_places': '2'}),
295 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
296 'line_number': ('django.db.models.fields.IntegerField', [], {'default': '0'}),
297 'logfile': ('django.db.models.fields.FilePathField', [], {'max_length': '255', 'blank': 'True'}),
298 'message': ('django.db.models.fields.CharField', [], {'max_length': '240'}),
299 'order': ('django.db.models.fields.IntegerField', [], {'null': 'True'}),
300 'outcome': ('django.db.models.fields.IntegerField', [], {'default': '-1'}),
301 'path_to_sstate_obj': ('django.db.models.fields.FilePathField', [], {'max_length': '500', 'blank': 'True'}),
302 'recipe': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'tasks'", 'to': u"orm['orm.Recipe']"}),
303 'script_type': ('django.db.models.fields.IntegerField', [], {'default': '0'}),
304 'source_url': ('django.db.models.fields.FilePathField', [], {'max_length': '255', 'blank': 'True'}),
305 'sstate_checksum': ('django.db.models.fields.CharField', [], {'max_length': '100', 'blank': 'True'}),
306 'sstate_result': ('django.db.models.fields.IntegerField', [], {'default': '0'}),
307 'task_executed': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
308 'task_name': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
309 'work_directory': ('django.db.models.fields.FilePathField', [], {'max_length': '255', 'blank': 'True'})
310 },
311 u'orm.task_dependency': {
312 'Meta': {'object_name': 'Task_Dependency'},
313 'depends_on': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'task_dependencies_depends'", 'to': u"orm['orm.Task']"}),
314 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
315 'task': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'task_dependencies_task'", 'to': u"orm['orm.Task']"})
316 },
317 u'orm.toastersetting': {
318 'Meta': {'object_name': 'ToasterSetting'},
319 'helptext': ('django.db.models.fields.TextField', [], {}),
320 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
321 'name': ('django.db.models.fields.CharField', [], {'max_length': '63'}),
322 'value': ('django.db.models.fields.CharField', [], {'max_length': '255'})
323 },
324 u'orm.variable': {
325 'Meta': {'object_name': 'Variable'},
326 'build': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'variable_build'", 'to': u"orm['orm.Build']"}),
327 'changed': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
328 'description': ('django.db.models.fields.TextField', [], {'blank': 'True'}),
329 'human_readable_name': ('django.db.models.fields.CharField', [], {'max_length': '200'}),
330 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
331 'variable_name': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
332 'variable_value': ('django.db.models.fields.TextField', [], {'blank': 'True'})
333 },
334 u'orm.variablehistory': {
335 'Meta': {'object_name': 'VariableHistory'},
336 'file_name': ('django.db.models.fields.FilePathField', [], {'max_length': '255'}),
337 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
338 'line_number': ('django.db.models.fields.IntegerField', [], {'null': 'True'}),
339 'operation': ('django.db.models.fields.CharField', [], {'max_length': '64'}),
340 'value': ('django.db.models.fields.TextField', [], {'blank': 'True'}),
341 'variable': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'vhistory'", 'to': u"orm['orm.Variable']"})
342 }
343 }
344
345 complete_apps = ['orm'] \ No newline at end of file