Skip to content
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

Download Cache not working with latest version #1293

Open
tobka777 opened this issue Jul 27, 2023 · 1 comment
Open

Download Cache not working with latest version #1293

tobka777 opened this issue Jul 27, 2023 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@tobka777
Copy link
Member

Expected behavior

As a tool user, I want to have every time the latest version so that I can work with the newest features.

Actual behavior

We have a "Download Cache" for devonfw-ide. For this we download tools and put them under ~/Downloads/devonfw-ide/«tool»-«version»[-«edition»].«extension».

We sometimes have as «version» simply latest and this means semantically that it is the latest version. But this does not make the filename and the file content permanently stable. So in this case it is wrong that if the file already exists, we don't re-download it.

In other words: We are not allowed to use latest as version, but we have to solve the updater problems. Our scripts must then resolve something like latest to the correct version and then download that specifically to a file with the version on it. This concerns at least pip and docker-desktop.

Related/Dependent Issues

Affected version:

  • OS: Windows/Linux/Mac
@tobka777 tobka777 added the bug Something isn't working label Jul 27, 2023
@hohwille
Copy link
Member

hohwille commented Aug 7, 2023

So doDownload should not save or reuse latest version in download cache folder.
For docker, I have created the separate story #1317 to improve the UrlUpdater.

@CREITZ25 CREITZ25 self-assigned this Aug 9, 2023
@hohwille hohwille changed the title Download Cache not work with latest version Download Cache not working with latest version Aug 31, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants