-
Notifications
You must be signed in to change notification settings - Fork 191
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
Enabling spotless for all modules #651
Enabling spotless for all modules #651
Conversation
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.
If you want to do a whole codebase like this at once, I don't mind merging a massive PR.
Thank you @dblock! I will add all files for spotless changes in this PR divided by commits. |
62c231a
to
56341be
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.
Great! Who's fixing the link checker? :)
Haha, weird javadoc.io is not reachable since many days. Let me see if we can replace the link. |
ef0a71f
to
bd268b1
Compare
@dblock I added the javadoc.io link in excludes in the latest commit till it is fixed. I will create an issue to track this. |
Let's merge this before it hits a conflict? @Bukhtawar @saratvemulapalli ? |
@VachaShah couple of conflicts :/ |
Signed-off-by: Vacha Shah <[email protected]>
Signed-off-by: Vacha Shah <[email protected]>
Signed-off-by: Vacha Shah <[email protected]>
Signed-off-by: Vacha Shah <[email protected]>
…asks modules Signed-off-by: Vacha Shah <[email protected]>
Signed-off-by: Vacha Shah <[email protected]>
Signed-off-by: Vacha Shah <[email protected]>
Signed-off-by: Vacha Shah <[email protected]>
Signed-off-by: Vacha Shah <[email protected]>
Signed-off-by: Vacha Shah <[email protected]>
bcc201b
bd268b1
to
bcc201b
Compare
@dblock @saratvemulapalli Review again please? I fixed the merge conflicts and also removed the exclusion of the javadoc.io link since it is fixed now. |
Do we backport this? |
Yeah I will backport this PR and the previous PR #648 manually to 2.x since there will be a lot of conflicts. |
* Enabling spotless for _types module Signed-off-by: Vacha Shah <[email protected]> * Enabling spotless for cat module Signed-off-by: Vacha Shah <[email protected]> * Enabling spotless for cluster module Signed-off-by: Vacha Shah <[email protected]> * Enabling spotless for core module Signed-off-by: Vacha Shah <[email protected]> * Enabling spotless for dangling_indices, features, ingest, shutdown, tasks modules Signed-off-by: Vacha Shah <[email protected]> * Enabling spotless for indices module Signed-off-by: Vacha Shah <[email protected]> * Enabling spotless for nodes and snapshot modules Signed-off-by: Vacha Shah <[email protected]> * Enabling spotless for remaining opensearch module Signed-off-by: Vacha Shah <[email protected]> * Enabling spotless for rest of the code including tests Signed-off-by: Vacha Shah <[email protected]> * Fixing spotless from merge conflicts Signed-off-by: Vacha Shah <[email protected]> --------- Signed-off-by: Vacha Shah <[email protected]>
…661) * Migrating from checkstyle to spotless for formatting (#648) * Adding spotless for checking and fixing formatting and removing checkstyle Signed-off-by: Vacha Shah <[email protected]> * Making build task depend on spotlessJavaCheck Signed-off-by: Vacha Shah <[email protected]> * Removing resources and documentation related to checkstyle Signed-off-by: Vacha Shah <[email protected]> * Running spotless for json, transport and util folders Signed-off-by: Vacha Shah <[email protected]> * Running spotless for samples Signed-off-by: Vacha Shah <[email protected]> * Removing commented code Signed-off-by: Vacha Shah <[email protected]> --------- Signed-off-by: Vacha Shah <[email protected]> * Fixing merge conflicts and build Signed-off-by: Vacha Shah <[email protected]> * Enabling spotless for all modules from PR 651 Signed-off-by: Vacha Shah <[email protected]> * Applying spotless to all the remaining files Signed-off-by: Vacha Shah <[email protected]> --------- Signed-off-by: Vacha Shah <[email protected]>
Description
Enabled spotless for all modules in the repo. Did it module by module per commit by running
./gradlew spotlessApply
for each.Issues Resolved
List any issues this PR will resolve, e.g. Closes [...].
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.