darcs repository web UI and hosting app. This is the main darcsden trunk, which also runs hub.darcs.net. (https://hub.darcs.net)
#48confusion about username in ssh get address
bens reported: After forking the plugins project I tried to darcs get it.
ben@debian-64 ~/code$ darcs get bens@hub.darcs.net:bens/plugins
/home/darcsden/users/bens/bens/plugins//_darcs/prefs/motd: canonicalizePath: does not exist (No such file or directory)
/home/darcsden/users/bens/bens/plugins//_darcs/format: canonicalizePath: does not exist (No such file or directory)
/home/darcsden/users/bens/bens/plugins//_darcs/inventory: canonicalizePath: does not exist (No such file or directory)
darcs failed: Not a repository: bens@hub.darcs.net:bens/plugins ((scp) failed to fetch: bens@hub.darcs.net:bens/plugins//_darcs/inventory)
HINT: Do you have the right URI for the repository?
If so, check with the repository owner to see if the following files
are readable:
1. _darcs/format - might not exist; that's OK
2. _darcs/inventory - should exist if #1 is missing
3. _darcs/hashed_inventory - should exist if #2 is missing
I worked out what I was doing wrong though the FAQ was a little misleading. It said that in user@hub.darcs.net:user/repo that the user/ part is optional, but it actually needs to be left out.
- description updated
- description updated
- description updated
- description updated
Yes the doc is wrong: currently you can get
you@hub.darcs.net:owner/repo
only if you are a member of the repo. It should also let you do this if you are the owner, but currently does not. Probably it should let you get any private repo that you own, or any public repo, this way.Doc updated to match the current functionality.
Enabling ssh get of any repo requires some security review, since all ssh-based operations go through the same code path.
Hm, I think this was fixed? At least it works for me:
% darcs get co-dan@hub.darcs.net:co-dan/persistent-cereal Copying patches, to get lazy repository hit ctrl-C... Finished getting.
- status set to closed
Yes this was fixed for repo owners. But not yet for non-owner non-members (coincidentally I just opened #89 for that). I'll close this and continue over there.
- status set to open
I believe this should be reopened.
I'm getting the same error and I noticed it mentioned on stackoverflow a few days ago http://stackoverflow.com/questions/19802455/darcs-appending-extra-directory-separator
darcs failed: Not a repository: rdesfo@hub.darcs.net:rdesfo/test ((scp) failed to fetch: rdesfo@hub.darcs.net:rdesfo/test//_darcs/inventory)
$ darcs get rdesfo@hub.darcs.net:rdesfo/test ... HINT: Do you have the right URI for the repository?
If so, check with the repository owner to see if the following files are readable: 1. _darcs/format - might not exist; that's OK 2. _darcs/inventory - should exist if #1 is missing 3. _darcs/hashed_inventory - should exist if #2 is missing