Package size should not be "-1 B" in reverse runtime dependencies. Tested in 463cd34f8c17c67c4f3adf3468424730b22f3974.
Created attachment 1814 [details] Package size should not be "-1 B" in reverse runtime dependencies.
This is also happening in the table of packages installed. Assigning to Dave, since he worked on both.
There are both -1 and 0 values in the database. See the example that Yuan found.
Two notes from Belen Barros Pena from email, recapping the design visual and also the database flags that trigger the visual, provided below with Belen's permission: On Mar 18, 2014, 10:27 Chicago (CDT or CST) Belen wrote: > So packages with size=-1 should not display in any of the tables (packages > built or included) because they are not built and therefore they are not > installed in any target. They should not show in the Packages tab of the > recipe details page either, since they are not built by any recipe. > > They should only show in the dependency tabs in the package details pages, > since we only collect information about them in order to be able to > provide full details about the dependency chain. In those tabs, packages > with size=-1 are the ones that should show: > > * with the .muted class applied > * with the Size cell empty > * and they are not links > On Mar 18, 2014 11:28 Chicago (CDT? CST?) Belen continued: > FWIW, it is what page 8 of this document > > https://bugzilla.yoctoproject.org/attachment.cgi?id=1749 > > and page 9 of this document > > https://bugzilla.yoctoproject.org/attachment.cgi?id=1684 > > tried to explain, but when I wrote the specs we were not using the > size==-1 trick, so no mention of it anywhere of course. > > Now, it is not exactly the same either, since there might packages built > but not installed which will not have size==-1 and will still display with > the .muted class and no size information in the installed package details > page.
commit 7fa51314bdac0afccf2ddd6f57581eec7d78d57f
Verified in 3e528d3e4bc542ca2f654c54363c56af0fb9f61b.