lucab / zbus_systemd

A pure-Rust library to interact with systemd DBus services
https://docs.rs/zbus_systemd
25 stars 7 forks source link

codegen: org.freedesktop.sysupdate1 interface is missing #40

Open lucab opened 2 months ago

lucab commented 2 months ago

A new org.freedesktop.sysupdate1 interface has been added to the systemd suite in https://github.com/systemd/systemd/pull/32363. It will be first released in next major upstream version (257).

This is a reminder to add the relevant codegen config and generate the new sysupdate1 module, once the new upstream release is out.

AdrianVovk commented 2 weeks ago

Note that this dbus interface is going to be unstable in version 257, and subject to change

lucab commented 2 weeks ago

@AdrianVovk thanks for the heads-up! I think that's ok, zbus_systemd is version-locked with systemd. That is, the current v0.25600.0 matches systemd v256, and that way we can deal with interfaces changes across 257/258/etc.

AdrianVovk commented 2 weeks ago

Interesting. Unless otherwise stated (like sysupdated), systemd's dbus APIs are stable and backwards compatible. So in theory you don't need to version-lock like this