From 2940fa1ba20125ab74df6dd95a3bfaded31b40da Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Wed, 26 Mar 2014 13:11:49 -0400 Subject: [PATCH] respond; improve docs --- ..._latest_tahoe-lafs___40__v._1.10.0__41__.mdwn | 16 ++++++++++++++-- doc/special_remotes/tahoe.mdwn | 6 +++++- 2 files changed, 19 insertions(+), 3 deletions(-) diff --git a/doc/bugs/Fix_to_thaoe_remote_to_work_with_latest_tahoe-lafs___40__v._1.10.0__41__.mdwn b/doc/bugs/Fix_to_thaoe_remote_to_work_with_latest_tahoe-lafs___40__v._1.10.0__41__.mdwn index 017e792422..d4392ff6a2 100644 --- a/doc/bugs/Fix_to_thaoe_remote_to_work_with_latest_tahoe-lafs___40__v._1.10.0__41__.mdwn +++ b/doc/bugs/Fix_to_thaoe_remote_to_work_with_latest_tahoe-lafs___40__v._1.10.0__41__.mdwn @@ -36,6 +36,17 @@ way collect the caps of the files from annex metadatas and to link them to a directory, which where i can then run "tahoe deep-check --add-lease" on; +> When I talked this over with Zooko before, he +> thought it was better for git-annex to not use tahoe's directories, +> which is why it doesn't. See [[todo/tahoe_lfs_for_reals]]. +> +> This is the first I have heard about tahoe garbage collection. +> It sounds like it's an optional process. +> +> It would certainly be possible to pull the caps for files out of +> git-annex's remote state log. +> --[[Joey]] + 2. add convergence as an optional parameter. As of now many of the files that i'm willing to manage with git-annex are already on my grid, mostly because i've used tahoe's backup command to upload @@ -46,5 +57,6 @@ to save much time and space by avoiding duplicates. Do you have any good pointers to pieces code of git-annex that i can read and hack to try to implement this or any other suggestion? -> You sent me a email with these same questions and I'd rather not try to -> respond in 2 places. --[[Joey]] +> It was not documented, but you can already pass +> `shared-convergence-secret=xxx` to `initremote`. +> I have documented it. --[[Joey]] diff --git a/doc/special_remotes/tahoe.mdwn b/doc/special_remotes/tahoe.mdwn index afe8c11da9..df1ca620fb 100644 --- a/doc/special_remotes/tahoe.mdwn +++ b/doc/special_remotes/tahoe.mdwn @@ -22,8 +22,12 @@ daemon as needed. These parameters can be passed to `git annex initremote` to configure the tahoe remote. +* `shared-convergence-secret` - Optional. Can be useful to set to + allow tahoe to deduplicate information. By default, a new + shared-convergence-secret is created for each tahoe remote. + * `embedcreds` - Optional. Set to "yes" embed the tahoe credentials - (specifically the introducer furl and shared-convergence-secret) + (specifically the introducer-furl and shared-convergence-secret) inside the git repository, which allows other clones to also use them in order to access the tahoe grid.