Skip to content

Adapt scripts to use ide-urls #1084

@hohwille

Description

@hohwille

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 all the required changes to the scripts:

  • adapt doDownload function and all related functions to use ide-urls with the new layout. We can drop all variable replacements and do a lot of simplification but also need to verify checksums (see compute checksum of binary downloads #1065).
  • also functions to list versions and determine the latest version have to be rewritten (available-versions does not exist anymore and a new challenge is that we have to be able to sort the versions properly that we get from the list of version folders and for some tools like Java there are some specific sorting challenges).
  • adapt commandlets (at least mvn, node, cobigen, docker, intellij, eclipse, and java) to fit to the new structure - so remove all functions doResolveDownloadUrl (see java), and change additions according to Create migration script to switch from mirrors to urls #1087. See also Align tool names in scripts #1085
  • define the following defaults for variables (unfortunately we can not do this in our own devon.properties as then it can not be overridden in ~/devon.properties according to the configuration order:
DOCKER_EDITION=rancher

ATTENTION: This story depends on story #1087 to be implemented/merged before this story to work properly.

Final acceptance criteria is that all tools in all editions with all versions can still be downloaded and installed from urls after removing mirrors.

Metadata

Metadata

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions