summaryrefslogtreecommitdiffstats
path: root/bitbake/lib
Commit message (Collapse)AuthorAgeFilesLines
* bitbake: toaster: implement package summary pageDavid Reyna2014-02-173-40/+131
| | | | | | | | | | | | | Implement the updated design for the package summay page, with pop-up boxes for the layer commit ids, column filtering, and column sorting support. [YOCTO #4318] (Bitbake rev: c39b99792547b642570ea5152070e7396e812390) Signed-off-by: David Reyna <David.Reyna@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: toaster: implement recipe summary pageDavid Reyna2014-02-173-39/+145
| | | | | | | | | | | | | Implement the updated design for the recipe summay page, with pop-up boxes for the dependecies and layer commit ids, column filtering, and column sorting support. [YOCTO #4294] (Bitbake rev: 92b71c8e6cfcd656866fbf9bd00bf184b223c5fa) Signed-off-by: David Reyna <David.Reyna@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: toaster: Make popovers mutually exclusiveBelen Barros Pena2014-02-171-36/+19
| | | | | | | | | | | | | | | | | | | Table popovers should be mutually exclusive (only one of them should be open at any given time), and should close when you click outside their area. But this is not the default popover behaviour in Bootstrap, so some additional javascript is needed. The code in main.js taking care of this in the design prototype was quite ugly and didn't get on well with certain browsers. I have replaced it with a better solution (although still not ideal). (Bitbake rev: d56633c00f6730c053f355570211eba1bdc41b62) 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: Make popovers scrollableBelen Barros Pena2014-02-171-0/+3
| | | | | | | | | | | | | Some recipes and packages have a lot of dependencies. To stop their popovers from taking over the full height of the screen, I have given them a maximum height and made their content scrollable in default.css (Bitbake rev: b6416a98f441516100d2ce7baca30f09714a1d1d) Signed-off-by: Belen Barros Pena <belen.barros.pena@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: toaster: Make all targets links to the build dashboardBelen Barros Pena2014-02-171-1/+1
| | | | | | | | | | | | | | Change the build.html template to remove the conditional check that added links to the build dashboard only to those targets that are image recipes. All targets should be links to their corresponding build dashboard. (Bitbake rev: 05f52b9fad597173d813fa4305af65f1c9bb88a1) Signed-off-by: Belen Barros Pena <belen.barros.pena@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: toaster: Select a radio button by default in Filter DialogRavi Chintakunta2014-02-172-1/+13
| | | | | | | | | | If none of the filter options in the filter dialog are active, then select the first radio button. (Bitbake rev: 8aa63143cc446227c69f64688b314c65b74604d8) Signed-off-by: Ravi Chintakunta <ravi.chintakunta@timesys.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: toaster: Fix for task_color tagBelen Barros Pena2014-02-171-1/+1
| | | | | | | | | | | | This patch changes the task_color tag in projecttags.py to make sure it adds the error class to the rows corresponding to failed tasks in the tasks table. (Bitbake rev: 44c5b3a93a93a464429e8d998aace25f840ae724) Signed-off-by: Belen Barros Pena <belen.barros.pena@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: toaster: Apply error style to cell linksBelen Barros Pena2014-02-171-1/+1
| | | | | | | | | | | | | This patch changes default.css so that any anchor tag inside a table cell with the error class applied inherits the class styles. This ensures that the failed tasks listed in the builds table look red like the failed tasks in the tasks table. (Bitbake rev: e5cbb190317dba2eddd933678474569563ec840b) Signed-off-by: Belen Barros Pena <belen.barros.pena@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: toaster: Make "Edit columns" multiselectBelen Barros2014-02-171-0/+5
| | | | | | | | | | | | | | | | | Twitter Boostrap elements with the dropdown-menu class close by default once a selection is performed. Such behaviour is not appropriate for our "Edit columns" menu, since users might want to check / uncheck several columns. This patch adds a call to the stopPropagation() jQuery function to main.js to stop the "Edit columns" menu from closing every time you change a checkbox. (Bitbake rev: c2e43750bf0913523a1abcb2c8bf97b764da2524) Signed-off-by: Belen Barros <belen.barros.pena@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: toaster: fix javascript for table filtersAlexandru DAMIAN2014-02-172-1/+3
| | | | | | | | | | | | This patch adds javascript link for resetting page filters in the tool tip "Show all" button. Also fixes a JS bug for when the cookie is not set yet. (Bitbake rev: e123922274ea875105e6ed855b3368b8b77fca64) Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: toaster: Add clear filter button to filter tooltipsBelen Barros2014-02-172-2/+2
| | | | | | | | | | | | | | | | This patch modifies the basetable_top.html template to add the 'Show all' button to the applied filter tooltip. It also adds a delay in the tooltip dismissal in main.js to allow users to click the button comfortably. The patch does not add the functionality to the button (when you click on it nothing happens). Someone else will need to add that in. (Bitbake rev: e39857162b5d91cc2f92843a9a14599bab369849) Signed-off-by: Belen Barros <belen.barros.pena@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: toaster: Clean up main.jsBelen Barros2014-02-171-444/+32
| | | | | | | | | | | | | | | | Clean up main.js to leave only what is being used in the design prototype. Initialise the Bootstrap tooltips for any anchor tag inside a table heading with the btn-primary class applied. This effectively styles the title attribute of the applied filters to look like all other Toaster tooltips. (Bitbake rev: 71a07268c3a2e969c088ef9f6bcf4c54254b3600) Signed-off-by: Belen Barros <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: Clean up default.cssBelen Barros2014-02-171-177/+114
| | | | | | | | | | | Getting rid of all unused css declarations, grouping and annotating to make the file more readable. (Bitbake rev: 90409869d49468d31daa60880f54774c4b24d5aa) Signed-off-by: Belen Barros <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: Implementation of package detail viewsDave Lerner2014-02-1713-32/+777
| | | | | | | | | | | | | | | | | | | | | | | | Adds new package detail views. The views are based on specifications found in attachments to: https://bugzilla.yoctoproject.org/show_bug.cgi?id=4328 specifically: design-1.5.1-package-details.pdf, and design-1.1.1-included-package-details. This patch includes a redefinition of constant numbers for task dependency tasks. This is needed in order to achieve sorting criteria from the design. This change invalidates currently dependency information for currently existing builds, as it breaks compatibility. [YOCTO #4328] (Bitbake rev: 6855925c06e7e5bb15ae9d0c08d77f3a9a2574bc) 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: toaster: Added sorting to other columns in All tasks tableRavi Chintakunta2014-02-171-1/+9
| | | | | | | | | | | Added sorting to recipe, time, cpu, disk i/o and log columns of all tasks table (Bitbake rev: 277d076d777f26f215f01cac59302bcf9cf44a9c) Signed-off-by: Ravi Chintakunta <ravi.chintakunta@timesys.com> Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: toaster: Fix builds view filter options to match changes in filter ↵Ravi Chintakunta2014-02-171-27/+44
| | | | | | | | | | | | dialog Filter dialog uses an array of tuples for filter options.Fixed the builds view by changing the filter options from a dictionary to a list of tuples. (Bitbake rev: bac1ca6e276b2e276b844d1009dba964810a2957) Signed-off-by: Ravi Chintakunta <ravi.chintakunta@timesys.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: toaster: Filter Dialog fix to display filter options as radio buttonsRavi Chintakunta2014-02-171-10/+14
| | | | | | | | | | | | - Filter options are displayed as radio buttons in the filter dialog. - To preserve the order of the filter options, the options are passed as tuples inside a list, instead of key/value pairs of a dictionary. Changed the filter dialog code to use the tuple (Bitbake rev: 5e475b312348fa45312946b528648739c78da2ba) Signed-off-by: Ravi Chintakunta <ravi.chintakunta@timesys.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: toaster: Removed unused 'disabled' css class in Filter dialogRavi Chintakunta2014-02-171-1/+1
| | | | | | | (Bitbake rev: 8cd978ec3cc56e3f30d58d17188e67296bdb120b) Signed-off-by: Ravi Chintakunta <ravi.chintakunta@timesys.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: build: fix handling of task override for tasks with underscores in ↵Paul Eggleton2014-02-171-1/+1
| | | | | | | | | | | | | | their names Tasks whose names contain underscores (such as do_populate_sdk in OE) when converted to a task override do not function properly. If we replace underscores with hyphens we can still have a working override for these tasks. (Bitbake rev: cf90bd6b2a0ab7dce922bffb500d6a2ff2ff10e2) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: parse: make vars_from_file return None for non-recipesPaul Eggleton2014-02-171-1/+1
| | | | | | | | | | | | It doesn't really make sense to set PN from .conf files, for example. More concretely, this avoids the config hash changing unnecessarily within Hob due to PN effectively changing (since bblayers.conf is parsed first and then .hob.conf). (Bitbake rev: 22e03ef7ac9bb6b7245250347ae9c10c19f1d74e) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: runqueue: Fix silly variable overlapRichard Purdie2014-02-151-3/+3
| | | | | | | | | | | | A previous commit of mine used the target variable for two different uses resulting in a lot more sstate being installed than is needed. Fix the variable to use two different names and unbreak the setscene behaviour. (Bitbake rev: f975ca2cf728561bd6317ed8f76303598546113a) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: runqueue: Ensure we do run 'masked' setscene tasks if specified as ↵Richard Purdie2014-02-131-4/+12
| | | | | | | | | | | | | | | | | | targets If you specify multiple targets on bitbake's commandline and some of them are setscene tasks which are "masked" by other tasks they may not get run. For example <image>:do_rootfs <kernel>:do_populate_sysroot the rootfs tasks "masks" the populate_sysroot task so bitbake would currently decide not to run it. In this case, we do really want it to be run. The fix is not to skip anything which has been given as an explict target. (Bitbake rev: 0753899d1e855795cc18671357609a86f169b379) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: runqueue: Fix setscene hard dependency problemsRichard Purdie2014-02-111-5/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Commit c54e738e2b5dc0d8e6fd8e93b284ed96e7a83051 added in the idea of hard dependencies such as the case a setscene has a hard dependency on pseudo-native and that dependency wasn't available from sstate for some reason. Unfortunately the implementation was a bit too enthusiastic, causing rebuilds of things when it wasn't necessary. A test case was: bitbake quilt-native bitbake quilt-native -c clean bitbake <some-image> and then you'd watch quilt-native get rebuilt for no good reason. The clue to the problem is in the for loop where it never depends on the item being iterated over. The fix is to include the exact list of hard dependencies rather than guessing. With these changes, the use case above works, the one in the original commit also works. This patch also adds in or cleans up various pieces of logging to allow issues like this to be more easily debugged in future. (Bitbake rev: 81bd475585ff1b44b390036b1eca0feae7c149eb) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: bitbake: build.py: create separate function for shell trap creation ↵Laurentiu Palcu2014-02-091-17/+20
| | | | | | | | | | | | | | | code Currently, the shell trap code was created in exec_func_shell(). Split the function so that we can create the code separately. Also, some whitespaces were automatically deleted by my editor. Since this is not necessarily a bad thing, leave these changes too. (Bitbake rev: c712e622d20c61a07c9c172b60e9dc6beae14197) Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: data: Account for pre/postfunc functions when calculating dependenciesRichard Purdie2014-02-041-2/+6
| | | | | | | | | | | | | | pre/postfuncs were not being added to checksums. This meant that when reconfiguration occurred, tasks were not always being rerun when they should. This include sstate functions as well as systemd's do_install function in the OE metadata. With the addition of postfuncs, its possible a shell task can have a python pre/postfunc so we have to guard against this when generating shell output in emit_func. (Bitbake rev: b84d010144de687667cf855ddcb41c9b863c236e) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: runqueue: Fix race against tasks sharing stamp filesRichard Purdie2014-01-311-1/+4
| | | | | | | | | | Shared work directories work by assuming bitbake will not run more than one task with a specific stamp name. Recent runqueue optimisations accidentally broke this meaning there could be races. This fixes the code. (Bitbake rev: b1628b1a260ddf43fc9985535b1ddcfcebbb1e5b) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: siggen.py: fix the SignatureGenerator()Robert Yang2014-01-281-2/+4
| | | | | | | | | | | | | | | | | | | | | | | | | If we set: BB_SIGNATURE_HANDLER = "noop" Then we would get the following errors: [snip] File "runqueue.py", line 876, in RunQueue._start_worker(fakeroot=False, rqexec=None): "fakerootnoenv" : self.rqdata.dataCache.fakerootnoenv, > "hashes" : bb.parse.siggen.taskhash, "hash_deps" : bb.parse.siggen.runtaskdeps, AttributeError: 'SignatureGenerator' object has no attribute 'taskhash' [snip] This patch fixes the problem. [YOCTO #5741] (Bitbake rev: 2bfcb751891cf3b4050e996b3c8e28678c3a8bf4) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: runqueue: Simplify pointless len() usageRichard Purdie2014-01-281-1/+1
| | | | | | (Bitbake rev: 1f2bdd1b99075babe8dba91478cfc5d3501676cb) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: hob: No need for enable_proxy and same_proxy in conf fileIrina Patru2014-01-281-2/+0
| | | | | | | | | | Hob doesn't read these variable from file and bitbake doesn't use them, so they shouldn't be set in conf file. (Bitbake rev: a8c9df86b96e27dc49028c2da42034d13988960c) Signed-off-by: Irina Patru <irina.patru@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: hob: Don't always save proxy values in conf fileIrina Patru2014-01-281-6/+14
| | | | | | | | | | | | If enable_proxy is not activated, Hob should not save the proxy values in the conf file when user hits save button. [ HOB #5308 ] (Bitbake rev: fbe0851221ecfcefea5bdd4b629a05ed4f5ac189) Signed-off-by: Irina Patru <irina.patru@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: hob: don't display interruptions as failsIrina Patru2014-01-281-1/+2
| | | | | | | | | | | | | | When Hob receives a bb.command.CommandFailed event, it should check if it's a log kind of information. "Forced shutdown" and "Stopped build" are messages that show when a build is not complete, but Hob considered them error. [HOB #5609] (Bitbake rev: ea1939f7ec8d8a71ce16a60c251c2413d7d91eb3) Signed-off-by: Irina Patru <irina.patru@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: hob: unsetting busy cursor after hitting Stop buttonIrina Patru2014-01-281-2/+3
| | | | | | | | | | | The busy cursor would never change after pressing Stop button. It should be set after the possible return inside machine_combo_changed_cb() method. (Bitbake rev: d440d3ad4b2d99bc20e06d2d5f5e76d07864dff3) Signed-off-by: Irina Patru <irina.patru@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: bitbake: hob: check if parser has attribute 'shutdown'Irina Patru2014-01-281-1/+2
| | | | | | | | | | | | It must be checked first if parser has the attribute 'shutdown' when user hits Stop button and the forceshutdown state is given. [HOB #5579] (Bitbake rev: 46943b442ea4fa778f70590b6dcce483595efaf8) Signed-off-by: Irina Patru <irina.patru@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: hob: change error_msg for CommandFailed eventIrina Patru2014-01-281-6/+1
| | | | | | | | | | | | When a bb.command.CommandFailed event is received by Hob, the error message is stored inside event.error. This information tells exactly why bitbake failed, so Hob should display it instead of the current composed message. (Bitbake rev: 24543ff6b45771712d624541ae35738d7d98f33c) Signed-off-by: Irina Patru <irina.patru@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: cooker: Add option of specifying indvidual tasks for targetsRichard Purdie2014-01-281-1/+6
| | | | | | | | | | | | | | | | Currently its near enough impossible to tell bitbake to run target X, task Y and target A, task B. We could hack various parts of the API around but it would mean incompatibilities. An alternative is to accept the syntax "<target>:do_<task>" as a target name. The default task would be used where the task is unspecified. This has the advantage that its neat/clean code and works from all current APIs including the commandline. (Bitbake rev: 55f6bee3114e582333a1784caeddb197b9163d02) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: toaster: fix package data gatheringAlexandru DAMIAN2014-01-273-2/+193
| | | | | | | | | | | | | | | | Under OE-Core, the name under which a package would be installed in a target may have been different than the name under it has been built or recorded in the dependencies listings. This patch addresses the way that Toaster records package names, and adds the field of "installed_name" to save the name under which a package have been installed in an image. (Bitbake rev: 24e0367429b248108b104ab5a2af05efcf7a8c39) Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: toaster: fix builds page CSS and functionalityAlexandru DAMIAN2014-01-273-10/+12
| | | | | | | | | | | | | | | | | This patch fixes a set of CSS and functionality problems with the build list page: * Fix Recent Builds text styles * Added proper links from Failed Tasks entries. * Always Search returns to the first page of results. * Clear search button appears only if search is active. * Search shows the number of object, proper no objects found * Various smaller fixes. (Bitbake rev: 9164948e387a726f318f723f63e8d93435d7afe6) Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: toaster: Set .error styles for tablesBarros Pena, Belen2014-01-271-12/+17
| | | | | | | | | | | | Override the default styles of Twitter Bootstrap for table rows with the .error class applied, and ensure that table cells and anchor tags inherit the .error styles when their table row has that class applied. (Bitbake rev: 8b44955bb836ccad384718247ceb08d713ebc152) Signed-off-by: Belen Barros <belen.barros.pena@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: toaster: All Tasks Feature with sorting and filteringRavi Chintakunta2014-01-273-80/+185
| | | | | | | | | | | | | | | | - Fixed the all tasks view and template to match the UI design and use the new basetable code. - Added a method to views to add sort order icon to the view context. - Default sort order when the page is loaded is displayed with the sort icon - Filtering of columns (Bitbake rev: b2f8de082c3ae41eb44e6ccdc283849b64d0b0f2) Signed-off-by: Ravi Chintakunta <ravi.chintakunta@timesys.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: toaster: Implementation of recipe detail viewsDavid Reyna2014-01-273-45/+332
| | | | | | | | | | | | | | | | Add the new recipe detail page and update the view context accordingly. Rename the recipe summary page to 'recipes.html' and add the respective links to the recipe details page. The views are based on specifications found in attachments to https://bugzilla.yoctoproject.org/show_bug.cgi?id=4299 [YOCTO #4299] (Bitbake rev: d561000b6c4927ef6ec269e9ab7c70249b3c344a) Signed-off-by: David Reyna <david.reyna@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: toaster: Implementation of base build details pageDavid Reyna2014-01-271-0/+28
| | | | | | | | | | | | This page is the standard base page for 'details' views. It is based on 'basebuildpage.html' but does not include the build's quick-link sidebar. (Bitbake rev: 2d7e9a6f8464783e165804974a7d94b544c9a43f) 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: Added custom filter tags for use in templates.Ravi Chintakunta2014-01-271-0/+35
| | | | | | | | | | | | | | | | - custom filter tag to return the css class based on the task execution status and execution outcome - custom filters for active filter icon and tooltip text - custom filter for displaying blank for None, zero, '0' and 'Not Applicable' (Bitbake rev: 1e9253984e6f107c6eed1c3b9df3a444076e2989) Signed-off-by: Ravi Chintakunta <ravi.chintakunta@timesys.com> Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: toaster: Base table fixes for header text, sort icon and filter iconRavi Chintakunta2014-01-273-3/+5
| | | | | | | | | | | | | | | | | | | | - Display the table column header as a link only if it is sortable. Non-sortable column headers are displayed as plain text. - Display the sort order by an up / down arrow icon next to the column header - Add style for header in default.css - Set tooltip for the active filter icon - Pass the view name to the filter dialog (Bitbake rev: 53ede15926d45b555252d77919a0568a984c6d74) Signed-off-by: Ravi Chintakunta <ravi.chintakunta@timesys.com> Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: toaster: Base html fix to set the page titleRavi Chintakunta2014-01-271-1/+1
| | | | | | | | | | Set title of the page if the context includes objectname. (Bitbake rev: 8bfd140b93bcbfe8be4dd8a30268d3cc033e180f) Signed-off-by: Ravi Chintakunta <ravi.chintakunta@timesys.com> Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: toaster: settings remove duplicate entryAlexandru DAMIAN2014-01-271-1/+0
| | | | | | | | | | | | The 'toastergui' application had duplicate entries, so this patch removes the duplicate ones. Based on an original patch from Ravi Chintakunta <ravi.chintakunta@timesys.com>. (Bitbake rev: 86d3a44e81aa3dbff947330dfaeff6040bbd625f) Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: toaster: Add initial testsAndreea Proca2014-01-274-5/+141185
| | | | | | | | | This adds the initial api tests for toaster, using Django's unittest modules. (Bitbake rev: daf9a61fbf69a46b7afd781a6175b05b05fd452f) Signed-off-by: Andreea Proca <andreea.b.proca@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: toaster: Toaster GUI Build and Dashboard pages fixesAlexandru DAMIAN2014-01-2712-47/+473
| | | | | | | | | | | | | | | | | | | | | | | THis is a large set of fixes for the generic table, Build and Dashboard pages. Among the fixes: * the table remembers which columns to show across refreshes, based on saving the settings in a cookie * added column timespent for a build which is a denormalization of the completed_on - started_on information due to limits in computing datetime differences in the SQL engine * fixed formatting of the time differences * various sorting header links fixed * correct error and warning CSS classes applied to the respective rows * fixes multiple divide-by-zero error in displaying duration estimations (Bitbake rev: 61e3dee55ac577fce1c0ae0fe7e0d3cf644e8ae6) Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: toaster: add jquery cookie pluginAlexandru DAMIAN2014-01-272-0/+119
| | | | | | | | | | | | We add the jquery cookie plugin to allow us to save and read local client date in cookie. jquery-cookie using version 1.4.0 under MIT licence. (Bitbake rev: 8ce1668dd93269add878f8ea69deb8b53f3bca8b) Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: toaster: add vim modelines for .py filesAlexandru DAMIAN2014-01-2711-0/+33
| | | | | | | | | | No-op patch that adds vim modelines for all .py files intended to be user-edited. (Bitbake rev: 73271a7c6f1913c68a4b39ab86414f44acc04776) Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: toaster: update Task classification fieldsAlexandru DAMIAN2014-01-274-17/+34
| | | | | | | | | | | | | | | | | | | | | | | | This patch updates the task classification fields (outcome, etc) as to * Changes outcome names from SSTATE to CACHED and from EXISTING to PREBUILT * NoExec tasks now recorded as Not Executed / script type NA instead of Executed / script type NOEXEC. Script type NOEXEC is deleted. * SetScene tasks do not get order numbers * New task method that returns a QuerySet for setscene tasks related to this task: Task.get_related_setscene() * New custom TaskManager that allows searching for setscene tasks related to a certain task: Task.objects.related_setscene(task) (Bitbake rev: a4164821a142f8b625a5fdc209adc6dc80874241) Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>