Return-Path: Received: by yocto-www.yoctoproject.org (Postfix, from userid 118) id D888FE00C32; Fri, 2 Oct 2015 02:29:25 -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.24 listed in list.dnswl.org] Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id 4B79CE00A31 for ; Fri, 2 Oct 2015 02:29:22 -0700 (PDT) Received: from orsmga002.jf.intel.com ([10.7.209.21]) by orsmga102.jf.intel.com with ESMTP; 02 Oct 2015 02:29:22 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.17,622,1437462000"; d="scan'208";a="817832589" Received: from irsmsx153.ger.corp.intel.com ([163.33.192.75]) by orsmga002.jf.intel.com with ESMTP; 02 Oct 2015 02:29:21 -0700 Received: from irsmsx112.ger.corp.intel.com (10.108.20.5) by IRSMSX153.ger.corp.intel.com (163.33.192.75) with Microsoft SMTP Server (TLS) id 14.3.248.2; Fri, 2 Oct 2015 10:29:19 +0100 Received: from irsmsx110.ger.corp.intel.com ([169.254.15.164]) by irsmsx112.ger.corp.intel.com ([169.254.1.176]) with mapi id 14.03.0248.002; Fri, 2 Oct 2015 10:29:19 +0100 From: "Barros Pena, Belen" To: Brian Avery Thread-Topic: [Toaster] [PATCH v2 0/5] Fix for 8004 Thread-Index: AQHQ/FEG4FB//Oygp0iohzbPdQ0Uo55WyWwAgAASLgCAARVlAA== Date: Fri, 2 Oct 2015 09:29:19 +0000 Message-ID: References: In-Reply-To: Accept-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: user-agent: Microsoft-MacOutlook/14.5.5.150821 x-originating-ip: [10.237.224.30] MIME-Version: 1.0 Cc: "toaster@yoctoproject.org" Subject: Re: [PATCH v2 0/5] Fix for 8004 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: Fri, 02 Oct 2015 09:29:25 -0000 Content-Language: en-US Content-Type: text/plain; charset="iso-8859-1" Content-ID: <107E00CE91DF3341963EFFF8141F31C6@intel.com> Content-Transfer-Encoding: quoted-printable On 01/10/2015 18:56, "Brian Avery" wrote: >Hi, >I'm confused as it looks to me like ed's 8004 patch is behaving as you >outlined above; >To reproduce: >1) new proj off master >2) goto layers >3) search meta-shr >4) it shows 4 dependencies in the table which is the number of 1st >level deps it has (see >http://layers.openembedded.org/layerindex/branch/master/layer/meta-shr/ >) >5) click add for meta-shr. the dialog box pops up with the 4 missing >dependencies. Note, the dialog box does not have openembedded-core >which is already in the project and it adds the 2nd level dependency >for meta-systemd. >6) once meta-shr has been added there are a total of 8 layers in the >proj. >7) the meta-shr layer details page show 4 (1st level) deps which match >the ones in the compatible layers table. > >This seems correct to me, am I missing something? No: I was missing something. This behaves correctly. Sorry for the confusion. Cheers Bel=E9n >-b > >On Thu, Oct 1, 2015 at 8:51 AM, Barros Pena, Belen > wrote: >> >> >> On 01/10/2015 14:56, "toaster-bounces@yoctoproject.org on behalf of Ed >> Bartosh" > ed.bartosh@linux.intel.com> wrote: >> >>>Hi, >>> >>>This patchset fixes bug 8004: importing a layer from the recipes page >>>auto adds the 1st level dependencies but not the 2nd level. >>>Now dependent layers are discovered recursively and Toaster shows all of >>>them >>>in Compatible layers view when user clicks 'Add layer' button. >>> >>>The patchset includes fixes for orm test suite and new test case for >>>Layer_Version.get_alldeps API used in this bug fix. >>> >>>Changes in v2: UI shows number of first level deps in compatible layers >>>page. >>> (Reverted two patches from v1) >>> >>>The following changes since commit >>>7b10ae122d46891c734e786358ea5f36760e8d5e: >> >> I am bit confused. Now the number of dependencies shown in the >>'compatible >> layers' table matches the dependencies shown in the modal dialog. But I >> don't think this is the correct behaviour: the information in the table >> should match the information in the layer details page. Those 2 places >> (the table and the layer details page) show the 'objective' information >> about the layer. The modal dialog, on the other hand, takes into account >> the state of the project configuration, and shows you which layers you >> still need to add in order to satisfy the layer dependencies. >> >> So both the 'compatible layers' table and the layer details page should >> show the fist-level dependencies for a layer. Sorry if I wasn't clear >> before :/ >> >> Thanks! >> >> Bel=E9n >> >>> >>> toaster: Fix broken test case (2015-10-01 10:42:16 +0100) >>> >>>are available in the git repository at: >>> >>> git://git.yoctoproject.org/poky-contrib ed/toaster/8004 >>> =20 >>>http://git.yoctoproject.org/cgit.cgi/poky-contrib/log/?h=3Ded/toaster/80= 04 >>> >>>Ed Bartosh (5): >>> toaster: implement API to get full list of deps >>> toaster: use get_alldeps in layerdetails renderer >>> toaster: fix NameError >>> toaster: fix orm tests >>> toaster: test get_alldeps API >>> >>> bitbake/lib/toaster/orm/models.py | 21 ++++++++++++- >>> bitbake/lib/toaster/orm/tests.py | 53 >>>++++++++++++++------------------- >>> bitbake/lib/toaster/toastergui/views.py | 4 +-- >>> 3 files changed, 45 insertions(+), 33 deletions(-) >>> >>>-- >>>Regards, >>>Ed >>> >>>-- >>>_______________________________________________ >>>toaster mailing list >>>toaster@yoctoproject.org >>>https://lists.yoctoproject.org/listinfo/toaster >> >> -- >> _______________________________________________ >> toaster mailing list >> toaster@yoctoproject.org >> https://lists.yoctoproject.org/listinfo/toaster