Open lleyton opened 2 years ago
Rewrite it in Rust. However that means we deal with libdnf.
however, rpm-ostree is already written in rust (partially) so we can take a look at how it works over there
It depends if the rpm-ostree dbus interface provides search functionality or not. Hopefully it does so we don't have to worry about binding to libdnf, although if that isn't the case, it shouldn't be too much of an issue.
The rpm-ostree UX story... isn't great, the interface is extremely lacking compared to modern package mangers. We already have an alternative, LPM, but it relies on both the DNF Python library and rpm-ostree through dbus, which has led to inconsistencies between what LPM and rpm-ostree reports. I think we should consider a refactor to remove the DNF dependency or maybe an entire rewrite in Rust or Go, since we don't need to use Python for the DNF binding in this case.