Return-Path: Received: by yocto-www.yoctoproject.org (Postfix, from userid 118) id 0739BE007AD; Tue, 19 Aug 2014 02:37:05 -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: * -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% * [score: 0.0000] * -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] Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id 929DFE0079B for ; Tue, 19 Aug 2014 02:37:01 -0700 (PDT) Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by fmsmga103.fm.intel.com with ESMTP; 19 Aug 2014 02:29:15 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="4.97,862,1389772800"; d="scan'208";a="374173267" Received: from irsmsx103.ger.corp.intel.com ([163.33.3.157]) by FMSMGA003.fm.intel.com with ESMTP; 19 Aug 2014 02:33:13 -0700 Received: from irsmsx106.ger.corp.intel.com ([169.254.8.3]) by IRSMSX103.ger.corp.intel.com ([169.254.3.112]) with mapi id 14.03.0195.001; Tue, 19 Aug 2014 10:36:54 +0100 From: "Barros Pena, Belen" To: "Reyna, David L (Wind River)" , "toaster@yoctoproject.org" Thread-Topic: Design for the 'all machines' page (6593) Thread-Index: AQHPuvGyC1vXiqK5jkuIwLqYb75TAZvXaiYQgABCKAA= Date: Tue, 19 Aug 2014 09:36:54 +0000 Message-ID: References: <5E53D14CE4667A45B9A06760DE5D13D05CD817BD@ALA-MBB.corp.ad.wrs.com> In-Reply-To: <5E53D14CE4667A45B9A06760DE5D13D05CD817BD@ALA-MBB.corp.ad.wrs.com> Accept-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: user-agent: Microsoft-MacOutlook/14.4.3.140616 x-originating-ip: [10.237.224.34] MIME-Version: 1.0 Subject: Re: Design for the 'all machines' page (6593) 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: Tue, 19 Aug 2014 09:37:05 -0000 Content-Language: en-US Content-Type: text/plain; charset="iso-8859-1" Content-ID: Content-Transfer-Encoding: quoted-printable Thanks for reviewing the document, David. Answers inline. Cheers Bel=E9n On 19/08/2014 06:51, "Reyna, David" wrote: >Hi Bel=E9n, > >I have looked through your document. I have two questions. > >1) I did not understand that part where a machine's file might be empty. >I would think that if the machine is found, then there must be a machine >file. Or there are circumstances where you could have a legitimate >working machine without a "machine file"? I am trying to cover imported layers. The machine file should always exist in the layer, of course, but when you import a layer we ask you only very basic information (on purpose: we want this to be quick and painless): the git url, a branch and a layer name. So even if we know, after building the layer, that it provides one or more machines, we might still not know the path to each of the machine files. It is this case that I am trying to cover, but it does not mean the machine file does not exist (it just means that the database field could be empty). > >Machine file: > * DESC: The path to the machine .conf file within the layer directory >structure > > * EMPTY: Yes. This field might be empty for layers in the Imported >layer source or in custom layer sources. In those cases, the cell is empty > > * INTERACTIVE: Yes. If the URL to the layer web repository is known, >such URL together with the machine file value should give us the web URL >of the machine file. If we have such URL, we show an icon linking to it. >The link should open in a new tab. > >2) When I first tried out HOB back in YP-1.3 or something, I had the odd >experience of setting the machine, changing my mind to another machine, >but then being stuck with the layers and metadata that that the first >machine added to the project. > >My question is then this. If you select a machine and its layer, then >select a different machine and its layer, what happens to the first added >layer? >Is it passive? Will it introduce contradictory data? Will the second >machine remove the first machine's layer, or would one need to edit the >layer list to undo that first added layer? I think the problem we have is that we cannot foresee the intentions of the person configuring the build. Could that layer provide some other thing that's required for your builds? That means that we don't delete any layers automatically: users must explicitly delete layers from the project.=20 So, if you change the machine, the layer providing the previous machine is still added to your project. If you want to delete the layer from your project, you have to go to the project page and delete it manually by clicking the trash icon. I hope this makes sense. Cheers Bel=E9n > >Thanks, >David > >> -----Original Message----- >> From: toaster-bounces@yoctoproject.org [mailto:toaster- >> bounces@yoctoproject.org] On Behalf Of Barros Pena, Belen >> Sent: Monday, August 18, 2014 7:36 AM >> To: toaster@yoctoproject.org >> Subject: [Toaster] Design for the 'all machines' page (6593) >> >> Attached to the Bugzilla feature, as usual >> >> https://bugzilla.yoctoproject.org/show_bug.cgi?id=3D6593 >> >> Cheers >> >> Bel=E9n >> >> -- >> _______________________________________________ >> toaster mailing list >> toaster@yoctoproject.org >> https://lists.yoctoproject.org/listinfo/toaster