gumtree-spoon-ast-diff icon indicating copy to clipboard operation
gumtree-spoon-ast-diff copied to clipboard

Update gumtree to a version 3.x

Open Symbolk opened this issue 4 years ago • 5 comments

Hi, currently the depending gumtree version is 2.1.2, however, recently gumtree has been updated to 3.0.0 version, though not published on maven central repository any more but on GitHub Packages Entry (https://github.com/orgs/GumTreeDiff/packages?repo_name=gumtree).

Do you have plan to update it the a recent version? Will there be any breaking changes that requires code changes?

Symbolk avatar Mar 30 '21 14:03 Symbolk

P.S. I encounter some compatible issues when using gumtree 3.0.0 and gumtree-spoon together in the same project, obviously gumtree 3.0.0 introduced breaking API changes, which requires extra code changes to upgrade in gumtree-spoon.

Symbolk avatar Mar 31 '21 03:03 Symbolk

@martinezmatias has a branch with this update to Gumrtree 3x, and confirms that Gumtree 3;x is not backward compatible.

monperrus avatar Apr 01 '21 14:04 monperrus

Hi @Symbolk

gumtree 3.0.0 introduced breaking API changes, which requires extra code changes to upgrade in gumtree-spoon

Yes, a lot of breaking changes.

has a branch with this update to Gumrtree 3x,

We will release the new version of gumtree-spoon as soon the version of GumTree 3 is released. We still have some open issues. Additionally, for facilitating the use of GumTree-Spoon, we should wait that a version of GumTree 3 is published (e.g., maven central)

Regards Matias

martinezmatias avatar Apr 01 '21 15:04 martinezmatias

Thanks for the response, @martinezmatias .

However, the owner of Gumtree has confirmed that the artifact won't be released on Maven Central anymore, but Github Packages Registry instead. I have tried and added related guidelines in Wiki.

Symbolk avatar Apr 02 '21 02:04 Symbolk

Hi @Symbolk

the owner of Gumtree has confirmed that the artifact won't be released on Maven Central anymore

Ok.

but Github Packages Registry instead.

Actually, I've just noticed that the new version of GT was recently released on GPR, which is a good news for us.

I will work on that on the coming days.

Regards Matias

martinezmatias avatar Apr 02 '21 07:04 martinezmatias

Done, see https://github.com/SpoonLabs/gumtree-spoon-ast-diff/blob/46043645deab0ae9fdba5d5154a70344fae584fe/pom.xml#L44

monperrus avatar Apr 19 '23 15:04 monperrus