Make --basedir a global option. #706

Closed
opened 2009-05-13 03:57:44 +00:00 by nejucomo · 4 comments

Most commands operate on a specific node basedir, so making --basedir a global option would add consistency.

As it is, some commands, such as create-alias do not support a basedir other than the default.

If users want the cli to be strict/pedantic, subcommands which do not rely on --basedir might issue a warning when it is set. Otherwise ignoring it seems safe.

(Update: we actually changed -d/--node-directory to be the global option.)

Most commands operate on a specific node basedir, so making --basedir a global option would add consistency. As it is, some commands, such as create-alias do not support a basedir other than the default. If users want the cli to be strict/pedantic, subcommands which do not rely on --basedir might issue a warning when it is set. Otherwise ignoring it seems safe. (Update: we actually changed `-d`/`--node-directory` to be the global option.)
nejucomo added the
code-frontend-cli
minor
defect
1.4.1
labels 2009-05-13 03:57:44 +00:00
nejucomo added this to the undecided milestone 2009-05-13 03:57:44 +00:00

yeah, good idea

yeah, good idea
warner self-assigned this 2009-05-13 04:21:14 +00:00
tahoe-lafs modified the milestone from undecided to 1.6.0 2010-01-10 05:57:05 +00:00
zooko modified the milestone from 1.6.0 to eventually 2010-01-26 16:55:21 +00:00
tahoe-lafs modified the milestone from eventually to 1.7.0 2010-02-01 19:43:03 +00:00
tahoe-lafs modified the milestone from 1.7.0 to 1.7.1 2010-06-12 21:09:00 +00:00
tahoe-lafs modified the milestone from 1.7.1 to 1.8β 2010-07-17 04:22:58 +00:00
davidsarah commented 2010-07-22 02:07:34 +00:00
Owner

#715 has a patch for this ticket. The unified option is spelled -d or --node-directory.

#715 has a patch for this ticket. The unified option is spelled `-d` or `--node-directory`.
david-sarah@jacaranda.org commented 2010-08-02 04:49:34 +00:00
Owner

In [4614/ticket798]:

Basedir/node directory option improvements for ticket798 branch. addresses #188, #706, #715, #772, #890
In [4614/ticket798]: ``` Basedir/node directory option improvements for ticket798 branch. addresses #188, #706, #715, #772, #890 ```
davidsarah commented 2010-08-08 01:00:28 +00:00
Owner

Applied to trunk in changeset:f952532f0822fbe7 changeset:54a9ba8232e2b8e9 changeset:a7c474a09893b9aa. NEWS changes were in changeset:0ae556c00ac79d4f changeset:2b15f35b867cebbd.

Applied to trunk in changeset:f952532f0822fbe7 changeset:54a9ba8232e2b8e9 changeset:a7c474a09893b9aa. NEWS changes were in changeset:0ae556c00ac79d4f changeset:2b15f35b867cebbd.
tahoe-lafs added the
fixed
label 2010-08-08 01:00:28 +00:00
Sign in to join this conversation.
No Milestone
No Assignees
3 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#706
No description provided.