Skip to content

#1870: Add generic get-version implementation for global tools under windows - #1896

Closed
jakozian wants to merge 36 commits into
devonfw:mainfrom
jakozian:feature/#1870-generic-get-version-implementation-global-tools-windows
Closed

#1870: Add generic get-version implementation for global tools under windows#1896
jakozian wants to merge 36 commits into
devonfw:mainfrom
jakozian:feature/#1870-generic-get-version-implementation-global-tools-windows

Conversation

@jakozian

@jakozian jakozian commented May 6, 2026

Copy link
Copy Markdown
Contributor

This PR fixes #1870

Implemented changes:

  • Add logic in getInstalledVersion of GlobalToolCommandlet to look up tool in Windows registry.

Checklist for this PR

Make sure everything is checked before merging this PR. For further info please also see
our DoD.

  • When running mvn clean test locally all tests pass and build is successful
  • PR title is of the form #«issue-id»: «brief summary» (e.g. #921: fixed setup.bat). If no issue ID exists, title only.
  • PR top-level comment summarizes what has been done and contains link to addressed issue(s)
  • PR and issue(s) have suitable labels
  • Issue is set to In Progress and assigned to you or there is no issue (might happen for very small PRs)
  • You followed all coding conventions
  • You have added the issue implemented by your PR in CHANGELOG.adoc unless issue is labeled
    with internal

jakozian and others added 26 commits April 28, 2026 09:09
Co-authored-by: MarvMa <marvin.meitzner@gmail.com>
…-tool' of https://github.com/jakozian/IDEasy into feature/devonfw#1870-generic-get-version-implementation-global-tools-windows
…tarts' of https://github.com/jakozian/IDEasy into feature/devonfw#1870-generic-get-version-implementation-global-tools-windows

# Conflicts:
#	CHANGELOG.adoc
…indows-registry' of https://github.com/jakozian/IDEasy into feature/devonfw#1870-generic-get-version-implementation-global-tools-windows
…indows-registry' into feature/devonfw#1870-generic-get-version-implementation-global-tools-windows
@github-project-automation github-project-automation Bot moved this to 🆕 New in IDEasy board May 6, 2026
@jakozian jakozian self-assigned this May 6, 2026
@jakozian jakozian added the windows specific for Microsoft Windows OS label May 6, 2026
@jakozian

jakozian commented May 6, 2026

Copy link
Copy Markdown
Contributor Author

Waiting for #1876 to get merged.

@jakozian
jakozian marked this pull request as ready for review May 7, 2026 07:50
@jakozian jakozian moved this from 🏗 In progress to Team Review in IDEasy board May 7, 2026
@MarvMa MarvMa self-assigned this May 7, 2026
@jakozian jakozian changed the title #1870: Implement generic get-version implementation for global tools under windows #1870: Add generic get-version implementation for global tools under windows May 7, 2026
@jakozian jakozian moved this from Team Review to 👀 In review in IDEasy board May 7, 2026
@jakozian
jakozian requested a review from hohwille May 7, 2026 13:36
@hohwille hohwille assigned hohwille and unassigned MarvMa and jakozian Jun 18, 2026
@@ -0,0 +1,68 @@
package com.devonfw.tools.ide.os;

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

should be removed. See PR #1876

Comment thread cli/src/test/java/com/devonfw/tools/ide/os/WindowsHelperMock.java Outdated
*/
public String getWindowsRegistryAppName() {

return this.tool;

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

don't we also have to override this for Docker and some other tools to make it work?

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Absolutely. This method should work for Docker and PgAdmin as well.

maybeec added 2 commits July 4, 2026 11:47
…generic-get-version-implementation-global-tools-windows

# Conflicts:
#	CHANGELOG.adoc
…generic-get-version-implementation-global-tools-windows

# Conflicts:
#	CHANGELOG.adoc
@hohwille

hohwille commented Aug 3, 2026

Copy link
Copy Markdown
Member

Replaced by PR #2244

@hohwille hohwille closed this Aug 3, 2026
@github-project-automation github-project-automation Bot moved this from 👀 In review to ✅ Done in IDEasy board Aug 3, 2026
@hohwille hohwille added this to the rejected milestone Aug 3, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

commandlet ide sub-command windows specific for Microsoft Windows OS

Projects

Status: ✅ Done

Development

Successfully merging this pull request may close these issues.

Implement generic get-version implementation for global tools under windows

6 participants