Return-Path: Received: by yocto-www.yoctoproject.org (Postfix, from userid 118) id B7145E00786; Wed, 24 Sep 2014 03:13:13 -0700 (PDT) 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 * [134.134.136.24 listed in list.dnswl.org] * -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% * [score: 0.0000] Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id 63F99E0034C for ; Wed, 24 Sep 2014 03:13:10 -0700 (PDT) Received: from orsmga001.jf.intel.com ([10.7.209.18]) by orsmga102.jf.intel.com with ESMTP; 24 Sep 2014 03:06:55 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.04,588,1406617200"; d="scan'208";a="578132222" Received: from irsmsx101.ger.corp.intel.com ([163.33.3.153]) by orsmga001.jf.intel.com with ESMTP; 24 Sep 2014 03:13:09 -0700 Received: from irsmsx110.ger.corp.intel.com ([169.254.15.149]) by IRSMSX101.ger.corp.intel.com ([169.254.1.194]) with mapi id 14.03.0195.001; Wed, 24 Sep 2014 11:13:06 +0100 From: "Barros Pena, Belen" To: "Reyna, David L (Wind River)" , "toaster@yoctoproject.org" Thread-Topic: Changes to the all builds page (YB6682) Thread-Index: AQHP1mys/fsaAVO300WQcfgqTGCwhpwP/RxggAAWTAA= Date: Wed, 24 Sep 2014 10:13:05 +0000 Message-ID: References: <5E53D14CE4667A45B9A06760DE5D13D05CDF2C20@ALA-MBB.corp.ad.wrs.com> In-Reply-To: <5E53D14CE4667A45B9A06760DE5D13D05CDF2C20@ALA-MBB.corp.ad.wrs.com> Accept-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: user-agent: Microsoft-MacOutlook/14.4.4.140807 x-originating-ip: [10.237.224.43] MIME-Version: 1.0 Subject: Re: Changes to the all builds page (YB6682) 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: Wed, 24 Sep 2014 10:13:13 -0000 Content-Language: en-US Content-Type: text/plain; charset="iso-8859-1" Content-ID: <8631AA4ECCF95349899888A350C522E9@intel.com> Content-Transfer-Encoding: quoted-printable Hi David, Thanks for reviewing the design. Long answers (I'm afraid) inline. I hope they make sense. Cheers Bel=E9n On 24/09/2014 10:07, "Reyna, David" wrote: >Hi Bel=E9n, > >Thank you for making the proposed changes easy to follow! > >Here are my questions. > >1) Is this page also used for the normal non-project builds? If so, what >is used in the project name space for those? No, not really. This comes back to the 2-modes Toaster has. If you are using Toaster in analysis only mode (1.6), you should see the old 'all builds' page, populated with any builds built outside of a project. If you are using Toaster in 'projects' mode (1.7), you see the new 'all builds' page, populated with any builds built inside a project. Both modes should be kept separate, even if for some reason you are switching between Toaster modes and storing to the same database in the process (we don't really envision people doing this though). > >2) In the "All Projects" page, you have the column "Release". How is this >actually used? Perhaps I need to go back the definition of a "release". The release determines the version of BitBake you are using to build within a certain project, and the default version of the metadata. Right now, it's looking like we'll ship Toaster configured to support 2 releases: 1.7 and master. Projects and releases have a 1:1 relationship. You can change the release you are using for a certain project, but a project can only be associated with one release at any point in time. The Release column just shows you the project release as it is set when you retrieve the information. > >For me I would be doing multiple builds of the same project to test for >regressions against a "release", where each build is against a different >label point.=20 To do something like this you will have to set up a release for each 'label point' you want to build against in the toasterconf.json file. Then you can either create separate projects, or change the selected release within a given project. Keep in mind that the release mainly determines the version of BitBake you want to use, and by extension the default version of the metadata. However, you can change the version of the metadata you are building using the import layer functionality. You can import a layer and set it to any branch, and you can build the tip of that layer's branch with the version of BitBake specified by the project release.=20 So I might have a project with release Yocto Project 1.7 'Dizzy', which means that it will build using BitBake as released with 1.7. That project will have 3 layers by default: meta, meta-yocto and meta-yocto-bsp, all 3 set to the 'dizzy' branch, because the selected release also determines the default version of the metadata. Within that project I can import my layer meta-belen specifying the branch 'master', and I will build the tip of the meta-belen master branch using the version of BitBake released with Yocto Project 1.7. Alex, Paul: if I am explaining this wrong, please correct me. >But in that case I do not see a column for the git checksum at the top of >the respective build's pull. I hope the above answers this question. The version of BitBake is determined by the release. Then you will have a git checksum for each layer.=20 > Isn't a release every 6 months? So this column's data would only have >mixed content if the database captures data over a really long period of >time? Yes, or if you have projects using different versions of BitBake. You might want to experiment with master in a 'playing around' project, but have your customer's projects always against 1.7. Keep in mind that releases are customisable via the toasterconf.json file. If you are a Linux vendor shipping Toaster to your customers, you might do so with releases myproduct_v1 and my product_v2, instead of Yocto Project releases. When you set up the releases in the toasterconf.json file, you will need to specify the default version of the metadata to be used with each release. So the hard work needs to be done by the person setting up Toaster. Once everything is set up, users are never exposed to this complexity: for each project, they see layers that are compatible with the release they are using, and can override that for their own, imported layers. > >What if you are doing identical builds but with different hosts? But I do >not see a column for the host information. I am assuming that when you say 'host' you mean the machine actually running the build. Well, Toaster does not know about the hardware running the builds: that's for your continuous integration software to handle. Toaster is hardware agnostic: it doesn't care if you build is run on an Ubuntu 12.04 machine or in a Fedora 19 machine or in the same machine that hosts Toaster or in a different one. The 'host' is where we draw the line between Toaster and continuous integration software. > >Perhaps my information is over in the "project details " page. > >- David > >> -----Original Message----- >> From: toaster-bounces@yoctoproject.org [mailto:toaster- >> bounces@yoctoproject.org] On Behalf Of Barros Pena, Belen >> Sent: Monday, September 22, 2014 6:54 AM >> To: toaster@yoctoproject.org >> Subject: [Toaster] Changes to the all builds page (YB6682) >> >> Changes include adding a table listing all projects. Design document >> attached to the Bugzilla feature, as usual: >> >> https://bugzilla.yoctoproject.org/show_bug.cgi?id=3D6682 >> >> Bel=E9n >> >> -- >> _______________________________________________ >> toaster mailing list >> toaster@yoctoproject.org >> https://lists.yoctoproject.org/listinfo/toaster