summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/toaster/toastergui
Commit message (Collapse)AuthorAgeFilesLines
* bitbake: toaster: layer rev tooltip only if necessaryDave Lerner2015-03-091-1/+5
| | | | | | | | | | | | | | On the heading for the layer detail page, only show a tool tip on the heading revision branch/shaid field if the string is too large to fit in the 13 character field. That is, don't show a hovering tool tip with exactly the same string that is shown without the tip. [YOCTO #7312] (Bitbake rev: 8a3095a33551a96176fdff83ea33cda5b30311dd) Signed-off-by: Dave Lerner <dave.lerner@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: toaster: add sort, search, paging to recipe package pageDave Lerner2015-03-097-48/+342
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When selecting the packages tab on a recipe detail page, the page now includes: column sort on package name and size columns, search on the package name, and pagination. Column sort is added by splitting the recipe view/html for a recipe's package list into a new url path, view name and template, so that the sorting routine, views.reload_params(), interfaces similar to other views. Search, sorting, and pagination are implemented for this detail page using three new templates. templates/detail_pagination_bottom.html templates/detail_search_header.html templates/detail_sorted_header.html views.recipe() is optimized since the recipe's package list is no longer needed by the recipe template, only the recipe's package count is required for the first page. The recipe view and template also changes to support tabbing to the right context on the recipe detail page from the recipe-package page. [YOCTO #6154] (Bitbake rev: 6cb9e853d05c2c71467af22ef459ffbe6f41de36) Signed-off-by: Dave Lerner <dave.lerner@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: toaster: config var layout fixesDavid Reyna2015-02-272-12/+12
| | | | | | | | | | | | Block duplicates of custom variables regardless of case, fix spacing of delete icon, no extra error msg on blank DISTRO name [YOCTO #7359] (Bitbake rev: baec2940c2b4ec792cacad5cc8d8056d9162919b) Signed-off-by: David Reyna <David.Reyna@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: toaster: all projects data and sortsDavid Reyna2015-02-273-53/+126
| | | | | | | | | | | | Implement the 'last build' data methods, enhance variable display, add empty page and empty sort support. [YOCTO #6682] (Bitbake rev: cc6ca17e80844ecb4a777276d5f5177ebbcd93f9) Signed-off-by: David Reyna <David.Reyna@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: toastergui: add csrf tokens for AJAX callsAlexandru DAMIAN2015-02-274-0/+4
| | | | | | | | | | | This patch adds CSRF tokens in pages using AJAX calls in order to force Django to generate the CSRF cookie used to authenticate the call. (Bitbake rev: 6b2403992f1f5f84114ec9b243813957ff907051) Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: toastergui: stop covered task graph traversal earlyAlexandru DAMIAN2015-02-271-4/+3
| | | | | | | | | | | | | | This patch stops the breadth-frist graph traversal for finding covering tasks after the finding the first level of executed tasks. The reasoning is that the first level of executed tasks is the actually relevent information on how a task was covered. (Bitbake rev: 06294c5d3b512fb849fc1eedc9d5ea344f535bec) Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: toastergui: performance improvements in task details pageAlexandru Damian2015-02-241-19/+21
| | | | | | | | | | | This patch brings better forward and reverse dependency computing in tasks page (offloading python code to the database), as well as replacing the recursive depth-first covered-by tree search with breadth-first search. (Bitbake rev: bc76da054570ae385c87d14c9f2337368e8311f3) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: toasterui: improving the latest builds consistencyBelen Barros Pena2015-02-243-16/+22
| | | | | | | | | | | | | | | | | We have 2 pages where we have a 'latest builds' section: the 'all builds / all projects' page and the 'project' page. Unfortunately, we are currently using different code base in both, which means that some inconsistencies between the two in behaviour and presentation have sneaked in. This patch addresses some of such inconsistencies. (Bitbake rev: 0825f1a74b3767aad67674ab5044075c90067377) 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>
* bitbake: toaster: Add machine selection notificationMichael Wood2015-02-244-3/+17
| | | | | | | | | | This adds a notification to the project page to notify users of the change in project configuration. (Bitbake rev: fa5343cf867586c0e42517dd2ed0ec5a4c28c408) Signed-off-by: Michael Wood <michael.g.wood@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: toasterui: style the Toaster version informationBelen Barros Pena2015-02-244-5/+10
| | | | | | | | | | | | When debugging is turned on, we show some Toaster version information in the top bar. Present it so that it can be easily copied and pasted. (Bitbake rev: 5de46fabe9ab1e525048353c2ecd8846ffefc760) 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>
* bitbake: toaster: layerdetails Fix pagination controlsMichael Wood2015-02-242-20/+4
| | | | | | | | | | | | Bring the pagination controls into line with others in toaster by limiting the number of page buttons to 5 [YOCTO #7195] (Bitbake rev: 0b35eed7ca758476f20d6875291ee31fad35b7d3) Signed-off-by: Michael Wood <michael.g.wood@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: toaster: layerdetails Add link to machines fileMichael Wood2015-02-241-1/+6
| | | | | | | | | | | | In the machines table for a layer add a link/icon to the machine definition file. [YOCTO #7241] (Bitbake rev: 8c4e5fb580f5e375ccb1e84d8adb9562d1ba4b62) Signed-off-by: Michael Wood <michael.g.wood@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: toaster: layerdetails summary/descriptions to be searchableMichael Wood2015-02-242-18/+26
| | | | | | | | | | | | Allow the descriptions of the machine summary and layer description to be searchable in their respective tables. [YOCTO #7199] (Bitbake rev: 1a1a61f587e05af76299c7e1d3b7ab079fb4b1c1) Signed-off-by: Michael Wood <michael.g.wood@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: toastergui: fix spacing and input field sizesBelen Barros Pena2015-02-241-2/+2
| | | | | | | | | | | The revision label was missing the projec-form class (which controls the spacing in the form), and the revision text field was a bit too long, so changed it from span4 to span3. (Bitbake rev: 219d57d1cec178820f679a4153324986c37821db) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: toaster: importlayer Remove description input fieldMichael Wood2015-02-203-10/+0
| | | | | | | | | | | | | This wasn't required or working due to a typo and adds ambiguity between the summary and description. The correct method for changing the description or summary is via the layerdetails page. [YOCTO #7190] (Bitbake rev: 605298ff3ce919127003dadef95798472327f943) Signed-off-by: Michael Wood <michael.g.wood@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: toasterui: remove layer directory in managed modeBelen Barros Pena2015-02-202-5/+13
| | | | | | | | | | | | Removes the layer directory information from the packages built page when in managed mode. [YOCTO #7221] (Bitbake rev: 1eaf60d0fe34f5f43386c6f0e91f0b26c7a62845) Signed-off-by: Belen Barros Pena <belen.barros.pena@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: toasterui: style the Toaster version informationBelen Barros Pena2015-02-202-25/+10
| | | | | | | | | | | In debug mode, we show the Toaster version and mode in the top bar. Display them inside a tooltip that appears when you hover over a nice info icon to make them less conspicuous. (Bitbake rev: 8365f19191d0ec5901c79b7afd5005f7a546fe74) Signed-off-by: Belen Barros Pena <belen.barros.pena@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: toaster: layerdetails Don't show None type in description/summaryMichael Wood2015-02-201-2/+2
| | | | | | | | | | | | | When the result for the summary or description is None don't output the result as the string version of None, use an empty value so that the "Not set" mechanism works. [YOCTO #7244] (Bitbake rev: 34397e585df0fc04ea53046347856e8cddb8f8e1) Signed-off-by: Michael Wood <michael.g.wood@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: toaster: landing page when no build moduleDavid Reyna2015-02-202-21/+53
| | | | | | | | | | | | | | Add landing page for managed build pages when build module not installed. Some wording and whitespace changed. [YOCTO #6483] (Bitbake rev: 6618a0a71cc9ea5426238549094ab9e05ae61649) 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>
* bitbake: toasterui: UI query performance improvementsAlexandru DAMIAN2015-02-201-6/+9
| | | | | | | | | | | We reduce the number of queries by using "select_related" to bring in more data in a single query. Improvements in project page refresh, recipes table and tasks table. (Bitbake rev: eefdae12120f879b555ba0a353277a18675eecbc) Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: toasterui: fix time estimation in project pageAlexandru Damian2015-02-203-6/+23
| | | | | | | | | | | | | | This patch fixes the time estimation to build completion in project page. Additionally it fixes the Most Recent Builds section used in various pages in managed mode, and proper time to build estimation in all pages. [YOCTO #7004] (Bitbake rev: 5fecfda0e47c2ecba9b7c903c6d258eefa431aa0) Signed-off-by: Alexandru Damian <alexandru.damian@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: toaster: bitbake cooker log saving and downloadingAlexandru DAMIAN2015-02-206-36/+118
| | | | | | | | | | | | | | | | | | | | | This patch brings in cooker log saving and proper download links. * toasterui will now write the cooker log file if running in managed mode * the BuildRequest has a new state, REQ_ARCHIVE, indicating that the build is completed, and the artifacts are ready to be grabbed * the runbuild test execution commands will gather needed artifacts, and save them to a storage directory selected during Toaster setup. * the build dashboard, project builds and all builds pages have permanent links for the cooker log [YOCTO #7220] [YOCTO #7206] (Bitbake rev: fad80e36c9da663b000cdf2cb3c75440c6431d84) Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: toasterui: empty state for pagesAlexandru DAMIAN2015-02-1710-27/+129
| | | | | | | | | | | | | | Toaster needs to properly prompt the user and display actionable help texts when the database is void of meaningful information. This patch brings in the "empty" states for pages. [YOCTO #6755] (Bitbake rev: 7cfe279bf77b59d5cbd20d8a93e1d33279bebc20) Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: toaster: Set the machines page default pagesize to 100Michael Wood2015-02-171-1/+2
| | | | | | | | | This brings it into line with the all layers and targets pages (Bitbake rev: 7c862ae4e3c3a00f2b37c2272007ce64304359bd) Signed-off-by: Michael Wood <michael.g.wood@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: toaster: Remove filtering from layers,machines and targetsMichael Wood2015-02-171-59/+2
| | | | | | | | | | | | | | The filter counts are unreliable so for consistency the filter feature here is removed. [YOCTO #7060] [YOCTO #7052] (Bitbake rev: ca5124d48d306921ac0f0499762ea5867644b0ef) Signed-off-by: Michael Wood <michael.g.wood@intel.com> Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: toaster: Remove Layer source from machines, layers and targetsMichael Wood2015-02-174-40/+0
| | | | | | | | | | | | | From the bug: The layer source reveals too much of the implementation model, without explaining what is going on behind the scenes. It will confuse more than inform, so let's get rid of it. [YOCTO #7302] (Bitbake rev: 7fee378849c9518a4560aa5be65fca9644c03048) Signed-off-by: Michael Wood <michael.g.wood@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: toaster: New build button allow arbitrary build targetsMichael Wood2015-02-171-0/+2
| | | | | | | | | | | | | Target input field needed to support both selecting suggestions and typing targets, since Toaster doesn't always know about all the targets provided by the layers in the project. [YOCTO #7187] (Bitbake rev: d753db7a18eb9218016e586171d2a08298a0b05d) Signed-off-by: Michael Wood <michael.g.wood@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: toaster: Additional fixes for the project variable pageDavid Reyna2015-02-172-82/+210
| | | | | | | | | | | | Fix IMAGE_FSTYPES, IMAGE_INSTALL_append, and DISTRO editing management, plus other usability details. [YOCTO #7231] (Bitbake rev: 58f19f1c3128c303fb8e5338c01f575418dc0b15) 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>
* bitbake: toaster: layerdetails use new vcs reference apiMichael Wood2015-02-171-7/+6
| | | | | | | | | | | | | | Use the new layer_version api so that we return the vcs reference whether that be the commit hash, branch name or the upstream branch to which the layer is associated with. [YOCTO #7192] (Bitbake rev: fa6e6d5b18c8c6231ae8ac499d332298f551fd7d) Signed-off-by: Michael Wood <michael.g.wood@intel.com> Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: toaster: Use on input event for validation rather than keyupMichael Wood2015-02-175-11/+11
| | | | | | | | | | | | Avoid using keyup event to trigger form validation as this won't fire for events such as pasting or autofill from the browser. [YOCTO #7292] (Bitbake rev: 2060be8d31baa0cd302aa8dc0b6d179df853ee99) Signed-off-by: Michael Wood <michael.g.wood@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: toastergui: links outside Toaster should open in a new windowBelen Barros Pena2015-02-101-2/+2
| | | | | | | | | | | | | Make sure all links going to pages outside Toaster in the layer details page (to web repos and the like) open in a new tab/window. [YOCTO #7193] (Bitbake rev: 5482507210c3bd1c6223fc1e7881ac5c5474fbdf) Signed-off-by: Belen Barros Pena <belen.barros.pena@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: toaster: All machines Fix filter countsMichael Wood2015-02-101-6/+4
| | | | | | | | | | Filter counts needed to take into account the filters that had previously been applied. (Bitbake rev: 97ef99ea5107543799ec2386b3840b435347edfb) Signed-off-by: Michael Wood <michael.g.wood@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: toaster: All machines show results count if filtering or searchingMichael Wood2015-02-101-1/+1
| | | | | | | | | | Show the number of results returned if filtering as well as when searching. (Bitbake rev: 44e989b32cc36efa31f893c40930bcc9f746bd43) Signed-off-by: Michael Wood <michael.g.wood@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: toaster: All machines reset order_by if removing that columnMichael Wood2015-02-101-0/+2
| | | | | | | | | | When you remove a column from a table that is currently being sorted by that value we also need to remove the sort. (Bitbake rev: fcb551ff622b3b24ee113ad49ec6cbd26569acd0) Signed-off-by: Michael Wood <michael.g.wood@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: toaster: all Machines exclude de-prioritised layer source itemsMichael Wood2015-02-101-11/+22
| | | | | | | | | | | If a duplicate layer exists from another layer source and provides a machine we don't want to show it if that layer comes from a low priority layer source. (Bitbake rev: ae52f478bbf693b85da21f64835e70825968a305) Signed-off-by: Michael Wood <michael.g.wood@intel.com Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: toaster: All Machines fix reset search linkMichael Wood2015-02-102-2/+7
| | | | | | | | | | In firefox this link wasn't valid as it was inside a button element. Remove this and add a click handler for the button. (Bitbake rev: 97366eae1d5c2c84b03b3e019480e56e03f812da) Signed-off-by: Michael Wood <michael.g.wood@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: toaster: All machines Add filtering based on layer in projectMichael Wood2015-02-102-29/+86
| | | | | | | | | | | | | | | | | Add a filter so that we can filter machines which are already being provided by a layer in the current project. Also make sure that we're only showing layers which are compatible with the current project. Also handle no results returned and page heading reflecting the number of results returned from a search. AlexD solved conflicts while merging the patch. (Bitbake rev: b0ae4d2bb71e897d8a846a3cf14b7151baa09bd2) Signed-off-by: Michael Wood <michael.g.wood@intel.com> Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: toaster: All machines Add layer name order by functionsMichael Wood2015-02-102-2/+4
| | | | | | | | | | Allow the layer name to be sorted alphabetically in the machines table. Also fix the default ordering to be machine name (Bitbake rev: 8fffd7b5fd53bd66ed7621595f57e2cae416e80d) Signed-off-by: Michael Wood <michael.g.wood@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: toaster: layerdetails Don't remove alert from dom on dismissalMichael Wood2015-02-102-1/+3
| | | | | | | | | | | When dismissing the alert we actually want to keep the alert area still in the dom for the use of future alerts. The default behaviour is to remove it from the dom. Hide it again instead. (Bitbake rev: b3af4f01856c1983f2e77293444e2c3c1b08f879) Signed-off-by: Michael Wood <michael.g.wood@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: toaster: All machines Update layer notificationsMichael Wood2015-02-102-4/+8
| | | | | | | | | | | | Update layer notifications to the new wording for layer add remove notifications. Fix bug where the the alert area is being removed from the dom on dismiss instead of re-hidden (Bitbake rev: 2a571a4523dbbe9b6afcf2e6b41edf2cb059729d) Signed-off-by: Michael Wood <michael.g.wood@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: toaster: All machines add a column to link back to machine confMichael Wood2015-02-102-1/+5
| | | | | | | | | | Add a column with the "path" to the machine file and add a link back to the vcs web to view the machine configuration file. (Bitbake rev: c1462c0530fe6c34ffef87bcde7a363995b503c9) Signed-off-by: Michael Wood <michael.g.wood@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: toaster: machines Make sure we don't overwrite the pagesizeMichael Wood2015-02-101-1/+1
| | | | | | | | | | The pagesize was accidentally being over written and should be set to the value returned from the cookie if there was one. (Bitbake rev: 2c3b84f5012196c62be3ecf212e9752ee307635c) Signed-off-by: Michael Wood <michael.g.wood@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: toaster: Add add/select functionality to machines pageMichael Wood2015-02-103-54/+146
| | | | | | | | | | | | | | | This feature for the machines page allows the user to add a layer and it's dependencies to the current project and then if successful select the machine(s) which become available due to being provided by the layer. AlexD merged the changes into the submission queue. (Bitbake rev: ca4e4ab09ba214363181eeb8ad54ccc716bd65f3) Signed-off-by: Michael Wood <michael.g.wood@intel.com> Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: toaster: machines Fix undefined variablesMichael Wood2015-02-101-0/+1
| | | | | | | | | | pagesize and orderby were undefined causing an error to be thrown when browsing to the all machines page (Bitbake rev: 388cfb26695ffd6ac0498e5de571cd4a5e083f8b) Signed-off-by: Michael Wood <michael.g.wood@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: toastergui: add download task log icon to recipe details pageBelen Barros Pena2015-02-103-12/+13
| | | | | | | | | | | | | | When a task fails, we keep the log and allow users to download it. Make sure the download is provided in the tasks table of the recipe details page. [YOCTO #7207] (Bitbake rev: 29837409a6cbabafe9e4d102e8143bab5ec22dc2) 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>
* bitbake: toastergui: add the word 'compatible' to 'all' pagesBelen Barros Pena2015-02-106-19/+27
| | | | | | | | | | | | | | | | | Labels for the 'all' pages don't really convey what's provided in them. The team has suggested we add the word 'compatible' to them, to make clear they will show all layers / targets / machines that can be built with the version of the build system you are using in a certain project. A link like 'view all targets' becomes 'view all compatible targets'. I've also added some help text. (Bitbake rev: 49d85b7035d12a6e482d608e828f69fcafb59d39) 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>
* bitbake: toastergui: set column heading to 'Revision'Belen Barros Pena2015-02-102-5/+10
| | | | | | | | | | | | | Replace the column heading 'Branch, tag or commit' with 'Revision'. This also fixes 7023. [YOCTO #7023] (Bitbake rev: 102144f8e5069f76e7de8db052c3c4531609771f) 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>
* bitbake: toaster: display Toaster mode and version in debug modeAlexandru DAMIAN2015-02-103-2/+31
| | | | | | | | | | This patch displays the current running mode and checked-out git branch as Toaster version when running in debug mode. (Bitbake rev: 93e4f8c44273f4657c5be4c00b61db12aa875e31) Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: toaster: improve logging facilities for toasterAlexandru DAMIAN2015-02-101-1/+1
| | | | | | | | | | | | | | | | | | | This patch improves the logging facilities for toaster in order to help diagnose bugs that happen on user machines. The logs are stored now under "/tmp/toaster_$$" where $$ is a PID-based unique identifier. On shutdown, toaster will automatically erase all logs unless errors are listed in the log file. On error, Toaster provides suggestions on what to do. This patch includes a minor fix found as a result of logging improvements. (Bitbake rev: 8a8248f7b7e30469f592e2f8adbf6ce21e8685c5) Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: toastergui: improvements in layer selection logicAlexandru DAMIAN2015-02-102-18/+31
| | | | | | | | | | | | | | | | This patch clearers and bring fixes for the layer selection logic in order to enable information collected during build to be used in configuring projects, specifically targeting the recipes learned through the building process. The patch also adds tests to verify the layer selection logic. [YOCTO #7189] (Bitbake rev: f0faba8ef0f08c98ac4bddf5b3954d540820d215) Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>