Guess what? The bodhi client code is changing in rawhide (and only rawhide for now)!
AFAIK, the current plan is that current rawhide and f26+ will have the new, backwards-incompatible bodhi client code but that change in rawhide is imminent.
Look through the changes and determine what changes we have to make to our projects. File project-specific tickets if changes are needed.
One of the big problems for #libtaskotron is going to be that the client libraries will not be upgraded on f25 and older.
That means we'll have to figure out a way to either detect the client version and switch off it or find code that works with both client libraries
This is the current state:
$ pkgwat releases bodhi +---------------+-----------------+----------------------+ | release | stable_version | testing_version | +---------------+-----------------+----------------------+ | Rawhide | 2.2.4-1.fc26 | None | | Fedora 25 | 0.9.12.2-5.fc25 | None | | Fedora 24 | 0.9.12.2-4.fc24 | None | | Fedora 23 | 0.9.12.2-3.fc23 | None | | Fedora EPEL 7 | 0.9.8-4.el7 | 2.2.4-1.el7 0 karma | | Fedora EPEL 6 | 0.9.12.2-1.el6 | 0.9.13-2.el6 0 karma | | Fedora EPEL 5 | None | None | +---------------+-----------------+----------------------+
I've looked at bodhi-2.2.4-1.fc24 (it's built even for F24 in Koji, just not pushed to updates). It depends on the same version of python-fedora, there's nothing considerably newer in Rawhide:
bodhi-2.2.4-1.fc24
python-fedora
$ pkgwat releases python-fedora +---------------+-----------------------+-----------------+ | release | stable_version | testing_version | +---------------+-----------------------+-----------------+ | Rawhide | 0.8.0-2.fc25 | None | | Fedora 25 | 0.8.0-2.fc25 | None | | Fedora 24 | 0.8.0-1.fc24 | None | | Fedora 23 | 0.8.0-1.fc23 (update) | None | | Fedora EPEL 7 | 0.7.1-2.el7 | None | | Fedora EPEL 6 | 0.5.6-1.el6 | None | | Fedora EPEL 5 | None | None | +---------------+-----------------------+-----------------+
So the import fedora.client.bodhi API didn't seem to change. The only thing that seems to have changed is /usr/bin/bodhi command line tool. You can now import it (import bodhi.client) and it was most probably updated to work well with Bodhi2. There's also a new python2-bodhi RPM now, but that's completely empty at the moment.
import fedora.client.bodhi
/usr/bin/bodhi
import bodhi.client
python2-bodhi
So overall, if you use import fedora.client.bodhi in your code, nothing has changed (at least it seems). Only if you used the /usr/bin/bodhi command line tool, then things have changed. In #libtaskotron we don't, so I'm removing the project from here. Not sure about #blockerbugs.
Metadata Update from @frantisekz: - Issue close_status updated to: Invalid
This issue has been migrated to Fedora Forge: https://forge.fedoraproject.org/quality/blockerbugs/issues/59
Please continue any further discussion there.
Log in to comment on this ticket.