Response body from github is not properly printed in error messages #794
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 project
No assignees
4 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: lix-project/lix#794
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?
Describe the bug
Some repos disallow classical access tokens to be used, when using lix with
access-tokens = github.com=<...>
, github returns a 403 and lix shows the following:Whereas cppnix shows this:
The former makes it very hard to understand what's going on.
Steps To Reproduce
rpcplorer.url = "github:Golem-Base/rpcplorer/v0.0.3";
Expected behavior
Properly decode and print the error message that was received in the http reply, like cppnix does.
nix --version
outputlix:
cppnix that I compared with:
nix (Nix) 2.24.14
oh, great. this looks like it's related to the curl fuckery (#662). we should revert the curl decompression changes that didn't actually work, at that point this failure should be fixed as well.
This issue was mentioned on Gerrit on the following CLs:
fixed since the revert is merged