replace --mutable-type with --format in CLI commands #1561

Closed
opened 2011-10-13 17:01:59 +00:00 by warner · 4 comments

To match the new webapi style, and to avoid interface churn in the future, I think we should change our CLI commands to use --format= instead of --mutable and --mutable-type= .

Of course --mutable will imply --format=SDMF, for backwards compatibility. (we could argue that --mutable should mean "use whatever your gateway's default mutable format is", but that either requires that the CLI tools use the now-deprecated mutable=true queryarg, or we invent a fourth value for the format= queryarg which means "your default mutable type", and I think that simply implying SDMF is easier)

To match the new webapi style, and to avoid interface churn in the future, I think we should change our CLI commands to use --format= instead of --mutable and --mutable-type= . Of course --mutable will imply --format=SDMF, for backwards compatibility. (we could argue that --mutable should mean "use whatever your gateway's default mutable format is", but that either requires that the CLI tools use the now-deprecated mutable=true queryarg, or we invent a fourth value for the format= queryarg which means "your default mutable type", and I think that simply implying SDMF is easier)
warner added the
code-frontend-cli
major
defect
1.9.0a2
labels 2011-10-13 17:01:59 +00:00
warner added this to the 1.9.0 milestone 2011-10-13 17:01:59 +00:00
Brian Warner <warner@lothar.com> commented 2011-10-14 04:01:09 +00:00
Owner

In changeset:3eb60ff986563e79:

add --format= to 'tahoe put'/'mkdir', remove --mutable-type. Closes #1561
In changeset:3eb60ff986563e79: ``` add --format= to 'tahoe put'/'mkdir', remove --mutable-type. Closes #1561 ```
tahoe-lafs added the
fixed
label 2011-10-14 04:01:09 +00:00
Brian Warner <warner@lothar.com> commented 2011-10-14 04:01:09 +00:00
Owner

In changeset:57ee56533f9a7854:

CLI: don't deprecate --mutable, small docs fixes. refs #1561

Also don't accept 'tahoe mkdir --format=chk'.
In changeset:57ee56533f9a7854: ``` CLI: don't deprecate --mutable, small docs fixes. refs #1561 Also don't accept 'tahoe mkdir --format=chk'. ```
Brian Warner <warner@lothar.com> commented 2011-10-20 20:24:29 +00:00
Owner

In [5508/ticket999-S3-backend]:

add --format= to 'tahoe put'/'mkdir', remove --mutable-type. Closes #1561
In [5508/ticket999-S3-backend]: ``` add --format= to 'tahoe put'/'mkdir', remove --mutable-type. Closes #1561 ```
Brian Warner <warner@lothar.com> commented 2011-10-20 20:24:30 +00:00
Owner

In [5509/ticket999-S3-backend]:

CLI: don't deprecate --mutable, small docs fixes. refs #1561

Also don't accept 'tahoe mkdir --format=chk'.
In [5509/ticket999-S3-backend]: ``` CLI: don't deprecate --mutable, small docs fixes. refs #1561 Also don't accept 'tahoe mkdir --format=chk'. ```
Sign in to join this conversation.
No Milestone
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Reference: tahoe-lafs/trac-2024-07-25#1561
No description provided.