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

#628: Fixed update fails on first error #638

Merged

Conversation

jan-vcapgemini
Copy link
Contributor

@jan-vcapgemini jan-vcapgemini commented Sep 19, 2024

Fixes: #628

Implements:

  • added catch of exceptions for ToolCommandlet installations
  • converted steps to try-with-resources
  • added new test for failed update substeps
  • added mvn and java repositories to update test-project

added catch of exceptions for ToolCommandlet installations
converted steps to try-with-resources
added new test for failed update substeps
added mvn and java repositories to update test-project
@jan-vcapgemini jan-vcapgemini self-assigned this Sep 19, 2024
@jan-vcapgemini jan-vcapgemini added update related to updating software or the entire ide bugfix labels Sep 19, 2024
@jan-vcapgemini jan-vcapgemini added this to the release:2024.09.002 milestone Sep 19, 2024
@coveralls
Copy link
Collaborator

coveralls commented Sep 19, 2024

Pull Request Test Coverage Report for Build 10956585846

Details

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • 7 unchanged lines in 1 file lost coverage.
  • Overall coverage increased (+0.06%) to 65.791%

Files with Coverage Reduction New Missed Lines %
com/devonfw/tools/ide/commandlet/AbstractUpdateCommandlet.java 7 83.61%
Totals Coverage Status
Change from base Build 10956210567: 0.06%
Covered Lines: 6024
Relevant Lines: 8818

💛 - Coveralls

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.

@jan-vcapgemini thanks for your PR. Great work with nice and consistent improvements. I very much appreciate if you care for clean code like improving all places to try-with-resource syntax and extending with a test of the according situation. 👍

During the review I thought further and IMHO identified a deeper problem that goes beyond the initial demand of story #628. Could you have a look and we can then discuss if it makes sense to extend this PR or if we want to create a new story for that...?

@hohwille
Copy link
Member

https://github.com/devonfw/IDEasy/blob/main/documentation/DoD.adoc

You have already added the issue implemented by your PR in CHANGELOG.adoc to the next open release

@hohwille hohwille merged commit 90d6b8d into devonfw:main Sep 20, 2024
4 checks passed
@jan-vcapgemini jan-vcapgemini deleted the fix/628-update-fails-on-first-error branch November 4, 2024 11:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bugfix update related to updating software or the entire ide
Projects
Status: ✅ Done
Development

Successfully merging this pull request may close these issues.

ide update fails on first error
3 participants