IDEasy not cloning active repositories from devonfw-ide legacy settings #911
Labels
bug
Something isn't working
configuration
should be configurable or configuration change
repository
Commandlet to clone, build or import git repositories
settings
ide-settings repo and replated processes and features
Expected behavior
As a IDEasy user, I want to work with my devonfw-ide project or upgrade-settings to IDEasy so that it works like with devonfw-ide and I do not have to worry about incompatibilities.
Actual behavior
Steps to reproduce (bug) / Use Case of feature request (enhancement)
ide create myproject «url-of-devonfw-ide-settings-project-with-active-project-repository»
Related/Dependent Issues
Story #100, PR #143
Implemented like this:
IDEasy/cli/src/main/java/com/devonfw/tools/ide/commandlet/RepositoryConfig.java
Line 61 in 3a24512
Correctly as documented in devonfw-ide and doc was linked from the story.
Bute there is something I missed:
https://github.com/devonfw/ide/blob/8698d2ba7468d34aec82c86fabdb09b5ee84d9c8/scripts/src/main/resources/scripts/functions-core#L41
When devonfw-ide started, a dot was used as separator (
git.url
).Later properties were loaded into bash variables and those variables cannot have a dot in the name.
So we replaced the dot with an underscore.
All projects that started earlier were using
git.url
andgit.branch
instead ofgit_url
andgit_branch
.See here as a proof:
https://github.com/devonfw/ide-settings/blob/4214b9dca2b3d5efdcbf8e60cb62617cc90f2f9f/projects/devon4j.properties
Comments/Hints:
RepositoryConfig
to fallback to the property names with dots.Affected version:
The text was updated successfully, but these errors were encountered: