Hi team,
In my adventures packaging apps for TW, I have a common use-case for zypper search, where I want to find dependencies of a package, or packages which depend on a package, eg:
zypper se --requires foo
or
zypper se --requires-pkg foo
Trouble is, to find all of the dependencies requires me to run several searches, looking for each of the different dependency types:
--(provides|requires|recommends|supplements|conflicts|obsoletes|suggests) DEPENDENCY
--(provides|requires|recommends|supplements|conflicts|obsoletes|suggests)-pkg PACKAGE
This makes it very cumbersome to find out answer to questions like "what is pulling in this package?" or "what packages will this pull in?", as it requires 7 or 14 commands to get the job done.
It would be really nice if we had a single arg, which searched for any or all of these dependency types! This way instead of doing:
zypper se --provides foo
zypper se --requires foo
zypper se --recommends foo
zypper se --supplements foo
zypper se --conflicts foo
zypper se --obsoletes foo
zypper se --suggests foo
I could just do for example:
Thanks!
Hi team,
In my adventures packaging apps for TW, I have a common use-case for
zypper search, where I want to find dependencies of a package, or packages which depend on a package, eg:zypper se --requires fooor
zypper se --requires-pkg fooTrouble is, to find all of the dependencies requires me to run several searches, looking for each of the different dependency types:
--(provides|requires|recommends|supplements|conflicts|obsoletes|suggests) DEPENDENCY--(provides|requires|recommends|supplements|conflicts|obsoletes|suggests)-pkg PACKAGEThis makes it very cumbersome to find out answer to questions like "what is pulling in this package?" or "what packages will this pull in?", as it requires 7 or 14 commands to get the job done.
It would be really nice if we had a single arg, which searched for any or all of these dependency types! This way instead of doing:
I could just do for example:
Thanks!