diff options
author | Joey Hess <joeyh@joeyh.name> | 2015-06-09 15:29:16 -0400 |
---|---|---|
committer | Joey Hess <joeyh@joeyh.name> | 2015-06-09 15:29:16 -0400 |
commit | 2d0ee3223d25a32050f680b6b23f9ebd24d112fa (patch) | |
tree | 76d3fea59121ce4f3cba1da8eee1b2387e18f5c1 | |
parent | cb2a155c9f35dfed9581008dcebe8136632cc951 (diff) |
tahoe: Use ~/.tahoe-git-annex/ rather than ~/.tahoe/git-annex/ to avoid old versions of tahoe create-client choking.
-rw-r--r-- | Remote/Tahoe.hs | 4 | ||||
-rw-r--r-- | debian/changelog | 2 | ||||
-rw-r--r-- | doc/bugs/Can__39__t_initialize_Tahoe_special_remote.mdwn | 9 |
3 files changed, 13 insertions, 2 deletions
diff --git a/Remote/Tahoe.hs b/Remote/Tahoe.hs index 4a5216194..f2649fa4b 100644 --- a/Remote/Tahoe.hs +++ b/Remote/Tahoe.hs @@ -9,7 +9,7 @@ - configuration, when embedcreds is enabled. - - Using those creds, git-annex sets up a tahoe configuration directory in - - ~/.tahoe/git-annex/UUID/ + - ~/.tahoe-git-annex/UUID/ - - Tahoe has its own encryption, so git-annex's encryption is not used. - @@ -141,7 +141,7 @@ checkKey u hdl k = go =<< getCapability u k defaultTahoeConfigDir :: UUID -> IO TahoeConfigDir defaultTahoeConfigDir u = do h <- myHomeDir - return $ h </> ".tahoe" </> "git-annex" </> fromUUID u + return $ h </> ".tahoe-git-annex" </> fromUUID u tahoeConfigure :: TahoeConfigDir -> IntroducerFurl -> Maybe SharedConvergenceSecret -> IO SharedConvergenceSecret tahoeConfigure configdir furl mscs = do diff --git a/debian/changelog b/debian/changelog index b4b4d68b7..b1e8e1178 100644 --- a/debian/changelog +++ b/debian/changelog @@ -21,6 +21,8 @@ git-annex (5.20150529) UNRELEASED; urgency=medium --all/--unused/--key mode or a in a bare repo. Closes: #753888 Otherwise, still reports files with lost contents, even if the content is dead. + * tahoe: Use ~/.tahoe-git-annex/ rather than ~/.tahoe/git-annex/ + to avoid old versions of tahoe create-client choking. -- Joey Hess <id@joeyh.name> Sat, 30 May 2015 02:07:18 -0400 diff --git a/doc/bugs/Can__39__t_initialize_Tahoe_special_remote.mdwn b/doc/bugs/Can__39__t_initialize_Tahoe_special_remote.mdwn index 3cdf4a572..874ba5ba2 100644 --- a/doc/bugs/Can__39__t_initialize_Tahoe_special_remote.mdwn +++ b/doc/bugs/Can__39__t_initialize_Tahoe_special_remote.mdwn @@ -29,3 +29,12 @@ git-annex: tahoe create-client failed # End of transcript or log. """]] + +> So this was caused by an old version of tahoe-lafs. Might as +> well support older versions if we can easily, I suppose. +> +> I have gone ahead and changed git-annex to use ~/.tahoe-git-annex/ +> instead of ~/.tahoe/git-annex/ when setting up new remotes. +> Existing remote's configs will be unchanged. +> +> So, [[fixed|done]] --[[Joey]] |