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

#415: log command before sudo pw #732

Merged
merged 9 commits into from
Nov 11, 2024

Conversation

leonrohne27
Copy link
Contributor

Fixes: #415

implements:

  • Added a method that will inform the user for what process he will need to enter his sudo- password

Added a method that will inform the user for what process he will need to enter his root-password
@coveralls
Copy link
Collaborator

coveralls commented Oct 30, 2024

Pull Request Test Coverage Report for Build 11782731350

Details

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • 29 unchanged lines in 1 file lost coverage.
  • Overall coverage decreased (-0.05%) to 66.902%

Files with Coverage Reduction New Missed Lines %
com/devonfw/tools/ide/tool/GlobalToolCommandlet.java 29 2.02%
Totals Coverage Status
Change from base Build 11721203765: -0.05%
Covered Lines: 6311
Relevant Lines: 9092

💛 - 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.

@leonrohne27 thanks for your PR. Your solution should already work slightly 👍
However, I left some comments for improvement since you are logging too much information what will confuse or mislead the user.
Since I am sure, you will rework this easily, I already approve so if the review comments are resolved, we can merge this.

Changed logPackageManagerCommands so that it only prints out the output for the single PackageManagerCommand that will be executed
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.

@leonrohne27 thanks for your rework. Now perfect 👍
Ready for merge.

@hohwille hohwille added this to the release:2024.11.001 milestone Nov 1, 2024
@hohwille hohwille linked an issue Nov 1, 2024 that may be closed by this pull request
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.

Sorry - I just wanted to merge but checked the story again and found that you missed an explicit requirement given in #415. Please update so we can merge.

@hohwille hohwille merged commit 6cb3765 into devonfw:main Nov 11, 2024
4 checks passed
@hohwille hohwille added the reviewed Marks PRs that have been presented in the sprint-review meeting or that do not need to be presented. label Nov 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
reviewed Marks PRs that have been presented in the sprint-review meeting or that do not need to be presented.
Projects
Status: ✅ Done
Development

Successfully merging this pull request may close these issues.

Log command before asking user for sudo password
3 participants