SUMMARY Support 'short' format for classic ostree ref, omitting the remote (default): fedora/39/x86_64/kinoite instead of fedora:fedora/39/x86_64/kinoite STEPS TO REPRODUCE 1. Rebase to fedora/39/x86_64/kinoite on Kinoite 2. rpm-ostree backend exists with an error. OBSERVED RESULT rpm-ostree backend exists with an error. EXPECTED RESULT rpm-ostree backend works. SOFTWARE/OS VERSIONS Linux/KDE Plasma: Fedora KDE Plasma Version: 5.27.10
Copied from chat to preserver history: We need a new branch in the Classic case: https://invent.kde.org/plasma/discover/-/blob/master/libdiscover/backends/RpmOstreeBackend/OstreeFormat.cpp?ref_type=heads#L21 Then we need to add the logic to figure out what the default remote is otherwise it's going to fail later. Another short term workaround (as we're the only users of this code) is to hardcode "fedora" as origin if it's not there. It's what's done already in some other places.
Git commit d590508957e20982f451238cbfa51a6f54674353 by Timothée Ravier, on behalf of Tushar Hero. Committed on 22/12/2023 at 12:28. Pushed by ravier into branch 'merge-requests/723/head'. rpm-ostree: Add additional case for classic ostree image format See: https://bugs.kde.org/show_bug.cgi?id=478759 M +16 -6 libdiscover/backends/RpmOstreeBackend/OstreeFormat.cpp https://invent.kde.org/plasma/discover/-/commit/d590508957e20982f451238cbfa51a6f54674353
A possibly relevant merge request was started @ https://invent.kde.org/plasma/discover/-/merge_requests/725