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

Abstract the delta handling from the resource API #1496

Merged
merged 1 commit into from
Aug 2, 2023

Conversation

laeubi
Copy link
Member

@laeubi laeubi commented Aug 1, 2023

Currently m2e is directly wired to the resource delta API, while this seems good in the context of eclipse for m2e this imposes to restrictive API as it is all noimplement/extend interfaces and offer much more than m2e actually using.

This aims to implement a thin wrapper for further improvement of delta detection especially when it comes to resource see for example #1302

This will not fix anything but is an important first step to ensure things are still working as before.

@laeubi
Copy link
Member Author

laeubi commented Aug 1, 2023

FYI @martinlippert if you can check out the patch and see if it introduces any new problem it would be great. This is a very first step to improve the situation, we need to be able to further detect changes that are not seen by the resource API.

@github-actions
Copy link

github-actions bot commented Aug 1, 2023

Test Results

106 files  ±0  106 suites  ±0   9m 57s ⏱️ -14s
660 tests ±0  650 ✔️ ±0  10 💤 ±0  0 ±0 
660 runs  ±0  649 ✔️ ±0  11 💤 ±0  0 ±0 

Results for commit a4869ce. ± Comparison against base commit 0e7d484.

♻️ This comment has been updated with latest results.

@martinlippert
Copy link

FYI @martinlippert if you can check out the patch and see if it introduces any new problem it would be great. This is a very first step to improve the situation, we need to be able to further detect changes that are not seen by the resource API.

@BoykoAlex 👆Maybe you can give this a try?

Currently m2e is directly wired to the resource delta API, while this
seems good in the context of eclipse for m2e this imposes to restrictive
API as it is all noimplement/extend interfaces and offer much more than
m2e actually using.

This aims to implement a thin wrapper for further improvement of delta
detection especially when it comes to resource see for example
eclipse-m2e#1302

This will not fix anything but is an important first step to ensure
things are still working as before.
@laeubi
Copy link
Member Author

laeubi commented Aug 2, 2023

Tests are green (except the usual macos) so lets give it a try so we can have additional PRs based on this.

@laeubi laeubi merged commit 40d3b44 into eclipse-m2e:master Aug 2, 2023
6 of 7 checks passed
@HannesWell HannesWell added this to the 2.4.0 milestone Aug 27, 2023
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.

None yet

3 participants