documenting object associations
Hi all
I recently submitted a patch[1] that tries to establish a mechanism for documenting our DBus object associations[2].
The patch has been merged - I am sending this simply to highlight the change and to encourage everyone to document your past, present and future associations using this mechanism. In case you missed the review feel free to reply here with suggestions for improvements.
thx - brad
[1] https://gerrit.openbmc-project.xyz/c/openbmc/phosphor-dbus-interfaces/+/47463
[2] https://github.com/openbmc/docs/blob/master/architecture/object-mapper.md#associations
Quoted 9 lines · Brad Bishop
Hi all
I recently submitted a patch[1] that tries to establish a mechanism for documenting our DBus object associations[2].
The patch has been merged - I am sending this simply to highlight the change and to encourage everyone to document your past, present and future associations using this mechanism. In case you missed the review feel free to reply here with suggestions for improvements.
Seems unfortunate that there's duplication :/ Is there a way to resolve it?
Andrew
Quoted 8 lines · Andrew Jeffery
Quoted 5 lines · Brad Bishop
Hi all
I recently submitted a patch[1] that tries to establish a mechanism for documenting our DBus object associations[2].
Quoted 6 lines
Quoted 4 lines
The patch has been merged - I am sending this simply to highlight the change and to encourage everyone to document your past, present and future associations using this mechanism. In case you missed the review feel free to reply here with suggestions for improvements.
Seems unfortunate that there's duplication :/ Is there a way to resolve it?
Right, I assume you mean that name and reverse_name are sort of duplicated in both interfaces. We could drop the reverse_names - it probably isn't useful to know the reverse traversal association in the context of the origin interface? Now that you have me thinking about it reverse_name is kind of an artifact of how associations are implemented.
Quoted 14 lines · Brad Bishop
Quoted 13 lines · Andrew Jeffery
Quoted 9 lines · Brad Bishop
Hi all
I recently submitted a patch[1] that tries to establish a mechanism for documenting our DBus object associations[2].
The patch has been merged - I am sending this simply to highlight the change and to encourage everyone to document your past, present and future associations using this mechanism. In case you missed the review feel free to reply here with suggestions for improvements.
Quoted 7 lines
Quoted 1 line
Seems unfortunate that there's duplication :/ Is there a way to resolve it?
Right, I assume you mean that name and
reverse_nameare sort of duplicated in both interfaces. We could drop thereverse_names- it probably isn't useful to know the reverse traversal association in the context of the origin interface? Now that you have me thinking about itreverse_nameis kind of an artifact of how associations are implemented.
Yeah, all of that :)