You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As a IDEasy settings admin, I want to create a IDEasy project specifying a feature branch to my settings git repo so that I can test the changes before developers pull in updates that may break something and block their daily work.
$ ide create test-settings-branch https://github.com/devonfw/ide-settings.git#dev-ide-settings
Creating new IDEasy project in D:\projects\test-settings-branch
Start: Clone settings repository
Cloning into '.'...
fatal: unable to update url base from redirection:
asked for: https://github.com/devonfw/ide-settings.git#dev-ide-settings/info/refs?service=git-upload-pack
redirect: https://github.com/devonfw/ide-settings
Running command 'C:\Program Files\Git\cmd\git.exe' with arguments 'clone' '--recursive' 'https://github.com/devonfw/ide-settings.git#dev-ide-settings' '--config' 'core.autocrlf=false' '.'
failed with exit code 128!
Git failed to clone https://github.com/devonfw/ide-settings.git#dev-ide-settings into D:\projects\test-settings-branch\settings.
Successfully updated settings repository.
Templates folder is missing in settings repository.
Start: Install or update software
Successfully installed java in version 23.0.1_11
Start: Install mvn
No templates found in settings git repo neither in D:\projects\test-settings-branch\settings\templates nor in D:\projects\test-settings-branch\settings\devon - configuration broken
Successfully installed mvn in version 3.9.9
Artifact already exists at C:\Users\hohwille\Downloads\ide\default\node-v23.3.0-windows-x64.zip
To force update please delete the file and run again.
Checksum 868cd7af6f0c042944c38b1bc1212d608177478da2a141bd404f9366d8fbd2dd is correct.
Unpacking 100% [===============================================================] 33/33MiB (0:00:03 / 0:00:00) 11.3MiB/s
Successfully installed node in version v23.3.0
Start: Install npm
Successfully installed npm in version 10.9.1
Successfully ended step 'Install or update software'.
Cannot find repositories folder nor projects folder.
Successfully created new project 'test-settings-branch'.
Successfully completed ide (create,test-settings-branch,https://github.com/devonfw/ide-settings.git#dev-ide-settings)
$ cd test-settings-branch/
$ ls -la settings/
total 0
drwxr-xr-x 1 hohwille 1049089 0 Nov 29 18:30 ./
drwxr-xr-x 1 hohwille 1049089 0 Nov 29 18:30 ../
Steps to reproduce (bug) / Use Case of feature request (enhancement)
ide create test-settings-branch https://github.com/devonfw/ide-settings.git#dev-ide-settings
Related/Dependent Issues
Comments/Hints:
fatal: unable to update url base from redirection:
asked for: https://github.com/devonfw/ide-settings.git#dev-ide-settings/info/refs?service=git-upload-pack
It seems as if the feature branch was not properly separated from the URL passed to git.
Expected behavior
As a IDEasy settings admin, I want to create a IDEasy project specifying a feature branch to my settings git repo so that I can test the changes before developers pull in updates that may break something and block their daily work.
See the feature described in usage.
Actual behavior
Steps to reproduce (bug) / Use Case of feature request (enhancement)
ide create test-settings-branch https://github.com/devonfw/ide-settings.git#dev-ide-settings
Related/Dependent Issues
Comments/Hints:
It seems as if the feature branch was not properly separated from the URL passed to git.
IDEasy/cli/src/main/java/com/devonfw/tools/ide/context/GitContextImpl.java
Lines 139 to 168 in d7df00d
Affected version:
The text was updated successfully, but these errors were encountered: