bitbake: toaster: format packages with size = -1
authorDave Lerner <dave.lerner@windriver.com>
Fri, 21 Mar 2014 18:43:18 +0000 (13:43 -0500)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 25 Mar 2014 21:32:17 +0000 (21:32 +0000)
commitffdbf753eb35059a32d3fc2e235334b54bad9dd1
tree618868d598a0c1c133b670bba51fa0b4d672ebaa
parent94e426f084f6f7199cb7850f69a3a061108c30b6
bitbake: toaster: format packages with size = -1

Packages that have a size of -1 are virtual packages with limited
information.  Such packages should be suppressed from the package
list page for an image.  On dependency and reverse dependency lists of
package, such packages should appear in muted rows, without links,
and with help information.

The formatting rules are encapsulated into projecttags filters when
possible to minimize tests on size==-1 in the templates.

Testing the relevant pages with an HTML5 validator found a stray end
tag in package_detail_base which has been fixed in this commit.

[YOCTO #5966]

(Bitbake rev: 6cdd4067f766ef5680076c33a32b2dc5d622362c)

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>
bitbake/lib/toaster/toastergui/templates/package_detail_base.html
bitbake/lib/toaster/toastergui/templates/package_included_dependencies.html
bitbake/lib/toaster/toastergui/templates/package_included_reverse_dependencies.html
bitbake/lib/toaster/toastergui/templatetags/projecttags.py
bitbake/lib/toaster/toastergui/views.py