Skip to content
This repository has been archived by the owner on Dec 21, 2021. It is now read-only.

dbus crate replaced with zbus #152

Merged
merged 13 commits into from
May 17, 2021
Merged

dbus crate replaced with zbus #152

merged 13 commits into from
May 17, 2021

Conversation

siegfriedweber
Copy link
Member

Closes #148

@siegfriedweber siegfriedweber requested a review from a team May 10, 2021 09:07
@siegfriedweber siegfriedweber self-assigned this May 10, 2021
soenkeliebau
soenkeliebau previously approved these changes May 17, 2021
Copy link
Member

@soenkeliebau soenkeliebau left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM - left a few minor comments, but nothing that would prohibit this from being merged.
Ran integration tests those were successfull as well.

- run: rustup component add rustfmt
- run: cargo fmt --all -- --check

clippy_check:
runs-on: ubuntu-latest
steps:
- name: Install dbus dependencies
run: sudo apt-get install libdbus-1-dev libsystemd-dev pkg-config libdbus-1-3
- name: Install systemd dependencies
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Super nit: maybe we should just call this "Install dependencies" - I think pkg-config is just neccessary for creating the APT package, so not strictly related to dbus.

Copy link
Member Author

@siegfriedweber siegfriedweber May 17, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

pkg-config is necessary for libsystemd-sys and openssl-sys. So it is a good idea to give the step a more general name.

@@ -39,8 +39,8 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2.3.4
- name: Install dbus dependencies
run: sudo apt-get install libdbus-1-dev libsystemd-dev pkg-config libdbus-1-3
- name: Install systemd dependencies
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

see above

[[package]]
name = "async-compression"
version = "0.3.7"
version = "0.3.8"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There are a few dependency updates in here that are unrelated as far as I can tell?
Totally fine for me, just wanted to briefly point it out to make sure this was on purpose.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This was on purpose. There were several dependabot updates which forced me to rebase this branch and fix conflicts so I decided to just update everything and test the changes extensively.


/// Type of an entry in a changes list
#[derive(Debug, EnumString, EnumVariantNames, PartialEq)]
#[strum(serialize_all = "kebab-case")]
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

today I learned :)

Copy link
Member

@soenkeliebau soenkeliebau left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@siegfriedweber siegfriedweber merged commit 393cf2d into stackabletech:main May 17, 2021
@siegfriedweber siegfriedweber deleted the zbus branch May 17, 2021 14:06
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Replace the dbus crate with zbus
2 participants