The idea of showing dependencies is interesting but it would results in confusing UI for the lambda user who could think that if a library appears twice, it is actually downloaded twice. I would prefer to have that dependencies info in a tab of HaikuDepot when selecting a package as it is done for files contained list.
I think that people who are not updating often and have a long list of packages are more concerned by the time it will take. They may find more useful to have an estimated time for whole update. .
As @PulkoMandy alerady pointed out, the package dependency is rather a tree than a grouping. And this is in an ideal case. So, presenting it the way you suggest may be difficult. Additionally, the package dependencies may also have their own 2nd level dependencies and so on.
The information of some package dependencies is good. And HaikuDepot shows an alert when a package needs some other packages installed in order to work.
Maybe it would be helpful to add (or is it already available) to HaikuDepot an option to sort packages by their status (not installed / installing / removing / installed) so all currently being installed packages are shown together?
That the dependency is a tree is irrelevant. It will be presented like pkgman update package:
/> pkgman update webpositive
The following changes will be made:
upgrade package haiku-r1~beta2_hrev55009-1 to r1~beta3_hrev55234-1 from repository Haiku
upgrade package tar-1.33-1 to 1.34-1 from repository HaikuPorts
upgrade package libedit-20180525_3.1-2 to 20210419_3.1-1 from repository HaikuPorts
upgrade package expat-2.2.10-1 to 2.4.1-1 from repository HaikuPorts
upgrade package libxml2-2.9.10-4 to 2.9.12-1 from repository HaikuPorts
upgrade package libxml2_devel-2.9.10-4 to 2.9.12-1 from repository HaikuPorts
upgrade package haikuwebkit-1.7.1-1 to 1.8.2-1 from repository HaikuPorts
upgrade package haiku_devel-r1~beta2_hrev55009-1 to r1~beta3_hrev55234-1 from repository Haiku
upgrade package webpositive-r1~beta2_hrev55009-1 to r1~beta3_hrev55234-1 from repository Haiku
The proposal is for SoftwareUpdater, not HaikuDepot.