You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
By decoupling RevAPI from Gradle we can upgrade to a later version of Gradle.
A later version of Gradle is required to unblock #10209. The 1.14.0 version of Parquet ships with a newer version of Jackson, with JDK21-specific files. These files cause issues with the older version of the Shadow plugin that we're using. The shadow plugin requires a later version of Gradle.
We must double-check if RevAPI is working properly since it silently stopped working when updating Gradle to a later version.
I'm replacing .palantir/revapi.yml (specific to the revapi gradle plugin) by a simple file where users can add accepted breaks
the script now detects a breaking change by grepping the output report
I'm not sure if the script should be integrated in gradle or not. Probably worth to execute the script after the build (the script needs to be run after compileJava task).
@findepi if you change a public API (let's say SessionCatalog and RESTSessionCatalog, adding a new method there), with Gradle 8.2+, no error, whereas it should have detected a breaking change on the public API.
@jbonofre do we already know the root cause why the rev api stops working when we upgrade grade? If it something not our side, are the plug-in authors aware of the problem?
@findepi: The problem is gradle plugin is not officially part of rev API maintainers.
It is a separate group and they stopped maintaining it (last release was 2022).
Activity
jbonofre commentedon May 23, 2024
Yes I have something about that coupled with gradle update. I will push the PR asap.
jbonofre commentedon May 24, 2024
I created a script to run revapi: https://github.com/jbonofre/iceberg/blob/GRADLE/dev/revapi
I have three things to address:
acceptedBreaksfrom.palantir/revapi.yml(I might need more than a script for that), I'm checking different optionsjbonofre commentedon May 25, 2024
After some investigations, I'm doing:
.palantir/revapi.yml(specific to the revapi gradle plugin) by a simple file where users can add accepted breakscompileJavatask).findepi commentedon Jun 11, 2024
How does revapi manifests that it does not support newer gradle?
jbonofre commentedon Jun 11, 2024
@findepi if you change a public API (let's say
SessionCatalogandRESTSessionCatalog, adding a new method there), with Gradle 8.2+, no error, whereas it should have detected a breaking change on the public API.I'm working on the fix.
findepi commentedon Jun 12, 2024
@jbonofre do we already know the root cause why the rev api stops working when we upgrade grade? If it something not our side, are the plug-in authors aware of the problem?
ajantha-bhat commentedon Jun 12, 2024
@findepi: The problem is gradle plugin is not officially part of rev API maintainers.
It is a separate group and they stopped maintaining it (last release was 2022).
We also created the issue but no one responded
palantir/gradle-revapi#612
jbonofre commentedon Jun 12, 2024
@findepi yes I have the fix for the plugin. But my concern is the plugin is not maintained anymore (no commit or release in the last 2 years).
ajantha-bhat commentedon Jun 12, 2024
I started this discussion also: revapi/revapi#296
Fokko commentedon Jun 25, 2024
Not needed anymore #8486