Missing options information #715
Labels
No Label
0.2.0
0.3.0
0.4.0
0.5.0
0.5.1
0.6.0
0.6.1
0.7.0
0.8.0
0.9.0
1.0.0
1.1.0
1.10.0
1.10.1
1.10.2
1.10a2
1.11.0
1.12.0
1.12.1
1.13.0
1.14.0
1.15.0
1.15.1
1.2.0
1.3.0
1.4.1
1.5.0
1.6.0
1.6.1
1.7.0
1.7.1
1.7β
1.8.0
1.8.1
1.8.2
1.8.3
1.8β
1.9.0
1.9.0-s3branch
1.9.0a1
1.9.0a2
1.9.0b1
1.9.1
1.9.2
1.9.2a1
LeastAuthority.com automation
blocker
cannot reproduce
cloud-branch
code
code-dirnodes
code-encoding
code-frontend
code-frontend-cli
code-frontend-ftp-sftp
code-frontend-magic-folder
code-frontend-web
code-mutable
code-network
code-nodeadmin
code-peerselection
code-storage
contrib
critical
defect
dev-infrastructure
documentation
duplicate
enhancement
fixed
invalid
major
minor
n/a
normal
operational
packaging
somebody else's problem
supercritical
task
trivial
unknown
was already fixed
website
wontfix
worksforme
No Milestone
No Assignees
2 Participants
Notifications
Due Date
No due date set.
Reference: tahoe-lafs/trac-2024-07-25#715
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
I think the
--help
and especially the online docs for the tahoe command are way too lean. There's not even any documentation I can find of the--base-dir
option; I had to crawl the code for it!Note: if the docs were in the wiki, I'd have made that correction myself.
See also #742 (about
tahoe cp --help
).Oops, that change breaks the checking that
--basedir
is provided for subcommands that have no default basedir. Please ignore while I fix it.No unit tests for the change to basedir behaviour yet.
The diff also implements #890.
Sample of new options text:
there is a forward slash in the sample above ( \David/.tahoe )
Attachment common.py_diff.txt (4675 bytes) added
Diff for source:src/allmydata/scripts/common.py to show --basedir option with absolute path for default basedir
Replying to terrell:
Fixed. But I want to fix #188 and #706 as well, and add unit tests, so this isn't ready for review yet.
I'll modify the patch to also show in the help how the basedir is arrived at, thus fixing #985.
Is this ticket ready for review?
Attachment basedir-option-improvements.dpatch (19998 bytes) added
Basedir/node directory option improvements. addresses #188, #706, #715, #772, #890
basedir-option-improvements.dpatch does the following:
-d
and--node-directory
as a synonym for--basedir
, in the commands that didn't already support it. This fixes #188 and #706 (but by making-d
the global option).tahoe create-key-generator
now works consistently with the other commands that take basedir arguments (#772).tahoe --help
(and the subcommand help) now documents the-d
option and gives the absolute path of the default basedir (#715).This patch depends on the one for #1108.
Known bugs:
tahoe create-key-generator --help
documents a--multiple
option that isn't actually valid.--basedir
option in the subcommand help should just say "Same as--node-directory
.".Why does this ticket have the "test-needed" flag and also the "review-needed" flag?
Removing "review-needed" so that people who search for review-needed will find only tickets that are actionable for them. (This ticket is waiting for David-Sarah to explain what they mean by "test-needed".)
Don't use this patch; use the one attached to #188.
(What I meant by putting "test-needed" and "review-needed" in the flags is that it needs a design review, even though there are no tests yet. But Zooko and I agreed not to use "review-needed" for that.)
In [4614/ticket798]:
Applied to trunk in changeset:f952532f0822fbe7 changeset:54a9ba8232e2b8e9 changeset:a7c474a09893b9aa.
NEWS changes were in changeset:0ae556c00ac79d4f changeset:2b15f35b867cebbd.
Replying to davidsarah:
It is now valid.
These were also fixed. The help for
tahoe start --help
, for instance, includes something like:and for
tahoe run --help
:(It is ugly that the default for
tahoe run
is different, but I didn't want to break compatibility.)