[tahoe-dev] Collaboration

Brian Warner warner at lothar.com
Sun Nov 28 09:45:44 UTC 2010


On 11/28/10 1:15 AM, Ted Rolle Jr. wrote:
> Alice writes a book; Bob typesets it for her.  Can they collaborate on
> this book, or is the book only available to the uploader?


Sure they can collaborate. If she uploads the book as a mutable file, or
if she uploads it as an immutable file but inside a mutable directory,
and she gives Bob the writecap, then they can both modify the contents
at will.

alice: tahoe put -m <mybook.txt     # emits a mutable writecap
alice: email writecap to bob
bob: tahoe get WRITECAP >book.txt
bob: edit book.txt
bob: tahoe put -m WRITECAP <mybook.txt  # modifies file in-place
alice: tahoe get WRITECAP >newbook.txt  # fetch new contents

Alice could also give a readcap to reviewer, who would then be able to
see the changes taking place (i.e. download the current version) but
they wouldn't be able to make any changes.

cheers,
 -Brian



More information about the tahoe-dev mailing list