On Tue, Nov 22, 2022 at 10:44 PM the Mulhern <amulhern(a)redhat.com> wrote:
Thanks!
I have now used the script with success for f37, I believe.
I _think_ it would be helpful to release the script.
But the big obstacle for me was that I was not sure what it depended
on and whether it was safe to run in my development environment or
whether I ought to run it in a mock environment for most correct
results. I'm still not sure; I ran it directly in my development
environment.
I was not sure why '--installroot' was specified, and dnf man pages
didn't help me figure that out.
I knew the script existed, and had indeed tried to run it previously.
But that had failed, presumably because I didn't have rawhide-related
repo files in my /etc/yum.repos.d directory.
Right, when querying for rawhide it assumes that fedora-repos-rawhide
is installed.
I've now rewritten the script in Python, added support for querying
arbitrary releases, and submitted it for inclusion in rust2rpm:
https://pagure.io/fedora-rust/rust2rpm/pull-request/233
Not sure if it could be made more user-friendly or more helpful, so
I'm open to suggestions.
Fabio