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

Add binary-compatibility-validator to Chucker #509

Merged

Conversation

cortinico
Copy link
Member

@cortinico cortinico commented Nov 28, 2020

📄 Context

To prevent problems like #466 in the future, I'm introducing https://github.com/Kotlin/binary-compatibility-validator to Chucker.

This will force any PR that touches the public API, to also include a change to the corresponding .api file. To recompute the .api file, developers should just call gw apiDump.

📝 Changes

  • Introduced binary-compatibility-validator plugin
  • Added a new GH Actions job for running apiCheck before merging
  • Excluded project sample and non public packages from the API surface.

📎 Related PR

Follow-up from #466

🚫 Breaking

None

🛠️ How to test

Please take a look at the .api file and let me know if you agree on it.
If the CI is green, we should be good to go.

⏱️ Next steps

n/a

@cortinico cortinico added the infra Issue or pull request relate to the library infrastructure (CI, Release mgmt, etc.) label Nov 28, 2020
Copy link
Collaborator

@vbuberen vbuberen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 🚢

Have just one question, which is in comments.

library-no-op/api/library-no-op.api Show resolved Hide resolved
library/api/library.api Show resolved Hide resolved
@cortinico cortinico merged commit 46d17d8 into ChuckerTeam:develop Nov 30, 2020
@cortinico cortinico deleted the nc/add-binary-compat-validator branch November 30, 2020 21:37
@vbuberen vbuberen added this to the 4.0.0 milestone Dec 1, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
infra Issue or pull request relate to the library infrastructure (CI, Release mgmt, etc.)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants