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

Codestyle #372

Merged
merged 11 commits into from
Sep 14, 2023
Merged

Codestyle #372

merged 11 commits into from
Sep 14, 2023

Conversation

chenejac
Copy link
Contributor

@chenejac chenejac commented Feb 24, 2023

VIVO GitHub issue: 3814

Linked VIVO PR

What does this pull request do?

Adding code style into the VIVO/Vitro project

What's new?

checkstyle.xml added into the Vitro root
checkstyle-suppression.xml added in the Vitro root (empty at the moment)
A wiki page added - https://wiki.lyrasis.org/display/VIVO/Code+Style+Guide
checkstyle.xml file linked in pom.xml file (at the moment configured to be skipped)

How should this be tested?

Just for reviewing purposes there is commit with code formatted by using this code style at chenejac@b214563
See instructions for testing in linked VIVO PR

Interested parties

Tag (@ mention) interested parties or, if unsure, @VIVO-project/vivo-committers

@chenejac chenejac requested review from a user, litvinovg, brianjlowe and kaladay February 24, 2023 13:00
@chenejac chenejac linked an issue Feb 28, 2023 that may be closed by this pull request
ghost
ghost previously approved these changes Feb 28, 2023
@litvinovg
Copy link
Member

Would it be useful to have configuration file with excluded files? In that case we would be able to create PRs and reduce list of excluded files step by step.

@chenejac
Copy link
Contributor Author

chenejac commented Mar 6, 2023

Would it be useful to have configuration file with excluded files? In that case we would be able to create PRs and reduce list of excluded files step by step.

@litvinovg can you check my last commit in this PR. If that is what you were thinking in your comment, I can apply similar to VIVO PR.

litvinovg
litvinovg previously approved these changes Mar 6, 2023
Copy link
Member

@litvinovg litvinovg left a comment

Choose a reason for hiding this comment

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

Looks good to me.

@chenejac chenejac linked an issue Jun 15, 2023 that may be closed by this pull request
Copy link
Member

@litvinovg litvinovg left a comment

Choose a reason for hiding this comment

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

Let's increase character limit to 120as we discussed in committers call some time ago.

@chenejac chenejac requested a review from litvinovg June 28, 2023 09:06
litvinovg
litvinovg previously approved these changes Jun 28, 2023
@chenejac chenejac merged commit 2e4458e into vivo-project:main Sep 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Definition of the code style
3 participants