creation and management of "root" directories -- directories without parents #233
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#233
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?
Tahoe v0.7.0 doesn't handle various cases where there are strange sets of servers, such as when you are on an airplane and there is only one server -- yourself. Tickets #232 -- "peer selection doesn't rebalance shares on overwrite of mutable file" and #213 -- "good handling of small numbers of servers, or strange choice of servers" are the tickets to fix these issues nicely. This ticket is the ticket to document this issue and set sane default settings so that users of v0.7.0 will be able to handle it.
See also #234 -- "Nice UI for creation of private directory".
Per this tahoe-dev thread, the new plan is to finish the "make a directory button" (#115), remove the automatically-make-a-private-directory feature, remove the start page, add doc about saving your directories and about making them accessible to the command-line tools.
As per this tahoe-dev message, we also need to:
~/.tahoe/private/my_private_dir.cap
, so thattahoe ls
will subsequently work.tahoe mkdir
can create a directory even if one doesn't exist and print out the resulting directory read-write cap.~/.tahoe/private/my_private_dir.cap
, it tolerates$THECAP
, as well as<http://127.0.0.1:8123/uri/$THECAP>
, and tolerates the colons in the cap being URL-encoded.We'll put some improvements off to v0.7.1, see #248 -- "better automation of management of the "root director(ies)".
work-around the poor handling of weird server sets in v0.7.0to creation and management of "rootdirectories without parentscreation and management of "rootdirectories without parentsto creation and management of "root" directories -- directories without parentsLet's rename that file from
~/.tahoe/private/my_private_dir.cap
to~/.tahoe/private/root_dir.cap
.so, calling it "root_dir.cap" implies that there's only one of them. One of the options we discussed was a file with one-line-per-root, or a directory with one-file-per-root, and allow multiple names (perhaps one that is private, and another that is public, or shared between a group of users).
Had we come to a conclusion on this one yet?
I believe the conclusion we came to is to put off answering those questions to > v0.7.0, i.e. #248 -- "better automation of management of the "root director(ies)".
In v0.7.0 there is effectively only one of them, so let's call it
root_dir.cap
. Okay?eh, ok, good enough. I'm not excited about the idea of changing this in 0.7.0 and then changing it again right away in 0.7.1, but neither am I excited about the idea of fighting it. Go for it.
The ones that I just did (in changeset:65a8a8c405b97cbc, changeset:6a2e5d4aeaa9c261, changeset:acfb11d26f66d68b, changeset:23961448dab2af95, changeset:ab4303609daf16f8, and changeset:32d2cc8abaa15e5e), are hereby struck-through:
Remove the code that makes the automatic private directory (or "private vdrive"), makes the start.html page, and links to the start.html page from the front page.Document how to cut and paste it into ~/.tahoe/private/my_private_dir.cap, so that tahoe ls will subsequently work.Make it so that when reading out of ~/.tahoe/private/my_private_dir.cap, it tolerates $THECAP, as well as http://127.0.0.1:8123/uri/$THECAP, and tolerates the colons in the cap being URL-encoded.I've started on that last one: implementing "tahoe mkdir", which can be used to create a new empty directory linked into an existing directory or not so linked.
I moved "create
tahoe mkdir
" to a new ticket for Milestone v0.7.1: #259Okay, I'm going to "not bother" on these two pieces, because I don't see a good place for these docs, and I think the best way to explain this is to explain the underlying mechanism so that it is "obvious" to the user that they should use the mechanism in this way.
Closing this ticket as fixed. :-)