Conversation
|
All the CLI commands are working, except the login. I'm talking with the turso team to see if it is something we are doing here. I'll keep this in draft while figuring that out. |
|
If someone else could try it out to see if the login is working then it would mean it is something on my machine, we can merge this in that case. |
|
I'm on the previous version on nixpkgs (v0.85.3) and login didn't work for me either, but there's |
|
I checked out this PR and run Error: failed to get groups: Get "https://api.turso.tech/v1/groups": net/http: invalid header field value for "Tursocliversion"List command didn't work either. Hope this is helpful in some way. |
|
So, progress on this is on this thread on their discord TL;DR:
I have no idea why enabling the Following the suggestion @kashw2 made from the beginning (#257627 (comment)) works. I was against it because I though the build tag would be used elsewhere. It isn't, but it could be. Also, my point here about |
|
@frontsideair can you try again with my latest commit? I tried and it is working for me. |
|
@Fryuni Tried with the last commit, can confirm that login and other authenticated commands that I tried all worked. Thanks! |
|
I figured out why the auth it wasn't working before, it uses the embedded version on the request to the server, but Turso uses |
|
@lovesegfault you able to take a look? |
|
Result of 1 package built:
|
Description of changes
Changes: tursodatabase/turso-cli@v0.85.3...v0.86.3
Things done
sandbox = trueset innix.conf? (See Nix manual)nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage./result/bin/)