-
Notifications
You must be signed in to change notification settings - Fork 9.1k
HDDS-2119. Use checkstyle.xml and suppressions.xml in hdds/ozone projects for checkstyle validation. #1435
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
Conversation
|
||
Unless required by applicable law or agreed to in writing, software | ||
distributed under the License is distributed on an "AS IS" BASIS, | ||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
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.
whitespace:tabs in line
} | ||
.b td { | ||
background: #fff; | ||
} |
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.
whitespace:tabs in line
|
||
} | ||
h2 { | ||
font-weight:bold; |
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.
whitespace:tabs in line
} | ||
h2 { | ||
font-weight:bold; | ||
font-size:140%; |
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.
whitespace:tabs in line
h2 { | ||
font-weight:bold; | ||
font-size:140%; | ||
margin-bottom: 5; |
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.
whitespace:tabs in line
💔 -1 overall
This message was automatically generated. |
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.
Thanks @nandakumar131 for working on this.
…ects for checkstyle validation.
197a32a
to
fdc3c4d
Compare
hadoop-hdds/build-tools/src/main/resources/checkstyle/checkstyle-noframes-sorted.xsl
Show resolved
Hide resolved
💔 -1 overall
This message was automatically generated. |
/retest |
Thanks @nandakumar131 the patch. Unfortunately it seems to be failing for me with testing it with the checkstyle.sh. Until now the checkstyle.sh did a I don't know what is the good solution here
I liked that it was very fast until know, therefore I would prefer the first one, but there could be other options... |
Thanks for the suggestion @elek . Modified |
Since we are not using maven artifact anymore, we don't need a new maven module |
See the License for the specific language governing permissions and | ||
limitations under the License. | ||
--> | ||
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0"> |
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.
whitespace:tabs in line
💔 -1 overall
This message was automatically generated. |
Thanks @nandakumar131 the update. I would remove the build-tools for now. We can (re)create it when we can see the exact need. I think we can use |
Currently all the checkstyle checks are showing false negative answers. I will commit this with the suggested change (moving checkstyle XML files to the dev-support) if no objections... We can improve it (or switch back to the dedicated project) in follow-up jiras, but we need to fix the checks ASAP. |
Thanks @elek for taking care of this! |
…ects for checkstyle validation Closes apache#1435
…ects for checkstyle validation Closes apache#1435
After #1423 hdds/ozone no more relies on hadoop parent pom, so we have to use separate checkstyle.xml and suppressions.xml in hdds/ozone projects for checkstyle validation.