-
Notifications
You must be signed in to change notification settings - Fork 39
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
Publish Error Prone compatibility matrix on website #938
Conversation
Looks good. No mutations were possible for these changes. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Some context.
# An overview of Error Prone Support releases, along with compatible Error | ||
# Prone releases. This data was generated by `generate-version-compatibility-overview.sh`. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This script takes quite some time to run (and that'll go up due to it's quadratic nature 🙊), so committing the result is the only realistic option.
| [{{ release.version }}](https://github.com/PicnicSupermarket/error-prone-support/releases/tag/v{{ release.version }}) | {% | ||
for version in release.compatible -%} | ||
[{{ version }}](https://github.com/google/error-prone/releases/tag/v{{ version }}){% unless forloop.last %}, {% endunless %} | ||
{%- endfor %} | |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The formatting is funny here, but that seemed necessary to make sure that a proper Markdown table is produced. Suggestions welcome.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
So yeah, this PR is a bit "fake": we don't currently deploy the website from the master
branch, but instead from the website
branch. Not all logic there has been properly cleaned up yet, and some of the changes there are really not acceptable on master
; hence the split.
But... these changes in this PR are also part of that branch, so you can see the result live on the internet.
[^1]: Note that this [does not prove][source-binary-compat] that the Error Prone Support and Error Prone versions are _binary_ compatible. This limitation does not appear to be an issue in practice. | ||
[^2]: The approach taken here may yield false negatives, because a reported incompatibility may merely be due to a test API incompatibility. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Wrapping these lines breaks the formatting 🤷
02142a8
to
a7ee352
Compare
Looks good. No mutations were possible for these changes. |
The new `website/generate-version-compatibility-overview.sh` script tests all combinations, and stores the result in a Jekyll data file. Resolves #724.
a7ee352
to
8dc234a
Compare
Looks good. No mutations were possible for these changes. |
Quality Gate passedKudos, no new issues were introduced! 0 New issues |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Awesome work @Stephan202 , really cool script 🚀 !
Thanks for the review @Venorcis!
This resolves #724 and addresses a discussion in #935. The result can be seen here.
Suggested commit message: