aboutsummaryrefslogtreecommitdiffstats
path: root/bitbake
AgeCommit message (Collapse)Author
2015-02-20bitbake: toaster: importlayer Remove description input fieldMichael Wood
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>
2015-02-20bitbake: toasterui: remove layer directory in managed modeBelen Barros Pena
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>
2015-02-20bitbake: toasterui: style the Toaster version informationBelen Barros Pena
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>
2015-02-20bitbake: toaster: layerdetails Don't show None type in description/summaryMichael Wood
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>
2015-02-20bitbake: toaster: landing page when no build moduleDavid Reyna
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>
2015-02-20bitbake: toaster: get proper version stringAlexandru DAMIAN
This patch brings in the toaster tree commit ID in the version string to allow users properly report their toaster version when submitting issues. (Bitbake rev: 5cc87ee0ac3b2bd399e7f009dda9d6de87209a27) Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-02-20bitbake: toasterui: UI query performance improvementsAlexandru DAMIAN
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>
2015-02-20bitbake: toasterui: fix time estimation in project pageAlexandru Damian
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>
2015-02-20bitbake: toaster: properly detect starting in rolling log fileAlexandru DAMIAN
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>
2015-02-20bitbake: toaster: bitbake cooker log saving and downloadingAlexandru DAMIAN
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>
2015-02-17bitbake: toasterui: empty state for pagesAlexandru DAMIAN
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>
2015-02-17bitbake: toaster: Set the machines page default pagesize to 100Michael Wood
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>
2015-02-17bitbake: toaster: Remove filtering from layers,machines and targetsMichael Wood
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>
2015-02-17bitbake: toaster: Remove Layer source from machines, layers and targetsMichael Wood
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>
2015-02-17bitbake: toaster: New build button allow arbitrary build targetsMichael Wood
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>
2015-02-17bitbake: toaster: Additional fixes for the project variable pageDavid Reyna
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>
2015-02-17bitbake: toaster: layerdetails use new vcs reference apiMichael Wood
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>
2015-02-17bitbake: toaster: fix git checkout commandAlexandru DAMIAN
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>
2015-02-17bitbake: toaster: properly detect failed server startAlexandru DAMIAN
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>
2015-02-17bitbake: toaster: Use on input event for validation rather than keyupMichael Wood
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>
2015-02-16bitbake: tests/fetch.py: latest_versionstring add set of PNAníbal Limón
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>
2015-02-16bitbake: fetch2: wget remove scape of - in regexes don't neededAníbal Limón
(Bitbake rev: 8fa43245351f3ec0a5007b2742c08b7ef98e7879) Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-02-16bitbake: fetch2: wget _modelate_version improvmentsAníbal Limón
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>
2015-02-16bitbake: fetch2: wget latest_versionstring improvments in get version by dirAníbal Limón
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>
2015-02-16bitbake: fetch2: wget add _check_latest_version_by_dirAníbal Limón
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>
2015-02-16bitbake: fetch2: wget latest_versionstring _check_latest_version improvmentsAníbal Limón
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>
2015-02-16bitbake: fetch2: wget latest_versionstring improve _parse_pathAníbal Limón
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>
2015-02-16bitbake: cooker: rework LAYERDEPENDS versioning so that it is actually usefulPaul Eggleton
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>
2015-02-16bitbake: tests: add tests for OE pre-release version formattingPaul Eggleton
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>
2015-02-16bitbake: utils: ensure explode_dep_versions2 raises an exception on ↵Paul Eggleton
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>
2015-02-16bitbake: depexp.py: Fix segfault if DISPLAY is not setMaxin B. John
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>
2015-02-10bitbake: bitbake-user-manual: Removed errant writer note line.Scott Rifenbark
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>
2015-02-10bitbake: bitbake-user-manual: Added some links to some new variables.Scott Rifenbark
(Bitbake rev: 5b8249acabad3eeedcf564590e6ab71588aec89c) Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-02-10bitbake: bitbake-user-manual: Added five new repo variables and links.Scott Rifenbark
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>
2015-02-10bitbake: Makefile: Updated the script to not create PDF version by defaultScott Rifenbark
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>
2015-02-10bitbake: toastergui: links outside Toaster should open in a new windowBelen Barros Pena
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>
2015-02-10bitbake: toaster: All machines Fix filter countsMichael Wood
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>
2015-02-10bitbake: toaster: All machines show results count if filtering or searchingMichael Wood
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>
2015-02-10bitbake: toaster: All machines reset order_by if removing that columnMichael Wood
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>
2015-02-10bitbake: toaster: all Machines exclude de-prioritised layer source itemsMichael Wood
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>
2015-02-10bitbake: toaster: All Machines fix reset search linkMichael Wood
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>
2015-02-10bitbake: toaster: models Allow the machine's layer name to be searchedMichael Wood
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>
2015-02-10bitbake: toaster: All machines Add filtering based on layer in projectMichael Wood
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>
2015-02-10bitbake: toaster: All machines Add layer name order by functionsMichael Wood
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>
2015-02-10bitbake: toaster: layerdetails Don't remove alert from dom on dismissalMichael Wood
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>
2015-02-10bitbake: toaster: All machines Update layer notificationsMichael Wood
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>
2015-02-10bitbake: toaster: All machines add a column to link back to machine confMichael Wood
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>
2015-02-10bitbake: toaster: machines Make sure we don't overwrite the pagesizeMichael Wood
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>
2015-02-10bitbake: toaster: Add add/select functionality to machines pageMichael Wood
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>
2015-02-10bitbake: toaster: machines Fix undefined variablesMichael Wood
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>