Return-Path: Received: by yocto-www.yoctoproject.org (Postfix, from userid 118) id 95246E00E25; Mon, 1 Aug 2016 03:01:22 -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=-1.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.1 X-Spam-HAM-Report: * -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at http://www.dnswl.org/, no * trust * [192.55.52.120 listed in list.dnswl.org] * -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% * [score: 0.0000] Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id 02D50E00D9D for ; Mon, 1 Aug 2016 03:01:19 -0700 (PDT) Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by fmsmga104.fm.intel.com with ESMTP; 01 Aug 2016 03:01:19 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.28,454,1464678000"; d="scan'208";a="742517744" Received: from irsmsx109.ger.corp.intel.com ([163.33.3.23]) by FMSMGA003.fm.intel.com with ESMTP; 01 Aug 2016 03:01:16 -0700 Received: from irsmsx156.ger.corp.intel.com (10.108.20.68) by IRSMSX109.ger.corp.intel.com (163.33.3.23) with Microsoft SMTP Server (TLS) id 14.3.248.2; Mon, 1 Aug 2016 11:01:15 +0100 Received: from irsmsx110.ger.corp.intel.com ([169.254.15.113]) by IRSMSX156.ger.corp.intel.com ([169.254.3.57]) with mapi id 14.03.0248.002; Mon, 1 Aug 2016 11:01:15 +0100 From: "Barros Pena, Belen" To: Paul Eggleton Thread-Topic: Design - Building and configuring the eSDK with Toaster Thread-Index: AQHR6Yw1xwO9d7o+fEW7Yhtq6i4+saAztWEAgAAuy4A= Date: Mon, 1 Aug 2016 10:01:14 +0000 Message-ID: References: <30628027.zv9SL7po8A@peggleto-mobl.ger.corp.intel.com> In-Reply-To: <30628027.zv9SL7po8A@peggleto-mobl.ger.corp.intel.com> Accept-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: user-agent: Microsoft-MacOutlook/14.6.6.160626 x-originating-ip: [10.252.1.91] MIME-Version: 1.0 Cc: "Bruce, Henry" , "toaster@yoctoproject.org" Subject: Re: Design - Building and configuring the eSDK with Toaster 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: Mon, 01 Aug 2016 10:01:22 -0000 Content-Language: en-US Content-Type: text/plain; charset="iso-8859-1" Content-ID: <0D53EC4478B92B448E6F5CBFE421303E@intel.com> Content-Transfer-Encoding: quoted-printable Thanks for the reply, Paul. On 01/08/2016 09:13, "Paul Eggleton" wrote: >Hi Belen, > >On Fri, 29 Jul 2016 11:27:37 Barros Pena, Belen wrote: >> Related to this Bugzilla entry >>=20 >> https://bugzilla.yoctoproject.org/show_bug.cgi?id=3D9297 >>=20 >> I have an initial proposal on how to build and configure the extensible >> SDK with Toaster >>=20 >> https://youtu.be/NH2T3lebh8A >>=20 >> Feedback, comments and questions sorely needed (this is just v1 and >>might >> have some glaring errors or gaps). > >Thanks for producing this. It looks fairly reasonable, some things to >consider=20 >though: > >1) It's not clear to me when the eSDK will replace the standard SDK - at >least=20 >in 2.2 it will finally be possible for that to happen, but because the >eSDK is=20 >still a bit larger than the standard SDK I suspect some people who just >want=20 >the basic toolchain will want to stick with the standard SDK for a while >yet.=20 >For that reason I think it would make sense if the UI was clear about >what=20 >kind of SDK it's building. This is a fair point. I will see how we can be clear about which SDK we are exposing for those in the know, without confusing those blissfully oblivious to the fact that we have 2 SDKs. For the record: I disagree with keeping both, but that is a discussion for some other time ;) > >2) Following on from that, I know it complicates matters but I think we >may=20 >want to consider how we would present alternative tasks than just "SDK" >(that=20 >maps to do_populate_sdk_ext) and "Build" buttons - there are likely to be >other tasks of interest here including do_populate_sdk. Admittedly it's >less=20 >about how this particular functionality works and more about how we might >make=20 >those other tasks more obviously available in future. Yes: this has been on my to do list for a while. Exposing the cleaning tasks, for example, might make sense. I'll see what we can do. > >3) The update URL isn't all that you need to publish the SDK - the URL is >(at=20 >least assumed to be) read-only, i.e. it's what the installed SDK pulls >from,=20 >not what oe-publish-sdk can push to. In order to work, oe-publish-sdk >needs a=20 >local directory path or alternatively user@host:/path to use SSH, but if >using=20 >the latter the user may also be prompted for a password if they aren't >using=20 >key-based authentication. As you might gather there's an element of the >local=20 >vs. server installation problem creeping in here that we've hit elsewhere. I see: so, would it be enough to add a text field for the "push to" path, and a password field for the SSH case? FWIW: although this makes sense when you explain it, I didn't quite get it from the content of the manual http://www.yoctoproject.org/docs/2.1/sdk-manual/sdk-manual.html#sdk-providi ng-updates-after-installing-the-extensible-sdk > >4) FYI we've just introduced an additional variable >SDK_INCLUDE_TOOLCHAIN, >which within the build system defaults to "1" if SDK_EXT_TYPE is "full" >or "0"=20 >if it's "minimal", so the UI will need to do the same. I can add that too. Is the variable documented anywhere? > >5) In terms of implementation, since this UI is based around the >variables I=20 >really think we should define the UI declaratively rather than by >hardcoding=20 >the knowledge into the UI. Whether we actually pull those declarations >from=20 >the metadata is a separate issue (and not currently practical given this >UI=20 >has to be available before running any builds), but we should start along >the=20 >right course from the beginning. I agree, as long as this doesn't become a barrier to implement the feature ("because we don't know how to do it properly, we don't do it" kind of thing). I guess my question is: if we don't pull the declarations from the metadata, from where then? Do you have anything in mind? Thanks! Bel=E9n >This is mostly a note for whoever implements >it, but it may have minor implications on how the UI works as well. > >Cheers, >Paul > >--=20 > >Paul Eggleton >Intel Open Source Technology Centre