From bc0d144fae341ca9f16c17d5d5feb947f8efc09f Mon Sep 17 00:00:00 2001 From: alfeilex <101652401+alfeilex@users.noreply.github.com> Date: Thu, 19 Dec 2024 17:22:26 +0100 Subject: [PATCH 1/7] #764: Fix IDEasy for CMD by adding Git related entries into PATH (#886) --- CHANGELOG.adoc | 1 + cli/src/main/package/bin/ide.bat | 15 +++++++++++++++ 2 files changed, 16 insertions(+) diff --git a/CHANGELOG.adoc b/CHANGELOG.adoc index 46d912799..70174606c 100644 --- a/CHANGELOG.adoc +++ b/CHANGELOG.adoc @@ -19,6 +19,7 @@ Then run the `setup` and all should work fine. Release with new features and bugfixes: +* https://github.com/devonfw/IDEasy/issues/764[#764]: Fix IDEasy in CMD * https://github.com/devonfw/IDEasy/issues/774[#774]: HTTP proxy support not working properly * https://github.com/devonfw/IDEasy/issues/792[#792]: Honor new variable IDE_OPTIONS in ide command wrapper * https://github.com/devonfw/IDEasy/issues/589[#589]: Fix NLS Bundles for Linux and MacOS diff --git a/cli/src/main/package/bin/ide.bat b/cli/src/main/package/bin/ide.bat index 86ccf60e2..6f0bdec0c 100644 --- a/cli/src/main/package/bin/ide.bat +++ b/cli/src/main/package/bin/ide.bat @@ -5,6 +5,20 @@ Set _fBGreen= Set _fBRed= Set _RESET= +rem Add Git PATH entries for CMD - https://github.com/devonfw/IDEasy/issues/764 +for %%H in ( HKEY_LOCAL_MACHINE HKEY_CURRENT_USER ) do for /F "usebackq tokens=2*" %%O in (`call "%SystemRoot%"\system32\reg.exe query "%%H\Software\GitForWindows" /v "InstallPath" 2^>nul ^| "%SystemRoot%\system32\findstr.exe" REG_SZ`) do set GIT_HOME=%%P + +set "GIT_BIN=%GIT_HOME%\usr\bin" +set "GIT_CORE=%GIT_HOME%\mingw64\libexec\git-core" + +if exist "%GIT_BIN%" ( + echo "%PATH%" | find /i "%GIT_BIN%">nul || set "PATH=%PATH%;%GIT_BIN%" +) + +if exist "%GIT_CORE%" ( + echo "%PATH%" | find /i "%GIT_CORE%">nul || set "PATH=%PATH%;%GIT_CORE%" +) + if not "%1%" == "" ( ideasy %IDE_OPTIONS% %* if not %ERRORLEVEL% == 0 ( @@ -17,6 +31,7 @@ REM https://stackoverflow.com/questions/61888625/what-is-f-in-the-for-loop-comma for /f "tokens=*" %%i in ('ideasy %IDE_OPTIONS% env') do ( call set %%i ) + if not %ERRORLEVEL% == 0 ( echo IDE environment variables have been set for %IDE_HOME% in workspace %WORKSPACE% ) From 9df373bed55fdb90ce8401121004ae4477ac2193 Mon Sep 17 00:00:00 2001 From: devonfw-core Date: Fri, 20 Dec 2024 10:20:46 +0000 Subject: [PATCH 2/7] set release version to 2024.12.002-beta --- .mvn/maven.config | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.mvn/maven.config b/.mvn/maven.config index ea9b5e163..0a78a055f 100644 --- a/.mvn/maven.config +++ b/.mvn/maven.config @@ -1 +1 @@ --Drevision=2024.12.002-beta-SNAPSHOT +-Drevision=2024.12.002-beta From 7ecb5da0e099e2f7b7be7f1848d26e4041b890c7 Mon Sep 17 00:00:00 2001 From: devonfw-core Date: Fri, 20 Dec 2024 10:25:10 +0000 Subject: [PATCH 3/7] set next version to 2024.12.003-beta-SNAPSHOT --- .mvn/maven.config | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.mvn/maven.config b/.mvn/maven.config index 0a78a055f..de0a281a6 100644 --- a/.mvn/maven.config +++ b/.mvn/maven.config @@ -1 +1 @@ --Drevision=2024.12.002-beta +-Drevision=2024.12.003-beta-SNAPSHOT From 7668189134929c5a65d31f8c1be60d7b862ef55a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Hohwiller?= Date: Fri, 20 Dec 2024 11:43:40 +0100 Subject: [PATCH 4/7] Update maven.config: prepare next release --- .mvn/maven.config | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.mvn/maven.config b/.mvn/maven.config index de0a281a6..18f1acba3 100644 --- a/.mvn/maven.config +++ b/.mvn/maven.config @@ -1 +1 @@ --Drevision=2024.12.003-beta-SNAPSHOT +-Drevision=2025.01.001-beta-SNAPSHOT From cac095bc3552c1401494370d14d014824fa1b066 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Hohwiller?= Date: Fri, 20 Dec 2024 11:44:37 +0100 Subject: [PATCH 5/7] Update CHANGELOG.adoc: prepare 2025.01.001 --- CHANGELOG.adoc | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/CHANGELOG.adoc b/CHANGELOG.adoc index 70174606c..12ed4f6de 100644 --- a/CHANGELOG.adoc +++ b/CHANGELOG.adoc @@ -2,6 +2,13 @@ This file documents all notable changes to https://github.com/devonfw/IDEasy[IDEasy]. +== 2025.01.001 + +Release with new features and bugfixes: + + +The full list of changes for this release can be found in https://github.com/devonfw/IDEasy/milestone/18?closed=1[milestone 2025.01.001]. + == 2024.12.002 Release with new features and bugfixes: From a34cd9609224b78577294ad43e61897d3c90e77d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Hohwiller?= Date: Mon, 6 Jan 2025 17:10:52 +0100 Subject: [PATCH 6/7] Update advanced-tooling-generic.adoc --- documentation/advanced-tooling-generic.adoc | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/documentation/advanced-tooling-generic.adoc b/documentation/advanced-tooling-generic.adoc index 9ea867fd1..792c9261f 100644 --- a/documentation/advanced-tooling-generic.adoc +++ b/documentation/advanced-tooling-generic.adoc @@ -6,7 +6,13 @@ toc::[] == Browser Plugins There are tons of helpful browser plugins out there and it might be a matter of personal taste what you like to have installed. -However, as we are heavily using github we want to promote https://github.com/buunguyen/octotree#octotree[octotree]. +The following are explicitly worth to mention: + +* https://darkreader.org/[DarkReader] - for developers enjoying dark-mode (and get eye-cancer from white backgrounds) +* https://www.tampermonkey.net/[TamperMonkey] - even though not recommended to be always on for security reasons this is the ultimate swiss-army-knife of every web-developer. +* FF only: https://addons.mozilla.org/en-US/firefox/addon/simple-tab-groups/[Simple Tab Groups] - only for power-users that need to manage 100+ open tabs in multi-tenancy contexts. + +For the record: HttpsEverywhere is dead since now there is https://www.eff.org/https-everywhere/set-https-default-your-browser[native browser support for HTTPS only]. == Draw Diagrams From ca658ef82ab4f49e92223109f0b6ba0dd5831388 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Hohwiller?= Date: Mon, 6 Jan 2025 17:13:15 +0100 Subject: [PATCH 7/7] Update advanced-tooling-generic.adoc --- documentation/advanced-tooling-generic.adoc | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/documentation/advanced-tooling-generic.adoc b/documentation/advanced-tooling-generic.adoc index 792c9261f..b96dc5347 100644 --- a/documentation/advanced-tooling-generic.adoc +++ b/documentation/advanced-tooling-generic.adoc @@ -10,7 +10,7 @@ The following are explicitly worth to mention: * https://darkreader.org/[DarkReader] - for developers enjoying dark-mode (and get eye-cancer from white backgrounds) * https://www.tampermonkey.net/[TamperMonkey] - even though not recommended to be always on for security reasons this is the ultimate swiss-army-knife of every web-developer. -* FF only: https://addons.mozilla.org/en-US/firefox/addon/simple-tab-groups/[Simple Tab Groups] - only for power-users that need to manage 100+ open tabs in multi-tenancy contexts. +* FF only: https://addons.mozilla.org/en-US/firefox/addon/simple-tab-groups/[Simple Tab Groups] - only for power-users that need to manage 100+ open tabs in multi-tenancy contexts (project A, project B, timetracking, travel, etc.). For the record: HttpsEverywhere is dead since now there is https://www.eff.org/https-everywhere/set-https-default-your-browser[native browser support for HTTPS only]. @@ -27,7 +27,3 @@ Its simplicity allows branching and merging unlike other greedy binary UML data- If you are looking for a git client that works cross-platform we recommend to use https://git-fork.com/[Fork]. -== Tab Grouping For The Web Browser - -https://addons.mozilla.org/en-US/firefox/addon/simple-tab-groups/[Simple Tab Groups] is a Firefox plugin that helps to separate tabs e.g. tabs for projekt A, projekt B, travelplanning or hobbies -