summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
2015-03-31bin/image-writer: Add ext4 as a deployable image typeyocto-1.82015-04-fido1.26.0Richard Purdie
This is particularly problematic since qemu images switched to ext4 by default and now cannot work properly with UIs like hob. This patch adds in ext4 to the appropriate variable fixing this. [YOCTO #7426] Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-03-31cooker: Ensure bbappend files are processed in a determistic orderRichard Purdie
self.appendlist is a dict and as such unordered. This can lead to cases where appends with different names (e.g. x_%.bbappend vs. x_123.bbappend) can be reordered in application which in turn reorders the variables that those bbappend files might touch. Reorderd variables changes the sstate cache signatures causing real world issues. To avoid this, use a list for the append files instead. This patch is conservative and just adds a new data structure alongside the existing one and uses it to resolve the core issue. Later patches (post release) can handle some of the wider but less problematic ones (e.g. issues in bitbake-layers flatten). [YOCTO #7511] Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-03-31Revert "toaster: machine not searchable in all builds/projects"Alexandru DAMIAN
This reverts commit 1a86ed8f95649c5f5a3a66984ce36978d93b0e01. Bug [YOCTO #7334] was incompletly fixed, and the proper fix is not straightfoward. Consequently we revert the partial fix, as a incomplete fix is worse than no fix. Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-03-31toastergui: add ext4 option for IMAGE_FSTYPESAlexandru DAMIAN
This patch adds "ext4" as a selectable option in IMAGE_FSTYPES, to keep in sync with the OE-Core capabilities. Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-03-31toasterui: rename 'targets' to 'recipes'Belen Barros Pena
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. Signed-off-by: Belen Barros Pena <belen.barros.pena@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-03-31toastergui: prevent error on empty build listAlexandru DAMIAN
This patch prevents errors being thrown on date limit computations if the build list is empty. [YOCTO #7513] Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-03-25Update to version 1.26.0Richard Purdie
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-03-24toasterui: enable sanity checkerAlexandru DAMIAN
Since toasterui acts as the user-facing UI, we need to run sanity checks in order to let the GUI display proper warnings and stop the build if something is wrong. Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com>
2015-03-24toaster: most-build-targets bug fixesDave Lerner
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] Signed-off-by: Dave Lerner <dave.lerner@windriver.com>
2015-03-24toaster: PACKAGE_CLASSES variable does not show current value when editingDavid Reyna
A typo in some element selectors caused the package_rpm setup to break. [YOCTO #7448] Signed-off-by: David Reyna <David.Reyna@windriver.com>
2015-03-24toasterui: small changes to empty statesBelen Barros Pena
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. Signed-off-by: Belen Barros Pena <belen.barros.pena@linux.intel.com> Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com>
2015-03-24toasterui: hide right column if emptyBelen Barros Pena
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. Signed-off-by: Belen Barros Pena <belen.barros.pena@linux.intel.com>
2015-03-24toasterui: Improve messaging for empty layer detailsBelen Barros Pena
Explain that, if information is found during the build process, it will appear in the layer details page. Signed-off-by: Belen Barros Pena <belen.barros.pena@linux.intel.com>
2015-03-24toasterui: hide release when only one existsBelen Barros Pena
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. Signed-off-by: Belen Barros Pena <belen.barros.pena@linux.intel.com>
2015-03-24toasterui: update links to Toaster manualBelen Barros Pena
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. Signed-off-by: Belen Barros Pena <belen.barros.pena@linux.intel.com>
2015-03-24toastergui: changes to release change notificationsBelen Barros Pena
* 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 Signed-off-by: Belen Barros Pena <belen.barros.pena@intel.com>
2015-03-24toaster: alert fixes for project release changeDave Lerner
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] Signed-off-by: Dave Lerner <dave.lerner@windriver.com>
2015-03-24toaster: build date range selectionsDavid Reyna
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] Signed-off-by: David Reyna <David.Reyna@windriver.com>
2015-03-24toaster: build date range selections static sourcesDavid Reyna
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] Signed-off-by: David Reyna <David.Reyna@windriver.com>
2015-03-24toaster: machine not searchable in all builds/projectsDavid Reyna
Add "build__machine" to searchable fields. [YOCTO #7334] Signed-off-by: David Reyna <David.Reyna@windriver.com>
2015-03-24toastergui: changes to the all projects tableBelen Barros Pena
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. Signed-off-by: Belen Barros Pena <belen.barros.pena@intel.com>
2015-03-24toaster: Project page fix targets url and tooltip placementMichael Wood
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] Signed-off-by: Michael Wood <michael.g.wood@intel.com>
2015-03-24toaster: layer-relative paths for config filesDave Lerner
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] Signed-off-by: Dave Lerner <dave.lerner@windriver.com>
2015-03-24toastergui: give button nice rounded cornersBelen Barros Pena
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. Signed-off-by: Belen Barros Pena <belen.barros.pena@intel.com>
2015-03-24uievent: catch and log exceptions in receiving eventsAlexandru DAMIAN
This patch prevents tracebacks and instead logs exceptions that may happen during event processing. [YOCTO #7216] Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com>
2015-03-24bin/bitbake: Create bitbake_main APIEd Bartosh
Moved most of functionality of bin/bitbake to lib/bb/main.py to be able to call bitbake from python code. Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-03-21toaster: insure IMAGE_INSTALL_append values have a space prefixDavid Reyna
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] Signed-off-by: David Reyna <David.Reyna@windriver.com>
2015-03-21toaster: display machine and project values in input fieldsDavid Reyna
Explicitly preset the machine and project values in their respective input fields. [YOCTO #7170] Signed-off-by: David Reyna <David.Reyna@windriver.com>
2015-03-21toaster: tasks trigger the select related tables before orderingMichael Wood
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] Signed-off-by: Michael Wood <michael.g.wood@intel.com>
2015-03-21toaster: Add cancel build to latest build sectionMichael Wood
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] Signed-off-by: Michael Wood <michael.g.wood@intel.com>
2015-03-21toaster: Incorrect breadcrumb behaviour in the project pageDavid Reyna
The last item in the breadcrumb for the project page should not be a link. [YOCTO #7157] Signed-off-by: David Reyna <David.Reyna@windriver.com>
2015-03-21toaster: leave cancel enabled for release changeDave Lerner
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] Signed-off-by: Dave Lerner <dave.lerner@windriver.com>
2015-03-21toastergui: recipe and layer identificationAlexandru DAMIAN
This patch fixes the recipe and layer identification by path when Toaster uses relative paths. Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com>
2015-03-21toasterui: fix error message parameterAlexandru DAMIAN
Fix the error message parameter. Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com>
2015-03-21toaster: do not throw exception on misconfigured dataAlexandru DAMIAN
We do not want to throw an exception while handling exceptions that may print information, so replace the exception throwing with returning data. Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com>
2015-03-21toastergui: builds and projects outcome filterAlexandru DAMIAN
This patch fixes the Outcome filter in the all builds and all projects pages in Build mode. [YOCTO #7450] Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com>
2015-03-21toastergui: fix machines page searchAlexandru DAMIAN
This patch fixes the machine page search. [YOCTO #7407] Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com>
2015-03-21toaster: display bitbake output after process startBelen Barros Pena
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. Signed-off-by: Belen Barros Pena <belen.barros.pena@intel.com>
2015-03-21toaster: targets page performance improvementAlexandru DAMIAN
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. Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com>
2015-03-21toasterui: improve info in the toaster_ui.logAlexandru DAMIAN
We improve logging and signalling of errors in the toaster_ui.log to facilitate debugging on remote systems. Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com>
2015-03-19knotty.py: fix indentRobert Yang
It used 5 spaces as the indent. Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-03-16toaster: Fix the orderkey to match the columnMichael Wood
If the orderkey doesn't map to the current sort value then when hiding the column the sort doesn't get removed. [YOCTO #7262] Signed-off-by: Michael Wood <michael.g.wood@intel.com>
2015-03-16toaster: projectconf fix typo of package nameMichael Wood
The package should be deb rather than dev. Signed-off-by: Michael Wood <michael.g.wood@intel.com>
2015-03-16toastergui: replace ETA with percentageAlexandru DAMIAN
We replace the ETA (which was an inaccurate estimation) with the percentage of completed tasks. Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com>
2015-03-16toastergui: fix mrb Run again buttonsAlexandru DAMIAN
The button for error-ed builds had invalid javascript markup, this patch fixes the buttons. Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com>
2015-03-16toaster: localhost build increase timeoutAlexandru DAMIAN
We increase the timeout for waiting bitbake to start for localhost builds. Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com>
2015-03-16toasterui: relative recipe pathsAlexandru DAMIAN
We modify the toasterui to log relative recipe paths in order to maintain consistency with data fetched from the layer sources. Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com>
2015-03-16toastergui: improve toaster suggestionAlexandru DAMIAN
Improving the suggestions by ordering entries based on position of the search string. Speed improvements in suggestion calls. [YOCTO #7152] Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com>
2015-03-16toastergui: dirinfo needs path separationAlexandru DAMIAN
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. Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com>
2015-03-16toastergui: tables display optimizationsAlexandru DAMIAN
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. Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com>