summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/toaster/bldcontrol/migrations
diff options
context:
space:
mode:
Diffstat (limited to 'bitbake/lib/toaster/bldcontrol/migrations')
-rw-r--r--bitbake/lib/toaster/bldcontrol/migrations/0001_initial.py113
-rw-r--r--bitbake/lib/toaster/bldcontrol/migrations/0002_auto_20160120_1250.py19
-rw-r--r--bitbake/lib/toaster/bldcontrol/migrations/0003_add_cancelling_state.py19
-rw-r--r--bitbake/lib/toaster/bldcontrol/migrations/0004_auto_20160523_1446.py34
-rw-r--r--bitbake/lib/toaster/bldcontrol/migrations/0005_reorder_buildrequest_states.py19
-rw-r--r--bitbake/lib/toaster/bldcontrol/migrations/0006_brlayer_local_source_dir.py19
-rw-r--r--bitbake/lib/toaster/bldcontrol/migrations/0007_brlayers_optional_gitinfo.py29
-rw-r--r--bitbake/lib/toaster/bldcontrol/migrations/0008_models_bigautofield.py48
-rw-r--r--bitbake/lib/toaster/bldcontrol/migrations/__init__.py0
9 files changed, 0 insertions, 300 deletions
diff --git a/bitbake/lib/toaster/bldcontrol/migrations/0001_initial.py b/bitbake/lib/toaster/bldcontrol/migrations/0001_initial.py
deleted file mode 100644
index 7ee19f4745..0000000000
--- a/bitbake/lib/toaster/bldcontrol/migrations/0001_initial.py
+++ /dev/null
@@ -1,113 +0,0 @@
1# -*- coding: utf-8 -*-
2from __future__ import unicode_literals
3
4from django.db import migrations, models
5
6
7class Migration(migrations.Migration):
8
9 dependencies = [
10 ('orm', '0001_initial'),
11 ]
12
13 operations = [
14 migrations.CreateModel(
15 name='BRBitbake',
16 fields=[
17 ('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)),
18 ('giturl', models.CharField(max_length=254)),
19 ('commit', models.CharField(max_length=254)),
20 ('dirpath', models.CharField(max_length=254)),
21 ],
22 ),
23 migrations.CreateModel(
24 name='BRError',
25 fields=[
26 ('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)),
27 ('errtype', models.CharField(max_length=100)),
28 ('errmsg', models.TextField()),
29 ('traceback', models.TextField()),
30 ],
31 ),
32 migrations.CreateModel(
33 name='BRLayer',
34 fields=[
35 ('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)),
36 ('name', models.CharField(max_length=100)),
37 ('giturl', models.CharField(max_length=254)),
38 ('commit', models.CharField(max_length=254)),
39 ('dirpath', models.CharField(max_length=254)),
40 ('layer_version', models.ForeignKey(to='orm.Layer_Version', null=True, on_delete=models.CASCADE)),
41 ],
42 ),
43 migrations.CreateModel(
44 name='BRTarget',
45 fields=[
46 ('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)),
47 ('target', models.CharField(max_length=100)),
48 ('task', models.CharField(max_length=100, null=True)),
49 ],
50 ),
51 migrations.CreateModel(
52 name='BRVariable',
53 fields=[
54 ('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)),
55 ('name', models.CharField(max_length=100)),
56 ('value', models.TextField(blank=True)),
57 ],
58 ),
59 migrations.CreateModel(
60 name='BuildEnvironment',
61 fields=[
62 ('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)),
63 ('address', models.CharField(max_length=254)),
64 ('betype', models.IntegerField(choices=[(0, b'local'), (1, b'ssh')])),
65 ('bbaddress', models.CharField(max_length=254, blank=True)),
66 ('bbport', models.IntegerField(default=-1)),
67 ('bbtoken', models.CharField(max_length=126, blank=True)),
68 ('bbstate', models.IntegerField(default=0, choices=[(0, b'stopped'), (1, b'started')])),
69 ('sourcedir', models.CharField(max_length=512, blank=True)),
70 ('builddir', models.CharField(max_length=512, blank=True)),
71 ('lock', models.IntegerField(default=0, choices=[(0, b'free'), (1, b'lock'), (2, b'running')])),
72 ('created', models.DateTimeField(auto_now_add=True)),
73 ('updated', models.DateTimeField(auto_now=True)),
74 ],
75 ),
76 migrations.CreateModel(
77 name='BuildRequest',
78 fields=[
79 ('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)),
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 ('created', models.DateTimeField(auto_now_add=True)),
82 ('updated', models.DateTimeField(auto_now=True)),
83 ('build', models.OneToOneField(null=True, to='orm.Build', on_delete=models.CASCADE)),
84 ('environment', models.ForeignKey(to='bldcontrol.BuildEnvironment', null=True, on_delete=models.CASCADE)),
85 ('project', models.ForeignKey(to='orm.Project', on_delete=models.CASCADE)),
86 ],
87 ),
88 migrations.AddField(
89 model_name='brvariable',
90 name='req',
91 field=models.ForeignKey(to='bldcontrol.BuildRequest', on_delete=models.CASCADE),
92 ),
93 migrations.AddField(
94 model_name='brtarget',
95 name='req',
96 field=models.ForeignKey(to='bldcontrol.BuildRequest', on_delete=models.CASCADE),
97 ),
98 migrations.AddField(
99 model_name='brlayer',
100 name='req',
101 field=models.ForeignKey(to='bldcontrol.BuildRequest', on_delete=models.CASCADE),
102 ),
103 migrations.AddField(
104 model_name='brerror',
105 name='req',
106 field=models.ForeignKey(to='bldcontrol.BuildRequest', on_delete=models.CASCADE),
107 ),
108 migrations.AddField(
109 model_name='brbitbake',
110 name='req',
111 field=models.OneToOneField(to='bldcontrol.BuildRequest', on_delete=models.CASCADE),
112 ),
113 ]
diff --git a/bitbake/lib/toaster/bldcontrol/migrations/0002_auto_20160120_1250.py b/bitbake/lib/toaster/bldcontrol/migrations/0002_auto_20160120_1250.py
deleted file mode 100644
index 0c2475aba5..0000000000
--- a/bitbake/lib/toaster/bldcontrol/migrations/0002_auto_20160120_1250.py
+++ /dev/null
@@ -1,19 +0,0 @@
1# -*- coding: utf-8 -*-
2from __future__ import unicode_literals
3
4from django.db import migrations, models
5
6
7class Migration(migrations.Migration):
8
9 dependencies = [
10 ('bldcontrol', '0001_initial'),
11 ]
12
13 operations = [
14 migrations.AlterField(
15 model_name='buildenvironment',
16 name='betype',
17 field=models.IntegerField(choices=[(0, b'local')]),
18 ),
19 ]
diff --git a/bitbake/lib/toaster/bldcontrol/migrations/0003_add_cancelling_state.py b/bitbake/lib/toaster/bldcontrol/migrations/0003_add_cancelling_state.py
deleted file mode 100644
index eec9216ca3..0000000000
--- a/bitbake/lib/toaster/bldcontrol/migrations/0003_add_cancelling_state.py
+++ /dev/null
@@ -1,19 +0,0 @@
1# -*- coding: utf-8 -*-
2from __future__ import unicode_literals
3
4from django.db import migrations, models
5
6
7class Migration(migrations.Migration):
8
9 dependencies = [
10 ('bldcontrol', '0002_auto_20160120_1250'),
11 ]
12
13 operations = [
14 migrations.AlterField(
15 model_name='buildrequest',
16 name='state',
17 field=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'cancelling'), (7, b'archive')]),
18 ),
19 ]
diff --git a/bitbake/lib/toaster/bldcontrol/migrations/0004_auto_20160523_1446.py b/bitbake/lib/toaster/bldcontrol/migrations/0004_auto_20160523_1446.py
deleted file mode 100644
index 3d90629541..0000000000
--- a/bitbake/lib/toaster/bldcontrol/migrations/0004_auto_20160523_1446.py
+++ /dev/null
@@ -1,34 +0,0 @@
1# -*- coding: utf-8 -*-
2from __future__ import unicode_literals
3
4from django.db import migrations, models
5
6
7class Migration(migrations.Migration):
8
9 dependencies = [
10 ('bldcontrol', '0003_add_cancelling_state'),
11 ]
12
13 operations = [
14 migrations.AlterField(
15 model_name='buildenvironment',
16 name='bbstate',
17 field=models.IntegerField(default=0, choices=[(0, 'stopped'), (1, 'started')]),
18 ),
19 migrations.AlterField(
20 model_name='buildenvironment',
21 name='betype',
22 field=models.IntegerField(choices=[(0, 'local')]),
23 ),
24 migrations.AlterField(
25 model_name='buildenvironment',
26 name='lock',
27 field=models.IntegerField(default=0, choices=[(0, 'free'), (1, 'lock'), (2, 'running')]),
28 ),
29 migrations.AlterField(
30 model_name='buildrequest',
31 name='state',
32 field=models.IntegerField(default=0, choices=[(0, 'created'), (1, 'queued'), (2, 'in progress'), (3, 'completed'), (4, 'failed'), (5, 'deleted'), (6, 'cancelling'), (7, 'archive')]),
33 ),
34 ]
diff --git a/bitbake/lib/toaster/bldcontrol/migrations/0005_reorder_buildrequest_states.py b/bitbake/lib/toaster/bldcontrol/migrations/0005_reorder_buildrequest_states.py
deleted file mode 100644
index 4bb9517768..0000000000
--- a/bitbake/lib/toaster/bldcontrol/migrations/0005_reorder_buildrequest_states.py
+++ /dev/null
@@ -1,19 +0,0 @@
1# -*- coding: utf-8 -*-
2from __future__ import unicode_literals
3
4from django.db import migrations, models
5
6
7class Migration(migrations.Migration):
8
9 dependencies = [
10 ('bldcontrol', '0004_auto_20160523_1446'),
11 ]
12
13 operations = [
14 migrations.AlterField(
15 model_name='buildrequest',
16 name='state',
17 field=models.IntegerField(choices=[(0, 'created'), (1, 'queued'), (2, 'in progress'), (3, 'failed'), (4, 'deleted'), (5, 'cancelling'), (6, 'completed'), (7, 'archive')], default=0),
18 ),
19 ]
diff --git a/bitbake/lib/toaster/bldcontrol/migrations/0006_brlayer_local_source_dir.py b/bitbake/lib/toaster/bldcontrol/migrations/0006_brlayer_local_source_dir.py
deleted file mode 100644
index 2460002f07..0000000000
--- a/bitbake/lib/toaster/bldcontrol/migrations/0006_brlayer_local_source_dir.py
+++ /dev/null
@@ -1,19 +0,0 @@
1# -*- coding: utf-8 -*-
2from __future__ import unicode_literals
3
4from django.db import migrations, models
5
6
7class Migration(migrations.Migration):
8
9 dependencies = [
10 ('bldcontrol', '0005_reorder_buildrequest_states'),
11 ]
12
13 operations = [
14 migrations.AddField(
15 model_name='brlayer',
16 name='local_source_dir',
17 field=models.CharField(max_length=254, null=True),
18 ),
19 ]
diff --git a/bitbake/lib/toaster/bldcontrol/migrations/0007_brlayers_optional_gitinfo.py b/bitbake/lib/toaster/bldcontrol/migrations/0007_brlayers_optional_gitinfo.py
deleted file mode 100644
index 4be42a4cf9..0000000000
--- a/bitbake/lib/toaster/bldcontrol/migrations/0007_brlayers_optional_gitinfo.py
+++ /dev/null
@@ -1,29 +0,0 @@
1# -*- coding: utf-8 -*-
2from __future__ import unicode_literals
3
4from django.db import migrations, models
5
6
7class Migration(migrations.Migration):
8
9 dependencies = [
10 ('bldcontrol', '0006_brlayer_local_source_dir'),
11 ]
12
13 operations = [
14 migrations.AlterField(
15 model_name='brlayer',
16 name='commit',
17 field=models.CharField(max_length=254, null=True),
18 ),
19 migrations.AlterField(
20 model_name='brlayer',
21 name='dirpath',
22 field=models.CharField(max_length=254, null=True),
23 ),
24 migrations.AlterField(
25 model_name='brlayer',
26 name='giturl',
27 field=models.CharField(max_length=254, null=True),
28 ),
29 ]
diff --git a/bitbake/lib/toaster/bldcontrol/migrations/0008_models_bigautofield.py b/bitbake/lib/toaster/bldcontrol/migrations/0008_models_bigautofield.py
deleted file mode 100644
index 45b477d02c..0000000000
--- a/bitbake/lib/toaster/bldcontrol/migrations/0008_models_bigautofield.py
+++ /dev/null
@@ -1,48 +0,0 @@
1# Generated by Django 3.2.12 on 2022-03-06 03:28
2
3from django.db import migrations, models
4
5
6class Migration(migrations.Migration):
7
8 dependencies = [
9 ('bldcontrol', '0007_brlayers_optional_gitinfo'),
10 ]
11
12 operations = [
13 migrations.AlterField(
14 model_name='brbitbake',
15 name='id',
16 field=models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID'),
17 ),
18 migrations.AlterField(
19 model_name='brerror',
20 name='id',
21 field=models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID'),
22 ),
23 migrations.AlterField(
24 model_name='brlayer',
25 name='id',
26 field=models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID'),
27 ),
28 migrations.AlterField(
29 model_name='brtarget',
30 name='id',
31 field=models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID'),
32 ),
33 migrations.AlterField(
34 model_name='brvariable',
35 name='id',
36 field=models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID'),
37 ),
38 migrations.AlterField(
39 model_name='buildenvironment',
40 name='id',
41 field=models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID'),
42 ),
43 migrations.AlterField(
44 model_name='buildrequest',
45 name='id',
46 field=models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID'),
47 ),
48 ]
diff --git a/bitbake/lib/toaster/bldcontrol/migrations/__init__.py b/bitbake/lib/toaster/bldcontrol/migrations/__init__.py
deleted file mode 100644
index e69de29bb2..0000000000
--- a/bitbake/lib/toaster/bldcontrol/migrations/__init__.py
+++ /dev/null