Notice if there are explicitly installed build/opt deps remaining
Is your feature request related to a problem? Please describe.
Build and optional dependencies have to be marked as explicitly-installed in order to remain installed during normal package management (which includes removing orphans). When a package is removed or updated (with changes in dependencies), its explicitly installed dependencies are preserved even though some of them might not be needed anymore.
Describe the solution you'd like
Yay could help finding such stray packages during package update and removal. It should detect changes in explicitly-installed dependencies and warn about ones that become fully independent (are not any kind of dependency of any other package).
Describe alternatives you've considered
Additional context
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
This is still relevant and a needed feature.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Still relevant.