summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/toaster
Commit message (Collapse)AuthorAgeFilesLines
* bitbake: toastergui: add ext4 option for IMAGE_FSTYPESAlexandru DAMIAN2015-03-311-1/+1
| | | | | | | | | | This patch adds "ext4" as a selectable option in IMAGE_FSTYPES, to keep in sync with the OE-Core capabilities. (Bitbake rev: e5a44e1096ba62b50bed4eee191f109c4f2c4105) Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: toasterui: rename 'targets' to 'recipes'Belen Barros Pena2015-03-316-39/+39
| | | | | | | | | | | | | | | | | | | | A recent round of informal user feedback has revealed that the term 'target' is quite problematic. For all the users we spoke to the word refers to the target arch. In Toaster, it refers to the software you build. This patch replaces the word 'target' with 'recipe' across the Toaster interface. This is by no means self-explanatory, but at least it cannot be confused with target hardware, and it is also consistent with the terminology we use in the analysis portion of the interface. (Bitbake rev: f4a64c2386a534aae9522629afde219d2aa00817) Signed-off-by: Belen Barros Pena <belen.barros.pena@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: toastergui: prevent error on empty build listAlexandru DAMIAN2015-03-311-2/+8
| | | | | | | | | | | | This patch prevents errors being thrown on date limit computations if the build list is empty. [YOCTO #7513] (Bitbake rev: d028fbe76962f3b86239633a0951626dfa66b8af) Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: toaster: most-build-targets bug fixesDave Lerner2015-03-253-6/+26
| | | | | | | | | | | | | | | | | | | | | | Fixes for the following for the "Most built targets" section of the project page: 1) limit the number of most built targets to 5, 2) order the list of most built targets by build count, 3) select only those builds that had build status of 'fail', 'success', or a BuildRequest of 'failed', 4) if there are no layers in the project then (on refresh) all of the checkboxes in the 'Most built targets' list are disabled. Note that per agreement with UI designer, the only sort on the most target list is build count as described in (3) above; secondary sorting is random. [YOCTO #7177] (Bitbake rev: dda2f07193e740860f4497c3761d340d8c5c2b41) Signed-off-by: Dave Lerner <dave.lerner@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: toaster: PACKAGE_CLASSES variable does not show current value when ↵David Reyna2015-03-251-13/+27
| | | | | | | | | | | | | editing A typo in some element selectors caused the package_rpm setup to break. [YOCTO #7448] (Bitbake rev: 0479faa46f0364df6d8e151be34e1834076df49d) Signed-off-by: David Reyna <David.Reyna@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: toasterui: small changes to empty statesBelen Barros Pena2015-03-256-85/+84
| | | | | | | | | | | | | | | | | | | | | | | | | | | This commit: * Makes some changes to the layout and styles of the landing.html template * Adds the empty state to layers.html * Changes the message of the empty state of machines.html to use the same wording used in all other pages * Adds the project name and the right styles to the empty state of the project.html template * Makes small changes in style and wording to the empty state of targets.html * Updates all "configure a layer source" links to point to the new Toaster manual. (Bitbake rev: d886db3add1351a806ab58ec7519d2321687187b) Signed-off-by: Belen Barros Pena <belen.barros.pena@linux.intel.com> Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: toasterui: hide right column if emptyBelen Barros Pena2015-03-251-0/+5
| | | | | | | | | | | | In the layer details page, if the background information about the layer that shows in the right hand column is completely empty, remove it altogether. (Bitbake rev: fe9fff960d0a6fc24e0e177e5194f93a7be9456b) Signed-off-by: Belen Barros Pena <belen.barros.pena@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: toasterui: Improve messaging for empty layer detailsBelen Barros Pena2015-03-251-2/+4
| | | | | | | | | | Explain that, if information is found during the build process, it will appear in the layer details page. (Bitbake rev: 40b46ce28b0b93241f9ce581f1e295e95bbff284) Signed-off-by: Belen Barros Pena <belen.barros.pena@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: toasterui: hide release when only one existsBelen Barros Pena2015-03-251-3/+2
| | | | | | | | | | | | | | | | | | | | | If only one release has been set up in Toaster, any project you create defaults to that release, and we simply don't show the release selection menu when creating projects. However, we were still showing the release information in the project page, which would leave users wondering what that release thing is since they never were exposed to it. This patch hides the release information in the project page when only one release has been set up in Toaster. (Bitbake rev: 0bd81be04c88104d7d460f913d0500e5fa9755fe) Signed-off-by: Belen Barros Pena <belen.barros.pena@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: toasterui: update links to Toaster manualBelen Barros Pena2015-03-253-7/+8
| | | | | | | | | | | Set the links to the Toaster manual in the base.html and landing_not_managed.html templates to the URL of the new Toaster manual. (Bitbake rev: 88b1201a2f6dec53970b120cc8e13c0eb5ae21e1) Signed-off-by: Belen Barros Pena <belen.barros.pena@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: toastergui: changes to release change notificationsBelen Barros Pena2015-03-252-5/+9
| | | | | | | | | | | | | | * Remove the branch name from the list of the layers deleted (it does not apply). * In the modal dialog that warns you before layer deletion, use the release description instead of the release name (Bitbake rev: b4ffe490253108e7a009290474e206468255ce12) Signed-off-by: Belen Barros Pena <belen.barros.pena@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: toaster: alert fixes for project release changeDave Lerner2015-03-251-4/+9
| | | | | | | | | | | | | | When a project release changes, if there are layers included with the project, then show the release branch name in the layer list. If there aren't any layers in the project, then suppress the statement on the changed layers. [YOCTO # 7168] (Bitbake rev: 24d0938001da27c7ebcf36ce076f2aa58cbcf256) Signed-off-by: Dave Lerner <dave.lerner@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: toaster: build date range selectionsDavid Reyna2015-03-256-24/+277
| | | | | | | | | | | | | | | Enable date range selections for build start and build complete in all builds page for both managed and interactive mode. Disable the filter counts. [YOCTO #6040] [YOCTO #7249] [YOCTO #7461] (Bitbake rev: 7c86ed5fb51c6237fa40fb454e58564ef027dd51) Signed-off-by: David Reyna <David.Reyna@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: toaster: build date range selections static sourcesDavid Reyna2015-03-2518-0/+24
| | | | | | | | | | | | | | | Add the static resources from jquery-ui needed for datepicker The static files are licensed MIT and produced by jQuery foundation under the jQueryUI project. [YOCTO #6040] [YOCTO #7249] (Bitbake rev: cedebbb47192be85ff0b1e4a313c6f9cf737a9c6) Signed-off-by: David Reyna <David.Reyna@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: toaster: machine not searchable in all builds/projectsDavid Reyna2015-03-251-1/+1
| | | | | | | | | | | Add "build__machine" to searchable fields. [YOCTO #7334] (Bitbake rev: 1a86ed8f95649c5f5a3a66984ce36978d93b0e01) Signed-off-by: David Reyna <David.Reyna@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: toastergui: changes to the all projects tableBelen Barros Pena2015-03-252-12/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The 'Last build' column in the all projects table was supposed to provide the completion time stamp of the latest project build. Instead, it is showing the time stamp of the latest project activity, which includes: * when the project was created and * when the last build started but not when you make a change to the configuration. The result is that the column and the sorting are very misleading. The template is set so that the time stamp only shows when the project has builds (if 0 builds, no time stamp is shown). But of course the sorting still happens according to the value, even if it doesn't display. The result is that, when you sort by the 'Last build' column, projects with no builds appear listed between projects with builds, and you have no idea why. This patch: * changes the column label * its position in the table * makes sure the time stamp always displays * and adds help text to reflect what the data actually means. It also makes some small changes to other table headings. (Bitbake rev: 994b19ef7f633b8d463efa7022f2e17cd483a387) Signed-off-by: Belen Barros Pena <belen.barros.pena@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: toaster: Project page fix targets url and tooltip placementMichael Wood2015-03-252-3/+3
| | | | | | | | | | | | Make sure we point to the all targets page for the notification links. Also fix the tooltip placements and a minor typo on the targets page. [YOCTO #7480] (Bitbake rev: cbf3d652dcbfc1db527eb13cd796fa57d8ff3748) Signed-off-by: Michael Wood <michael.g.wood@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: toaster: layer-relative paths for config filesDave Lerner2015-03-253-2/+23
| | | | | | | | | | | | | | | | | | | | | Change bitbake variables table to show the path to the file in which the variable was defined using a layer-relative path instead of the full path to the file. The layer-relative path is found by matching on the full defining file path with entries in a list of layer names, sorted in descending order, and with 'meta' appended as a built-in layer to the end of the list. Additional filters are used to reduce false matches, although even if there is a false match, the actual path to the defining file will be obvious and not misleading. [YOCTO #7414] (Bitbake rev: ef6e854a50ea6894b0e320025280431a6fc8a9a5) Signed-off-by: Dave Lerner <dave.lerner@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: toastergui: give button nice rounded cornersBelen Barros Pena2015-03-251-1/+1
| | | | | | | | | | | | | | | | In the 'add variable' form, the submit button had a class applied that gave it straight corners on the left, and rounded corners on the right. Remove the class so that we have 4 nicely rounded corners. The patch also removes the unncessary inline styles in the same button. (Bitbake rev: 4f2a6d5b515dec4b6199cc4517cd13dcc331f3c3) Signed-off-by: Belen Barros Pena <belen.barros.pena@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: toaster: insure IMAGE_INSTALL_append values have a space prefixDavid Reyna2015-03-211-7/+11
| | | | | | | | | | | | | When the IMAGE_INSTALL_append value is not empty, it must have a space prefix in order for the "append" operator to concatenate the values correctly, so we enforce it in this variable's submit javascript. [YOCTO #7394] (Bitbake rev: fc0cec1f38aa6f2d09434cc008a429d350a5706f) Signed-off-by: David Reyna <David.Reyna@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: toaster: display machine and project values in input fieldsDavid Reyna2015-03-211-2/+2
| | | | | | | | | | | | Explicitly preset the machine and project values in their respective input fields. [YOCTO #7170] (Bitbake rev: 23c83c6a8af12ad1c008372685f7cd9f87023145) Signed-off-by: David Reyna <David.Reyna@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: toaster: tasks trigger the select related tables before orderingMichael Wood2015-03-211-1/+3
| | | | | | | | | | | | | In two of the cases the data is changed from a QuerySet to a sorted list so we aren't able to use the QuerySet api at this point, moving it before the data type is changed fixes this. [YOCTO #7404] (Bitbake rev: 484797744dbe421dfeea52e9428ba63b44f1ed88) Signed-off-by: Michael Wood <michael.g.wood@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: toaster: Add cancel build to latest build sectionMichael Wood2015-03-215-69/+53
| | | | | | | | | | | | | Add this functionality to the common managed_mrb_section Make sure we are using the correct version of this template in the projects template and remove now redundant code. [YOCTO #7351] (Bitbake rev: 23f1439a5d3e8f4053826794c6502eca20189054) Signed-off-by: Michael Wood <michael.g.wood@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: toaster: Incorrect breadcrumb behaviour in the project pageDavid Reyna2015-03-212-0/+7
| | | | | | | | | | | The last item in the breadcrumb for the project page should not be a link. [YOCTO #7157] (Bitbake rev: 6966d68e650c2d5655a1e747e70d35f5f037dc94) Signed-off-by: David Reyna <David.Reyna@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: toaster: leave cancel enabled for release changeDave Lerner2015-03-211-1/+1
| | | | | | | | | | | | | When you click the 'change' icon to edit the project release, the "cancel" button, should always be enabled so that the user can return to the 'not editable' state at any time. [YOCTO #7151] (Bitbake rev: adcd24b97ea78fbccb870d62bd1297edae3a3487) Signed-off-by: Dave Lerner <dave.lerner@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: toaster: do not throw exception on misconfigured dataAlexandru DAMIAN2015-03-211-1/+1
| | | | | | | | | | | We do not want to throw an exception while handling exceptions that may print information, so replace the exception throwing with returning data. (Bitbake rev: 624e67b0d142e5dac946ebb63bcfad0625b88799) Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: toastergui: builds and projects outcome filterAlexandru DAMIAN2015-03-211-2/+2
| | | | | | | | | | | | This patch fixes the Outcome filter in the all builds and all projects pages in Build mode. [YOCTO #7450] (Bitbake rev: 61f209db436344efa29fbbd34faaf3ba085c3ce3) Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: toastergui: fix machines page searchAlexandru DAMIAN2015-03-211-4/+6
| | | | | | | | | | | This patch fixes the machine page search. [YOCTO #7407] (Bitbake rev: 51c6e3edf074da6ebd8b347f13dc0f88b25c0111) Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: toaster: display bitbake output after process startBelen Barros Pena2015-03-212-10/+16
| | | | | | | | | | | | | | If the bitbake server exists after the initial process start, the only output displayed shows proper server start, with no debug info. This patch also brings the server log into the error message, so the user has better info about what's going on. (Bitbake rev: 6b46f436296683f7a2f72ac978ef30d0a38ad7a4) Signed-off-by: Belen Barros Pena <belen.barros.pena@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: toaster: targets page performance improvementAlexandru DAMIAN2015-03-211-1/+4
| | | | | | | | | | | | | Yet another performance improvement, this time by forcing two-step evaluation instead of using subqueries to select data. This avoid using full-table lookups on un-indexed temporary tables. (Bitbake rev: 03e3286dcdc557a314c139b55b458d6fefcbc51c) Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: toaster: Fix the orderkey to match the columnMichael Wood2015-03-161-1/+1
| | | | | | | | | | | | If the orderkey doesn't map to the current sort value then when hiding the column the sort doesn't get removed. [YOCTO #7262] (Bitbake rev: 4b07195405b124ff39703e1ddc226dee420fed22) Signed-off-by: Michael Wood <michael.g.wood@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: toaster: projectconf fix typo of package nameMichael Wood2015-03-161-11/+11
| | | | | | | | | The package should be deb rather than dev. (Bitbake rev: 0d305d0ae06f5e4a3e271147e7f87c33a20fdcb2) Signed-off-by: Michael Wood <michael.g.wood@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: toastergui: replace ETA with percentageAlexandru DAMIAN2015-03-162-2/+2
| | | | | | | | | | We replace the ETA (which was an inaccurate estimation) with the percentage of completed tasks. (Bitbake rev: 220f5b853fd3236b49faa5ec54c9c96050a84fa9) Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* 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: 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-162-10/+4
| | | | | | | | | | | | 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: 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>