-
Notifications
You must be signed in to change notification settings - Fork 21
thread 'main' panicked at 'failed to parse remote name: RefFormat(Space)' #233
Comments
Something worth doing is checking all the references under that namespace and checking the references. Hypothetically, there might be a reference which contains a space in it, which means that the check would fail. What version of radicle-link is being used here, btw? Would be good to know for digging into where the panic is happening. |
Thanks for taking a look Fintan. I'm on |
Yeah this is old code that has disappeared.. I found from log that what added it diff --git a/cli/lnk-identities/src/git/checkout.rs b/cli/lnk-identities/src/git/checkout.rs
index b85163dd..5a949465 100644
--- a/cli/lnk-identities/src/git/checkout.rs
+++ b/cli/lnk-identities/src/git/checkout.rs
...
+ let name =
+ RefLike::try_from(format!("{}@{}", handle, peer)).expect("failed to parse remote name");
|
Ya, but this still exists in our code today https://github.com/radicle-dev/radicle-link/blob/master/cli/lnk-identities/src/git/checkout.rs#L200-L201 So I think it's actually the |
LOL I had different error message... guess that clone I had was out of sync! 🥳 EDIT: err I mean 0.6 error message was diff :P yeah that makes sense - more coffee, or sleep ... 🤔
|
If by handle, you mean the project name, then yes, it's got spaces in it ("Bob Walsh"):
|
So how do we go about backporting a fix in radicle-link.. we probably can't atm 🤔 In case I missed something: We probably just roll a fix on master on radicle-link that .. some day will end up to the used radicle-cli release binary when e.g. garden seeds are brought up to new master CLI compatibility wise that links release cycle basis to link git tag Backporting fixes currently is interesting including with this release cycle coupling as reasonable person just would assume current master is what the users use with community seed nodes but in the end CLI binary was built long time ago and there is no way for us to nudge them to update |
I believe it would be a |
I'm getting an error when trying to clone a project from willow.radicle.garden:
The text was updated successfully, but these errors were encountered: