Re: repoquery-fu (was Re: Retiring the pcre package from Fedora)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Jul 22, 2022 at 11:47 PM Maxwell G <gotmax@e.email> wrote:
>
> On 22/07/22 10:24PM, Fabio Valentini wrote:
> > the script that determines leaf packages in the Rust SIG
>
> Can you provide a link to this?

I can, now that I've published it (again):
https://pagure.io/ironthree/fedora-rust-sig-leaf-check

It's based on the scripts that I used for analyzing the Java stack
back in the Stewardship SIG / java-maint-sig times, which I've
continued to improve over time.
As far as I know, the results it produces are now 100% correct (at
least only considering the fedora repositories that match the host
machine's architecture).

> It's actually possible to pass --whatrequires mutliple times with all of
> the dependencies, instead of running multiple queries. e.g.:
>
> sudo dnf repoquery --whatrequires pcre --whatrequires pcre-cpp --whatrequires pcre-devel --whatrequires pcre-static --whatrequires pcre-tools --whatrequires pcre-utf16 --repo=rawhide{,-source} -q | grep '\.src$' | sort | uniq
>
> This is quite a bit faster. I only just recently learned this, so I
> thought I'd pass it on :).

Oh, good to know. Not sure if I can incorporate this into my scripts
though, because they calculate dependency trees with single-package
granularity.

Fabio
_______________________________________________
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 on the list, report it: https://pagure.io/fedora-infrastructure




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Users]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]

  Powered by Linux