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

#827: Made status commandlet available outside of IDE_HOME #885

Merged

Conversation

WorkingAmeise
Copy link
Contributor

Closes: #827

  • Made the status commandlet not require IDE_HOME or IDE_ROOT
  • Wrote a test for given szenario

Made the status commandlet not require IDE_HOME or IDE_ROOT
Wrote a test for given szenario
@WorkingAmeise WorkingAmeise self-assigned this Dec 10, 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.

@WorkingAmeise thanks for fixing the problem and also adding a test. 👍
I left some review comments. Please address them so we can merge.

WorkingAmeise added 3 commits December 11, 2024 10:29
Changed StatusCommandlet.idIdeHomeRequired() to return the value of StatusCommandlet.isIdeRootRequired(), since one only makes sense with the other.
Removed accidentaly duplicated line in AbstractIdeContext.applyAndRun().
Changed test to work on every machine and if the User does not have IDEasy on drive C:
@coveralls
Copy link
Collaborator

coveralls commented Dec 11, 2024

Pull Request Test Coverage Report for Build 12300517835

Warning: This coverage report may be inaccurate.

This pull request's base commit is no longer the HEAD commit of its target branch. This means it includes changes from outside the original pull request, including, potentially, unrelated coverage changes.

Details

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage increased (+0.4%) to 67.429%

Totals Coverage Status
Change from base Build 12300141206: 0.4%
Covered Lines: 6653
Relevant Lines: 9527

💛 - Coveralls

@hohwille hohwille added this to the release:2024.12.001 milestone Dec 12, 2024
@hohwille hohwille self-assigned this Dec 12, 2024
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.

LGTM. Added a small CR.

hohwille and others added 2 commits December 12, 2024 17:21
…ndletTest.java

Co-authored-by: jan-vcapgemini <59438728+jan-vcapgemini@users.noreply.github.com>
@hohwille hohwille merged commit 4c47f1f into devonfw:main Dec 12, 2024
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: ✅ Done
Development

Successfully merging this pull request may close these issues.

ide status fails outside IDE_HOME
4 participants