aboutsummaryrefslogtreecommitdiffstats
path: root/bitbake
AgeCommit message (Collapse)Author
2015-08-10bitbake: toaster: reduced amount of instance attributesEd Bartosh
Used local variables instead of instance attributes in ViewTests.setUp Fixed pylint warning: Too many instance attributes (9/7) (too-many-instance-attributes) (Bitbake rev: 0c419902e5f58dcee9b7fbe9af1928da37e18399) Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com> Signed-off-by: Michael Wood <michael.g.wood@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-08-10bitbake: toaster: fix pylint warning 'no space allowed'Ed Bartosh
Fixed pylint warning "No space allowed before/after bracket". (Bitbake rev: 0b0f360b3660373716189995f3d33ffbc1b21db5) Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com> Signed-off-by: Michael Wood <michael.g.wood@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-08-10bitbake: toaster: fix test_get_json_call_returns_json againEd Bartosh
Fixed this test case again after rebase. Improved it to check for all returned keys. Previously it was checking only 3 of them. (Bitbake rev: 2deef2e86a09b6cb907bfeff56774f889cfe30a1) Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com> Signed-off-by: Michael Wood <michael.g.wood@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-08-10bitbake: toaster: don't catch json.load exceptionsEd Bartosh
It doesn't make sense to catch json.load exceptions in the testing code. If API throws traceback it's better to see it instead of error message. (Bitbake rev: 207cb1d16ab089995f23b6070be358870506aa62) Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com> Signed-off-by: Michael Wood <michael.g.wood@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-08-10bitbake: toaster: add header and docstingsEd Bartosh
Added header and docstrings to toastergui tests module. (Bitbake rev: d46bc24e95fa27cee686b84fbd8c6407efa2635b) Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com> Signed-off-by: Michael Wood <michael.g.wood@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-08-10bitbake: toaster: remove unused importEd Bartosh
Fixed pylint warning: Unused Build imported from orm.models (unused-import) (Bitbake rev: 30585f7e37966e827861c25a0cc3bf9e3bd2f667) Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com> Signed-off-by: Michael Wood <michael.g.wood@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-08-10bitbake: toaster: get rid of class attributesEd Bartosh
LAYER_NAME and RECIPE_NAME attributes don't make sense as they're used only once. (Bitbake rev: 86936224f49810147daa91ea2a050b0e7a82f106) Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com> Signed-off-by: Michael Wood <michael.g.wood@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-08-10bitbake: toaster: put all test cases into one classEd Bartosh
Moved all functionality (one setup method and one test case) from ProvisionedLayersProjectTestCase and XHRDataTypeAheadTestCase to AllProjectsViewTestCase. Renamed AllProjectsViewTestCase -> ViewTests. (Bitbake rev: d87dc9a03bb2d1c21551894d611a4312254f46ef) Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com> Signed-off-by: Michael Wood <michael.g.wood@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-08-10bitbake: toaster: get rid of AllProjectsViewTestCaseEd Bartosh
Removed AllProjectsViewTestCase class as it had one method 'setUp' and used as a parent for another class AllProjectsViewTestCase. Moved setUp method to AllProjectsViewTestCase. (Bitbake rev: b68e4d994eb825c1039fd90d197724b77aeebd5d) Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com> Signed-off-by: Michael Wood <michael.g.wood@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-08-10bitbake: toaster: wrap long linesEd Bartosh
Fixed pylint warning Line too long (line-too-long). (Bitbake rev: 37f7588df9759481080db56462a271ca808ba9ff) Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com> Signed-off-by: Michael Wood <michael.g.wood@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-08-10bitbake: toaster: fix test_get_json_call_returns_json testEd Bartosh
This test case used wrong field name. Fixed by renaming field 'lists' -> 'rows'. (Bitbake rev: 534a302a413319d2573c894b1c1077ac0578bbb1) Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com> Signed-off-by: Michael Wood <michael.g.wood@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-08-10bitbake: runqueue.py: Add provides to taskdepdataMariano Lopez
Currently bitbake is the only one that knows the relation between PN and PROVIDES. In some cases it is needed to have this relation in the data store (the bootloader it's a good case). This adds the PROVIDES to the taskdata, so it would be in the data store as one field of BB_TASKDEPDATA. (Bitbake rev: a660787311d2961c66c0443bf0e2e094c9baef1b) Signed-off-by: Mariano Lopez <mariano.lopez@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-08-06bitbake: toastergui: layerBtn Fix build trigger mechanismMichael Wood
The new project page is no longer responsible for triggering the build so add a handler for this in layerBtn which is used in the layerdetails and layers pages. This also removes the conflicting and redundant handler for this in the layerdetails. (Bitbake rev: b4c389443bdd121121fd1d1a9006a9f1f63f186f) Signed-off-by: Michael Wood <michael.g.wood@intel.com> Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-08-06bitbake: toastergui: Fix typo on layers in project filter conditionMichael Wood
Should be & rather than "and" which was returning the truth'd value of the and condition. [YOCTO #8114] (Bitbake rev: 58035667e433f2b77f5cd48240dd051c35476284) Signed-off-by: Michael Wood <michael.g.wood@intel.com> Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-08-06bitbake: toastergui: Move click disabled check after table ready eventMichael Wood
We were attaching this handler before the elements were fully ready in the dom. Which allowed these links although disabled to take users to the change machine page. (Bitbake rev: 8245a7d679914ca7d4548ab7e83b5047ff8a1ff5) Signed-off-by: Michael Wood <michael.g.wood@intel.com> Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-08-06bitbake: toastergui: Machine select button url parameters changeMichael Wood
Update the url for changing the machine in the project page. [YOCTO #8113] (Bitbake rev: 6e46ad4aa404d80fded27db1fb072d35250cfcfb) Signed-off-by: Michael Wood <michael.g.wood@intel.com> Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-08-06bitbake: toastermain: Add a longer default database timeoutMichael Wood
When using sqlite we sometimes see Database Locked exceptions when we fire off database calls asynchronously from the UI. We need sqlite to wait a bit longer for the lock to be released. n.b In production setup we hopefully wouldn't be using sqlite. docs.djangoproject.com/en/1.6/ref/databases/#database-is-locked-errors (Bitbake rev: 7f3a4e0330f4de3ba8e092bc1c15a53d8c2be073) Signed-off-by: Michael Wood <michael.g.wood@intel.com> Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-08-06bitbake: toastergui: Move layerdetails view definition to the views.pyMichael Wood
The layerdetails view definition was moved to tables though it isn't a table. We have a mechanism for the JSON response for this page so use this instead of a custom class. (Bitbake rev: b5100bfd4cb32a9b59b0554c6dbc3a4295da7d8e) Signed-off-by: Michael Wood <michael.g.wood@intel.com> Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-08-06bitbake: toastergui: Fix toastertable table header referenceMichael Wood
A header id was mistakenly added to the table template which was not also added to the simple version of the toaster template. We don't need this id so remove it. (Bitbake rev: daf902e2a6f736b9c8ef6492143fdbf856451559) Signed-off-by: Michael Wood <michael.g.wood@intel.com> Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-08-06bitbake: toastergui: libtoaster typeahead Add in results highlighterMichael Wood
Add a highlighter for the results in the typeahead, this highlights the part of the results which is currently being matched. This is a modified version of the bootstrap stock function with added escaping and the addition of the details information. (Bitbake rev: 3a6bad55a84d8d374a23f488ce42fed9b927c4f2) Signed-off-by: Michael Wood <michael.g.wood@intel.com> Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-08-06bitbake: toastergui: libtoaster: typeahead resiliency for slow serverMichael Wood
When we have a slow request we don't want to see the typeahead results changing in the middle of typing the item. To do this we make sure that requests to the typeahead can only happen sequentially and that if results have been retrieved but the input is now empty we don't bother showing the results. (Bitbake rev: 0b508e8b4a9e25c223c6c11ecd6d0e1aab727e8c) Signed-off-by: Michael Wood <michael.g.wood@intel.com> Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-08-06bitbake: toastergui: tests Fix and more comprehensive typeahead unittestMichael Wood
Fix the currently broken unit test for typeaheads and add some additional fields to check for in layers, projects, recipes and machines typeaheads. (Bitbake rev: 5700cd269e3a4fd517e16a3a19e61a23091df465) Signed-off-by: Michael Wood <michael.g.wood@intel.com> Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-08-06bitbake: toastergui: views Standardise the fields project layer responseMichael Wood
We need to keep consistent the field names of these objects so that we can use the object response from different calls. e.g. layer dependences or listing layers in the project. (Bitbake rev: 5c7004908f6916c0d279299c47b9dca3237148ec) Signed-off-by: Michael Wood <michael.g.wood@intel.com> Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-08-06bitbake: toasterui: views Remove unused xhr_typeahead view definitionMichael Wood
The one thing left being used in this definition was a response which contains the list of layers which would be deleted if you change the project release. This patch moves that to it's own url/endpoint and updates the frontend reference which is using it. (Bitbake rev: 1cc19c84ee97182f39eae0338c712f7a2b40a18d) Signed-off-by: Michael Wood <michael.g.wood@intel.com> Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-08-06bitbake: toastergui: libtoaster Throw an exception no url is specifiedMichael Wood
At a minimum for this typeahead to work we need a url parameter to call for a JSON reponse of items to filter on. (Bitbake rev: 80b214d93c5df63a251b807ca93f81f00c6bfeb2) Signed-off-by: Michael Wood <michael.g.wood@intel.com> Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-08-06bitbake: toastergui: Switch to using the new toaster typeahead widgetMichael Wood
Switch the existing typeahead inputs to use the new typeahead widget. This means we have a defined mechanism and end point for typeaheads which meets the design specification. (Bitbake rev: 31a8ae7909347f7b6edde5bbdf02b86dc1b32ed0) Signed-off-by: Michael Wood <michael.g.wood@intel.com> Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-08-06bitbake: toastergui: Add typeaheads layers, machines, projects, recipesMichael Wood
Implementation of typeahead widgets for layers machines and recipes typeahead. [YOCTO #7152] (Bitbake rev: 913d01758564db2f5fae4451bf0fdca38a1b3d61) Signed-off-by: Michael Wood <michael.g.wood@intel.com> Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-08-06bitbake: toastergui: widgets Add a typeahead widgetMichael Wood
The typeahead behaviour is significantly different from searching in a table so we need a separate widget to do this. [YOCTO #7152] (Bitbake rev: 195c5407a9de29d97f2525b9ae6c827afb934e37) Signed-off-by: Michael Wood <michael.g.wood@intel.com> Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-08-06bitbake: toastergui: tables Use util functions for the common querysetsMichael Wood
Use the new utils functions on the project object to get the common querysets that we also use in tables. (Bitbake rev: 5e013a9bc3deb03bd6bac357b9ecb81c3c77b255) Signed-off-by: Michael Wood <michael.g.wood@intel.com> Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-08-06bitbake: toaster: orm Add util functions to return common querysetsMichael Wood
We use these querysets when creating tables of results and also when we want to have a typeahead search. These can also form the basis of future API endpoints. (Bitbake rev: 2a10fecd985343802f0e99c6fff25c28980eee20) Signed-off-by: Michael Wood <michael.g.wood@intel.com> Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-08-06bitbake: toaster: orm Add util function to return the url to layerversionMichael Wood
Save duplicating this call and make a utility function for it on the Layer_Version object. (Bitbake rev: 32d382315bad37cebbe67ca3287085f3d856a9ed) Signed-off-by: Michael Wood <michael.g.wood@intel.com> Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-08-06bitbake: toastergui: add action to empty "most built" recipesBelen Barros Pena
It is not very good to just tell people: "this is empty because you haven't done anything". We should politely invite them to do something about it. Thus adding a "Choose a recipe to build" link to the all compatible recipes page whenever the 'most built recipes' section is empty. (Bitbake rev: 8d2ed32cd09cf6cb96521fd42789faae99656fad) Signed-off-by: Belen Barros Pena <belen.barros.pena@intel.com> Signed-off-by: Michael Wood <michael.g.wood@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-08-06bitbake: toastergui: fix spacing in the import layers pageBelen Barros Pena
Adjust the space between the first fieldset and the tabs, and the help text and the first form field. (Bitbake rev: 68086d260842c12e5459c719f383b045fb0b3c2d) Signed-off-by: Belen Barros Pena <belen.barros.pena@intel.com> Signed-off-by: Michael Wood <michael.g.wood@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-08-06bitbake: toastergui: remove project name from layer change notificationBelen Barros Pena
The project name is always a link to the basic configuration page, which looks quite silly when you change layers from that page. Since I guess the idea is reusing those notifications everywhere, I've replaced the project name with a generic 'to your project' / 'from your project', so that they read right no matter where you see them. (Bitbake rev: 59bcafa712b9a16b647bd26b3bd738ae6fc21eaa) Signed-off-by: Belen Barros Pena <belen.barros.pena@intel.com> Signed-off-by: Michael Wood <michael.g.wood@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-08-06bitbake: toastergui: change link styles in alert-infoBelen Barros Pena
Make them a bit less bold: it was a bit in your face before. (Bitbake rev: fd9e6d262aa3fdb2377c30ebac54096453a3b9f9) Signed-off-by: Belen Barros Pena <belen.barros.pena@intel.com> Signed-off-by: Michael Wood <michael.g.wood@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-08-06bitbake: toastergui: breadcrumb fixesBelen Barros Pena
Make sure that we use the correct html entity for the breadcrumb dividers, and remove the 'all builds' item from the history pages: all breadcrumbs should now have the project name as their first element, since the 'all builds' page can be reached using the global naviation in the top bar. (Bitbake rev: c97f658f4b2131f280c364c2209efd28878570dc) Signed-off-by: Belen Barros Pena <belen.barros.pena@intel.com> Signed-off-by: Michael Wood <michael.g.wood@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-08-06bitbake: toastergui: spacing and top nav style changeBelen Barros Pena
Remove the margin for the .section class and the .row-fluid class in the page header div to reduce the vertical white space a little bit in the project pages. Also, change the style of the Toaster manual link to make it look like the main navigation. (Bitbake rev: 7b539bbf25786d313fd8092dc96b186388df58aa) Signed-off-by: Belen Barros Pena <belen.barros.pena@intel.com> Signed-off-by: Michael Wood <michael.g.wood@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-08-03bitbake: cooker: Resolve file monitoring race issues when using memres bitbakeRichard Purdie
If you load memory resident bitbake, then change bblayers.conf or other configuration files, then execute your first command, bitbake will not notice the changes. This is because it adds the file watches during inital parsing, which happens at the time the first command is run. To fix this, we move the addition of the file watches to earlier in the process, so bitbake then does track them correctly. This also avoids some issues Paul was seeing with tinfoil2. (Bitbake rev: b9375c73e736003e66575969c9ea244403e47aeb) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-08-01bitbake: bb.parse: properly error out on filesystem errorsChristopher Larson
We've had a long-standing bug where a legitimate error reading a file (IOError or OSError) is always suppressed as though it was a 'file not found' case. As a concrete example, if you do a `chmod 000 conf/local.conf`, it'll silently not parse local.conf, rather than erroring to let the user know about the problem. Fix this by handling the ENOENT case specifically. (Bitbake rev: e691312a3add222b04e7b2f52f8df6abcb9068bf) Signed-off-by: Christopher Larson <chris_larson@mentor.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-08-01bitbake: bb.cookerdata: don't show traceback for ParseError/ExpansionErrorChristopher Larson
Tracebacks are of extremely limited usefulness in this context. The exceptions carry the necessary context already, and the user doesn't care about the calls in bitbake internals that led to an expansion or parse failure. (Bitbake rev: 9b95fa94eaae452ac7814f1e67c2f7a6314c52f1) Signed-off-by: Christopher Larson <chris_larson@mentor.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-08-01bitbake: bitbake-user-manual-fetching.xml: note about URLs with semi-colonsJuro Bystricky
Some URLs contain semi-colons. Unfortunatelly, bitbake uses semi-colons in SRC_URI as delimiters for various parameters. It may still be possible to use such URLs, providing the user replaces semi-colons ';' with '&' characters. For example: http://abc123.com/git/?p=gcc/gcc.git;a=snapshot;h=a5dd47 and http://abc123.com/git/?p=gcc/gcc.git&a=snapshot&h=a5dd47 should be equivalent, as W3C recommends treating ';' in queries identically to '&'. See http://www.w3.org/TR/1999/REC-html401-19991224/appendix/notes.html#h-B.2.2 Kudos to Olof Johansson (Bitbake rev: d8953c16c52c6e5de879f4a32ec8aeee396bb410) Signed-off-by: Juro Bystricky <juro.bystricky@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-08-01bitbake: bitbake: toaster: Add is_image field to the Recipe modelEd Bartosh
Added new field is_image to the Recipe model. Made sure is_image is populated when layer sources are imported. Made sure the change doesn't break loading old style layer sources. Tested by loading data from layers.pythonanywhere.com and from layers.openembedded.org. [YOCTO: #7571] (Bitbake rev: 3ac0ba73790b8f68567daa2de313c78053411fbb) Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com> Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-08-01bitbake: bitbake: toaster: Uncomment logging messagesEd Bartosh
Uncommented debug and warning messages in _shellcmd method of LocalhostBEController as they seem to be useful for debugging. (Bitbake rev: 9446f02520a3bee4417908d8da2ab1848f4759c3) Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com> Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-08-01bitbake: bitbake: toaster: get rid of _createdirpath functionEd Bartosh
Replaced call of recursive _createdirpath method with simpler call of os.makedirs. (Bitbake rev: 018442e2645390342d43a95a8685e51b29ea868a) Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com> Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-08-01bitbake: bitbake: toaster: Fix usage of wrong variablesEd Bartosh
Replaced nonexistent variable 'be' with self in models.py/BuildEnvironment methods. Fixed typo: BuildRequest.TYPE_LOCAL -> BuildEnvironment.TYPE_LOCAL (Bitbake rev: ed6094f78c75aab776a82967101d9c57e38e2c4d) Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com> Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-08-01bitbake: bitbake: toaster: Wait for toaster gui to comeEd Bartosh
Set logging level for the Toaster logger to get messages to toaster_ui.log Reverted previous workaround. [YOCTO: #7965] (Bitbake rev: f1d8e0ff7233f17cff3a56db10d2443b392b407d) Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com> Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-08-01bitbake: bitbake: toastergui: Toastertables don't replace dash in cache keyMichael Wood
The dash character was being stripped from the cache key when we sanitise it for the memcache backend. This meant that we were getting a false hit on the cache and returning non descending results which are indicated by the dash prefix on the field name. (Bitbake rev: 18743274a94966d2cd8d17d163e4dbab501a8a52) 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-08-01bitbake: toaster: toastergui: run pylint on the toaster filesAlexandru DAMIAN
This patch enables pylint running on the toaster files, showing only the errors. This enables spotting common mistakes in the toaster python files. (Bitbake rev: d2e69721233ab3cbbc3bdd6a1c198fde8a1f287e) Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com> Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-08-01bitbake: toaster: tts: execute tests in numeric orderAlexandru DAMIAN
As the tests are verifying different type of the functionality, it is usually the case that a failing early test will completely make the subsequent tests failing, e.g. if the system cannot start due to a bug, there is little point in testing other functions. In order to prevent uneeded test runs, and to generate repeatable test patterns, the test cases have now a numeric order in the class name (e.g. Test01XXX). The tests are executed in this order, and the first test failing will stop the test run. (Bitbake rev: 639c46a08e524902018e28367fcb4e26362cd3e3) Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com> Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-08-01bitbake: toaster: tts: make sure to import dataAlexandru DAMIAN
Importing data from the layer index should be part of the setup because otherwise we have no reliable database configuration. This patch selects the first option for importing the database configuration file. (Bitbake rev: 86a69d294ace41bd109db97b753554ccc8f3dac0) Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com> Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>