Return-Path: Received: by yocto-www.yoctoproject.org (Postfix, from userid 118) id 958FBE00799; Wed, 15 Oct 2014 10:46:43 -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 * [134.134.136.65 listed in list.dnswl.org] Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id 49ED4E006EF for ; Wed, 15 Oct 2014 10:46:40 -0700 (PDT) Received: from orsmga002.jf.intel.com ([10.7.209.21]) by orsmga103.jf.intel.com with ESMTP; 15 Oct 2014 10:43:06 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.04,725,1406617200"; d="scan'208";a="619275892" Received: from irsmsx103.ger.corp.intel.com ([163.33.3.157]) by orsmga002.jf.intel.com with ESMTP; 15 Oct 2014 10:46:04 -0700 Received: from irsmsx151.ger.corp.intel.com (163.33.192.59) by IRSMSX103.ger.corp.intel.com (163.33.3.157) with Microsoft SMTP Server (TLS) id 14.3.195.1; Wed, 15 Oct 2014 18:46:02 +0100 Received: from irsmsx110.ger.corp.intel.com ([169.254.15.199]) by IRSMSX151.ger.corp.intel.com ([169.254.4.146]) with mapi id 14.03.0195.001; Wed, 15 Oct 2014 18:46:02 +0100 From: "Barros Pena, Belen" To: "Damian, Alexandru" Thread-Topic: Layers with multiple versions of the same recipe Thread-Index: AQHP5JqCIQl027iEb0+V+kp0shmbl5wvV3IAgAIv74A= Date: Wed, 15 Oct 2014 17:46:01 +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.4.140807 x-originating-ip: [10.254.40.124] MIME-Version: 1.0 Cc: Paul Eggleton , "toaster@yoctoproject.org" Subject: Re: Layers with multiple versions of the same recipe 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, 15 Oct 2014 17:46:43 -0000 Content-Language: en-US Content-Type: text/plain; charset="iso-8859-1" Content-ID: Content-Transfer-Encoding: quoted-printable On 14/10/2014 12:22, "Damian, Alexandru" wrote: >Just to note: > >* we need to add version numbers to targets suggested, because there is >no other way to distinguish two different "bash" targets in the list Mmm, I see what you mean, but I rather not crowd the suggestions any more than they are, particularly because the case of a layer providing more than one version of the same recipe is not that common. Maybe the suggestions just display the target name once, and build the latest version or whichever version is set as the preferred one. You can select an specific target version from the layer details pages and the all targets pages. > > >* setting a PREFFERRED_VERSION will change the project configuration page >- not a problem, but we need to indicate this to the user somehow Sorry, I am probably missing something obvious, but I am not sure how this changes the project configuration page. Cheers Bel=E9n > > >- Alex > > > >On Fri, Oct 10, 2014 at 3:57 PM, Barros Pena, Belen > wrote: > >I have spoken briefly to Paul about the problem of layers providing more >than one version of the same recipe, and how we can ensure that the recipe >version selected by the user gets built. Paul thinks that using >PREFERRED_VERSION should work reasonably well, but it will not work >always, since we would be setting PREFERRED_VERSION in local.conf and this >can be overridden by distro configuration. > >He still thinks setting PREFERRED_VERSION is an acceptable solution. He >also thinks that we should probably add some functionality at some point >to deal with the cases where local configuration is being overridden by >distro config. The idea would be that builds encountering such >circumstances would throw a warning, and that warning would be collected >and displayed by Toaster once the build completes. Because we store >variable history in the Toaster database, we should be able to point users >straight to the variable causing the problem. I will open an issue for >this in Bugzilla. > >Thoughts? > >Bel=E9n > > > > > > > >--=20 >Alex Damian >Yocto Project > >SSG / OTC=20 > >