command-line clarify the --server flag and use a local default #106

Closed
opened 2007-08-15 21:29:25 +00:00 by zooko · 4 comments

The word "vdrive server" can mean either a tahoe node that exports a vdrive to a client over HTTP or a tahoe node that exports vdrive service to another tahoe node via foolscap. (The former uses the latter for its persistent storage and sharing.)

This should be clarified in the command-line's "--server" option. (It means the former.)

In addition, the default should not be the global public HTTP server, but instead the <http://localhost:$WEBPORT> server.

Brian: have I misunderstood anything here?

The word "vdrive server" can mean either a tahoe node that exports a vdrive to a client over HTTP or a tahoe node that exports vdrive service to another tahoe node via foolscap. (The former uses the latter for its persistent storage and sharing.) This should be clarified in the command-line's "--server" option. (It means the former.) In addition, the default should not be the global public HTTP server, but instead the `<http://localhost:$WEBPORT>` server. Brian: have I misunderstood anything here?
zooko added the
unknown
major
enhancement
0.4.0
labels 2007-08-15 21:29:25 +00:00
zooko added this to the undecided milestone 2007-08-15 21:29:25 +00:00
zooko self-assigned this 2007-08-15 21:29:25 +00:00
Author

Clarify the call for clarity.

Clarify the call for clarity.
zooko added
code-frontend
and removed
unknown
labels 2007-08-15 21:31:41 +00:00
zooko modified the milestone from undecided to 0.5.0 2007-08-15 21:31:41 +00:00

Yeah, I think that's right.

I don't thingk we're planning to offer a public HTTP server anytime in the
near future. As part of a service offering, we might provide one for
customers, but of course we'll need to work out some authentication issues
for that.

My thought is that we should establish a default location for a tahoe client
node, say ~/.tahoe, and have all of the node start-stop commands use
that by default (so 'tahoe start' would expand to 'tahoe start --basedir=~/.tahoe').

The nonce-prefix-in-URL thing we're discussing in #98 could then by used by
the cli get/put/ls tools, so 'tahoe ls' would mean "look in
~/.tahoe/webport and and ~/.tahoe/webnonce, derive a localhost URL from that,
and use it as the base for all vdrive operations". In this case, the
get/put/ls tools could take the same --basedir argument that the
node-start-stop commands do, but an explicit --server or --httpserver or
something would override the URL computed from the contents of --basedir.

Yeah, I think that's right. I don't thingk we're planning to offer a public HTTP server anytime in the near future. As part of a service offering, we might provide one for customers, but of course we'll need to work out some authentication issues for that. My thought is that we should establish a default location for a tahoe client node, say `~/.tahoe`, and have all of the node start-stop commands use that by default (so '`tahoe start`' would expand to '`tahoe start --basedir=~/.tahoe`'). The nonce-prefix-in-URL thing we're discussing in #98 could then by used by the cli get/put/ls tools, so '`tahoe ls`' would mean "look in ~/.tahoe/webport and and ~/.tahoe/webnonce, derive a localhost URL from that, and use it as the base for all vdrive operations". In this case, the get/put/ls tools could take the same --basedir argument that the node-start-stop commands do, but an explicit --server or --httpserver or something would override the URL computed from the contents of --basedir.
Author

So, since we're really getting down to the wire on v0.5 release, what about making there be no-default-value for --server for now?

So, since we're really getting down to the wire on v0.5 release, what about making there be no-default-value for --server for now?
Author

Making a nice default value is now ticket #110.

The rest of this ticket is fixed by a couple of patches culminating in changeset:75b10954e4dd7370.

Making a nice default value is now ticket #110. The rest of this ticket is fixed by a couple of patches culminating in changeset:75b10954e4dd7370.
zooko added the
fixed
label 2007-08-17 20:04:12 +00:00
zooko closed this issue 2007-08-17 20:04:12 +00:00
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#106
No description provided.