summaryrefslogtreecommitdiffstats
path: root/bitbake
Commit message (Collapse)AuthorAgeFilesLines
* bitbake: toaster: properly detect starting in rolling log fileAlexandru DAMIAN2015-02-201-2/+10
| | | | | | | | | | This patch brings in properly detection of system start in a rolling toaster_ui log file. (Bitbake rev: 6da36cbf5eeb30b8352c22aed3e0ede35705e13c) 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-2013-43/+335
| | | | | | | | | | | | | | | | | | | | | 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-1711-29/+135
| | | | | | | | | | | | | | 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: fix git checkout commandAlexandru DAMIAN2015-02-171-1/+1
| | | | | | | | | | | | This patch fixes the git checkout command that would fail to properly rebase the working tree in some cases. [YOCTO #7309] (Bitbake rev: 25640851c8f8459741d2c423b2bb54f9f59a536a) Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: toaster: properly detect failed server startAlexandru DAMIAN2015-02-172-4/+13
| | | | | | | | | | | | | This patch brings in reading the server log if the server fails to start. This is the first step in displaying the errors in a manner that is actionable by the user. [YOCTO #7285] (Bitbake rev: 7f47b67bccff55673a827dbcccc767af4459c933) 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: tests/fetch.py: latest_versionstring add set of PNAníbal Limón2015-02-161-0/+2
| | | | | | | | | | Add set of PN in data because now latest_versionstring use it for validate version directory searching. (Bitbake rev: 2e4a03db967ac1459b2764108fc54c4566a7e371) Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: fetch2: wget remove scape of - in regexes don't neededAníbal Limón2015-02-161-9/+9
| | | | | | | (Bitbake rev: 8fa43245351f3ec0a5007b2742c08b7ef98e7879) Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: fetch2: wget _modelate_version improvmentsAníbal Limón2015-02-161-3/+3
| | | | | | | | | Fix sustition for rc, beta and alpha releses from -N to N weight. (Bitbake rev: 63a9e60a6d80cfd2693ec1a6359785dc19f98e1f) Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: fetch2: wget latest_versionstring improvments in get version by dirAníbal Limón2015-02-161-71/+37
| | | | | | | | | | | | | | Add support for scan every version directory using _check_latest_version makes code more robust because sometimes upstream projects publish new directories without files, causing don't find version. To support this new behaviour remove _check_latest_dir and replace for _check_latest_version_by_dir, (Bitbake rev: 1a75b3707743c32eec9d2cf566fb6bbea9f73784) Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: fetch2: wget add _check_latest_version_by_dirAníbal Limón2015-02-161-6/+46
| | | | | | | | | | | | | | | | | | | | | Add _check_latest_version_by_dir this function provides support for scan every directory newer than current dir in order to get latest_versionstring, example: http://somedoamin.com/project/v2.1/ http://somedoamin.com/project/v3.0/ Change return of _vercmp from True/False to -1/0/1 to provide test when current directory is equal to newer directory this helps to scan the same directory to get minor versions, example: http://somedoamin.com/project/v2.1/project-v2.1.2.tgz http://somedoamin.com/project/v2.1/project-v2.1.6.tgz (Bitbake rev: 5f7c5eb218a221165f59a0f4dd48d2d97f756193) Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: fetch2: wget latest_versionstring _check_latest_version improvmentsAníbal Limón2015-02-161-26/+25
| | | | | | | | | | In order to reduce code duplication now compile package_regex in _init_regexes instead of make this decision at _check_latest_version, (Bitbake rev: e7284e3ad0e7dd91ed59dfbf8450ef62e89c7e54) Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: fetch2: wget latest_versionstring improve _parse_pathAníbal Limón2015-02-161-20/+24
| | | | | | | | | | | Add support for get group only if exist in regex, this enables to use this function in _check_latestversion regardless if the regex is generic or specified by REGEX_URI. (Bitbake rev: 1127af5b8c458929c4685b0326f86870ed09442e) Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: cooker: rework LAYERDEPENDS versioning so that it is actually usefulPaul Eggleton2015-02-163-26/+69
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We've had versioned dependency support in LAYERDEPENDS for quite a long time, but I can say with pretty good certainty that almost nobody has used it up to now because it was too strict - the specified version had to exactly match the version in your configuration or you would get an error; there was no "greater than or equal" option, which is usually what you will want given that LAYERVERSION does get bumped from time to time. However, users mismatching layer branches and then having their builds fail later on with some incomprehensible error is still a pretty common problem. We can't simply use the git branch because not everyone is always on a branch and the branch names don't always match up (and that's not an issue). To provide a practical means to address branch mismatching, I have reworked LAYERDEPENDS version specifications to use the more familiar "dependency (>= version)" syntax as used with package dependencies, support non-integer versions, and clarified the error message a little. If we then take care to bump the version on every breaking change, it is at least possible to have layers depend on these changes when they update to match; we can now even support a major.minor scheme to allow retrospectively adding a version limiter to old branches when a new branch is created and yet still allow the old branch minor version to be bumped if needed. Fixes [YOCTO #5991]. (Bitbake rev: 408be9cdf2b1e32e64ea488d8051a546fb54c144) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: tests: add tests for OE pre-release version formattingPaul Eggleton2015-02-161-0/+4
| | | | | | | | | | | This scheme is used for versioning recipes that are pre-release (alpha, beta, etc.) within OpenEmbedded, so add some tests to ensure the appropriate comparison results still hold true. (Bitbake rev: 3a9eefe27f29a4593d6298f0427ac5f3e9183377) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: utils: ensure explode_dep_versions2 raises an exception on ↵Paul Eggleton2015-02-161-0/+4
| | | | | | | | | | | | | invalid/missing operator We really want an error rather than the version to just be silently skipped when the operator is missing (e.g. "somepackage (1.0)" was specified instead of "somepackage (>= 1.0)".) (Bitbake rev: b6dc946f477adc40d68da16e2f2580cb3b4a10db) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: depexp.py: Fix segfault if DISPLAY is not setMaxin B. John2015-02-161-0/+7
| | | | | | | | | | | | bitbake -g -u depexp <package> segfaults when DISPLAY is not set properly. Fix it with a proper check. [YOCTO #7299] (Bitbake rev: f35e9bd7b59c180fe9a3d9177efb57b92d9cd373) Signed-off-by: Maxin B. John <maxin.john@enea.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: bitbake-user-manual: Removed errant writer note line.Scott Rifenbark2015-02-101-2/+0
| | | | | | | | | | Removed a note to myself in the BB_ORIGENV example. Reported-by: Paul Eggleton <paul.eggleton@intel.com> (Bitbake rev: 27848725316ddae619c1b86f8adc0bfecfadf413) Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: bitbake-user-manual: Added some links to some new variables.Scott Rifenbark2015-02-101-7/+9
| | | | | | | (Bitbake rev: 5b8249acabad3eeedcf564590e6ab71588aec89c) Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: bitbake-user-manual: Added five new repo variables and links.Scott Rifenbark2015-02-101-4/+50
| | | | | | | | | | | | | | | | | | Added the following variables to the glossary: CVSDIR GITDIR SVNDIR HGDIR BZRDIR Several areas in the main manual mentioned these variables. For each, I added the appropriate link to the glossary term. (Bitbake rev: 5b797c758bf0499646e4e0256f03fbbdfb3ea080) Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: Makefile: Updated the script to not create PDF version by defaultScott Rifenbark2015-02-101-6/+6
| | | | | | | | | | For this release, we are dropping automatic creation of PDF manual. The user can still create them by specifically using the 'pdf' target. (Bitbake rev: e19320b4c453844f4ea7f7c1e56a9ed3e552f014) Signed-off-by: Scott Rifenbark <scott.m.rifenbark@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: models Allow the machine's layer name to be searchedMichael Wood2015-02-101-1/+1
| | | | | | | | | | | Make the layer name searchable. If you know the name of the layer you are interested in, searching for it is a fast way of getting the list of machines provided by it. (Bitbake rev: 0a2e0194fe7d949f1e9e01f7b42a7e0dc7a223f5) 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-103-2/+11
| | | | | | | | | | 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-104-4/+34
| | | | | | | | | | 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-106-25/+91
| | | | | | | | | | | | | | | | | | | 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: toaster: enhancements for the startup sequenceAlexandru DAMIAN2015-02-102-29/+84
| | | | | | | | | | | | | | | | | | | This patch brings fixes and enhancements in the startup sequence. - the dependency version checking is now correctly enforced when starting in both modes - fixed errors in looking up environment variables - added message with 'daemon' program start location - presenting menu for selecting config file [YOCTO #7283] [YOCTO #7291] [YOCTO #7273] (Bitbake rev: c5ddd9d88910857a1b745b1c237df0390dd56835) 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-108-53/+224
| | | | | | | | | | | | | | | | 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>
* bitbake: toaster: enable server-side caches and debug-panelAlexandru DAMIAN2015-02-101-1/+40
| | | | | | | | | | | | This patch enables the server-side caches for Django using file cache in /tmp/ directory. Patch enables django debug panel if available. (Bitbake rev: 00496fb67fa341477edbf80c5438f0b069871ac6) Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>