Dne 30. 03. 19 v 10:53 Miro Hrončok napsal(a):
On 29. 03. 19 22:25, Fabio Valentini wrote:
> Dependency Checks
> -----------------
>
> Also, I've tried to run some repoqueries to determine which of our
> packages are
> leaf packages that could be retired eventually. However, running
> repoqueries on
> f29 against the rawhide repos crashed dnf for some reason ... so I can't
> automate that easily, yet.
>
> I've tried coming up with a repoquery call that lists all packages that
> (Build)Require some given argument package, which we could then use
> to prune the
> list of packages maintained by this SIG. Can somebody please
> sanity-check what I
> did here [2] and here [3]? It would be good if we had a "correct"
> version of
> those dependency checks. PRs to fix/improve those scripts are very
> welcome.
I always go with (only use one repo if you want only that kind of info:
$ dnf repoquery --repo=rawhide --repo=rawhide-source --whatrequires xxx
Alternatively, this gives source packages that require on runtime:
$ dnf repoquery --repo=rawhide --source --whatrequires xxx
(You need fedora-repos-rawhide installed.)
May be you should consider replacing --whatrequires by --whatdepends to
support weak dependencies ...
Vít