On Wed, 2022-07-13 at 14:19 +0100, Ankur Sinha wrote:
> Hi folks,
> 
> I'm sure this exists somewhere but I couldn't find one, 

(IMHO) The script that give really all deps is
find_unblocked_orphans.py from
https://pagure.io/releng/blob/main/f/scripts/find_unblocked_orphans.py
, you can use it with option --skip-orphans 
for example :
find_unblocked_orphans.py --max_deps 30 --skip-orphans glib

It is used by Miro to generate the weekly reports for orphans packages
.

I'm still working in some improvements of the script , which aren't
finished yet (neither published)

> so with the help
> of folks on #fedora-devel, I hacked up this simple shell script to
> get
> the all the deps of a package. It's useful when your package update
> includes a soname bump, and you need to figure out what packages need
> to
> be rebuilt etc.
> 
> https://pagure.io/fedora-get-package-dependencies/blob/main/f/get_deps.sh
> 
> It lists all the capabilities of the package, and then asks dnf to
> list
> what packages require any of them. It should cover most cases.
> 
> If someone has a better script, please do share it, and please feel
> free
> to improve this one too. I'm more than happy to give everyone access
> to
> the repo and/or hand it over to a particular package maintainers
> related
> pagure group.
> 
> Ideally, a script of this form should be noted in the package-
> maintainer
> docs so we can all use it.
> 
> _______________________________________________
> devel mailing list -- devel@lists.fedoraproject.org
> To unsubscribe send an email to devel-le...@lists.fedoraproject.org
> 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@lists.fedoraproject.org
> Do not reply to spam on the list, report it:
> https://pagure.io/fedora-infrastructure

-- 
Sérgio M. B.
_______________________________________________
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
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@lists.fedoraproject.org
Do not reply to spam on the list, report it: 
https://pagure.io/fedora-infrastructure

Reply via email to