-
-
Notifications
You must be signed in to change notification settings - Fork 260
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
use Base.download to get archives #280
Conversation
What the reason for BinaryProvider not using |
This now prints
and we spawn multiple downloads at once so it will look pretty bad I think. |
Codecov Report
@@ Coverage Diff @@
## master #280 +/- ##
==========================================
- Coverage 88.39% 88.38% -0.01%
==========================================
Files 16 16
Lines 3464 3462 -2
==========================================
- Hits 3062 3060 -2
Misses 402 402
Continue to review full report at Codecov.
|
Back in the day, it was because the powershell implementation was broken, and we couldn't update people's (1) More flexible output handling (2) Resume capabilities (e.g. for large downloads on flaky connections) (3) Doesn't require the usage of the |
My opinion is that we should either be using the one in Base, or don't have it in Base at all. It is kind of absurd to have different implementations. |
Well, the docs of
I wanted to easily redirect the output, so that's what I did. |
We should probably add a "suppress output" option to Base.download then. |
In |
I don't see how that changes my argument
|
If by that you mean "this change should still be merged regardless of what If by that you mean "My point still stands about only having one |
My understanding (which might be wrong) is that BinaryProvider.jl is intended to become part of the stdlib, in which case we will end up with 2 "download" implementations in the standard Julia distribution. I don't see why your requests (which are entirely reasonable) can't be accommodated in the standard Julia That said, this might better be discussed as an issue in the julia repo itself. |
re: silent download, there is an old PR JuliaLang/julia#15930 |
|
Note: I haven't actually tested this (see #279).