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

#637: Option to disable updates #765

Merged
merged 38 commits into from
Nov 22, 2024
Merged

Conversation

KianRolf
Copy link
Contributor

fixes #637

Allows the user to call tools with --skipUpdates or -s, which skips updates for the tool if the configured version and the installed version match.

@KianRolf KianRolf self-assigned this Nov 14, 2024
@KianRolf KianRolf added enhancement New feature or request update related to updating software or the entire ide labels Nov 14, 2024
@coveralls
Copy link
Collaborator

coveralls commented Nov 15, 2024

Pull Request Test Coverage Report for Build 11968342240

Details

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • 86 unchanged lines in 4 files lost coverage.
  • Overall coverage decreased (-0.007%) to 67.435%

Files with Coverage Reduction New Missed Lines %
com/devonfw/tools/ide/context/IdeStartContextImpl.java 1 95.0%
com/devonfw/tools/ide/commandlet/ContextCommandlet.java 5 75.51%
com/devonfw/tools/ide/tool/LocalToolCommandlet.java 15 86.11%
com/devonfw/tools/ide/context/AbstractIdeContext.java 65 60.25%
Totals Coverage Status
Change from base Build 11963682724: -0.007%
Covered Lines: 6467
Relevant Lines: 9248

💛 - Coveralls

Copy link
Contributor

@jan-vcapgemini jan-vcapgemini left a comment

Choose a reason for hiding this comment

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

Thanks for adding an option to disable the updates. I've added some CRs, please resolve.

CHANGELOG.adoc Outdated Show resolved Hide resolved
cli/src/main/resources/nls/Help.properties Outdated Show resolved Hide resolved
cli/src/main/resources/nls/Help_de.properties Outdated Show resolved Hide resolved
Copy link
Contributor

@jan-vcapgemini jan-vcapgemini left a comment

Choose a reason for hiding this comment

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

Thanks. Ready for review.

Copy link
Member

@hohwille hohwille left a comment

Choose a reason for hiding this comment

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

@KianRolf thanks for your PR. You implemented this feature nicely but stepped into a pitfall I caused by accident with a comment. 👍
I also suggested and explained not to add -s short option and by doing so, you can also revert changes you needed to apply to completion tests.
When the review comments are resolved, we can merge.

@hohwille hohwille added this to the release:2024.12.001 milestone Nov 20, 2024
Copy link
Member

@hohwille hohwille left a comment

Choose a reason for hiding this comment

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

@KianRolf thanks for your rework. All complete now. Great work!👍
We can use the daily to discuss if we accept my final improvement suggestion and then merge.

@hohwille hohwille merged commit 6b41eef into devonfw:main Nov 22, 2024
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request update related to updating software or the entire ide
Projects
Status: ✅ Done
Development

Successfully merging this pull request may close these issues.

Option to disable updates
4 participants