Return-Path: Received: by yocto-www.yoctoproject.org (Postfix, from userid 118) id 769D2E00D04; Fri, 5 Feb 2016 05:21:20 -0800 (PST) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on yocto-www.yoctoproject.org X-Spam-Level: X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 X-Spam-HAM-Report: * -5.0 RCVD_IN_DNSWL_HI RBL: Sender listed at http://www.dnswl.org/, high * trust * [192.55.52.115 listed in list.dnswl.org] * -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% * [score: 0.0000] Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id 669CDE00CFF for ; Fri, 5 Feb 2016 05:21:17 -0800 (PST) Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by fmsmga103.fm.intel.com with ESMTP; 05 Feb 2016 05:21:11 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.22,400,1449561600"; d="scan'208,217";a="897030304" Received: from palyons-mobl3.ger.corp.intel.com (HELO bbarrosp-mac03.local.com) ([10.252.14.181]) by fmsmga001.fm.intel.com with ESMTP; 05 Feb 2016 05:21:09 -0800 From: Belen Barros Pena To: toaster@yoctoproject.org Date: Fri, 5 Feb 2016 14:20:58 +0100 Message-Id: <1454678458-43474-1-git-send-email-belen.barros.pena@linux.intel.com> X-Mailer: git-send-email 2.5.4 (Apple Git-61) Subject: [review-request] [PATCH] toaster-manual: remove all references to 'build mode' X-BeenThere: toaster@yoctoproject.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Web based interface for BitBake List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 05 Feb 2016 13:21:20 -0000 From: Belen Barros Pena Soon after the 2.0 release Toaster modes were removed. This patch updates the latest Toaster manual to remove all references to 'modes', in preparation for the 2.1 release version of the manual. The changes involved rewriting section 1.1, and small changes to sections 4.1.1.2.2 4.3 4.3.1 4.4.4 This patch also removes references to the third toasterconf.json file, which is no longer used to set up production instances of Toaster. Signed-off-by: Belen Barros Pena --- .../toaster-manual/toaster-manual-intro.xml | 110 ++++++++++----------- .../toaster-manual/toaster-manual-reference.xml | 38 ++----- 2 files changed, 62 insertions(+), 86 deletions(-) diff --git a/documentation/toaster-manual/toaster-manual-intro.xml b/documentation/toaster-manual/toaster-manual-intro.xml index 9f4c38b..b6e11d8 100644 --- a/documentation/toaster-manual/toaster-manual-intro.xml +++ b/documentation/toaster-manual/toaster-manual-intro.xml @@ -33,24 +33,60 @@ -
- Toaster Operational Modes +
+ Toaster Features - You can use Toaster in Analysis Mode or Build Mode: + Toaster does mainly two things: it allows you to configure and run builds, and it provides + extensive information about the build process. - Analysis Mode: - In Analysis Mode, you can record builds and statistics. - In this Mode, you directly access the - bitbake command, which you then use to - build images. - Analysis Mode requires you to have first started - Toaster and then to initiate your build using the - bitbake command from the shell. - Toaster must be started before the build or it will not - collect build data. - Toaster has the following capabilities in - Analysis Mode: + Configure and run builds: + You can use the Toaster web interface to configure and start your builds. + Builds started via the Toaster web interface are organised into projects. + When you create a project, you will be asked to select a release, or version + of the build system you want to use for the project builds. As shipped, + Toaster supports Yocto Project releases 1.8 and beyond. + With the Toaster web interface, you can: + + + Browse layers listed in the various + layer sources + that are available in your project (e.g. the + OpenEmbedded Metadata Index at + ). + + + Browse images, recipes and machines provided by + those layers. + + Import your own layers for building. + + + Add and remove layers from your configuration. + + + Set configuration variables. + + + Select a target or multiple targets to build. + + + Start your builds. + + + Toaster also allows you to configure and run your builds + from command line, and switch between command line and web + interface at any time. Builds started from command line are + shown within a special Toaster project called "Command line + builds". + + Information about the build + process: + Toaster also records extensive information about your builds. Data + is collected for builds started from the web interface and the command + line, as long as Toaster is running. Toaster must + be started before the build or it will not collect build data. + With Toaster you can: See what was built (recipes and packages) and what @@ -74,7 +110,7 @@ See dependency relationships between recipes, - packages and tasks + packages and tasks. See performance information such as build time, @@ -82,46 +118,6 @@ - Build Mode: - In Build Mode, Toaster handles the build configuration, - scheduling and execution. - In this mode, all your interaction with the build system - happens through the web interface. - You do not have direct access to the - bitbake command. - Using this mode, you configure and start your builds - within Toaster's GUI. - Each project can be configured for a specific version - of the build system. - As shipped, Toaster supports Yocto Project Releases 1.7 and - beyond. - Toaster has all the same capabilities in Build Mode - as it does in Analysis Mode plus the following: - - - Browse layers listed in the various - layer sources - that are available in your project (e.g. the - OpenEmbedded Metadata Index at - ). - - - Import your own layers for building. - - - Add and remove layers from your configuration. - - - Set configuration variables. - - - Select a target or multiple targets to build. - - - Start your builds. - - -
@@ -132,8 +128,6 @@ You can set Toaster up to run as a local instance or as a shared hosted service. - Regardless of how you set up Toaster, both Analysis and Build - Modes are available. diff --git a/documentation/toaster-manual/toaster-manual-reference.xml b/documentation/toaster-manual/toaster-manual-reference.xml index faca4ca..ee171dc 100644 --- a/documentation/toaster-manual/toaster-manual-reference.xml +++ b/documentation/toaster-manual/toaster-manual-reference.xml @@ -159,12 +159,13 @@ - When you set up Toaster in Build Mode, you are prompted - to select a Toaster configuration file. + The Toaster startup script in /bitbake/bin/toaster specifies + the location of a Toaster configuration file toasterconf.json + as the value of the TOASTER_CONF variable. This configuration file is used to set up the initial configuration values within the Toaster database including the layer sources. - Three versions of the configuration file exist: + Two versions of the configuration file exist: The first version of the file is found in the @@ -192,14 +193,6 @@ (i.e. git://git.openembedded.org/openembedded-core). - - The third version is a sample configuration - useful for when you want to set up a hosted - service in Build Mode. - You can find this version on the - File:Toasterconf.json.txt.patch - wiki page. -
@@ -550,8 +543,7 @@ JSON Files - If you are going to be using Toaster in Build Mode, it must - be initially configured before use. + Toaster must be configured before use. Configuration customizes layer source settings and Toaster defaults for all users and is performed by the person responsible for Toaster Configuration (i.e the Toaster Administrator). @@ -577,17 +569,16 @@ toasterconf.json. The Toaster Administrator can customize the file prior to loading it into Toaster. - When you set up Toaster locally to run in Build Mode, the system - startup script actively looks for compatible configuration files - and prompts you to select a file to load if it detects that the - database has not been configured. + The location of the toasterconf.json file is + specified by the TOASTER_CONF variable in the + Toaster startup script at bitbake/bin/toaster.
Configuration File Choices - Three versions of the configuration file exist: + Two versions of the configuration file exist: The @@ -613,15 +604,6 @@ openembedded-core repository (i.e. git://git.openembedded.org/openembedded-core). - - The Toasterconf.json.txt.patch - located on the - File:Toasterconf.json.txt.patch - wiki page. - This version of the file is useful as a sample - configuration for when you want to set up Toaster as a - hosted service in Build Mode. -
@@ -1008,7 +990,7 @@ $ bitbake/lib/toaster/manage.py checksettings - In Build Mode, Toaster uses settings that are based on the + Toaster uses settings that are based on the database to configure the building tasks. The checksettings command verifies that the database settings are valid in the sense that they have -- 2.5.4 (Apple Git-61)