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

Feature/cli module refactoring #1607

Merged
merged 11 commits into from
Apr 10, 2024
Merged

Conversation

TwoOfTwelve
Copy link
Contributor

@TwoOfTwelve TwoOfTwelve commented Feb 23, 2024

Contains a big refactoring of the cli module. In specific:

  • Minor refactoring all over the module based on Intellijs code analysis.
  • A rewrite of the CollectedLogger class, because the base interface we used is deprecated since 2020.
  • The CLI class has been split up into multiple classes.

@TwoOfTwelve
Copy link
Contributor Author

The three remaining sonarcloud issues already existed and cannot be fixed. Unless we want to remove the legacy support for the old submission directories.

@tsaglam tsaglam added enhancement Issue/PR that involves features, improvements and other changes minor Minor issue/feature/contribution/change labels Feb 26, 2024
@tsaglam tsaglam requested a review from a team March 12, 2024 14:51
@TwoOfTwelve
Copy link
Contributor Author

@tsaglam could you take another look at this?

@TwoOfTwelve TwoOfTwelve requested a review from uuqjz April 2, 2024 14:21
Copy link
Contributor

@uuqjz uuqjz left a comment

Choose a reason for hiding this comment

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

Looks got to me.

cli/src/main/java/de/jplag/cli/CLI.java Show resolved Hide resolved
Copy link
Member

@tsaglam tsaglam left a comment

Choose a reason for hiding this comment

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

Have you tested that the CLI help text and the log output during the run is not changed?

@TwoOfTwelve
Copy link
Contributor Author

I have tested it with a short example. The formatting of the log output might have changed slightly, but the content is definitely still the same.

Copy link

sonarcloud bot commented Apr 9, 2024

@tsaglam tsaglam merged commit d4b2dc3 into develop Apr 10, 2024
35 checks passed
@tsaglam tsaglam deleted the feature/cli-module-refactoring branch April 10, 2024 12:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Issue/PR that involves features, improvements and other changes minor Minor issue/feature/contribution/change
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants