Re: Script to get all deps of a package (for soname bumps etc.)

2022-07-20 Thread Ankur Sinha
On Mon, Jul 18, 2022 06:52:26 -0500, Richard Shaw wrote: > Hi Richard, Thanks very much for sharing your script. > I use this script which I'm pretty sure I pieced together from some of > Sergio's > logic some time ago. I like that it saves them to a file so I can iterate over > them with othe

Re: Script to get all deps of a package (for soname bumps etc.)

2022-07-18 Thread Ankur Sinha
On Wed, Jul 13, 2022 12:54:37 -0500, Maxwell G wrote: > On 22/07/13 05:35PM, Ankur Sinha wrote: > > > This is what we (I) aren't sure of, and that's why I first obtain the > > capabilities manually and then query for them. If someone can confirm > > that this is indeed the case, that would certainl

Re: Script to get all deps of a package (for soname bumps etc.)

2022-07-13 Thread Maxwell G via devel
On 22/07/13 05:35PM, Ankur Sinha wrote: > > This is what we (I) aren't sure of, and that's why I first obtain the > capabilities manually and then query for them. If someone can confirm > that this is indeed the case, that would certainly simplify things. Here is confirmation: ``` sudo dnf repoqu

Re: Script to get all deps of a package (for soname bumps etc.)

2022-07-13 Thread Iñaki Ucar
On Wed, 13 Jul 2022 at 18:43, Stephen Smoogen wrote: > > > > On Wed, 13 Jul 2022 at 12:25, Iñaki Ucar wrote: >> >> On Wed, 13 Jul 2022 at 18:13, Robbie Harwood wrote: >> > >> > Maxwell G via devel writes: >> > >> > > I believe Miro uses this for the FTI bugs. It tends to be more accurate, >> >

Re: Script to get all deps of a package (for soname bumps etc.)

2022-07-13 Thread Ankur Sinha
Hello, Thanks for that---some really useful bits in there that I wasn't aware of. On Wed, Jul 13, 2022 10:09:10 -0500, Maxwell G wrote: > I don't think you need to do all of this. With > > ``` > sudo dnf repoquery --repo=rawhide -q --whatrequires dcmtk | xargs sudo dnf > repoquery --repo=rawhid

Re: Script to get all deps of a package (for soname bumps etc.)

2022-07-13 Thread Stephen Smoogen
On Wed, 13 Jul 2022 at 12:25, Iñaki Ucar wrote: > On Wed, 13 Jul 2022 at 18:13, Robbie Harwood wrote: > > > > Maxwell G via devel writes: > > > > > I believe Miro uses this for the FTI bugs. It tends to be more > accurate, > > > especially when there hasn't been a compose for a couple days. If

Re: Script to get all deps of a package (for soname bumps etc.)

2022-07-13 Thread Iñaki Ucar
On Wed, 13 Jul 2022 at 18:13, Robbie Harwood wrote: > > Maxwell G via devel writes: > > > I believe Miro uses this for the FTI bugs. It tends to be more accurate, > > especially when there hasn't been a compose for a couple days. If this > > is something people are interested in, I think it's wor

Re: Script to get all deps of a package (for soname bumps etc.)

2022-07-13 Thread Robbie Harwood
Maxwell G via devel writes: > I believe Miro uses this for the FTI bugs. It tends to be more accurate, > especially when there hasn't been a compose for a couple days. If this > is something people are interested in, I think it's worthwhile to > include this repo definition in fedora-packager. A

Re: Script to get all deps of a package (for soname bumps etc.)

2022-07-13 Thread Maxwell G via devel
On 22/07/13 02:19PM, Ankur Sinha wrote: > Hi folks, > > I'm sure this exists somewhere but I couldn't find one, 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,

Re: Script to get all deps of a package (for soname bumps etc.)

2022-07-13 Thread Sérgio Basto
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