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/e752163cdfb632f2fef4d63e3a61c480c83fc18b/item/doc/fedrq.1.scd#L123 > > ``` > *-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@xxxxxxx
Attachment:
signature.asc
Description: PGP signature
_______________________________________________ devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/devel@xxxxxxxxxxxxxxxxxxxxxxx Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue