1.3 KiB
🚧🚧 WIP: Orphans v2
This is an effort by gotmax23 to rewrite/revamp the current tooling for the Fedora Orphaned Packages Process. More details to come. I was originally going to incubate this on Codeberg, but they were having an outage, so I am creating this directly on Fedora Forge. This is a WIP so expect bad commit hygiene and frequent changes. This current code mostly focusses on the dependency resolution portion. Other parts, including report generation, are WIP. See the issue tracker.
Goals and motivation
This rewrite was inspired by adamwill's rmdepcheck tool (specifically the --removes feature) that figured out a much better way to perform the type of dep checking we need here using dnf repoclosure. This script expands on that approach (see the depsolve.py docstring for a more in depth explanation). The rewrite goals include cleaner, more organized code, porting to fedrq + dnf5, improving the current report formats, and eventually making it possible to create useful reports for individual packagers about their affected packages (see https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/message/RWYYBTJ3MCN4YDUS6CKUCIUXYL6HCSSK/). Also it would be nice if it didn't take 15+ minutes to run!
License
GPL-2.0-or-later. See the LICENSE.md file.