[Toaster] [review request V2] toaster: add rev dep column to image detail pages
Dave Lerner
dave.lerner at windriver.com
Wed Mar 23 15:28:31 PDT 2016
COMMENT: Version 2 has a correct comment to pkg_...popover.html
Poky Contrib Branch: None for this change, use patches
Target Branches: toaster-next master
Defect: 9163
Summary: toaster: add rev dep column to image detail pages
Commit
------
dc53c25 toaster: add rev dep column to image detail pages
bitbake/lib/toaster/orm/models.py | 7 +++++++
bitbake/lib/toaster/toastergui/tables.py | 6 ++++++
.../templates/snippets/pkg_revdependencies_popover.html | 15 +++++++++++++++
3 files changed, 28 insertions(+)
Tests
-----
create myproject
New Custom Image
name it myminimal,
base it on core-image-minimal
build it
All Projects| Custom Images| myminimal
verfiy that "Reverse dependencies" column does NOT appear
verify that "Reverse dependencies" column can be added
Enable "Reverse dependencies" column
verify that some of the packages show a button in the reverse
dependency column similar to dependencies containing the number
of reverse dependencies.
Enter glibc on the customise image screen
Click on the count button in Rev Dep column
verify a pop-up appears saying
glibc reverse dependencies - 2.5 MB
with a list of 9 packages, adding up to 2.5 MB in size
busybox, eudev, libkmod, sysvinit, sysvinit-pidof, util-linux-libblkid,
util-linux-libuuid, v86d, zlib
All Builds | myminimal | Packages
Enter glibc | click on glibc | Reverse Runtime dependencies
Verify names, count, sizes match the custom image page results above.
All Projects | Custom images | myminimal
In the About myminimal panel, click core-image-minimal
Build it as requested
Now repeat...
All Projects | Custom images | myminimal
In the About myminimal panel, click core-image-minimal
Verify that Reverse Dependencies does NOT appear
Click Edit columns | check Reverse dependencies
Verify Reverse Depencency column appears
Enter glibc | click on the Rev. Dep. column
Verify count, names, size are as shown on the Add | Remove page
END TESTS
More information about the toaster
mailing list