Skip to content

New approach for ide-mirrors #941

@hohwille

Description

@hohwille

This epic is about replacing ide-mirrors with ide-urls. The latter has been created from scratch for this epic.
The rationale is that ide-mirrors had several design flaws in its structure that prevented us from automatic updating and required manual intervention. The idea of both mirrors and urls is to provide the meta-data of all the various tools we support with their available versions and URLs where to download which version for what operating system and architecture.
With the new approach of ide-urls we want to make a clean cut and redesign the entire structure of the metadata such that we get rid of manual maintenance and our end-users benefit from getting always the latest meta-data what especially means the latest available version information. The benefit of creating a new ide-urls repository is that we can keep the existing ide-mirrors untouched so existing releases of devonfw-ide out there that still rely on it do not get broken by our changes. Starting with release 2023.07.001 the new ide-urls will be used and ide-mirrors becomes legacy. For downward compatibility we will leave ide-mirrors online even for a long time after the new release is published. However, after a year or so it could also be deleted.

So far we have implemented an approach in get-versions script that computes the available-versions from scratch every time via curl download and pipe magic to extract the versions from formats such as JSON, do specific replacements, filter unstable/undesired versions, sort versions, etc.

The actual details can be found in the comments below.

I marked this complex issue as an Epic and therefore created sub-tasks for the actual stories to break down the epic:

Metadata

Metadata

Labels

Epicsomething big that needs to be split into smaller stories (issues)enhancementNew feature or request

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions