Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

flatpak-builder: add support for D-Bus tests #83

Merged
merged 1 commit into from
Oct 1, 2022

Conversation

andyholmes
Copy link
Contributor

If the run-test input is true, automatically start a session bus and add
DBUS_SESSION_BUS_ADDRESS environment variable when modifying the manifest.

fixes #25

@andyholmes andyholmes marked this pull request as draft June 22, 2022 00:35
@andyholmes andyholmes force-pushed the dbus-tests branch 2 times, most recently from fd36b6a to d8eada3 Compare June 22, 2022 00:43
@andyholmes
Copy link
Contributor Author

This is not terribly elegant, but I didn't want to refactor a bunch of the code flow and make it too difficult to review. I believe all the potential exceptions are caught, though.

@andyholmes andyholmes marked this pull request as ready for review June 22, 2022 00:47
@bilelmoussaoui
Copy link
Member

it looks pretty good to me! before getting this one merged, I would like to tackle #60 as the repo was moved to the Flatpak repo and we would like to keep only the base image here and have the runtime ones produced by Flathub itself along with something like flathub-publish

If the `run-test` input is `true`, automatically start a session bus and add
`DBUS_SESSION_BUS_ADDRESS` environment variable when modifying the manifest.
@GeorgesStavracas
Copy link
Member

The codespell check seems not to be correct nor related to this PR, so we can merge it and figure out what to do with Codespell after.

@GeorgesStavracas GeorgesStavracas merged commit 3bfba73 into flatpak:master Oct 1, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Testing dbus services / clients
3 participants