-
-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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
Issue #13770: Enforce Linux Style EOL for all XML files #13774
Conversation
afcb18b
to
922c1d0
Compare
Finally fixed the EOL problem in a white collar way.
@romani - any suggestions on this Modified Controller Variable thing? Hold on patience for #13696. We are very close to fixing this EOL issue. |
Please create javadoc for methods to define from what class you copied implementation and how you modified them. If checkstyle violation on copied code we can put comment to suppress violation |
126640d
to
ed44237
Compare
Done. |
4f91053
to
ec2fa54
Compare
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.
item
src/main/java/com/puppycrawl/tools/checkstyle/site/XdocsTemplateSink.java
Outdated
Show resolved
Hide resolved
src/main/java/com/puppycrawl/tools/checkstyle/site/XdocsTemplateSink.java
Outdated
Show resolved
Hide resolved
src/main/java/com/puppycrawl/tools/checkstyle/site/XdocsTemplateSink.java
Outdated
Show resolved
Hide resolved
e3fb554
to
cfbe7c1
Compare
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.
items:
src/main/java/com/puppycrawl/tools/checkstyle/site/XdocsTemplateSink.java
Outdated
Show resolved
Hide resolved
src/main/java/com/puppycrawl/tools/checkstyle/site/XdocsTemplateSink.java
Outdated
Show resolved
Hide resolved
23eaf1f
to
9476faa
Compare
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.
Items:
src/main/java/com/puppycrawl/tools/checkstyle/site/XdocsTemplateSink.java
Outdated
Show resolved
Hide resolved
414ed50
to
e2ce547
Compare
See questions above. |
Yes replied |
Please address #13774 (comment) |
@romani. I tried to preserve the original
But this is giving rise to PMD errors as below:
Now, if I try to replace Therefore, I feel it's better to put a proper explanation in the javadoc to justify the deviation in overridden implementation. Just updated the Javadoc in the latest push. |
e2ce547
to
1a4051a
Compare
I still don't understand the purpose |
e3c2fa4
to
4244136
Compare
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.
A way better implementation!!
Thanks a lot.
@kalpadiptyaroy , please test it in another PR to prove that it works.
@michael-o, is this implementation ok to you. You required change so we need to get from you approval. |
Logically yes, but what I don't understand why not pass |
@michael-o , do you mean to put this custom writer to checkstyle/src/main/java/com/puppycrawl/tools/checkstyle/site/XdocsTemplateSink.java Line 38 in 63b9e0b
|
|
I will definitely cherry-pick this in the other PR too. But prior to that. Can you tell me how to resolve these CI failures? |
Why? You can pass your custom writer, isn't that enough? |
4244136
to
2c0ee85
Compare
@kalpadiptyaroy semaphore failures can be ignored, looks like we had some problem downloading dependencies. As for checker - these both seem like reasonable failures, we can implement the required changes. |
Link check is failing also. |
I restarted link check, let’s make sure it’s stable failure |
9a5a773
to
73aeb50
Compare
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.
Final todo:
- Suppress checker errors: I spent an hour trying to make checker happy on this SHA, to no avail. Please just suppress these errors.
- Suppress linkcheck.
- Rebase on latest master
@kalpadiptyaroy let's get this PR across the finish line
73aeb50
to
25bac9b
Compare
@nrmancuso , there is some groovy failure after Checker execution, please assist. |
25bac9b
to
8dd332d
Compare
Looks like groovy script has a different idea about how these suppressions should look? @kalpadiptyaroy please try to apply patch exactly as proposed by git diff step in workflow execution. Maybe we have some bug in our groovy script. |
Sure. Will do that. |
8dd332d
to
8e00d3d
Compare
@nrmancuso - Done - We can merge now! |
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.
Let’s merge this.
Issue #13770: Enforce Linux Style EOL for all XML files