I was told there's '--whatrequires --alldeps'  option, but that doesn't
show the soft dependents. It would be fine to have something which
covers also soft deps too.
A request to list all kind of dependencies seems to be very common.
After a discussion we've come up with a proposal to create --depends and --whatdepends options with a similar meaning as --requires/--whatrequires which will include all types of dependencies (hard, weak and very weak).
FTR (I learned that today) there was a bug 84176 where 'rpm --whatdepends' was
also proposed (with a slightly different semantics). CCing RPM maintainer as
implementing this option differently in RPM/DNF could cause confusion.
The way I see it, --depends/whatdepends as a name for a selector for all the dependency variants seems remarkably sane. Never mind bug 84176, that happened a long time ago in a galaxy far far away.
And like with --whatrequires etc, whether the dependency tokens are actually resolved to providing packages should be another switch (eg --alldeps/exactdeps or whatever the exact names were).
ok, we will do that. Thanks for opinion
I created a patch (https://github.com/rpm-software-management/dnf/pull/960) that provides requested functionality.
The issue is solved by dnf-3.0.1-1 that was released into rawhide.