-
Notifications
You must be signed in to change notification settings - Fork 4k
MINOR: [Java] Bump com.puppycrawl.tools:checkstyle from 8.29 to 10.17.0 in /java #43311
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
MINOR: [Java] Bump com.puppycrawl.tools:checkstyle from 8.29 to 10.17.0 in /java #43311
Conversation
|
@github-actions crossbow submit -g java |
|
Revision: 6583c9266e9bda47f29547acea3bf21a63a062f3 Submitted crossbow builds: ursacomputing/crossbow @ actions-3d2568a501 |
6583c92 to
92fdef9
Compare
|
@danepitkin might need explicit formatting? |
92fdef9 to
f417a2d
Compare
|
@github-actions crossbow submit -g java |
|
Revision: e390e0b7307b3183446126e3f7484b3b3ee001b6 Submitted crossbow builds: ursacomputing/crossbow @ actions-83f5abdb26 |
|
@github-actions crossbow submit java-jars |
|
Oh probably this may need #43431 |
|
Revision: e390e0b7307b3183446126e3f7484b3b3ee001b6 Submitted crossbow builds: ursacomputing/crossbow @ actions-0e19636c2e
|
needs a rebase? |
|
ah I thought the PR Vibhatha linked was merged already |
|
Ok, now it just needs a rebase! |
e390e0b to
a5c2bd1
Compare
java/dev/checkstyle/checkstyle.xml
Outdated
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.
Why are we removing the property here? Wouldn't that confusion for people using Windows line separator?
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.
Good call, I should fix this properly.
The windows build was always generating windows line separators. There was a bug in the old version of checkstyle that couldn't differentiate between lf (\n) and crlf (\r\n), so this was never caught before. checkstyle/checkstyle#4074
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.
Fixed! I just had to update java/.gitattributes
java/.gitattributes
Outdated
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.
does it mean that all files are to be considerered as text files (vs binary)? Would'nt that cause issues when adding binary files (for testing for example?)
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.
Maybe it should be * text=auto eol=lf?
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.
Good catch. I was following the instruction from spotless.. https://github.com/diffplug/spotless/tree/main/plugin-gradle#line-endings-and-encodings-invisible-stuff
|
@github-actions crossbow submit java-jars |
|
Revision: 4c3f929515acc1f4e119646ec36005cecc647bd9 Submitted crossbow builds: ursacomputing/crossbow @ actions-36a3d85d67
|
|
@lidavidm this seems to be a new failure in java-jars. |
vibhatha
left a comment
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.
@danepitkin Thanks for working on this one. PR LGTM!
…ut CRLF(\r\n) is detected.
4c3f929 to
24a762b
Compare
|
@github-actions crossbow submit java-jars |
|
Revision: 24a762b Submitted crossbow builds: ursacomputing/crossbow @ actions-40a559e941
|
|
@danepitkin have we already identified the failure in java-jars? It seems like a centOS related thing? |
|
Yeah, looks like CentOS 7 causing issues again! |
|
After merging your PR, Conbench analyzed the 4 benchmarking runs that have been run so far on merge-commit 48782e7. There were no benchmark performance regressions. 🎉 The full Conbench report has more details. It also includes information about 14 possible false positives for unstable benchmarks that are known to sometimes produce them. |
….0 in /java (apache#43311) ### Rationale for this change Now that Java 8 is deprecated, we can bump checkstyle to latest version. ### What changes are included in this PR? * Bump checkstyle to 10.17.0 * Update checkstyle.xml to fix backwards-breaking changes * Fix new check errors ### Are these changes tested? CI ### Are there any user-facing changes? No Authored-by: Dane Pitkin <[email protected]> Signed-off-by: Dane Pitkin <[email protected]>
Rationale for this change
Now that Java 8 is deprecated, we can bump checkstyle to latest version.
What changes are included in this PR?
Are these changes tested?
CI
Are there any user-facing changes?
No