Return-Path: Received: by yocto-www.yoctoproject.org (Postfix, from userid 118) id D21ABE00931; Wed, 23 Mar 2016 04:43:11 -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 * [134.134.136.24 listed in list.dnswl.org] * -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% * [score: 0.0000] Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id 72471E00920 for ; Wed, 23 Mar 2016 04:43:09 -0700 (PDT) Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by orsmga102.jf.intel.com with ESMTP; 23 Mar 2016 04:43:08 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.24,382,1455004800"; d="scan'208";a="71757108" Received: from irsmsx154.ger.corp.intel.com ([163.33.192.96]) by fmsmga004.fm.intel.com with ESMTP; 23 Mar 2016 04:43:08 -0700 Received: from irsmsx110.ger.corp.intel.com ([169.254.15.10]) by IRSMSX154.ger.corp.intel.com ([169.254.12.174]) with mapi id 14.03.0248.002; Wed, 23 Mar 2016 11:43:06 +0000 From: "Barros Pena, Belen" To: "Lerner, David M (Wind River)" , "toaster@yoctoproject.org" , "Smith, Elliot" Thread-Topic: [Toaster] [V3 review-request] show and delete recursive list of reverse dependencies Thread-Index: AQHRhPkpafgxzTK4Dk+z8Hp0LSnbtQ== Date: Wed, 23 Mar 2016 11:43:05 +0000 Message-ID: References: <1458662168-25882-1-git-send-email-dave.lerner@windriver.com> In-Reply-To: <1458662168-25882-1-git-send-email-dave.lerner@windriver.com> Accept-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: user-agent: Microsoft-MacOutlook/14.6.2.160219 x-originating-ip: [10.237.224.41] MIME-Version: 1.0 Subject: Re: [V3 review-request] show and delete recursive list of reverse dependencies 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, 23 Mar 2016 11:43:11 -0000 Content-Language: en-US Content-Type: text/plain; charset="iso-8859-1" Content-ID: <9634B401769479408326ACAD9E4CA749@intel.com> Content-Transfer-Encoding: quoted-printable On 22/03/2016 15:56, "toaster-bounces@yoctoproject.org on behalf of Dave Lerner" wrote: > >Target Branch: toaster-next master >Contrib Branch: poky-contrib/dlerner/9121-delete-dependent-package-tree >Defect: 9121 This seems to work like a charm. Thanks! Bel=E9n >Summary: show and delete recursive list of reverse dependencies > >Comment >------- >Version 3: Shorter sanity tests run here. This version 3 is only a rebase >against toaster-next. No patches were changed. > >Commit >------ >aa742e6 toaster: get all dependents for pkg for removal >1c86b2b toaster: new customise package-remove modal dlg >6cff5de toaster: show full list of dependents to remove >=20 > .../toaster/toastergui/static/js/customrecipe.js | 72 +++++++++++++++-- > .../toaster/toastergui/templates/customrecipe.html | 5 +- > bitbake/lib/toaster/toastergui/views.py | 91 >+++++++++++++++++++--- > 3 files changed, 148 insertions(+), 20 deletions(-) > > >SETUP: >----- >Start toaster with empty build directory, sstate-cache >Create a new project, 'myproject' >Build core-image-sato > >CASE Remove reverse dependency package that was part of original base >image >------------------------------------------------------------------ >Create new custom image on core-image-sato, named mysato >Remove libcrypto > Verify that "39 packages will be removed" are reported and that the > packages are unique and in alpha order > [V3] Verify that the notification shows >"You have removed libcrypto and its 39 reverse dependencies: >gst-player-bin, gstreamer1.0-plugins-bad-dtls, >gstreamer1.0-plugins-bad-meta, gstreamer1.0-plugins-bad-opengl, >libegl-mesa and 34 more" > > > >CASE Test no interference removing from a 2nd custom image in project >---------------------------------------------------------------------- >New custom-image based on core-image-sato 'myminimal' >Build it >Add atk which is dependant on glib-2.0, libffi, libpcre (bash appears but >this >is busybox system, so don't think that dependency will apply - maybe bug >unrelated to this work). >Build myminimal again. >Verify that atk, libffi, libpcre, glib-2.0 have files in the file system >For custom image myminimal, enter libpcre, remove package > Verify modal dlg notes libpcre atk and glib-2.0 will be removed Remove > Verify that banner shows >"You have removed 3 packages form myminimal: libpcre >and its 2 reverse depenencies: atk, glib-2.0" >Build > Verify atk, glib2.0 and libpcre are removed. >--=20 >_______________________________________________ >toaster mailing list >toaster@yoctoproject.org >https://lists.yoctoproject.org/listinfo/toaster