summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/toaster
AgeCommit message (Collapse)Author
2014-04-23bitbake: bitbake: toaster: Fix total number of tasks in build dashboardBelen Barros Pena
The total number of tasks in the build dashboard was counting _setscene tasks, which are not exposed by Toaster as separate tasks. This patch makes sure that _setscene tasks are not counted when calculating that number. [YOCTO #6145] (Bitbake rev: f8817c060042147a173d3451121304b25ffc4b6c) Signed-off-by: Belen Barros Pena <belen.barros.pena@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-04-09bitbake: toaster: Allow toaster to start without pytzAlexandru DAMIAN
This patch allows toaster to start without pytz. Django can work with or without pytz, but in the time zone fix I mistakenly added a hard dependency on this module. This patch eliminates the hard dependency. (Bitbake rev: 40027a6e093c3b7480bfaccbd57e0e613d9a7b71) Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-04-09bitbake: toaster: add URI search path listDavid Reyna
Display the URI paths from SSTATE_DIR and SSTATE_MIRRORS in the Task page. [YOCTO #5996] (Bitbake rev: 6d07b531736c2b304da2dfe661239fd3612b0541) Signed-off-by: David Reyna <David.Reyna@windriver.com> Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-04-09bitbake: toaster: sort on size in detail pagesDave Lerner
[YOCTO 5778] Implements the features described in the attachment to bugzilla 5778 - new global changes to the format of size data, and - adding sorts by selected columns to specific detail pages. Although new pagination and row search capabilities are shown on the screen shots for the 5778 attachment, those features are specified in a different bugzilla entry 5777 and are not implemented in this commit. Also, the 5778 spec includes table sorting for the recipe package detail page, but sorting for that page was not implemented in this commit due to complications with sorting then returning to a page that is only one URL fragment in a template. The scope of file changes are described below. Changes to support new 'size' field column formats... default.css - added sizecol class style (right justified) projecttags.py - changed filtered_filesizeformat to allow ".0" suffixes Changes that add class 'sizecol, span2(as spec'd) ' to <th> and/or <td> size columns were made to... dirinfo.py, package_built_dependencies.html, package_included_dependencies.html, recipe.html, bpackage.html, and target.html More significant changes to support detail page table sorting are: - tablesort.html: New created to implement the sort icons, directions, and table headings, and suppress sort handling if 'disable_sort' in context, without search or pagination elements ingrained in basetable_top. Confining the changes to this small file reduces the impact (testing and risk) on the larger set of files that arleady include basetable_top/bottom files. - view.py: Modified the following view functions with - trivial changes for size formatting to the views: target, - changes to package_built_detail, package_included_detail, package_included_reverse_dependencies to handle the sorting implementation as well as moving headings and size formatting for size columns from templates to the views. - Implementation of the detail sorting using above in: package_built_detail.html, package_included_detail.html, and package_included_reverse_dependencies.html to include the tablesort heading setup, format the size column, and iterate over the new sorted objects, suppressing sorts if table row count less than 2. (Bitbake rev: d16126e9abfffde66ab70865a81997322847d44e) Signed-off-by: Dave Lerner <dave.lerner@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-04-09bitbake: toaster: hide tasks without order or outcomeDavid Reyna
Hide the incomplete tasks, those without order numbers and/or outcomes. [YOCTO #6060] (Bitbake rev: bdbba81715765681a0404fa82f28e471b241051a) Signed-off-by: David Reyna <David.Reyna@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-04-09bitbake: toaster: regex alternation filter caused django errorDavid Reyna
The combination of a regex filter specification that uses alternate, plus a search string, plus multiple search_allowed_fields, leads to a Django fatal error. Replace this regex filter for variables in local files with a simpler 'contains' against the project's directory plus a '/conf/' string. Alex rebased this on top of fix for #6048. [YOCTO #5962] (Bitbake rev: fd57128dc3a35ca87031f3df1a531a085e89baf0) Signed-off-by: David Reyna <David.Reyna@windriver.com> Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-04-09bitbake: toaster: fix filtering query for multiple filtersAlexandru DAMIAN
This is a fix for using multiple expressions in filters. Three different issues are touched: * added an explicit error message for incorrect filter usage * changed the value separator to something that will pass through from the browser to the actual code * changed the "and" operator for combining Q from a dubios lambda function to the standard operator.and_ (Bitbake rev: 845b081fc108c656f04d4a70afa4695defc13c9f) Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-04-09bitbake: toaster: keep number of rows across searchesAlexandru DAMIAN
This patch will make Toaster remember the selected number of rows to be displayed in tables across different searches. The number of rows setting will not be remembered if the the user leaves the page and subsequently returns to it. (Bitbake rev: a84f296591be26972b808e98816e9d92cadf3eb5) Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-04-09bitbake: toaster: show unique set-in files in configvarDavid Reyna
When listing the set-in files in the configure varaible table, only show each file once in that summary view. [YOCTO #6048] (Bitbake rev: e69a57fc3302ed8fac21631ba95ea66e93b243e5) Signed-off-by: David Reyna <David.Reyna@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-04-09bitbake: toaster: disable 'size over total' sortDave Lerner
[YOCTO 6061] Disable size-over-total table column sorts in the image installed packages view because that field is a computed field and only model fields are sortable in the current table toaster implementation. (Bitbake rev: ba6937c9bffcf81f71ef6fa9f0d29fbbd6e17b2d) Signed-off-by: Dave Lerner <dave.lerner@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-04-09bitbake: toaster: do not load all available timezonesAlexandru DAMIAN
This patch makes sure that we only load pytz-recognized timezones. Pytz is used to transform the timezone information for the database queries, and needs to be able to deal with the TIME_ZONE value that we set up. [YOCTO #6093] (Bitbake rev: bfe67472e3ee778b78ef004b2153fa88b3807b92) Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-04-05bitbake: toaster: added covered task listFarrell Wymore
if a task has a 'covered' indication, the list of tasks that covered the task are computed and displayed. amended to add tooltip. [YOCTO #5925] (Bitbake rev: bb05ee13f53f10988579b6238802327732041d0c) Signed-off-by: Farrell Wymore <farrell.wymore@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-04-05bitbake: toaster: correct package countFarrell Wymore
The package count was incorrect because it was counting anonymous packages. the full path of the image files was shortened to just the filename. [YOCTO 6087] [YOCTO 6091] (Bitbake rev: 06b190b2c23799bd2c9749be28e11bf5d59ed4fc) Signed-off-by: Farrell Wymore <farrell.wymore@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-04-05bitbake: toaster: Fixes to the build dashboardBelen Barros Pena
* Add "on" before the date in the build status * Get rid of the extra space before the "and" in the build status * Make the errors and warnings links in the build status show the message content * Make sure that the "Images" section in the left navigation appears only for successful builds * Link the number of packages installed to the "Packages included" tab in the image information page * Remove unnecessary inline styles in the dashboard template * Make sure target names in the h1 are listed in alphabetical order (Bitbake rev: 644a38e9a90728af52ebda9846d2037dd6831b41) Signed-off-by: Belen Barros Pena <belen.barros.pena@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-04-05bitbake: toaster: Make tables happy in ChromeBelen Barros Pena
There is a known layout issue with Bootstrap tables in Chrome. This change applies a css fix for it, and changes the span classes in the variables table to improve formatting. (Bitbake rev: a7fee015b1cc34351d5ad8b854fc6bf368416400) Signed-off-by: Belen Barros Pena <belen.barros.pena@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-04-05bitbake: toaster: Fix the empty packages alertBelen Barros Pena
* Remove a tag in all capitals * Remove an unnecessary div * Fix a typo (Bitbake rev: 1ca139ca157d62cee9c48b22063e77614fa34325) Signed-off-by: Belen Barros Pena <belen.barros.pena@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-04-05bitbake: toaster: Fix "Recent builds" linksBelen Barros Pena
* Link the number of errors to the #errors section in the build dashboard * Link the number of warnigns to the #warnings section in the build dashboard * Link the build time to the build time page * Move some javascript that applies only to builddashboard.html to that template from main.js (Bitbake rev: 94c61d0d9ff24e0c781ea0a8e4bfea4c4ac94d4e) Signed-off-by: Belen Barros Pena <belen.barros.pena@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-04-05bitbake: toaster: catch IndexError error in dictionary lookupsDavid Reyna
In the get_dict_value filter, there is the edge case where halted builds can lead to IndexError errors in dictionary lookups, so we need to catch those. [YOCTO #6067] (Bitbake rev: f6fcce974ce3b145bc472cd4e9721d56191828a4) Signed-off-by: David Reyna <David.Reyna@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-04-05bitbake: toaster: Changes to help textBelen Barros Pena
All help text strings have been reviewed by the technical writer, and some of them by Paul Eggleton. This patch implements their suggested changes. (Bitbake rev: ce89530b178be2f3202d45523ef1340e00df05be) Signed-off-by: Belen Barros Pena <belen.barros.pena@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-04-05bitbake: toaster: Remove html validation errors in tasks.htmlBelen Barros Pena
Remove the duplicated class attribute and the name attribute. Also, make sure that the row blue highlight works without the name attribute when you land on the tasks table after clicking the order link in a task details page. The commit also fixes a typo in default.css. [YOCTO #6033] (Bitbake rev: 471234f1ab1dbcd736a892720e99a305363db5ff) Signed-off-by: Belen Barros Pena <belen.barros.pena@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-04-05bitbake: toaster: Update APIBelen Barros Pena
Make sure the REST API includes the latest changes to the database schema. (Bitbake rev: fb3d1d189f010488a8726872b01313857697751b) Signed-off-by: Belen Barros Pena <belen.barros.pena@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-04-05bitbake: toaster: link task order to right tasks pageDavid Reyna
When linking from a task order number to the All Tasks page, automatically display the correct page for that link anchor. [YOCTO #5933] (Bitbake rev: e5b6681432b627eb73bfa766d3154162206f374e) Signed-off-by: David Reyna <David.Reyna@windriver.com> Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-04-04bitbake: toaster: fix help texts not showing for most tasksPaul Eggleton
These were not being collected properly because we were explicitly excluding variables defined as functions from being stored in the database. We don't want these to be shown in the variables list, and in any case it makes sense for these to be stored elsewhere, so create a separate model to store these. Fixes [YOCTO #6050]. (Bitbake rev: 0d76a5461ce4bd554ff70a465064969e53edf0a4) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-04-01bitbake: toaster: secondary sort key as table's default orderDavid Reyna
Provide for a secondary sort key based on the table's default ordering when doing sort on alternate columns. [YOCTO #5920] (Bitbake rev: 1a0defce1499fdc320bcb27b41e06bea2ca2aef2) Signed-off-by: David Reyna <David.Reyna@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-04-01bitbake: toaster: unbuilt package dependency formatsDave Lerner
[YOCTO 6057] For a package shown on the package build dependency page, the dependent packages may be unbuilt packages, as indicated with the dependent package's size set to -1. This fix changes the build template to use the same formatting functions for unbuilt dependent packages as the include package templates use for unbuilt dependent packages. (Bitbake rev: b095ab30a827a50f66a06ac9170d33fae2670736) Signed-off-by: Dave Lerner <dave.lerner@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-04-01bitbake: toaster: Update help text in format_vpackage_namehelp tagBelen Barros Pena
The text now says that the package has not been built. (Bitbake rev: 4b64f4452aa2da4dcc0491cefa6f1a07f7dd173f) Signed-off-by: Belen Barros Pena <belen.barros.pena@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-04-01bitbake: toaster: Match search results form to no results formBelen Barros Pena
In the search results form, add the btn class to the clear search button and set its tabindex to -1 so that you don't accidentally clear the search when you want to search again. (Bitbake rev: 1cd01dbf3cd59bac6b62fe91ba2bafa0c62fd7f1) Signed-off-by: Belen Barros Pena <belen.barros.pena@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-04-01bitbake: toaster: Increase animation durationBelen Barros Pena
Increase the duration of the blue highlight animation from 7 to 10 seconds. (Bitbake rev: 0d48cec969a68f9b70e04be6d86b078df8f1ec5b) Signed-off-by: Belen Barros Pena <belen.barros.pena@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-04-01bitbake: toaster: Fix the fade out animationBelen Barros Pena
Apply the animation to any element with the class .highlight (Bitbake rev: b228739888cf8bac99da4aada3c040aac40f784d) Signed-off-by: Belen Barros Pena <belen.barros.pena@intel.com> Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-04-01bitbake: toaster: Small tweaks to the packages included interfaceBelen Barros Pena
* Capitalise correctly the label "Reverse runtime dependencies" * Change dependency popover labels to match the rest of the interface * Make sure that dependency links go to the initial tab of the installed package details pages (Bitbake rev: 80df010c12f7ba19649a7bbda9d788217cabc57a) Signed-off-by: Belen Barros Pena <belen.barros.pena@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-04-01bitbake: toaster: Remove trailing spaces from 'name'Belen Barros Pena
Remove all trailing spaces from 'name' because they show up in the filter headings, which I find incredibly annoying. (Bitbake rev: 263eae9d2d7acf62240320765c80f60f3553f620) Signed-off-by: Belen Barros Pena <belen.barros.pena@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-04-01bitbake: toaster: Show "No builds found" in the builds tableBelen Barros Pena
Making sure the h1 of build.html shows "No builds found" instead of "0 builds found" when a search returns no results. This matches the builds table to all other Toaster tables. (Bitbake rev: c8495c38b892d22a1f85286f34b0fdbc17febf78) Signed-off-by: Belen Barros Pena <belen.barros.pena@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-04-01bitbake: toaster: disable configvar sorts for value and filesDavid Reyna
Disable the sort on files because it sorts on the file array's first (and invisible) element. Disable the sort on values because the raw ASCII sort looks wrong to the general user, especially for values with leading spaces. [YOCTO #6004] (Bitbake rev: 800cbddd612c977960aa4dd93b24c22aac4bfae0) Signed-off-by: David Reyna <David.Reyna@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-04-01bitbake: toaster: Display task descriptionRavi Chintakunta
Display task description as content of help bubble for a task. [YOCTO #5748] (Bitbake rev: 4ffc380d11cff4e1d32d2bf5fb6c7cda6f7e22e6) Signed-off-by: Ravi Chintakunta <ravi.chintakunta@timesys.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-04-01bitbake: toaster: fix timezone detectionAlexandru DAMIAN
This patch replaces faulty timezone detection with a version that simply reads the TZ environment variable if it is set. If the TZ is not set, we do a reverse match search among known timezone definitions and take the first match. [YOCTO #5499] (Bitbake rev: 3a0a556a65368f02635606e4eb707ca08e25007a) Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-03-28bitbake: toaster: filter tasks with cache attempts for all attemptsDavid Reyna
Adjust the filter for task cache attempts to include all attempts except SSTATE_NA. [YOCTO #5923] (Bitbake rev: b1f52a87e367b8dea9bd974bc5a886d84d839c45) Signed-off-by: David Reyna <David.Reyna@windriver.com> Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-03-28bitbake: toaster: fix dirinfo empty dir expansionDave Lerner
[YOCTO 6036] In the page that shows the directory layout for an image, if the directory is empty, then the directory folder icon should be black and the table row should not be 'expandable' on a mouse click. That behavior depends on the directory's child entry count calculated in the view function controlling that page. Two images in the database with the same directory path in the target image, but one with path having entries and the other not having any entries caused the path without entries to be clickable; the query for a directory's count of entries, didn't filter on the image id, only on the path. (Bitbake rev: 964d2d6efe9a2cfa7cd8760cda4453c3d69b2e27) Signed-off-by: Dave Lerner <dave.lerner@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-03-28bitbake: toaster: added file types to the Outputs column in the buildDavid Reyna
The file types are displayed in the Outputs column in the build page. The file types are derived from the target image filenames. [YOCTO #5947] (Bitbake rev: 842abf6759894690d5bc770f4ea2ac15b127e5e2) Signed-off-by: Farrell Wymore <farrell.wymore@windriver.com> Signed-off-by: David Reyna <David.Reyna@windriver.com> Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-03-28bitbake: toaster: add support for empty states in pagesDavid Reyna
Add support for empty states in the top build page, the all packages page, and the all tasks page. [YOCTO #4865] (Bitbake rev: eaff7b50d7102c97b75df185b9ef917970319d59) Signed-off-by: David Reyna <David.Reyna@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-03-28bitbake: toaster: show installed package nameDave Lerner
[YOCTO #5922] Implement changes that show the installed package name after the official 'recipe-named' package name. If the alias exists and is different than the package name, then the alias is shown as a 'muted' string after the package name in the form 'as some-alias-name'. This formatting appears in the included package pages in the elements: * local breadcrumbs at the top of package included pages, * <h1> title headings along with a help bubble that is not hovering, and * package lists where the help bubble appears when the mouse hovers over the row. The changes in detail in this patch per file are: views.py - added function that tests whether the package object's installed_name should be shown, - added function that appends package name with version and revision to encapsulate package name formatting in one place and referred to as package.fullpackagespec, - changed package_built* and package_included* functions to use both of the above new formatting functions, passing the formatted values to templates, and - adhered to django coding styles by renaming module local 'get_package*' functions with "_" prefix. package_detail_base.html - added display of package aliases for included package page, - refactored to use package.fullpackagespec, formatted by view function, - added javascript function to format package alias with help, and - removed trailing whitespace. package_included_detail.html - used javascript function above to format package alias, and - refactored to use package.fullpackagespec. package_included_dependencies.html - used javascript function above to format package alias, - refactored to use package.fullpackagespec, - forced empty data cells following hover-help to draw borders by appending space, and - removed trailing whitespace. package_included_reverse_dependencies.html - use javascript function above to format package alias, - refactor to use views fullpackagespe, and - force empty data cells following hover-help to draw borders by appending space. package_built_detail.html - refactored to use package.fullpackagespec, and - removed trailing whitespace. package_built_dependencies.html - refactored to use package.fullpackagespec, and - removed trailing whitespace. projecttags.py - removed unused filter to handle installed name - removed extra spaces around "title = " in format_vpackage_namehelp (Bitbake rev: c604e14df8cdb1f47535f093d7044955d4c2057d) Signed-off-by: Dave Lerner <dave.lerner@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-03-28bitbake: toaster: Fix typo in heading codeBelen Barros Pena
Fix typo in the code that handles the changes in the h1 text in order to display the number of results returned by a search. [YOCTO #6001] (Bitbake rev: 65bdd6cf8d0cc2af6cd424de735a5e3f2e54fa99) Signed-off-by: Belen Barros Pena <belen.barros.pena@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-03-28bitbake: toaster: insure _get_query returns distinct recordsDavid Reyna
The '_get_query' can return duplicate records if a search term appears multiple times in the same row, so the queryset must be made distinct before returning. This commit also removes the initial special case for configvars in favor of this general solution. [YOCTO #6012] (Bitbake rev: d21b64bad8a6a5e23eab552868d555f6e004f4c7) Signed-off-by: David Reyna <David.Reyna@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-03-28bitbake: toaster: blocks for custom/highlighted navigation and breadcrumb linksDavid Reyna
Implement the navigation links as blocks so that each page can override and have its respective link appear highlighted. Make the build breadcrumb a block so that it is customizable to not be a link for the dashboard page. Reorder the page headers to be consistent order for extends, projecttags, localbreadcrumb, nav-links. [YOCTO #5916] [YOCTO #4258] (Bitbake rev: cb26c4df04170143babd6c9fd60600bfb31486ed) Signed-off-by: David Reyna <David.Reyna@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-03-28bitbake: toaster: add Image detail and multiple targets to dashboardDavid Reyna
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>
2014-03-25bitbake: toaster: format packages with size = -1Dave Lerner
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>
2014-03-25bitbake: toaster: Small fixes in tasks UIBelen Barros Pena
This commit: * Fixes an issue with white space when showing the log in Cached tasks (task details page) * Formats the no results alert of the "Prebuilt task could be based on" search in the task details page * Brings in the task outcome help text to "Prebuilt task could be based on" table in the task details page, to the tasks table in the recipe details page, and to the all tasks page * Adds the task_color tag to the "Prebuilt task could be based on" table in the task details page, so that each task gets the required visual treatment based on execution * Makes sure performance information for not executed tasks shows in the task details page when it exists (empty tasks often report a short time, for example) (Bitbake rev: ff46fd6d8db52eeabe8c938c347ce5ba8d328cc1) Signed-off-by: Belen Barros Pena <belen.barros.pena@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-03-25bitbake: toaster: Fix help text typosBelen Barros Pena
Fix a couple of typos in the help text of the builds and recipes tables. (Bitbake rev: fd7c7b064f14d15131322610e552483ce670614d) Signed-off-by: Belen Barros Pena <belen.barros.pena@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-03-25bitbake: toaster: Remove commented-out code from views.pyBelen Barros Pena
This code in the All tasks view class needed to be removed. [YOCTO #6010] (Bitbake rev: f9bfbda3557272452b824a433cf391e983e4abfe) Signed-off-by: Belen Barros Pena <belen.barros.pena@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-03-25bitbake: toaster: Change placeholder attribute in variables tableBelen Barros Pena
Set placeholder attribute for the search input field in the variables table to "Search BitBake variables" as per the design specification. [YOCTO #5998] (Bitbake rev: a18ae43e0ffa25df50ae6908270bb6b2304022a8) Signed-off-by: Belen Barros Pena <belen.barros.pena@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-03-25bitbake: toaster: replace package dependency tag w/ view queriesAlexandru DAMIAN
This patch moves the queries for package dependencies from the project tags to the views. This is done to bring the code inline with the Django philosophy of making all data queries in views.py This change has no performance implication. (Bitbake rev: 9dd53bd4355148916a89cf672b6c5db5f6b1ae35) Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>