-
-
Notifications
You must be signed in to change notification settings - Fork 94
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
Feature: install from local cached download archives #224
Comments
What is the context you are using it in? |
No, there is not a way. There is no feature to reuse archives, and an option not to remove downloaded archive. |
Here is a patch to add '--keep' option to keep downloaded archive. You can also use '-O' output directory option to specify target directory. There is still NO way to reuse existent files, if it exist, aqt might download it again and overwrite it. |
This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days |
Here is how I use
python -m pip download --only-binary :all: -r requirements.txt with requests==2.25.1
aqtinstall==1.1.6
texttable
packaging in
python -m pip install --only-binary :all: --no-index --find-links qt5-default-5.15.2 -r qt5-default-5.15.2\requirements.txt
start python -m http.server --directory qt5-default-5.15.2
aqt install -E 7z --base http://127.0.0.1:8000/ --outputdir C:\Qt 5.15.2 windows desktop win64_mingw81 -m qtcharts qtscript |
@lebarsfa Thank you for the idea. |
@miurahr I would like to see this feature in aqt to speed up my CI setup. So to do this we would need a new |
Probably since around v2.1.0, the idea I mentioned above -- i.e. download e.g. ftp://mirrors.dotsrc.org/.mirrors/qtproject/online/qtsdkrepository/windows_x86/desktop/qt5_5152 to a local folder The easiest workaround at the moment is probably to keep using aqt v2.0.6. Otherwise, it seems that we would have to change I don't know if there are better ideas if you had set up a local folder using a standard mirror, updated aqt, but have now a limited Internet connection... |
Pull-Request is always welcome if you can add features such as 1) save sha256 file when --keep specified, and 2) download/read fron local storage when specified URL with file:// scheme. |
Is there a way to cache downloads with this tool and reuse previously downloaded downloads? I am curious.
The text was updated successfully, but these errors were encountered: