platformio-core icon indicating copy to clipboard operation
platformio-core copied to clipboard

How to manually specify the download server

Open Kreedb opened this issue 4 months ago • 2 comments

I hope to download data from the Github image source because it can be accelerated using Github.

After reading the source code, I found that the variable 'registrant mirror hosts_' cannot determine the data download source.

https://dl.registry.platformio.org/download/platformio/tool/toolchain-riscv32-esp/14.2.0+20241119/toolchain-riscv32-esp-linux_x86_64-14.2.0+20241119.tar.gz

But the actual download address is scheduled by the server, which is not good. I hope to manually specify the download source.

Kreedb avatar Aug 24 '25 14:08 Kreedb

could someone please review these changes?

ritesh006 avatar Sep 06 '25 16:09 ritesh006

This PR is still adding the image address before the URL returned by the server, which is useless because the download address returned by the server is changing. I feel that this issue needs to be addressed by incorporating the server's source switching logic into Python code in order to be effective

Kreedb avatar Sep 08 '25 01:09 Kreedb