Return-Path: Received: by yocto-www.yoctoproject.org (Postfix, from userid 118) id D76E9E00853; Wed, 4 Mar 2015 04:14:26 -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: * -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.88 listed in list.dnswl.org] Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id 052FEE0076F for ; Wed, 4 Mar 2015 04:14:20 -0800 (PST) Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by fmsmga101.fm.intel.com with ESMTP; 04 Mar 2015 04:13:43 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.09,687,1418112000"; d="scan'208";a="674984339" Received: from irsmsx153.ger.corp.intel.com ([163.33.192.75]) by fmsmga001.fm.intel.com with ESMTP; 04 Mar 2015 04:13:43 -0800 Received: from irsmsx110.ger.corp.intel.com ([169.254.15.236]) by IRSMSX153.ger.corp.intel.com ([169.254.9.234]) with mapi id 14.03.0195.001; Wed, 4 Mar 2015 12:13:40 +0000 From: "Barros Pena, Belen" To: "Damian, Alexandru" , "Reyna, David L (Wind River)" Thread-Topic: [RFC] Handling IMAGE_INSTALL_append Thread-Index: AQHQVnSmr6avTbY2cUmTnA8qu04+Zg== Date: Wed, 4 Mar 2015 12:13:39 +0000 Message-ID: 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: Paul Eggleton , "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 12:14:26 -0000 Content-Language: en-US Content-Type: text/plain; charset="iso-8859-1" Content-ID: <915F480CB886004080D17685EFB4A50C@intel.com> Content-Transfer-Encoding: quoted-printable 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 > > > > > > > > > >--=20 >Alex Damian >Yocto Project > >SSG / OTC=20 > > >