Return-Path: Received: by yocto-www.yoctoproject.org (Postfix, from userid 118) id 9A739E00CAF; Thu, 1 Oct 2015 02:39:38 -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: * -5.0 RCVD_IN_DNSWL_HI RBL: Sender listed at http://www.dnswl.org/, high * trust * [192.55.52.93 listed in list.dnswl.org] * -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% * [score: 0.0000] Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id 69905E00A7D for ; Thu, 1 Oct 2015 02:39:36 -0700 (PDT) Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by fmsmga102.fm.intel.com with ESMTP; 01 Oct 2015 02:39:35 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.17,616,1437462000"; d="scan'208";a="801262665" Received: from irsmsx108.ger.corp.intel.com ([163.33.3.3]) by fmsmga001.fm.intel.com with ESMTP; 01 Oct 2015 02:39:36 -0700 Received: from irsmsx110.ger.corp.intel.com ([169.254.15.164]) by IRSMSX108.ger.corp.intel.com ([169.254.11.107]) with mapi id 14.03.0248.002; Thu, 1 Oct 2015 10:39:34 +0100 From: "Barros Pena, Belen" To: Ed Bartosh Thread-Topic: [Toaster] [PATCH 0/7] Fix 8004 Thread-Index: AQHQ+3hM/vbusjyi6k+dZrImVgCREp5WYzmA Date: Thu, 1 Oct 2015 09:39:33 +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.31] MIME-Version: 1.0 Cc: "toaster@yoctoproject.org" Subject: Re: [PATCH 0/7] Fix 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: Thu, 01 Oct 2015 09:39:38 -0000 Content-Language: en-US Content-Type: text/plain; charset="iso-8859-1" Content-ID: <08ECA966146A314E96757F1F47B50DFD@intel.com> Content-Transfer-Encoding: quoted-printable On 30/09/2015 13:02, "toaster-bounces@yoctoproject.org on behalf of Ed Bartosh" 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. > >The patchset includes fixes for orm test suite and new test case for >Layer_Version.get_alldeps API used in this bug fix. > >Please review. > > >The following changes since commit >f8bd18184a84e6de1976ecb4d0d929c55bc19a66: > > toaster: orm remove the complicated querying on the ORM (2015-09-28 >20:07:38 -0700) > >are available in the git repository at: > > git://git.yoctoproject.org/poky-contrib ed/toaster/8004 > http://git.yoctoproject.org/cgit.cgi/poky-contrib/log/?h=3Ded/toaster/80= 04 This seems to be working, except for a small issue: the second-level dependency information is not showing up in the layer details page. So, for example, if you look at meta-aurora in the compatible layers table, you get 6 dependencies listed. If you add meta-aurora to your project, you also get 6 dependencies listed in the dependencies modal dialog. But if you click meta-aurora and check the layer details page, there are only 4 dependencies listed. We need to show the second-level dependency information in the layer details page too. Thanks! Bel=E9n > >Ed Bartosh (7): > toaster: implement API to get full list of deps > toaster: use get_alldeps in layerdetails renderer > toaster: add template filter get_alldeps > toaster: use get_alldeps in LayerTable > 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/tables.py | 11 +++-- > .../toaster/toastergui/templatetags/projecttags.py | 4 ++ > bitbake/lib/toaster/toastergui/views.py | 4 +- > 5 files changed, 55 insertions(+), 38 deletions(-) > >--=20 >Ed > >--=20 >_______________________________________________ >toaster mailing list >toaster@yoctoproject.org >https://lists.yoctoproject.org/listinfo/toaster