-
Notifications
You must be signed in to change notification settings - Fork 29
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
Add UpgradeSettingsCommandlet for the upgrade of legacy devonfw-ide settings to IDEasy #759
Closed
10 of 11 tasks
Labels
configuration
should be configurable or configuration change
enhancement
New feature or request
settings
ide-settings repo and replated processes and features
Milestone
Comments
hohwille
added
settings
ide-settings repo and replated processes and features
configuration
should be configurable or configuration change
labels
Nov 13, 2024
leonrohne27
added a commit
to leonrohne27/IDEasy
that referenced
this issue
Nov 19, 2024
KianRolf
added a commit
to leonrohne27/IDEasy
that referenced
this issue
Nov 20, 2024
leonrohne27
added a commit
to leonrohne27/IDEasy
that referenced
this issue
Nov 20, 2024
KianRolf
added a commit
to leonrohne27/IDEasy
that referenced
this issue
Nov 20, 2024
leonrohne27
added a commit
to leonrohne27/IDEasy
that referenced
this issue
Nov 20, 2024
delete devon.properties if ide.properties already exists in same directory
leonrohne27
added a commit
to leonrohne27/IDEasy
that referenced
this issue
Nov 21, 2024
leonrohne27
added a commit
to leonrohne27/IDEasy
that referenced
this issue
Nov 21, 2024
leonrohne27
added a commit
to leonrohne27/IDEasy
that referenced
this issue
Nov 22, 2024
Removed testThatHomeIsRequired in EnvironmentCommanletTest
leonrohne27
added a commit
to leonrohne27/IDEasy
that referenced
this issue
Nov 25, 2024
Added a method that checks if legacy folder exists and renames them
KianRolf
added a commit
to leonrohne27/IDEasy
that referenced
this issue
Nov 25, 2024
KianRolf
added a commit
to leonrohne27/IDEasy
that referenced
this issue
Nov 25, 2024
leonrohne27
added a commit
to leonrohne27/IDEasy
that referenced
this issue
Nov 25, 2024
leonrohne27
added a commit
to leonrohne27/IDEasy
that referenced
this issue
Nov 25, 2024
Added 2 methods that replace all legacy IdeVariables with updated ones, e.g ${DEVON_IDE_HOME} to $[IDE_HOME]
leonrohne27
added a commit
to leonrohne27/IDEasy
that referenced
this issue
Nov 25, 2024
Added A method that deletes a 'replacement-patterns.properties' -file, if it exists
KianRolf
added a commit
to leonrohne27/IDEasy
that referenced
this issue
Nov 25, 2024
KianRolf
added a commit
to leonrohne27/IDEasy
that referenced
this issue
Nov 25, 2024
leonrohne27
added a commit
to leonrohne27/IDEasy
that referenced
this issue
Nov 25, 2024
For the record: |
leonrohne27
added a commit
to leonrohne27/IDEasy
that referenced
this issue
Nov 26, 2024
added a method that reads out and checks all .xml files in settings/*/workspaces for the namespace. If not found, a warning is printed.
leonrohne27
added a commit
to leonrohne27/IDEasy
that referenced
this issue
Nov 26, 2024
KianRolf
added a commit
to leonrohne27/IDEasy
that referenced
this issue
Nov 27, 2024
hohwille
added a commit
to leonrohne27/IDEasy
that referenced
this issue
Jan 8, 2025
replaced regex parsing with indexOf added JsonIgnores and JsonProperties to CustomTool converted version from versionIdentifier to String added Tool record to CustomToolsJson
hohwille
added a commit
to leonrohne27/IDEasy
that referenced
this issue
Jan 8, 2025
replaced regex parsing with indexOf added JsonIgnores and JsonProperties to CustomTool converted version from versionIdentifier to String added Tool record to CustomToolsJson
hohwille
added a commit
to leonrohne27/IDEasy
that referenced
this issue
Jan 8, 2025
replaced regex parsing with indexOf added JsonIgnores and JsonProperties to CustomTool converted version from versionIdentifier to String added Tool record to CustomToolsJson
hohwille
added a commit
to leonrohne27/IDEasy
that referenced
this issue
Jan 8, 2025
added JsonIgnores and JsonProperties to CustomTool converted version from versionIdentifier to String added Tool record to CustomToolsJson
jan-vcapgemini
added a commit
to leonrohne27/IDEasy
that referenced
this issue
Jan 8, 2025
added missing settings.xml to devon/conf folder
hohwille
added a commit
to leonrohne27/IDEasy
that referenced
this issue
Jan 9, 2025
added missing settings.xml to devon/conf folder
hohwille
added a commit
to leonrohne27/IDEasy
that referenced
this issue
Jan 9, 2025
added missing settings.xml to devon/conf folder
jan-vcapgemini
added a commit
to leonrohne27/IDEasy
that referenced
this issue
Jan 9, 2025
replaced File readString with actual CustomToolJson assert
hohwille
added a commit
to leonrohne27/IDEasy
that referenced
this issue
Jan 9, 2025
hohwille
added a commit
to leonrohne27/IDEasy
that referenced
this issue
Jan 9, 2025
…ed to merge leading to error
hohwille
added a commit
to leonrohne27/IDEasy
that referenced
this issue
Jan 9, 2025
hohwille
added a commit
to leonrohne27/IDEasy
that referenced
this issue
Jan 9, 2025
jan-vcapgemini
added a commit
to leonrohne27/IDEasy
that referenced
this issue
Jan 10, 2025
fixed typo added test of convert to CustomToolsJsonMapperTest
jan-vcapgemini
changed the title
Create UpgradeSettingsCommandlet
Create UpgradeSettingsCommandlet to support the update of legacy devonfw-ide settings
Jan 10, 2025
jan-vcapgemini
changed the title
Create UpgradeSettingsCommandlet to support the update of legacy devonfw-ide settings
Create UpgradeSettingsCommandlet to support the upgrade of legacy devonfw-ide settings
Jan 10, 2025
jan-vcapgemini
changed the title
Create UpgradeSettingsCommandlet to support the upgrade of legacy devonfw-ide settings
Add UpgradeSettingsCommandlet for the upgrade of legacy devonfw-ide settings to IDEasy
Jan 10, 2025
jan-vcapgemini
added a commit
to leonrohne27/IDEasy
that referenced
this issue
Jan 10, 2025
jan-vcapgemini
added a commit
to leonrohne27/IDEasy
that referenced
this issue
Jan 10, 2025
replaced duplicated tests of CustomToolMetadata made tests more robust
jan-vcapgemini
added a commit
to leonrohne27/IDEasy
that referenced
this issue
Jan 10, 2025
jan-vcapgemini
added a commit
to leonrohne27/IDEasy
that referenced
this issue
Jan 13, 2025
added default implementation for remove method
jan-vcapgemini
added a commit
to leonrohne27/IDEasy
that referenced
this issue
Jan 13, 2025
removed unnecessary test files
jan-vcapgemini
added a commit
to leonrohne27/IDEasy
that referenced
this issue
Jan 13, 2025
removed unnecessary test files
jan-vcapgemini
added a commit
to leonrohne27/IDEasy
that referenced
this issue
Jan 13, 2025
fixed map eclipse legacy editions added private modifier
jan-vcapgemini
added a commit
to leonrohne27/IDEasy
that referenced
this issue
Jan 13, 2025
cleanup fixed typo
hohwille
added a commit
to leonrohne27/IDEasy
that referenced
this issue
Jan 13, 2025
jan-vcapgemini
added a commit
to leonrohne27/IDEasy
that referenced
this issue
Jan 14, 2025
removed remove method from EnvironmentVariables
jan-vcapgemini
added a commit
to leonrohne27/IDEasy
that referenced
this issue
Jan 14, 2025
hohwille
pushed a commit
that referenced
this issue
Jan 14, 2025
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
configuration
should be configurable or configuration change
enhancement
New feature or request
settings
ide-settings repo and replated processes and features
As a IDEasy user comming from a devonfw-ide project, I want to have a command to upgrade my settings from devonfw-ide to IDEasy so that I can get rid of all legacy after all my team members have already switched to IDEasy.
An
UpgradeSettingsCommandlet
shall be added so I can runide upgrade-settings
to upgrade my settings:devon.properties
are renamed toide.properties
. In case a correspondingide.properties
already exists, the config from thedevon.properties
is merged into the existingide.properties
whereide.properties
is the new one and therefore has priority if different values for the same property are defined in both files, the one fromdevon.properties
is ignored/lost. This not only applies tosettings
but also toconf
and allworkspaces
.ide.properties
are replaced with their new name (if both legacy and new variable name is defined, the legacy one is removed).ide.properties
are removed (only the last occurrence is kept).DEVON_IDE_CUSTOM_TOOLS
exists, it is converted into aide-custom-tools.json
file insettings
and the variable is removed (see here and legacy).settings/devon
folder exists, it is renamed tosettings/templates
settings/projects
folder exists, it is renamed tosettings/repositories
settings/workspace
andsettings/*/workspace
and replace all knownIdeVariables
from CURLY into ANGLED syntax and legacy variable names are replaced with their new names. So e.g.${DEVON_IDE_HOME}
is replaced with$[IDE_HOME]
or${MAVEN_VERSION}
is replaced with$[MVN_VERSION]
. We also need to replace${SETTINGS_PATH}
with$[IDE_HOME]/settings
.xml
file that is not containing the XML namespace of our merger, we print a warning with the filepath saying that this file is most-likely outdated and print a link to a documentation page about this settings migration feature and linking to our XML merger docs in configurator and telling the project to sync their workspace config manually with the officialide-settings
git repo on github provided by us as template for the settings.settings/ide.properties
does not containIDE_VARIABLE_SYNTAX_LEGACY_SUPPORT_ENABLED=false
it will be added.if a replacement-patterns.properties is found in aworkspace
folder a warning will be logged if the file is not empty and the file will be deleted.General note:
The text was updated successfully, but these errors were encountered: