summaryrefslogtreecommitdiffstats
path: root/bitbake/lib
Commit message (Collapse)AuthorAgeFilesLines
...
* bitbake: toastergui: fix mrb Run again buttonsAlexandru DAMIAN2015-03-161-3/+2
| | | | | | | | | | The button for error-ed builds had invalid javascript markup, this patch fixes the buttons. (Bitbake rev: 2824888196acc5cbe326b18148581472772ab21d) Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: toaster: localhost build increase timeoutAlexandru DAMIAN2015-03-161-2/+2
| | | | | | | | | | We increase the timeout for waiting bitbake to start for localhost builds. (Bitbake rev: 80476705f960a14bb8dc68c1d89460aeb6ca90c5) Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: toasterui: relative recipe pathsAlexandru DAMIAN2015-03-161-1/+7
| | | | | | | | | | | We modify the toasterui to log relative recipe paths in order to maintain consistency with data fetched from the layer sources. (Bitbake rev: 253d69e88fd68729196ad43c15e8733527d76198) Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: toastergui: improve toaster suggestionAlexandru DAMIAN2015-03-161-8/+20
| | | | | | | | | | | | | | Improving the suggestions by ordering entries based on position of the search string. Speed improvements in suggestion calls. [YOCTO #7152] (Bitbake rev: 61b0f0e46a589af9d669e52d4cec656bbd0d0057) Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: toastergui: dirinfo needs path separationAlexandru DAMIAN2015-03-161-1/+1
| | | | | | | | | | | | | | | In the dirinfo URLs we use the "/" separator for directory separation which coincides with the "/" separator in HTTP URIs. This is not a problem, but we must not have consecutive "/" characters as the web servers will conflate those - we add a "_" delimitator to separate the Django managed URL from the dirpath parameter, while maintaining the unique ID of REST urls. (Bitbake rev: 965e2a2cc32d196c9d595ea89c45a84bd46ba2fe) Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: toastergui: tables display optimizationsAlexandru DAMIAN2015-03-163-23/+33
| | | | | | | | | | | This patch brings in a new set of optimizations in the tables pages, with the focus of reducing the number of SQL queries performed per row. (Bitbake rev: a1ad86febb9d8a4ee7f15aa726f267d64b8e0dc4) Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: toastergui: project app build command fixAlexandru DAMIAN2015-03-161-3/+4
| | | | | | | | | | This patch fixes the build command in the angular project for builds triggered from All targets page. (Bitbake rev: bfd56aa653a1ec7f8777bcb5e627910c3a7ee35b) Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: toastergui: update search fieldsAlexandru DAMIAN2015-03-162-2/+2
| | | | | | | | | | We update the search fields for the machine suggestions and recipes tables. (Bitbake rev: b85bcc854264336c1aef1e5fd4ea9e56f5af94fd) Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: toasterui: identify proper layer in build modeAlexandru DAMIAN2015-03-163-15/+22
| | | | | | | | | | | | In build mode, instead of creating our own layer objects, we identify the layer objects that the build system set up. [YOCTO #7378] (Bitbake rev: 22962b540ace6868cb357c0fd13f01ffd24449c4) Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: toastergui: improve performance in the all targets pageAlexandru DAMIAN2015-03-161-7/+7
| | | | | | | | | | | This patch improves performance in the all targets display by computing the preffered layer only for displayed targets, instead of computing for all targets. (Bitbake rev: 027e3b7c579e21b3164f2785578ae9905b4fb325) Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: toastergui: improve data suggestionAlexandru DAMIAN2015-03-162-7/+9
| | | | | | | | | | | | | | | | | | | We improve the data suggestions in the project page. The machines suggestions now contain the layer name. The targets and machine do not show the layer branch. For targets, the layer name is searchable. For machines, the description field is searchable. [YOCTO #7153] [YOCTO #7154] (Bitbake rev: 02a4997807ee995817d741985eea13d38e548007) Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: toastergui: fix project page layer branch namesAlexandru DAMIAN2015-03-162-3/+3
| | | | | | | | | | | | Change inconsistent branch name usage in project page to the uniquely defined get_vcs_reference() [YOCTO #7381] (Bitbake rev: bc838a6c075c4d7e24f7820088f485bbfdea5a32) Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: toastergui: suggestion in alphabetical orderAlexandru DAMIAN2015-03-161-4/+4
| | | | | | | | | | | | Patch bringing ordering in alphabetical order for targets, machines and layers suggestion in typeaheads. [YOCTO #7152] (Bitbake rev: de1a1504967b1c2df701f5b7496004f8cd68c407) Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: toastergui: project page - consistent error displayAlexandru DAMIAN2015-03-162-23/+32
| | | | | | | | | | | | | | We modify the project page to provide a consistent view of the build errors. The display is now similar with the managed_mrb_section and links point to the buildrequest detail view. [YOCTO #7188] (Bitbake rev: d37eaaa48a63a137ded25a14911c97a5ae861ff6) Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: knotty: Do not log show_versions outputRob Woolley2015-03-161-1/+1
| | | | | | | | | | | | | Every time the bitbake show versions command (bitbake -s) is run it creates a 100k log file. The consolelogfile is disabled for show environment and disabling show versions would make the behaviour match. (Bitbake rev: dee0ba94e39ea49c1e9261a5e8932356e3bb7c57) Signed-off-by: Rob Woolley <rob.woolley@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: knotty: Catch exceptions on broken pipesRob Woolley2015-03-161-19/+24
| | | | | | | | | | | | | | | | Any exceptions that occur in calls to logging methods are automatically suppressed, including exceptions due to broken pipes. However, the knotty summary messages are printed directly to stdout, which means that any broken pipes will cause an exception traceback in python. By wrapping the summary section in a try / catch block we can check for IOError exceptions caused by broken pipes and let them pass. (Bitbake rev: 146e7e157f97b676858ecff583dd53800d997253) Signed-off-by: Rob Woolley <rob.woolley@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: cooker/server: Fix up 100% CPU usage at idleRichard Purdie2015-03-103-1/+7
| | | | | | | | | | | | | | | The recent inotify changes are causing a 100% cpu usage issue in the idle handlers. To avoid this, we update the idle functions to optionally report a float value which is the delay before the function needs to be called again. 1 second is fine for the inotify handler, in reality its more like 0.1s due to the default idle function sleep. This reverts performance regressions of 1.5 minutes on a kernel build and ~5-6 minutes on a image from scratch. (Bitbake rev: 0e0ba408c2dce14a0fabd3fdf61d8465a031495b) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: fetch2: Revalidate checksums, YOCTO #5571Clemens Lang2015-03-091-10/+102
| | | | | | | | | | | | | | | | | | | | | | | [YOCTO #5571] -- https://bugzilla.yoctoproject.org/show_bug.cgi?id=5571 The following workflow (whether accidentally or deliberately) would previously not result in a checksum error, but would be helpful to do so: - Write a recipe with correct checksums - Fetch the sources for this recipe using bitbake - Change the checksums Since the bitbake fetcher writes a done stamp after the initial download and does not verify the checksums again (even if they are changed in the recipe afterwards), the change of checksums is silently ignored. Fix this without the overhead of computing the checksums from scratch on every do_fetch by storing them in pickled format in the done stamp and verifying that they still match those in the recipe. (Bitbake rev: fbd4a0d422cf7f43db2f9eab2e47c41246a9031e) Signed-off-by: Clemens Lang <clemens.lang@bmw-carit.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: toaster: cached outcome download buttonDave Lerner2015-03-091-0/+8
| | | | | | | | | | | | | | | | | When a task is executed successfully without using saved-state cache, then a button appears allowing the user to download the log file for that task. This commit allows the user to download the log file for a task that is completed by unpacking data from the saved-state cache, a task with outcome 'Cached'. The same button 'Download task log' is shown, which when pressed downloads the '_setscene' log file for that task. [YOCTO #7379] (Bitbake rev: d4ac60c41f1ee9a8c59f9ede5b0948303f793afa) Signed-off-by: Dave Lerner <dave.lerner@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: toaster: projectapp.js - clear up jslint warningsAlexandru DAMIAN2015-03-091-81/+100
| | | | | | | | | | This patch clears up jslint warnings for the project app, and improves file readability. (Bitbake rev: 10e58867a0231c8039f6d2523b885b9ca7c7dff6) Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: toaster: libtoaster Fix a few warnings picked up by jshintMichael Wood2015-03-092-39/+51
| | | | | | | | | | Fix warnings and items that do not conform to strict. Also add a fairly lenient jshintrc. usage: jshint js_file (Bitbake rev: 93a1e05a5d6bd19e689126bfef0df8caa0d8bf34) Signed-off-by: Michael Wood <michael.g.wood@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: toaterui: shorten the unavailable artifact messageBelen Barros Pena2015-03-091-6/+4
| | | | | | | | | | Make it slightly shorter, and separate the 'back' action so that is more visible and easier to hit. (Bitbake rev: 70c8d8f471653e6832d1bbc469914b7e59372c1b) Signed-off-by: Belen Barros Pena <belen.barros.pena@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: toasterui: give some space to the download log buttonBelen Barros Pena2015-03-092-2/+3
| | | | | | | | | | In the build dashboard, the download build log button was a bit too close to the build time. (Bitbake rev: da7c450f28cdf1c851b14f7a1fac08e6cf1dd894) Signed-off-by: Belen Barros Pena <belen.barros.pena@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: toasterui: apply correct class to latest builds targetsBelen Barros Pena2015-03-091-1/+5
| | | | | | | | | | Failed builds were showing the target name with the .success class applied (cognitive disonance, anyone?). (Bitbake rev: c78a19ecd2b397ccce59c1f6b852953b04afd37a) Signed-off-by: Belen Barros Pena <belen.barros.pena@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: toasterui: fix the h1 in the project builds pageBelen Barros Pena2015-03-091-14/+12
| | | | | | | | | | It was not displaying the number of search results. (Bitbake rev: df8bdd357b126a0436c15cf66a13d398df273867) 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: toasterui: don't open layer details in a new tabBelen Barros Pena2015-03-091-1/+1
| | | | | | | | | | In the project page, the project layer links were opening in a new tab. They should not do that. (Bitbake rev: 45d3c27e68149bce089551539f6bbdaef98b7896) Signed-off-by: Belen Barros Pena <belen.barros.pena@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: toaster: Enforce unique layer namesMichael Wood2015-03-093-62/+82
| | | | | | | | | | | | | We had some clever functionality to manage duplicate layer names by using layer versions and new revisions, unfortunately this was too opaque to the user. [YOCTO #7337] (Bitbake rev: 4590cfcb2d5e26518e04f8abc8e7c2dad973f6d2) Signed-off-by: Michael Wood <michael.g.wood@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: toaster: commit id format on layers pageDave Lerner2015-03-092-6/+21
| | | | | | | | | | | | | | | On the layers page, when a layer revision is a commit id instead of a an upstream branch name, then follow the same format for displaying the commit id as on the recipes page. That format is a button with the truncated commit SHAID which when pressed expands to the full SHAID. [YOCTO #7191] (Bitbake rev: 507d2a36e53ba2c1f49616d52e4700f6c1bca8fd) Signed-off-by: Dave Lerner <dave.lerner@windriver.com> Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: toastergui: bring back base URLs for pages that need themAlexandru DAMIAN2015-03-095-4/+8
| | | | | | | | | | | | | | | Some URLs, although invalid on their own, are used in JS to build valid page pointers. Previous patch removed two of these URLs, breaking the display of several patches. This patch re-adds these URLs with different names, and returns 400 Bad Request empty pages on them, which is consistent with the intended usage of these URLs. (Bitbake rev: 73afee5ddb2e89dcec65854639b19b8860232d89) Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: toaster: reconcile non-manage-mode landing classesDavid Reyna2015-03-092-10/+5
| | | | | | | | | | | | Remove obsolete manage-mode URLs, fix not-manage mode landing classes that have obsolete non-matching parameter lists, remove orphaned landing classes.. [YOCTO #6483] (Bitbake rev: 76c54a79c4e26cefa5e72ca1cb14bc9d46e8f9dd) Signed-off-by: David Reyna <David.Reyna@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: toaster: hide special code for core vars not present, disable add ↵David Reyna2015-03-092-15/+92
| | | | | | | | | | | | | | | | | | button Hide the special config variable management sections when the respective variables are not present. Disable the variable add button after a variable is added so that blank values cannot be added, and also when a variable name managed in the project detail page (e.g. BBLAYERS and MACHINE) is entered. [YOCTO #7246] [YOCTO #7371] (Bitbake rev: 1f9aaa7747351f7b0063f80c56cf7fa2c9cc3cf9) Signed-off-by: David Reyna <David.Reyna@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* 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: models.py do not use transactionsAlexandru DAMIAN2015-03-091-11/+23
| | | | | | | | | | | | | | This is the counterpart patch of do not use transactions if the database autocommits fix on toasterui, applied to models.py [YOCTO #7402] (Bitbake rev: 48d0d510816346073f135bb86fb7904fdb50bb27) Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: xmlrpc server: delete function on errorsAlexandru DAMIAN2015-03-091-0/+4
| | | | | | | | | | | | | | | | | | | | | | | This patch makes sure to delete an idle function that raises an exception for the xmlrpc server. The counterpart functionality in the process server was added with: commit db50630948394bdcd361f3511af40c1896b1a017. duthor: Richard Purdie <richard.purdie@linuxfoundation.org> Date: Wed Aug 20 22:31:06 2014 +0000 bitbake: process: Deal with infinite looping of the server This patch fixes [YOCTO #7316] (Bitbake rev: e7c9a6788d969c901fd6394416ac3936e62c4c72) Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: cooker: make sure state is properly used to accept clientsAlexandru DAMIAN2015-03-091-3/+3
| | | | | | | | | | | | | | This patch fixes a bug where if the build is force stopped, subsequent clients cannot connect to the server due to unnecessary limits on setFeature. Additionally, we make sure that the state is properly reset even if the BuildCompleted event firing excepts for some reason. (Bitbake rev: 0b66b05169688aa4ddc4c54d175bb961b2f27fec) Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: xmlrpcserver: do not connect client on errorAlexandru DAMIAN2015-03-091-0/+2
| | | | | | | | | | | We roll back the client connection if some error happens, like during setFeatures, as to leave the server accessible to other clients. (Bitbake rev: 4e4a2ee2f05f8741b2e09263e328420363975b02) Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: toaster: delete test dataAlexandru DAMIAN2015-03-092-140836/+4
| | | | | | | | | | | | | | | Toaster used a test fixture to verify page rendering on known data. This fixture is outdated due to changes in the data structure, and we remove it to avoid confusions about its usage. The tests using this data are now disabled. (Bitbake rev: 8fda1b66e695ccdf98ae1c34a0bd655be2878188) Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: cooker: read file watches on server idleAlexandru DAMIAN2015-03-091-7/+23
| | | | | | | | | | | | | | | | | | The inotify facility monitoring changes to the config files could be overwhelmed by massive changes to the watched files while server is running. This patch adds verification the notification watches to the server idle functions, in addition to the cooker updateCache command which executes only infrequently, thus preventing overflowing the notification buffer. [YOCTO #7316] (Bitbake rev: 996e663fd5c254292f44eca46f5fdc95af897f98) Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.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-275-54/+190
| | | | | | | | | | | | 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: toasterui: do not use transactions if the database autocommitsAlexandru DAMIAN2015-02-271-8/+12
| | | | | | | | | | | | | | | | | Some databases, notably the SQLite3 adapter, force autocommits even if the autocommit is turned off. The behavious is tracked in this bug: http://bugs.python.org/issue8145#msg109965 Django refuses to work with autocommit off in this case, so we have to take the same precautions when using manual transaction support. [YOCTO #7363] [YOCTO #7365] (Bitbake rev: 90231ab63a129fa344d461c2911898ea0f07f206) Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: toaster: order layers with same priorityAlexandru DAMIAN2015-02-271-1/+1
| | | | | | | | | | | When we have multiple layers with the same priority, we need to order them by date, newest first. The layer version ID is a complete ordering by recent-ness, so it is suitable. (Bitbake rev: 09171a892935d46ed32162b2d0f4a536c546facc) Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: toasterui: fix sstate task identificationAlexandru DAMIAN2015-02-272-11/+6
| | | | | | | | | | | | This patch fixes a problem where set sstate scene tasks were not identified, causing cache attempt not being recorded. [YOCTO #7223] (Bitbake rev: 8a326a9a5a08981f1b7960e02fdb8a9436db16fb) 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: toaster: fix typo in models.pyBelen Barros Pena2015-02-271-1/+1
| | | | | | | | | | The typo caused the tasks table to break when a task has no help text. (Bitbake rev: f1b794e6abba5c7cdda49666a7ff27db7dd6ea72) Signed-off-by: Belen Barros Pena <belen.barros.pena@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: toasterui: fix ETA calculationAlexandru DAMIAN2015-02-241-1/+1
| | | | | | | | | | | This patch fixes the ETA calculation. [YOCTO 7349] (Bitbake rev: 8a5c83c953c1e541704fe979e90d9d3be66e9ffd) 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-242-19/+23
| | | | | | | | | | | 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: disable autocommit for build loggingAlexandru DAMIAN2015-02-242-1/+28
| | | | | | | | | | | | | | | | | | This patch disables autocommit for inserting build data, effectively updating all build data in a single transaction. This is a purely performance improvement patch, as the transaction will always be commited. Similar manual transaction handling in the layer source update method. Added feedback messages during update method. [YOCTO #7140] (Bitbake rev: 3978c819e797f857235499a4b8ec238134f1c028) Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>