Franca FIDL Compatibility

79 views
Skip to first unread message

Ha Le

unread,
Aug 12, 2021, 11:32:55 AM8/12/21
to Franca
Hello. Is there a tool that detects interface changes in .fidl files? I noticed pyfranca (https://github.com/zayfod/pyfranca) but from the README it does not look like the tool is ready yet. Thanks and best regards.

Klaus Birken

unread,
Oct 1, 2021, 10:37:35 AM10/1/21
to Franca
Hi,

do you think of changes to the interface which are not backward-compatible? If yes: This is usually hard to do, because an interface could break even if there is no actual change to the API, just be redefining the semantics of a method or some other interface entity. So in general, the owner of an interface has to define if an interface change should be regarded as major or minor change.

But as you mentioned pyfranca: The original Franca tool project (implemented in Java on Eclipse) could be used to write some checks which can analyse the differences between models (maybe using EMFCompare) and classifying them as non-breaking or breaking changes (depending on some specific logic which cannot be defined in general, see above).

Regards,
Klaus
Reply all
Reply to author
Forward
0 new messages