[tahoe-lafs-trac-stream] [tahoe-lafs] #1506: mutable-type should imply mutable in tahoe put

tahoe-lafs trac at tahoe-lafs.org
Fri Aug 26 13:25:20 PDT 2011


#1506: mutable-type should imply mutable in tahoe put
----------------------------+----------------------------------------------
     Reporter:  kevan       |      Owner:  kevan
         Type:  defect      |     Status:  new
     Priority:  major       |  Milestone:  1.9.0
    Component:  code-       |    Version:  1.9.0a1
  frontend-cli              |   Keywords:  mutable mdmf tahoe-put usability
   Resolution:              |
Launchpad Bug:              |
----------------------------+----------------------------------------------
Changes (by davidsarah):

 * keywords:   => mutable mdmf tahoe-put usability


Old description:

> Currently, if you do {{{tahoe put --mutable-type=mdmf some_file}}}, a CHK
> file is created, since {{{tahoe put}}} only pays attention to the
> mutable-type argument if the mutable argument is also given. This is
> surprising; we should treat {{{--mutable-type}}} as implying
> {{{--mutable}}}. Then {{{--mutable}}} can be understood to mean "upload a
> mutable file using whatever the default mutable type is", and
> {{{--mutable-type}}} can be understood as a way to override that default.
>
> (this improvement was suggested by davidsarah in [http://tahoe-
> lafs.org/trac/tahoe-lafs/ticket/393#comment:141 #393, comment 141])

New description:

 Currently, if you do {{{tahoe put --mutable-type=mdmf some_file}}}, an
 immutable (CHK or LIT) file is created, since {{{tahoe put}}} only pays
 attention to the {{{--mutable-type}}} option if the {{{--mutable}}} option
 is also given. This is surprising; we should treat {{{--mutable-type}}} as
 implying {{{--mutable}}}. Then {{{--mutable}}} can be understood to mean
 "upload a mutable file using whatever the default mutable type is", and
 {{{--mutable-type}}} can be understood as a way to override that default.

 (This improvement was suggested by davidsarah in [http://tahoe-
 lafs.org/trac/tahoe-lafs/ticket/393#comment:141 #393, comment 141].)

--

-- 
Ticket URL: <http://tahoe-lafs.org/trac/tahoe-lafs/ticket/1506#comment:2>
tahoe-lafs <http://tahoe-lafs.org>
secure decentralized storage


More information about the tahoe-lafs-trac-stream mailing list