Skip to content

Migration to erlang-dbus/next - #3

Open
jeanparpaillon wants to merge 27 commits into
mpotra:mainfrom
jeanparpaillon:next
Open

Migration to erlang-dbus/next#3
jeanparpaillon wants to merge 27 commits into
mpotra:mainfrom
jeanparpaillon:next

Conversation

@jeanparpaillon

Copy link
Copy Markdown

First, thank you for the huge work on ex_dbus.
The DSL is really nice !

This is a big PR that builds ex_dbus on top of refreshed erlang-dbus
I rewrote erlang-dbus, trying to make it more robust (more tested), easier to use:

  • clear separation of layers : transport, auth, serialization... and applications
  • `85% test coverage, tested on 3 latest OTP versions

So, I started adapting ex_dbus to this new version of erlang-dbus
Of course, with such rewrite, I introduce a lot of changes, sometimes with my personal opinion.

I'd really appreciate your feedback.

I think I understand most of your choices. When building Service, however, I hardly figure out how the Router protocol, the schema based dispatching and process based objects articulate. I kept the API to register objects on service, but events are not dispatched to them. Do you confirm this is still wip ?

CI should take care of retro-compatibility, if any
Prefer to use latest elixir and erlang versions for developing
With current elixir version, saxy v1.4.x produces lot of compilation warnings
Add top-level ExDBus module
Let's consider this application is the DBus library for elixir
Router protocol depends on a struct
DBus.Service is the base module for building D-Bus services
It integrates Schema and Routing for dispatching events
DBus.Bus handle name registration and PubSub suscription for Service
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.

1 participant