-
Couldn't load subscription status.
- Fork 103
Description
For epic #941 we also need to adapt the devonfw-ide scripts itself such that it uses ide-urls instead of ide-mirrors.
This story is about writing the migration script (see #971) for the upcoming release 2023.04.001 with the following aspects:
- delete the
mirrorsfolder. - clone the
ide-urlsrepository into folderurls. - adapt
devon.propertiesfrom the legacy config to the new one as discussed in the epic New approach for ide-mirrors #941, etc. Details are given below.
For the replacements in devon.properties use the following rules:
- Variable
INTELLIJ_EDITION_TYPEhas to be renamed toINTELLIJ_EDITION. - Variable
ECLIPSE_EDITION_TYPEhas to be renamed toECLIPSE_EDITION. - Variable
MAVEN_VERSIONhas to be renamed toMVN_VERSION. - Variable
SONARQUBE_VERSIONhas to be renamed toSONAR_VERSION. - Value of intellij edition
Chas to be changed tointellij(default edition is community edition). - Value of intellij edition
Uhas to be changed toultimate. - Value of eclipse edition
javahas to be changed toeclipse(default edition is java edition). - Value of docker edition has to be set to
dockerin case it isDOCKERDESKTOPordockerand in any other case torancher.
The above replacements shall happen in all affected devon.properties (see configuration to get the list of them but you can ignore 8.). In case a replacement is happening in ~/devon.properties you should raise a end-user message with confirmation that he needs to update all his devonfw-ide installations to the new version to avoid breaking changes.
Please also update the edition documentation in the following places:
- https://github.com/devonfw/ide/blob/master/documentation/intellij.asciidoc
- https://github.com/devonfw/ide/blob/master/documentation/eclipse.asciidoc
- https://github.com/devonfw/ide/blob/master/documentation/docker.asciidoc#docker-desktop
- https://github.com/devonfw/ide/blob/master/documentation/variables.asciidoc - add
«TOOL»_EDITIONnext to«TOOL»_VERSIONvariable in this documentation.