summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/toaster/orm
diff options
context:
space:
mode:
authorAlexandru DAMIAN <alexandru.damian@intel.com>2013-11-27 13:56:19 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-12-10 11:16:12 +0000
commitea307bbcff38fdc93aab438156ed60704e06d27a (patch)
treef58e0cd69ac7a61d1f31d060e84604aa40d1a92e /bitbake/lib/toaster/orm
parent6cbc83fe8977c07ad2ac829f13fb850c054d89b7 (diff)
downloadpoky-ea307bbcff38fdc93aab438156ed60704e06d27a.tar.gz
bitbake: toaster: move layer information reading code
In the processes of removing local system accesses from toaster UI, we remove the layer data reading code that was moved to toaster.bbclass, and adapt the database writing code to read the data from event sent by the toaster.bbclass [YOCTO #5604] (Bitbake rev: 33b60a940f58e8374a8c7baa9bf28a98f54cdf13) Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/toaster/orm')
-rw-r--r--bitbake/lib/toaster/orm/models.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/bitbake/lib/toaster/orm/models.py b/bitbake/lib/toaster/orm/models.py
index cac8367960..0bb048c756 100644
--- a/bitbake/lib/toaster/orm/models.py
+++ b/bitbake/lib/toaster/orm/models.py
@@ -229,6 +229,7 @@ class Layer(models.Model):
229 229
230 230
231class Layer_Version(models.Model): 231class Layer_Version(models.Model):
232 build = models.ForeignKey(Build, related_name='layer_version_build')
232 layer = models.ForeignKey(Layer, related_name='layer_version_layer') 233 layer = models.ForeignKey(Layer, related_name='layer_version_layer')
233 branch = models.CharField(max_length=50) 234 branch = models.CharField(max_length=50)
234 commit = models.CharField(max_length=100) 235 commit = models.CharField(max_length=100)