modernize curl usage #246
Labels
No labels
Affects/CppNix
Affects/Nightly
Affects/Only nightly
Affects/Stable
Area/build-packaging
Area/cli
Area/evaluator
Area/fetching
Area/flakes
Area/language
Area/lix ci
Area/nix-eval-jobs
Area/profiles
Area/protocol
Area/releng
Area/remote-builds
Area/repl
Area/repl/debugger
Area/store
bug
Context
contributors
Context
drive-by
Context
maintainers
Context
RFD
crash 💥
Cross Compilation
devx
docs
Downstream Dependents
E/easy
E/hard
E/help wanted
E/reproducible
E/requires rearchitecture
imported
Language/Bash
Language/C++
Language/NixLang
Language/Python
Language/Rust
Needs Langver
OS/Linux
OS/macOS
performance
regression
release-blocker
stability
Status
blocked
Status
invalid
Status
postponed
Status
wontfix
testing
testing/flakey
Topic/Large Scale Installations
ux
No milestone
No project
No assignees
3 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: lix-project/lix#246
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
there's a bunch of ancient curl stuff that needs changed:
curl_multi_wait
instead ofcurl_multi_poll
(https://gerrit.lix.systems/c/lix/+/854)maybe drop the curl_multi pretense and do curl_share in threads?(nope, won't share connections between threads)We probably want to replace any of the existing S3 support with CURLOPT_AWS_SIGV4 - sending a
PUT
to an S3 endpoint with the encryption flags set is (iirc?) exactly what Nix does already.Curl 7.75.0 has been released since February of 2021, which should be more than modern enough.
(It'd be nice if the HTTP binary cache stuff would also let us set authorization headers more arbitrarily; for e.g. Basic auth support.)
Would it be in scope for this issue to also get progress reports in the CLI for large downloads, or should I open a different issue? It may be more UI related.
Right now it looks like stuff just hangs in curl.
please open a new issue; iwrc we have all the infra needed to give progress reports fort individual downloads but just hide all but the global progress meter for some reason