tahoe-lafs/src/allmydata/scripts
Zooko O'Whielacronx 6c4fb6fd93 a first crack at the "put" command-line
There are actually two versions in this patch, one of which requires twisted.web2 and the other of which uses the Python standard library's socket module.  The socketish one doesn't know when the web server is done so it hangs after doing its thing.  (Oh -- maybe I should add an HTTP header asking the web server to close the connection when finished.)  The web2ish one works better in that respect.  Neither of them handle error responses from the server very well yet.

After lunch I intend to finish the socketish one.

To try one, mv src/allmydata/scripts/tahoe_put-{socketish,web2ish}.py src/allmydata/scripts/tahoe_put.py .

If you want to try the web2ish one, and you can't find a web2 package to install, you can get one from:

http://allmydata.org/~zooko/repos/twistedweb2snarf/
2007-08-16 12:15:38 -07:00
..
__init__.py move all packages into src/, fix allmydata.Crypto build. Now you must perform a 'setup.py build' before using anything, and you must add the build directory (build/lib.linux-i686-2.4) to your PYTHONPATH before doing anything 2006-12-14 03:39:50 -07:00
cli.py a first crack at the "put" command-line 2007-08-16 12:15:38 -07:00
common.py runner.py: start to refactor into separate files 2007-07-10 18:41:52 -07:00
create_node.py runner.py: further refactoring 2007-07-10 19:05:18 -07:00
debug.py uri: implement URI-processing classes, IFileURI/IDirnodeURI, use internally 2007-07-21 15:40:36 -07:00
runner.py a first crack at the "put" command-line 2007-08-16 12:15:38 -07:00
startstop_node.py If do_stop attempts to stop a nonexistent process the OSError exception is caught (by errno) and handled tersely. 2007-08-09 08:57:45 -07:00
tahoe_get.py cli: implement 'get' 2007-07-11 10:26:19 -07:00
tahoe_ls.py tahoe_ls: remove a couple of vestigial or debugging bits 2007-07-10 19:46:40 -07:00
tahoe_put-socketish.py a first crack at the "put" command-line 2007-08-16 12:15:38 -07:00
tahoe_put-web2ish.py a first crack at the "put" command-line 2007-08-16 12:15:38 -07:00