diff options
author | Dave Lerner <dave.lerner@windriver.com> | 2014-01-23 11:47:41 -0600 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-02-17 15:38:52 +0000 |
commit | 620553df864634e7061c9124ea70a90e5c067cde (patch) | |
tree | d196d7dbea61da09846e9a645f245ab931889516 /bitbake/lib/toaster/toastergui/urls.py | |
parent | 47634378ac516496bcc155e001983973f241ee61 (diff) | |
download | poky-620553df864634e7061c9124ea70a90e5c067cde.tar.gz |
bitbake: toaster: Implementation of package detail views
Adds new package detail views. The views are based on
specifications found in attachments to:
https://bugzilla.yoctoproject.org/show_bug.cgi?id=4328
specifically:
design-1.5.1-package-details.pdf, and
design-1.1.1-included-package-details.
This patch includes a redefinition of constant numbers for
task dependency tasks. This is needed in order to achieve
sorting criteria from the design.
This change invalidates currently dependency information for
currently existing builds, as it breaks compatibility.
[YOCTO #4328]
(Bitbake rev: 6855925c06e7e5bb15ae9d0c08d77f3a9a2574bc)
Signed-off-by: Dave Lerner <dave.lerner@windriver.com>
Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/toaster/toastergui/urls.py')
-rw-r--r-- | bitbake/lib/toaster/toastergui/urls.py | 18 |
1 files changed, 14 insertions, 4 deletions
diff --git a/bitbake/lib/toaster/toastergui/urls.py b/bitbake/lib/toaster/toastergui/urls.py index 6e7595b087..8be27b08bc 100644 --- a/bitbake/lib/toaster/toastergui/urls.py +++ b/bitbake/lib/toaster/toastergui/urls.py | |||
@@ -1,7 +1,4 @@ | |||
1 | # | 1 | # |
2 | # ex:ts=4:sw=4:sts=4:et | ||
3 | # -*- tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*- | ||
4 | # | ||
5 | # BitBake Toaster Implementation | 2 | # BitBake Toaster Implementation |
6 | # | 3 | # |
7 | # Copyright (C) 2013 Intel Corporation | 4 | # Copyright (C) 2013 Intel Corporation |
@@ -35,7 +32,16 @@ urlpatterns = patterns('toastergui.views', | |||
35 | url(r'^build/(?P<build_id>\d+)/recipe/(?P<recipe_id>\d+)$', 'recipe', name='recipe'), | 32 | url(r'^build/(?P<build_id>\d+)/recipe/(?P<recipe_id>\d+)$', 'recipe', name='recipe'), |
36 | 33 | ||
37 | url(r'^build/(?P<build_id>\d+)/packages/$', 'bpackage', name='packages'), | 34 | url(r'^build/(?P<build_id>\d+)/packages/$', 'bpackage', name='packages'), |
38 | url(r'^build/(?P<build_id>\d+)/package/(?P<package_id>\d+)$', 'bfile', name='package'), | 35 | url(r'^build/(?P<build_id>\d+)/package/(?P<package_id>\d+)$', 'package_built_detail', |
36 | name='package_built_detail'), | ||
37 | url(r'^build/(?P<build_id>\d+)/package_built_dependencies/(?P<package_id>\d+)$', | ||
38 | 'package_built_dependencies', name='package_built_dependencies'), | ||
39 | url(r'^build/(?P<build_id>\d+)/package_included_detail/(?P<target_id>\d+)/(?P<package_id>\d+)$', | ||
40 | 'package_included_detail', name='package_included_detail'), | ||
41 | url(r'^build/(?P<build_id>\d+)/package_included_dependencies/(?P<target_id>\d+)/(?P<package_id>\d+)$', | ||
42 | 'package_included_dependencies', name='package_included_dependencies'), | ||
43 | url(r'^build/(?P<build_id>\d+)/package_included_reverse_dependencies/(?P<target_id>\d+)/(?P<package_id>\d+)$', | ||
44 | 'package_included_reverse_dependencies', name='package_included_reverse_dependencies'), | ||
39 | 45 | ||
40 | # images are known as targets in the internal model | 46 | # images are known as targets in the internal model |
41 | url(r'^build/(?P<build_id>\d+)/target/(?P<target_id>\d+)$', 'target', name='target'), | 47 | url(r'^build/(?P<build_id>\d+)/target/(?P<target_id>\d+)$', 'target', name='target'), |
@@ -47,6 +53,10 @@ urlpatterns = patterns('toastergui.views', | |||
47 | url(r'^build/(?P<build_id>\d+)/cpuusage$', 'cpuusage', name='cpuusage'), | 53 | url(r'^build/(?P<build_id>\d+)/cpuusage$', 'cpuusage', name='cpuusage'), |
48 | url(r'^build/(?P<build_id>\d+)/diskio$', 'diskio', name='diskio'), | 54 | url(r'^build/(?P<build_id>\d+)/diskio$', 'diskio', name='diskio'), |
49 | 55 | ||
56 | # image information dir - not yet implemented | ||
57 | url(r'^build/(?P<build_id>\d+)/target/(?P<target_id>\d+)/packagefile/(?P<packagefile_id>\d+)$', | ||
58 | 'image_information_dir', name='image_information_dir'), | ||
59 | |||
50 | 60 | ||
51 | # urls not linked from the dashboard | 61 | # urls not linked from the dashboard |
52 | url(r'^layers/$', 'layer', name='all-layers'), | 62 | url(r'^layers/$', 'layer', name='all-layers'), |