COVESA / COVESA/ifex

The plan, and current status of D-Bus support

Open
#69 4 comments 0 reactions 0 assignees View on GitHub
Design
Dominant language
Python
Stars
24
Forks
24
PR merge metrics
No merged PRs in 30d

Description

**Plan for D-Bus**

Required:
- Write a document to describe the features of D-Bus and how to map types/features.
- Implement IFEX Core IDL to D-Bus XML Introspection format translator/generator.

Nice to have:
- D-Bus XML to IFEX translator (opposite direction). (As most things, it will be prioritized if it is needed by someone).
- Make it easy to run a C++ code generator on the result:
- Leveraging [sdbus-cpp](https://github.com/Kistler-Group/sdbus-cpp) seems a likely candidate - it includes the XML-to-C++ generator.
- Do the same for maybe one other option (Rust generator [zbus_xmlgen](https://github.com/dbus2/zbus/blob/main/zbus_xmlgen/README.md) as generator, binding against [zbus](https://github.com/dbus2/zbus) library).

Not planned:
- Additional bindings/languages

(Creating a few scripts/configurations to run the XML-to-code generation tools within IFEX repository is mostly to prove that the XML output actually works (and it might be part of unit/regression tests). We are however unlikely to implement additional bindings beyond sdbus/C++ and one other within the IFEX project itself - it is trivial to do it on your own, for those that need that. Most environments ought to be able to use the XML description format as input so that's the extent of the required work for IFEX)

To be determined:

- Advanced support would suggest additional Layer Types to configure how each thing is translated - e.g. for properties there is the possibility to enable a change-signal or not, and so on.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.