diff options
author | David Reyna <David.Reyna@windriver.com> | 2014-03-21 05:35:50 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-03-28 13:44:51 +0000 |
commit | 405e190b314db29e1332c56376dff026a9631202 (patch) | |
tree | f9a7258813022224887fd2ecb81d1b2fe7ebf93e /bitbake/lib/toaster/orm | |
parent | 8c3eb5ee4582b6f6d489549290937657f37fc19e (diff) | |
download | poky-405e190b314db29e1332c56376dff026a9631202.tar.gz |
bitbake: toaster: add Image detail and multiple targets to dashboard
Filled in the Image section detail information and allow for multiple targets.
Each target has a separate section. Added license manifest display. Changed the
target of the license manifest link. Added Tasks failed in the build summary.
The target lists required filters to create sorted lists.
[YOCTO #4258]
[YOCTO #5936]
(Bitbake rev: 09b099903bdf51bfb277b9a8f922255cfe83ab96)
Signed-off-by: Farrell Wymore <farrell.wymore@windriver.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.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/bitbake/lib/toaster/orm/models.py b/bitbake/lib/toaster/orm/models.py index 30599088e5..4975433acd 100644 --- a/bitbake/lib/toaster/orm/models.py +++ b/bitbake/lib/toaster/orm/models.py | |||
@@ -50,6 +50,11 @@ class Build(models.Model): | |||
50 | build_name = models.CharField(max_length=100) | 50 | build_name = models.CharField(max_length=100) |
51 | bitbake_version = models.CharField(max_length=50) | 51 | bitbake_version = models.CharField(max_length=50) |
52 | 52 | ||
53 | def get_sorted_target_list(self): | ||
54 | tgts = Target.objects.filter(build_id = self.id).order_by( 'target' ); | ||
55 | return( tgts ); | ||
56 | |||
57 | |||
53 | @python_2_unicode_compatible | 58 | @python_2_unicode_compatible |
54 | class Target(models.Model): | 59 | class Target(models.Model): |
55 | search_allowed_fields = ['target', 'file_name'] | 60 | search_allowed_fields = ['target', 'file_name'] |