Return-Path: Received: by yocto-www.yoctoproject.org (Postfix, from userid 118) id 9A323E00754; Wed, 4 Mar 2015 08:36:23 -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 * [134.134.136.20 listed in list.dnswl.org] * -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% * [score: 0.0000] Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id 08CD2E006EF for ; Wed, 4 Mar 2015 08:36:17 -0800 (PST) Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by orsmga101.jf.intel.com with ESMTP; 04 Mar 2015 08:36:17 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.09,688,1418112000"; d="scan'208";a="675105992" Received: from irsmsx152.ger.corp.intel.com ([163.33.192.66]) by fmsmga001.fm.intel.com with ESMTP; 04 Mar 2015 08:36:16 -0800 Received: from irsmsx110.ger.corp.intel.com ([169.254.15.236]) by IRSMSX152.ger.corp.intel.com ([169.254.6.205]) with mapi id 14.03.0195.001; Wed, 4 Mar 2015 16:36:14 +0000 From: "Barros Pena, Belen" To: "Reyna, David L (Wind River)" Thread-Topic: [RFC] Handling IMAGE_INSTALL_append Thread-Index: AQHQVnSmr6avTbY2cUmTnA8qu04+Zp0MezolgAAKnwA= Date: Wed, 4 Mar 2015 16:36:13 +0000 Message-ID: References: In-Reply-To: Accept-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: user-agent: Microsoft-MacOutlook/14.4.7.141117 x-originating-ip: [10.237.224.79] MIME-Version: 1.0 Cc: "toaster@yoctoproject.org" Subject: Re: [RFC] Handling IMAGE_INSTALL_append 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, 04 Mar 2015 16:36:23 -0000 Content-Language: en-US Content-Type: text/plain; charset="iso-8859-1" Content-ID: <4EDCBB13D3647E42B53296376BF30C98@intel.com> Content-Transfer-Encoding: quoted-printable On 04/03/2015 15:58, "Reyna, David" wrote: >Yes I will take this defect. All yours: https://bugzilla.yoctoproject.org/show_bug.cgi?id=3D7394 Thanks! Bel=E9n > >David > >Sent from my iPhone > >> On Mar 4, 2015, at 4:14 AM, Barros Pena, Belen >> wrote: >> >> >> >> On 04/03/2015 11:46, "Damian, Alexandru" >> wrote: >> >>> This needs to be done in the backend - we can't trust whatever the >>> browser is telling us, we have to check it on the server side. >> >> Thanks, Alex. If nobody fundamentally disagrees, can I go ahead and >>open a >> Bugzilla entry for this? >> >> David: can I assign it to you? >> >> Cheers >> >> Bel=E9n >> >>> >>> >>> Alex >>> >>> >>> >>> On Wed, Mar 4, 2015 at 10:38 AM, Barros Pena, Belen >>> wrote: >>> >>> So what do you guys think? >>> >>> Thanks! >>> >>> Bel=E9n >>> >>> On 04/03/2015 00:32, "Reyna, David" wrote: >>> >>>>> From my perspective, option 1 is the best one. >>>> >>>> And I still agree with that. >>>> >>>> Trying to have the user do this opens the door to trivial but blocking >>>> defects, and the GUI experience is supposed to be superior and more >>>> guided than the raw command line experience. >>>> >>>> The fall back is to have the front end interface enforce this >>>>invisibly, >>>> in other words always force a leading space when it writes this value >>>>to >>>> the backend but present/accept a trimmed value. This is something that >>>> could be done quickly, but then we are spreading this arcane syntax >>>>rule >>>> to the frontend away from the presumably more intelligent backend. >>>> >>>> - David >>>> >>>>> -----Original Message----- >>>>> From: toaster-bounces@yoctoproject.org [mailto:toaster- >>>>> bounces@yoctoproject.org] On Behalf Of Barros Pena, Belen >>>>> Sent: Tuesday, March 03, 2015 2:47 AM >>>>> To: toaster@yoctoproject.org >>>>> Subject: [Toaster] [RFC] Handling IMAGE_INSTALL_append >>>>> >>>>> The default project configuration we ship with Toaster includes the >>>>> IMAGE_INSTALL_append variable. This variable requires a space before >>>>> the >>>>> first package name. We have spoken before about taking 2 possible >>>>> approaches to handle this: >>>>> >>>>> 1. Toaster takes responsibility and adds the space for you. How this >>>>> could >>>>> be done, I am not sure. I guess we can either somehow identify >>>>> IMAGE_INSTALL_append as the type of variable that requires a space >>>>> before >>>>> the first list item, or we can hardcode it. >>>>> >>>>> 2. Users take responsibility and add the space themselves. Easier to >>>>> implement (we add some help text to the field), but bound to fail >>>>> (users >>>>> don't read help text). >>>>> >>>>> From my perspective, option 1 is the best one. I don't care if we >>>>>need >>>>> to >>>>> hardcode it. Adding this variable to the default project >>>>>configuration >>>>> is >>>>> very much a temporary solution until we provide functionality to >>>>> customise >>>>> the list of packages installed by an image recipe. >>>>> >>>>> Would this be acceptable to everybody else? >>>>> >>>>> Thanks! >>>>> >>>>> Bel=E9n >>>>> >>>>> -- >>>>> _______________________________________________ >>>>> toaster mailing list >>>>> toaster@yoctoproject.org >>>>> https://lists.yoctoproject.org/listinfo/toaster >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> -- >>> Alex Damian >>> Yocto Project >>> >>> SSG / OTC >>