On 01. 04. 19 10:55, Vít Ondruch wrote:

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 ...

Also, by definition, those are optional deps and hence I don't think this SIG should care much.

--
Miro Hrončok
--
Phone: +420777974800
IRC: mhroncok
_______________________________________________
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org

Reply via email to