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 #7763: Update AbstractChecks to log DetailAST - TrailingComment #8711
Conversation
Github, generate report |
@HuGanghui, please take a look at other PR for example of report generation, you my to provide links to configs |
Github, generate report |
Report generation job failed on phase "make_report", step "Download files". |
Github, generate report |
Report generation job failed on phase "make_report", step "Download files". |
Github, generate report |
Report generation job failed on phase "make_report", step "Download files". |
at the beginning, I try to use Diff Regression projects link that in #8752 (comment), and then github-actions failed, so I use my own Diff Regression projects link https://gist.githubusercontent.com/HuGanghui/709e0a8266eb1656488051b4cfc9161f/raw/5731ab3b42c995e5823e02a34a00c25241bcec1d/projects-to-test-on.properties but it still not work now. please give me some help. |
CI error is that I introduce new check, but I am not: Diff is detected. |
Github, generate report |
Report generation job failed on phase "make_report", step "Download files". |
Github, generate report |
@timurt , do you see why I can not match comment by content ? even
how to escape we need to find a way to write suppression xpath queries for cases from |
|
Generally, we do not support I added ex:
Here I used |
current implementation works like:
|
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.
I am ok to merge
src/main/java/com/puppycrawl/tools/checkstyle/checks/TrailingCommentCheck.java
Outdated
Show resolved
Hide resolved
Github, generate report |
I just rebased (to fix wercker) after requesting report, code is the same. |
Github, rebase |
6caed09
to
5676285
Compare
Issue #7763: Update AbstractChecks to log DetailAST - TrailingComment
from Roman: it is not implementation that I would like to have in this Check ideally, but let move refactoring to new issue.
#9009
#9010
Diff Regression projects: https://gist.githubusercontent.com/HuGanghui/709e0a8266eb1656488051b4cfc9161f/raw/5731ab3b42c995e5823e02a34a00c25241bcec1d/projects-to-test-on.properties
Diff Regression config: https://gist.githubusercontent.com/HuGanghui/d3b892a11fa52287ec1723246f12718f/raw/9576b09b677ea0cf838aa3ae451519597efd46ca/TrailingComment.xml