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

Diffing Functionality on top of pyecore #132

Open
chtinnes opened this issue Jul 3, 2023 · 1 comment
Open

Diffing Functionality on top of pyecore #132

chtinnes opened this issue Jul 3, 2023 · 1 comment

Comments

@chtinnes
Copy link

chtinnes commented Jul 3, 2023

For several downstream use cases, a diffing functionality similar to EMFCompare would be desirable.

What is the current state of the discussion w.r.t. to diffing in pyecore?

@aranega
Copy link
Member

aranega commented Jul 4, 2023

Hi @chtinnes,

Thanks a lot for the suggestion! Currently, unfortunately, there is nothing production ready for a diff in PyEcore, currently, mainly by lack of time to properly create a new project and maintain it. In the past, I made some experiments with DeepDiff that gave promising results, but out of my memory, there was a little bit more of effort to do to have something close from EMFCompare. The interesting thing about DeepDiff is that it's able to perform a diff on pure python objects. Consequently, even if you are defining attribute relying on custom native resources (e.g: Python AST nodes from the ast module), it was able to produce "diff" things anyway.

I should experiment more with it, I tested version 5.0 back in the days, and the new versions looks like they introduced interesting features (support for UUIDs, strict checking,...)

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

No branches or pull requests

2 participants