KAFKA-12770: introduce checkstyleVersion build option (for overriding CheckStyle project-defined dependency version)#10698
KAFKA-12770: introduce checkstyleVersion build option (for overriding CheckStyle project-defined dependency version)#10698dejan2609 wants to merge 1 commit intoapache:trunkfrom
checkstyleVersion build option (for overriding CheckStyle project-defined dependency version)#10698Conversation
9a624b9 to
a80830e
Compare
|
Note: rebased onto trunk (in order to pick up Gradle 6 -->> 7 version upgrade). |
|
One flaky test failed, so I will retest this: |
|
retest this please |
|
as soon it is merged, we can add kafka to regression suite to make sure we will not leak regression on kafka code any more. |
showuon
left a comment
There was a problem hiding this comment.
@dejan2609 , thanks for the PR. Overall LGTM. Left a minor comment. Thank you.
1bb283e to
0280296
Compare
|
@showuon thanx for a review, feel free to leave a comment after I polished a little bit (or open another review, any critique is welcomed !). @ijuma I know you have a lot on your plate, but please take a moment for this PR: it is a prerequisite for CheckStyle team to include Kafka into their regression suite. |
|
@ijuma all tests are in green. Can this be reviewed (and hopefully merged) ? |
|
@dejan2609 , sorry, I didn't make it clear. What I meant is here, there's a |
…ng CheckStyle project-defined dependency version) rationale/notes: * useful for experimenting and regression testing * requested by a CheckStyle team so they can add Kafka into their regression suite
|
Makes sense @showuon ! I totally understand your point: writing concise comments is a vital thing. I made some changes according to your suggestion, feel free to check (your input here is highly appreciated). |
|
CheckStyle team (@romani) needs this in order to add Kafka project into their regression suit here: @showuon was so kind to provide his assistance, but we now need approval by someone who has a write access (@mumrah, @guozhangwang, @hachikuji, @ijuma, @junrao, @cmccabe or someone else). Note: changes are small and simple (and risk doesn't exist). |
|
Just tagging @ijuma here again (to bring back this PR up to the surface). |
|
@ijuma update: I already gather two approvals (made by fellow-contributors) for this PR, but I still need some maintainer to have his say. |
|
Closed in favor of #10967; git commit is identical, but it seems that this PR (with so many comments) is just out of sight. |


@ijuma please review this.
Rationale: Requested by CheckStyle team (@romani); they needs this in order to add Apache Kafka project into their regression suit here https://github.com/checkstyle/contribution/blob/master/checkstyle-tester/projects-to-test-on.properties
JIRA ticket: https://issues.apache.org/jira/browse/KAFKA-12770
Related PR/comment: #10656 (comment)
@romani how to use this (hopefully this will be merged into trunk at some point):
./gradlew checkstyleMain checkstyleTest./gradlew checkstyleMain checkstyleTest -PcheckstyleVersion=8.41.1