On Mon Feb 13, 2023 at 17:05 +0100, Kevin Kofler via devel wrote:
Maxwell G via devel wrote:
> ```
> $ fedrq whatrequires -X -F source $(fedrq subpkgs SRCNAME) # equivalent
> $ fedrq subpkgs SRCNAME | fedrq whatrequires -X -i -F source # equivalent
> ```
Since your mail does not document what the -X flag does:
Quoting:
https://git.sr.ht/~gotmax23/fedrq/tree/e752163cdfb632f2fef4d63e3a61c480c8...
```
*-X*, *--exclude-subpackages*
Filter out reverse dependencies that are built from the same source
package as _any_ of the input packages. See the whatrequires EXAMPLES.
```
Thanks :). Here's an example of why this is useful:
```
$ fedrq whatrequires podman.x86_64
buildah-tests-1.29.0-1.fc38.x86_64
[...]
podman-compose-1.0.3-7.fc38.noarch
podman-docker-4:4.4.0~rc2-2.fc38.noarch
podman-quadlet-4:4.4.0~rc2-2.fc38.x86_64
podman-tests-4:4.4.0~rc2-2.fc38.x86_64
python3-mrack-podman-1.12.3-5.fc38.noarch
quadlet-0.2.4-4.fc38.x86_64
retrace-server-1.24.2-2.fc38.src
[...]
```
If you're trying to query for what requires podman, you might
not want other podman subpackages in the output.
--
Maxwell G (@gotmax23)
Pronouns: He/They
NEW EMAIL: maxwell(a)gtmx.me