summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/toaster
Commit message (Collapse)AuthorAgeFilesLines
* bitbake: toastergui: improvements in layer selection logicAlexandru DAMIAN2015-02-108-53/+224
| | | | | | | | | | | | | | | | This patch clearers and bring fixes for the layer selection logic in order to enable information collected during build to be used in configuring projects, specifically targeting the recipes learned through the building process. The patch also adds tests to verify the layer selection logic. [YOCTO #7189] (Bitbake rev: f0faba8ef0f08c98ac4bddf5b3954d540820d215) Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: toaster: enable server-side caches and debug-panelAlexandru DAMIAN2015-02-101-1/+40
| | | | | | | | | | | | This patch enables the server-side caches for Django using file cache in /tmp/ directory. Patch enables django debug panel if available. (Bitbake rev: 00496fb67fa341477edbf80c5438f0b069871ac6) Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: toastergui: fix loadconf error messageAlexandru DAMIAN2015-02-101-1/+1
| | | | | | | | | | | | Toaster crashes in loadconf if it needs to raise an Exception due to poorly formatted error message. This patch fixes the formatting [YOCTO #7276] (Bitbake rev: 2a18952a525d15814389584817674f6c3aee12d6) Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: toasterui: use text() instead of html()Belen Barros Pena2015-02-101-2/+2
| | | | | | | | | | Use the text() jQuery function instead of the html() one for security reasons. (Bitbake rev: b96457870b40ba60dd5c86d83c43093d09b70aea) Signed-off-by: Belen Barros Pena <belen.barros.pena@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: toastergui: remove time link for failed build requestsBelen Barros Pena2015-02-101-1/+1
| | | | | | | | | | | | Failed build requests do not have a build time page where you can look at the time spent on each task. Therefore, their build time information cannot be a link to such a page. (Bitbake rev: b7b1e64f650c9ea676714209b9d6e7efeca992be) Signed-off-by: Belen Barros Pena <belen.barros.pena@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: toaster: proper setup for build configurationAlexandru DAMIAN2015-02-023-9/+21
| | | | | | | | | | | | | | | This patch makes sure that all the toaster conf files are actually written from the build enviroment controllers. Additionally, toaster checks that the 'daemon' program, which is used to start the build system, is available (currently for localhost). [YOCTO #7171] (Bitbake rev: 0a1db7d1531f8254955e1152bcd8e6db4ec1d277) Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: toaster: new layer checkout logicAlexandru DAMIAN2015-01-304-93/+92
| | | | | | | | | | | | | | | | | | | This patch implements a new layer checkout logic that brings more flexibility in getting layers under different commits work with Toaster. The new hibrid logic will checkout separately each layer and commit id; the task execution will be delegated to the checkedout bitbake, but the data logger will be executed from the current toaster version as to bring in enough data to sustain the updates in UI models. [YOCTO #7171] [YOCTO #6892] (Bitbake rev: c6eb0f7f16c59530c2525b2e5629fe86de4e8f0f) Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: toaster: update texts for the startup sequenceAlexandru DAMIAN2015-01-302-8/+15
| | | | | | | | | | | | | | | This patch updates the prompts to the user to better explain what Toaster is doing and the information it needs from the user. Additionally, fixes a check in loadconf command. [YOCTO #6785] [YOCTO #7251] (Bitbake rev: 90ef8975f35e2da824bc1c80e41ca26d9af0b208) Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: toastergui: update project build listingAlexandru DAMIAN2015-01-297-68/+193
| | | | | | | | | | | | | | | | | | | | | | | We update the build listings in the project mode to enable proper display and selection of build requests that do not have an actual build object because the bitbake process did not start. We add a page to display error details for build requests that did not start a build. Fixing errors and misspelling in build sections. Sorting by "timespent" is disabled for build-listing pages. [YOCTO #7165] [YOCTO #7156] [YOCTO #7196] [YOCTO #7188] (Bitbake rev: ee13bf45cecd6a0132d724b3206a6f4515669496) Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: toastergui: alignment fixBelen Barros Pena2015-01-291-4/+4
| | | | | | | | | | | Align horizontally the pagination and show rows controls at the bottom of the layer details page. (Bitbake rev: 8be4a8cf1673112e9e613e719fa6ed96dbca8976) 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: toastergui: remove recipe id links to the layer indexBelen Barros Pena2015-01-291-1/+1
| | | | | | | | | | | | | | | | | | | | | Toaster cannot use the recipe id to link to the layer index, because recipe ids can change. We need to search by the recipe name instead. This patch removes the recipe id link from the layer details page and replaces it with a search by the recipe name. It also makes sure links to the layer index open in a new tab/window. [YOCTO #7194] [YOCTO #7193] (Bitbake rev: 947ef663e452c15933218fd680875ade7cb46e9a) Signed-off-by: Belen Barros Pena <belen.barros.pena@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: toastergui: consistent capitals in buttonBelen Barros Pena2015-01-291-1/+1
| | | | | | | | | | Capitalise correctly the 'Build target' button label in the layer details page: it should match the table heading. (Bitbake rev: 4d52ceb7e66835a3088d83cd4caa002a3e7a1297) Signed-off-by: Belen Barros Pena <belen.barros.pena@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: toastergui: hide table controls when when less than 10 entriesBelen Barros Pena2015-01-291-0/+10
| | | | | | | | | | | | | The 'show rows' and pagination controls in the layer details page should only show when there are more than 10 entries in a table. [YOCTO #7217] (Bitbake rev: 5399738fb2e2956a7d4ce59699dc4b6f6c67bbb2) Signed-off-by: Belen Barros Pena <belen.barros.pena@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: toastergui: set column width in layer details pageBelen Barros Pena2015-01-291-2/+2
| | | | | | | | | | Set the width of the action columns to span2 to stop the buttons from wrapping as much as possible. (Bitbake rev: 4282a92fe3652c52448dba3d5f3fc4e1de28be63) Signed-off-by: Belen Barros Pena <belen.barros.pena@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: toastergui: add 'show all' link to no results pageBelen Barros Pena2015-01-292-4/+10
| | | | | | | | | | | | | | When you search for targets or machines in the layer details page and your search returns no results, you should see a 'show all' link that you can click to clear the search and display all table entries. [YOCTO #7218] (Bitbake rev: 70486fc36c5b6bd6b7b8e846e23ad4062d583877) Signed-off-by: Belen Barros Pena <belen.barros.pena@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: toastergui: give the add dependencies form some breathing spaceBelen Barros Pena2015-01-291-0/+1
| | | | | | | | | | In the editable version of the layer details page, the form to add dependencies needs some distance from the dependency list. (Bitbake rev: 2c576552118bcfe65d375ff809b3b4a4916da225) Signed-off-by: Belen Barros Pena <belen.barros.pena@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: toastergui: consistent add / remove layer notificationsBelen Barros Pena2015-01-292-5/+7
| | | | | | | | | | | | | | | | | | | | In my struggle to ensure consistency in the format and content of the notifications we show when you add and remove layers to a project, I've: * added the project name to the notifications in the layer details page * removed the 'Go to project configuration' link from the notifications in the layer details page This changes align the notifications we show in the layer details page with the ones we show in the 'all' pages. (Bitbake rev: 87deeb2016cbfdaff5531e1badb58761af6df848) Signed-off-by: Belen Barros Pena <belen.barros.pena@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: toastergui: remove redundant style declarationBelen Barros Pena2015-01-291-1/+0
| | | | | | | | | | The bottom margin for dd tags nested inside forms is set twice. Delete one of them. (Bitbake rev: 4fcea0aad1ac715d6eb104f60972007bc2289569) Signed-off-by: Belen Barros Pena <belen.barros.pena@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: toastergui: Generic message for the layer details empty statesBelen Barros Pena2015-01-291-6/+2
| | | | | | | | | | | | | | | | In the layer details page, change the message you see when the number of targets or machines provided by a layer is 0, either because that's what's reported by a layer index instance, or because Toaster does not have any information about the layer. The new message is more generic, in order to fit layers from all layer sources. (Bitbake rev: 48123b53d66de01ad6273140aa148276d63707ba) Signed-off-by: Belen Barros Pena <belen.barros.pena@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: toaster: apply common styles to right hand column of detail pagesBelen Barros Pena2015-01-294-7/+6
| | | | | | | | | | | | | Layer, recipe and package details pages have a right column with additional information. This commit standardises the formatting of the content in that right column across all these pages by creating a new css class .item-info in default.css (Bitbake rev: aed92feac017c967834575344faa3bad7a905b18) Signed-off-by: Belen Barros Pena <belen.barros.pena@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: toaster: make layouts consistentBelen Barros Pena2015-01-293-23/+10
| | | | | | | | | | | | | | | | | The layer details page should have the same layout as all other detail pages (recipes, packages). For this to happen, the basebuilddetailpage.html and baseprojectpage.html templates should use the same layout, and so should the layerdetails.html and recipe.html templates. This patch also capitalises the string 'All layers' in the breadcrumb of layerdetails.html as all other breadcrumb elements. (Bitbake rev: 49d56fcbbf6b7d0c0c589b93182e4c73071b3fcf) 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: toastergui: enable re-ordering when columns are hiddenAlexandru DAMIAN2015-01-231-0/+10
| | | | | | | | | | | | | | This patch enables table re-ordering when a sorted-by column is hidden. This is default functionality in toaster table pages, but was not enabled for all columns in this situation. [YOCTO #7125] [YOCTO #7022] (Bitbake rev: c1b9c7a05c1c05fcd73d819e8b0142169106f0da) Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: toastergui: all projects column show/hideAlexandru DAMIAN2015-01-231-6/+6
| | | | | | | | | This patch fixes the show/hide in all projects page. (Bitbake rev: 1d07020049d3bd824f6d0280c1cc7effa3db339d) Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: toastergui: fix the second 'view all targets' linkBelen Barros Pena2015-01-231-1/+2
| | | | | | | | | | | | | The project page has 2 links to the all targets page. The one at the top of the page is working, but not the one further down. This patch sorts that out. [YOCTO #7147] (Bitbake rev: ad6a2d42b9ce7ce317184d978253e5506be7e47f) Signed-off-by: Belen Barros Pena <belen.barros.pena@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: toastergui: minor fixesAlexandru DAMIAN2015-01-231-1/+8
| | | | | | | | | | | | This is a minor fixes patch. - legacy sorting by "timespent" does not crash the builds pages - missing xhr_configvaredit view in observer mode is added (Bitbake rev: bd4ff7a15e74e1d4af8ea3dbaaed141678046a9b) Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: toastegui: project page build selected targetsAlexandru DAMIAN2015-01-232-6/+25
| | | | | | | | | | | | Fixing the action on the "Build selected targets" button. Remove "build-button" duplicate id from the build page. [YOCTO #7047] (Bitbake rev: 8278d7b15b58484af93d952e594f29dabb9200a9) Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: toastergui: fix all targets page searchAlexandru DAMIAN2015-01-231-2/+5
| | | | | | | | | | | | | | | This fixes the display of layers in all-targets page search/filtering usage pattern by displaying layer-equivalence class. The significant impact is the correct display of the list size for search/filtering actions [YOCTO #7051] (Bitbake rev: 4957ec63a11d51dfac2252263e4d26c705eb31e9) Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: toastergui: fix all-targets redirectAlexandru DAMIAN2015-01-233-3/+3
| | | | | | | | | | | Fixes the all targets redirect to /api/1.0/targets. [YOCTO #7147] (Bitbake rev: f1cccafb4c7aa2c338e29ec5d2ea190dfeceb132) Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: toaster: newproject default release selection fixAlexandru DAMIAN2015-01-231-13/+19
| | | | | | | | | | | | This patch fixes the default project release selection to obey the DEFAULT_RELEASE name set in ToasterSettings. [YOCTO #7035] (Bitbake rev: bcd7ba013b973d3b3ac1e0845acf60b80cb227c2) Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: toastergui: "Run again" button in build pagesAlexandru DAMIAN2015-01-232-3/+3
| | | | | | | | | | | This patch fixes the "Run again" button for the completed builds. [YOCTO #7173] (Bitbake rev: 37125f2b52492f8bee465611e60514b365541892) Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: toastergui: fix duplicate IDs all builds pageAlexandru DAMIAN2015-01-231-27/+10
| | | | | | | | | | | | This patch fixes the duplicate IDs found in the all builds page, originating in the "Project" column filter. Also fix misspell "Log1" instead of "Log". (Bitbake rev: bd681cb2ce349dd7de01c98d5089a368c4514c37) Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: toastergui: save cookie for orderby/page size settingsAlexandru DAMIAN2015-01-232-6/+11
| | | | | | | | | | | | We save the current settings as cookies on the server side for the layers, targets and machines pages under Project pages. [YOCTO #6961] (Bitbake rev: 58b35c055e37b5e1552d8ba3db2e05ea4ee85023) Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: toaster: project configuration variables pageDavid Reyna2015-01-213-26/+730
| | | | | | | | | | | | | | Implement the project configuration variables page. AlexD made whitespace changes and a minor fix. [YOCTO #6588] (Bitbake rev: 909fa19f20e909820aa484967b7fe2a34d89ab49) 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: project builds pageAlexandru DAMIAN2015-01-213-230/+160
| | | | | | | | | | | | This is a complete re-write of the "Project builds" page based on the "All builds" page in managed mode. [YOCTO #6589] (Bitbake rev: 0353d49ae934c4595408e1b7a1443769f095f2aa) Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: toastergui: all builds page lists failed build requestsAlexandru DAMIAN2015-01-164-199/+742
| | | | | | | | | | | | | | | | | This patch modifies the all builds page by splitting the page into two variants - the "interactive" (default) and "managed" mode versions. In the "managed" mode version, we display build requests instead of builds, including the failed build requests that have no build associated with them. [YOCTO #6671] (Bitbake rev: c5f5fb80308228585aa7ff9721352feb5ed9c961) Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: toaster: layerdetails Remove compatibility settingMichael Wood2015-01-163-29/+3
| | | | | | | | | | Remove the layer compatibility configuration option from the layer details as this is not in the design. (Bitbake rev: c46492f5599da8af16af05ecc2d7aa7a8660416b) Signed-off-by: Michael Wood <michael.g.wood@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: toaster: Add layer details page featureMichael Wood2015-01-167-150/+1038
| | | | | | | | | | | | | | This commit adds the layer details page which shows the metadata for the layer such as layer description, machines associated with the layer as well as the targets provided. If the layer is an imported layer this page also allows you to update the layer's configuration. >From this page you can add/remove the layer from the current project (Bitbake rev: c1442bc68ad8ba20c37b1a7cde1400297f4be811) Signed-off-by: Michael Wood <michael.g.wood@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: toaster: implementation of project pageAlexandru DAMIAN2015-01-083-135/+246
| | | | | | | | | | | | | | This patch brings the project page in line with the design, including build error handling and suggestions. Includes some refactoring for already existing code. [YOCTO #6587] (Bitbake rev: 1ea658dcdfde5465d3ecdb97550e0a66cb8b122e) Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: toaster: branch name priority resolutionAlexandru DAMIAN2015-01-081-1/+7
| | | | | | | | | | | | | | | | Adding a Layer_Version function that gets back the branch name that should be used/displayed for finding the targeted git branch name. Change the commit id to use the branch name instead of the last-updated commit hash from the layer source. [YOCTO #7031] (Bitbake rev: 1a52202f7f3719f5421289aaf0fc8eba0bf4c7ce) Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: toaster: write pre-read conf file for build variablesAlexandru DAMIAN2015-01-083-4/+7
| | | | | | | | | | | | | | | We change the setting of variables from directly injection into the set-up cooker to writing a conf file that is pre-read on bitbake server startup. This is needed because the injection can only happen after the variable set is parsed, and the variables already inferred, so setting up variables happens too late. [YOCTO #7045] (Bitbake rev: 854f680b5b9d2d0fa796af84cb1218545fbfc55a) Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: toaster: Improve client side error handlingMichael Wood2015-01-087-33/+69
| | | | | | | | | | | | | Make use of the toastermain.settings.DEBUG flag to toggle the client side error logging. Make the error logging consistent by using console.warn/error across the project, this adds traceability to the warnings. Also handles the case where console is not available by stubbing it in libtoaster. (Bitbake rev: c34ebc51a6cbf90c64ef1ac461e475c6341f0f2a) Signed-off-by: Michael Wood <michael.g.wood@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: toaster: importlayer Tidy up the page initialisationMichael Wood2014-12-181-10/+11
| | | | | | | | | | Tidy up the page initialisation and change the error logging so that it's consistent with other pages. (Bitbake rev: 3a5b78af4f3cab203824d933a73e82a41ab377e3) Signed-off-by: Michael Wood <michael.g.wood@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: toaster: Change the full stop to a colonBelen Barros Pena2014-12-181-1/+1
| | | | | | | | | | In the import layers notification for multiple layers there was a full stop where there should be a colon. (Bitbake rev: c23736003b788f2b45ae7cbcd7c7250ead2e5724) Signed-off-by: Belen Barros Pena <belen.barros.pena@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: toaster: Formatting changes to error messagesBelen Barros Pena2014-12-182-4/+4
| | | | | | | | | | | Just giving a bit of space to the content of the error messages we show when you try to import a layer that already exists. (Bitbake rev: 19b8ff1949072691dade96038af529200175843a) Signed-off-by: Belen Barros Pena <belen.barros.pena@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: toaster: projectapp Add links to the imported layers notifyMichael Wood2014-12-184-13/+26
| | | | | | | | | | Adds links to layer details for each of the layers that has been added to the project. (Bitbake rev: 07e5c7c82519604501feb7d892db330c610978e9) Signed-off-by: Michael Wood <michael.g.wood@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: toaster: importlayer Avoid namespace clash with layer nameMichael Wood2014-12-182-3/+3
| | | | | | | | | | This was causing validation issues as the layer name was being picked up from a different location in the dom. (Bitbake rev: 54165dd929ef304357806411cd70caf85b6132f0) Signed-off-by: Michael Wood <michael.g.wood@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: toaster: Importlayer add notify exactly which layers changedMichael Wood2014-12-184-23/+82
| | | | | | | | | | | | | | | This changes when the dependencies are added to the project so that we can know which ones were successfully added by waiting for the server to respond with a list. This is more reliable because we may have specified dependencies which are already in the project. To pass this information to the project page a temporary cookie is used with the values for the notification. (Bitbake rev: 23ca89dc3e0f0ea387649f1e9e8d7d50846048d6) Signed-off-by: Michael Wood <michael.g.wood@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: toaster: tweaking the import layers formBelen Barros Pena2014-12-181-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | This commit makes the following changes to the import layers form: * In the explanatory text at the top of the page, show only the release description (to match the information shown in all other pages) * Make sure the spacing between form fields and labels is consistent across the form * Change the 'Branch, tag or commit' label to 'Revision' and add some help text to the label * Change the help text and the input type in the layer description * Change the help text next to the form actions to match the new field ordering in the form (Bitbake rev: 1fae3ef8f87a836758519c85afb2762768c29efc) 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: toaster: Add import layer feature.Michael Wood2014-12-186-36/+533
| | | | | | | | | | | | | | | This feature allows users to import layers from git into their current project and associate it with the release of the current project and the dependencies for the newly imported layer with existing layers. It will also resolve the child dependencies of the dependencies added. [YOCTO #6595] (Bitbake rev: 017f5c746e894f9d87d927c848386459ea332378) 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>
* bitbake: toasterui: refactor project layer finding logicAlexandru DAMIAN2014-12-182-32/+38
| | | | | | | | | | | This is a basic refactoring of the code computing the layer equivalence classes for a project, in order to bring common bits of logic in a single place. (Bitbake rev: 9bdd0a687ba74577f2c0f0b6c696433ea662d38f) Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>