Opened at 2015-06-15T17:05:19Z
Last modified at 2016-03-22T05:02:52Z
#2455 closed task
Magic Folder: add join commandline tool — at Version 8
Reported by: | dawuud | Owned by: | dawuud |
---|---|---|---|
Priority: | normal | Milestone: | 1.12.0 |
Component: | code-frontend-magic-folder | Version: | 1.10.0 |
Keywords: | otf-magic-folder-objective6 | Cc: | |
Launchpad Bug: |
Description (last modified by daira)
For tahoe magic-folder join INVITATION LOCAL_DIR :
- Parse INVITATION as COLLECTIVE_READCAP|CLIENT_WRITECAP.
- Write CLIENT_WRITECAP to the file magic_folder_dircap under the client's private directory.
- Write COLLECTIVE_READCAP to the file collective_dircap under the client's private directory.
- Edit the client's tahoe.cfg to set [magic_folder] enabled = True and [magic_folder] local.directory = LOCAL_DIR.
Change History (8)
comment:1 Changed at 2015-06-15T17:26:43Z by dawuud
- Description modified (diff)
comment:2 Changed at 2015-06-15T17:27:22Z by dawuud
- Owner changed from daira to dawuud
- Type changed from defect to task
comment:3 Changed at 2015-06-15T17:40:12Z by dawuud
- Summary changed from Magic Folder: add magic folder join commandline tool to Magic Folder: add join commandline tool
comment:4 Changed at 2015-06-23T06:24:06Z by dawuud
comment:5 Changed at 2015-06-23T09:39:23Z by dawuud
completed. appends magic-folder options to tahoe config. needs unit tests.
comment:6 Changed at 2015-06-24T00:16:29Z by dawuud
join unit test now tests that the collective read cap directory contains the readonly client dmd cap.
comment:7 in reply to: ↑ description Changed at 2015-07-07T18:55:55Z by daira
Incidentally, we decided --after the design doc was written-- to use a different separator character than "|" between the COLLECTIVE_READCAP and CLIENT_WRITECAP, because "|" is a shell metacharacter (for a pipe, which could cause particularly confusing errors if unquoted). This is easy to fix.
comment:8 Changed at 2015-07-07T18:57:32Z by daira
- Description modified (diff)
Note: See
TracTickets for help on using
tickets.
implemented the join command here in this dev branch https://github.com/david415/tahoe-lafs/tree/2454.magic-folder-create-tool.2
...however it's not quite done. It still needs to write config options to the tahoe.cfg