Skip to content
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

chore|style: code-style validation through checkstyle and reformat according to tractus-x style guide #80

Merged
merged 12 commits into from
Jan 18, 2024

Conversation

drcgjung
Copy link
Contributor

@drcgjung drcgjung commented Oct 9, 2023

WHAT

This PR introduces checkstyle into the build process based on the Tractus-X style guide for Java.
It also performs the whole reformatting necessary on the source files.
Finally it did a DEPENDENCY check using a more up-to-date dash version.

WHY

Developers from other parts of Tractus-X were confused by the current approach (which was mostly checked with spotless and without any specific rules).

FURTHER NOTES

Closes #57 <-- insert Issue number if one exists
Closes #76

May conflict with other PRs of higher priority in which case this needs to be resolved.

@drcgjung drcgjung changed the title fix: code-style validation through checkstyle and reformat according to tractus-x style guide chore|style: code-style validation through checkstyle and reformat according to tractus-x style guide Oct 9, 2023
@drcgjung drcgjung marked this pull request as ready for review October 9, 2023 10:58
@drcgjung drcgjung changed the title chore|style: code-style validation through checkstyle and reformat according to tractus-x style guide PRIO-4 chore|style: code-style validation through checkstyle and reformat according to tractus-x style guide Oct 16, 2023
@drcgjung drcgjung changed the title PRIO-4 chore|style: code-style validation through checkstyle and reformat according to tractus-x style guide PRIO-5 chore|style: code-style validation through checkstyle and reformat according to tractus-x style guide Oct 18, 2023
@drcgjung
Copy link
Contributor Author

@carslen with my best regards, here is another checkstyle introduction that has been already checked by @Martin0815bla for possible IP changes
I merged it with the recent fixes from main (which needed some reformatting).

@drcgjung drcgjung changed the title PRIO-5 chore|style: code-style validation through checkstyle and reformat according to tractus-x style guide chore|style: code-style validation through checkstyle and reformat according to tractus-x style guide Jan 17, 2024
Copy link
Contributor

@SebastianBezold SebastianBezold left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

While this is a huge PR, that would require a project contribution IP check, the changes are almost without exception formatting ones.

So frine from my point of view. With .editorconfig in place this should not happen too often 😁

@SebastianBezold SebastianBezold merged commit c47c885 into eclipse-tractusx:main Jan 18, 2024
5 checks passed
@drcgjung drcgjung deleted the fix/57-code-style branch April 17, 2024 09:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: ✅ Done
Development

Successfully merging this pull request may close these issues.

Maven Plugin: Update Eclipse Dash Tool in pom.xml Use proper code style/formatting
3 participants