On Mon, Apr 1, 2019, 10:55 Vít Ondruch <vondruch@xxxxxxxxxx> 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 ...
For the actual script that generates the report, I added additional checks for --whatrecommends and --whatsuggests, too. So weak dependencies are covered (although there aren't any, from what I can tell).
Fabio
Vít
_______________________________________________
devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx
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@xxxxxxxxxxxxxxxxxxxxxxx
_______________________________________________ devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx 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@xxxxxxxxxxxxxxxxxxxxxxx