[Toaster] [review-request] [toaster] V2 yocto bug1 5966

Damian, Alexandru alexandru.damian at intel.com
Tue Mar 25 10:17:24 PDT 2014


Taken in.

Alex


On Mon, Mar 24, 2014 at 11:55 AM, Barros Pena, Belen <
belen.barros.pena at intel.com> wrote:

>
> On 21/03/2014 19:44, "Lerner, Dave" <dave.lerner at windriver.com> wrote:
>
> >Pertains to bugzilla 5966 only,   Alex notes that 5914 is already
> >accepted.
> >
> >Branch: lerner/bz5966-size-minus-1
>
> This looks good from the interface side of things.
>
> Thanks!
>
> >(NOTE original branch 'lerner/fixes-031714' has been deleted)
> >
> >Changes in this version:
> >1) rebased to master per Alex's request,
> >2) replaced package object with scalar size variable as arg to
> >projecttags format_vpackage_rowclass, per Alex's recommendation on
> >another patch,
> >3) elimination of an unused parameter to format_vpackage_namehelp tag.
> >
> >Testing:
> >html5 validation: pass
> >ws-eol eliminated: pass
> >
> >Tested with qemux86 maching 'bitbake core-image-minimal core-image-sato'
> >builds.
> >Case 1: run-time dependency muted:
> >For core-image-sato build, selecting packages, then busybox package.
> >        verify that RDEPENDS dependencies {bash, eglibc,
> >update-alternatives-pkg} are muted with empty size cells and that this
> >correlates with those three package sizes set to -1 as checked by direct
> >queries in the database (due to sstate-cache data loss, dependencies
> >non-muted for core-imate-minimal)
> >
> >Case 2: run-time dependency not muted:
> >For core-image-minimal build, selecting packages, then busybox package.
> >        verify that RDEPENDS dependencies {bash, eglibc,
> >update-alternatives-pkg} are NOT muted
> >
> >Case 3: reverse runtime dependency muted:
> >For core-image-sato build,  navigating to busybox included page...
> >        verify that packagegroup-core-boot is muted and size cell empty
> >and that this package has size set to -1
> >
> >
> >> -----Original Message-----
> >> From: Damian, Alexandru [mailto:alexandru.damian at intel.com]
> >> Sent: Thursday, March 20, 2014 10:01 AM
> >> To: BARROS PENA, BELEN
> >> Cc: Lerner, Dave; Reyna, David; toaster at yoctoproject.org
> >> Subject: Re: [review-request] [toaster] yocto bugs 5966, 5914
> >>
> >> Hi,
> >>
> >> I took in:   bitbake: toaster: fix package size 1st sort order
> >>
> >>
> >> ​Can you please rebase:   bitbake: toaster: format packages with size =
> >>-1 on top of the
> >> latest master ?
> >>
> >> Thanks,
> >> Alex​
> >>
> >>
> >>
> >> On Thu, Mar 20, 2014 at 11:53 AM, Barros Pena, Belen
> >><belen.barros.pena at intel.com>
> >> wrote:
> >>
> >>
> >>       On 18/03/2014 22:39, "Lerner, Dave" <dave.lerner at windriver.com>
> >>wrote:
> >>
> >>       >Alex, Belen
> >>       >The commits in lerner/fixes-031714 are based and built on top of
> >>the
> >>       >commits of lerner/imageinfo.
> >>
> >>
> >>       Both fixes work for me. Thanks!
> >>
> >>
> >>
> >>       >-dave
> >>       >
> >>       >> -----Original Message-----
> >>       >> From: Lerner, Dave
> >>       >> Sent: Tuesday, March 18, 2014 5:27 PM
> >>       >> To: Damian, Alexandru (alexandru.damian at intel.com); Barros
> >>Pena, Belen
> >>       >> (belen.barros.pena at intel.com)
> >>       >> Cc: toaster at yoctoproject.org
> >>       >> Subject: [review-request] [toaster] yocto bugs 5966, 5914
> >>       >>
> >>       >> Branch: lerner/fixes-031714
> >>       >> Bugs:  5966, 5914
> >>       >>
> >>       >> Testing
> >>       >> -------
> >>       >> html5 validator check: yes
> >>       >> ws-before-eol: yes
> >>       >>
> >>       >> 5966 was validated for qemux86 sato busybox packages as per
> >>defect and
> >>       >>also on the
> >>       >> package list that appears when clicking core-image-sato from
> >>the build
> >>       >>dash boards.
> >>       >> Entries for virtual package dependencies were verified
> >>manually in the
> >>       >>database.
> >>       >>
> >>       >> 5914 was verified by deleting cookies, then clicking on Size
> >>column and
> >>       >>observing that
> >>       >> the sort order was descending.
> >>       >>
> >>       >>
> >>       >> Comments
> >>       >> --------
> >>       >> commit 8cc9470688a2e5a73bf180f5b9bd11aec7eae53a
> >>       >> Author: Dave Lerner <dave.lerner at windriver.com>
> >>       >> Date:   Tue Mar 18 15:37:36 2014 -0500
> >>       >>
> >>       >>     bitbake: toaster: format packages with size = -1
> >>       >>
> >>       >>     [YOCTO #5966]
> >>       >>
> >>       >>     Packages that have a size of -1 are virtual packages with
> >>limited
> >>       >>     information.  Such packages should be suppressed from the
> >>package
> >>       >>     list page for an image.  On dependency and reverse
> >>dependency lists
> >>       >>of
> >>       >>     package, such packages should appear in muted rows,
> >>without links,
> >>       >>     and with help information.
> >>       >>
> >>       >>     The formatting rules are encapsulated into projecttags
> >>filters when
> >>       >>     possible to minimize tests on size==-1 in the templates.  A
> >>       >>currently
> >>       >>     unused parameter is included in the filter
> >>format_vpackage_namehelp
> >>       >>to
> >>       >>     minimize future change to specific help text which may
> >>change to
> >>       >>     conform to referencing both the target and dependent
> >>packages'
> >>       >>names.
> >>       >>
> >>       >>     Testing the relevant pages with an HTML5 validator found a
> >>stray end
> >>       >>     tag in package_detail_base which has been fixed in this
> >>commit.
> >>       >>
> >>       >>     Signed-off-by: Dave Lerner <dave.lerner at windriver.com>
> >>       >>
> >>       >>  .../toastergui/templates/package_detail_base.html  |    2 +-
> >>       >>  .../templates/package_included_dependencies.html   |   14
> >>++++++++++---
> >>       >>  .../package_included_reverse_dependencies.html     |    6
> >>+++++-
> >>       >>  .../toaster/toastergui/templatetags/projecttags.py |   21
> >>       >>+++++++++++++++++++-
> >>       >>  bitbake/lib/toaster/toastergui/views.py            |    2 +-
> >>       >>  5 files changed, 38 insertions(+), 7 deletions(-)
> >>       >>
> >>       >> commit 50cf52db3443ecb66deed32d3c6e1897e9218e86
> >>       >> Author: Dave Lerner <dave.lerner at windriver.com>
> >>       >> Date:   Tue Mar 18 09:24:43 2014 -0500
> >>       >>
> >>       >>     bitbake: toaster: fix package size 1st sort order
> >>       >>
> >>       >>     [YOCTO #5914]
> >>       >>
> >>       >>     On the pages with tables listing packages with a size
> >>column,
> >>       >>change the
> >>       >>     first click sort order on the size column so that packages
> >>are
> >>       >>sorted in
> >>       >>     decreasing order instead of increasing order.  It is more
> >>likely
> >>       >>that
> >>       >>     the user sorts this page data by size because the user is
> >>       >>interested in
> >>       >>     those packages consuming the most disk space.
> >>       >>
> >>       >>     Signed-off-by: Dave Lerner <dave.lerner at windriver.com>
> >>       >>
> >>       >>  bitbake/lib/toaster/toastergui/views.py |    4 ++--
> >>       >>  1 file changed, 2 insertions(+), 2 deletions(-)
> >>       >
> >>
> >>
> >>
> >>
> >>
> >>
> >> --
> >>
> >> Alex Damian
> >> Yocto Project
> >>
> >> SSG / OTC
>
>


-- 
Alex Damian
Yocto Project
SSG / OTC
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/toaster/attachments/20140325/d21ad333/attachment.html>


More information about the toaster mailing list