You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@iceberg.apache.org by GitBox <gi...@apache.org> on 2022/05/18 00:09:19 UTC

[GitHub] [iceberg] kbendick commented on pull request #4796: [DO NOT MERGE] Test that CI detects breaking changes

kbendick commented on PR #4796:
URL: https://github.com/apache/iceberg/pull/4796#issuecomment-1129434763

   Here's the breaking output
   ```
    ./gradlew revapi
   > Task :iceberg-api:revapi FAILED
   
   FAILURE: Build failed with an exception.
   
   * What went wrong:
   Execution failed for task ':iceberg-api:revapi'.
   > There were Java public API/ABI breaks reported by revapi:
   
     java.method.addedToInterface: Method was added to an interface.
   
     old: <none>
     new: method org.apache.iceberg.ManageSnapshots org.apache.iceberg.ManageSnapshots::someBreakingChange(java.lang.String, long)
   
     SOURCE: BREAKING, BINARY: NON_BREAKING, SEMANTIC: POTENTIALLY_BREAKING
   
     From old archive: <none>
     From new archive: iceberg-api-0.14.0-SNAPSHOT.jar
   
     If this is an acceptable break that will not harm your users, you can ignore it in future runs like so for:
   
       * Just this break:
           ./gradlew :iceberg-api:revapiAcceptBreak --justification "{why this break is ok}" \
             --code "java.method.addedToInterface" \
             --new "method org.apache.iceberg.ManageSnapshots org.apache.iceberg.ManageSnapshots::someBreakingChange(java.lang.String, long)"
       * All breaks in this project:
           ./gradlew :iceberg-api:revapiAcceptAllBreaks --justification "{why this break is ok}"
       * All breaks in all projects:
           ./gradlew revapiAcceptAllBreaks --justification "{why this break is ok}"
     ----------------------------------------------------------------------------------------------------
   
   
   * Try:
   > Run with --stacktrace option to get the stack trace.
   > Run with --info or --debug option to get more log output.
   > Run with --scan to get full insights.
   
   * Get more help at https://help.gradle.org
   
   BUILD FAILED in 6s
   6 actionable tasks: 4 executed, 2 up-to-date
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@iceberg.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@iceberg.apache.org
For additional commands, e-mail: issues-help@iceberg.apache.org