Commit Graph

941 Commits

Author SHA1 Message Date
Brian Warner
ba7e14a870 fix several methods to handle LIT URIs correctly, rather than assuming that all filenodes are CHK URIs 2007-07-12 16:17:49 -07:00
Brian Warner
53cf757be3 make it possible to download LIT uris. oops. 2007-07-12 16:16:59 -07:00
Brian Warner
5399395c27 allow the introducer to set default encoding parameters. Closes #84.
By writing something like "25 75 100" into a file named 'encoding_parameters'
in the central Introducer's base directory, all clients which use that
introducer will be advised to use 25-out-of-100 encoding for files (i.e.
100 shares will be produced, 25 are required to reconstruct, and the upload
process will be happy if it can find homes for at least 75 shares). The
default values are "3 7 10". For small meshes, the defaults are probably
good, but for larger ones it may be appropriate to increase the number of
shares.
2007-07-12 15:33:30 -07:00
Brian Warner
def63d193e implement URI:LIT, which stores small (<55B) files inside the URI itself. Fixes #81. 2007-07-12 13:22:36 -07:00
Brian Warner
b62252183d interfaces.py: increase RIVirtualDriveServer.list constraint from 100 entries to 1000, for now 2007-07-12 13:23:52 -07:00
Brian Warner
b2f13d2635 cease producing .debs for dapper, since they'd depend upon a library (simplejson) that isn't packaged for dapper. Feisty++ are fine. Dapper users are encouraged to build from source. 2007-07-11 14:31:04 -07:00
Brian Warner
4a081cec26 debian: make all .debs dependent upon python-simplejson. We must create the dapper package, the others are available upstream 2007-07-11 14:01:56 -07:00
Brian Warner
92b4ee1ab5 Makefile: factor out deb-foolscap-ARCH to a separate target 2007-07-11 14:00:47 -07:00
Brian Warner
db75139340 Makefile: make it clear that it requires GNU Make 2007-07-11 13:39:55 -07:00
Brian Warner
25e952cd14 rename GNUmakefile to Makefile: I've mis-typed the name one too many times 2007-07-11 13:34:16 -07:00
Brian Warner
86727bf8e0 boringfile: exclude some foolscap.deb-generated files 2007-07-11 13:28:42 -07:00
Brian Warner
ac149c3d2a makefile: fix deb-edgy-head and deb-etch-head targets 2007-07-11 13:26:23 -07:00
Brian Warner
d2c10f7947 makefile: refactor .deb-producing rules 2007-07-11 12:45:00 -07:00
Brian Warner
9238c61224 cli: implement 'get' 2007-07-11 10:26:19 -07:00
Zooko O'Whielacronx
32166c360a tahoe_ls: remove a couple of vestigial or debugging bits 2007-07-10 19:46:40 -07:00
Brian Warner
b419b853ea cli: implement 'allmydata-tahoe ls' 2007-07-10 19:37:37 -07:00
Brian Warner
c98c7ebfd7 makefile: use --single-version-externally-managed for simplejson 2007-07-10 19:37:10 -07:00
Brian Warner
d8a878da86 startstop_node.py: refactor find_twistd() out so it is only run when you need to start a node 2007-07-10 19:13:55 -07:00
Brian Warner
f22801aa33 runner.py: further refactoring 2007-07-10 19:05:18 -07:00
Brian Warner
4a16d20d85 runner.py: start to refactor into separate files 2007-07-10 18:41:52 -07:00
Brian Warner
944583a599 tahoe-ls.py: hush a pyflakes warning 2007-07-10 16:26:05 -07:00
Brian Warner
38ef49aea9 patch simplejson's ezsetup to take a min_version, and patch setup.py to use it, to allow installs on edgy machines with setuptools-0.6c3 2007-07-10 16:11:11 -07:00
Brian Warner
52b8846b55 finish removing simplejson.egg-info from the repo 2007-07-10 15:52:26 -07:00
Brian Warner
cf57359b0b remove simplejson.egg-info from the repo (and boringfile it), it should never have been in the original tarball 2007-07-10 15:51:58 -07:00
Brian Warner
ea3c3e6780 import simplejson directly, and remove our local copies of the component .py files from util/json* 2007-07-10 15:49:32 -07:00
Brian Warner
dec729028f tahoe-ls.py: initial version of an 'ls' CLI utility 2007-07-10 15:34:55 -07:00
Brian Warner
447eae621b boringfile: add simplejson generated files 2007-07-10 15:34:36 -07:00
Brian Warner
302070798c makefile: build simplejson along with zfec/foolscap/etc 2007-07-10 15:28:38 -07:00
Brian Warner
0d80d569fa import simplejson-1.7.1 into src/simplejson 2007-07-10 15:22:53 -07:00
Brian Warner
13e84526a1 webapi: normalized API: use t=upload or t=download when providing localdir= or localfile= 2007-07-10 13:24:10 -07:00
Brian Warner
ad038497db import the decoder portion of simplejson-1.7.1 too 2007-07-10 13:12:40 -07:00
Brian Warner
723825ff28 webapi.txt: note that the 'curl' utility can be used to exercise most of this interface 2007-07-10 10:36:37 -07:00
Brian Warner
5264559561 webish: cosmetic: fix missing whitespace in HTML 2007-07-10 10:33:19 -07:00
Zooko O'Whielacronx
2a4423ba14 tahoe-get.py: fix bug: actually respect the optional server argument 2007-07-09 18:47:16 -07:00
Zooko O'Whielacronx
9bc87f610c tahoe-get.py: add optional target-local-file argument 2007-07-09 18:27:11 -07:00
Zooko O'Whielacronx
9641a6df22 tahoe-get.py: accept vdrive and server options (using optparse) 2007-07-09 18:20:02 -07:00
Zooko O'Whielacronx
8769f2eeba tahoe-get.py: the first, most primitive command-line client 2007-07-09 18:19:53 -07:00
Brian Warner
dce1dc2730 storage: wrap buckets in a local proxy
This will make it easier to change RIBucketWriter in the future to reduce the wire
protocol to just open/write(offset,data)/close, and do all the structuring on the
client end. The ultimate goal is to store each bucket in a single file, to reduce
the considerable filesystem-quantization/inode overhead on the storage servers.
2007-07-08 23:27:46 -07:00
Brian Warner
8891544d6c directory.xhtml: oops, missed a comma 2007-07-08 00:44:08 -07:00
Brian Warner
295c3a75c2 directory.xhtml: remove the leftover XML link 2007-07-08 00:33:20 -07:00
Brian Warner
0395ad76eb web: indent the JSON to make it easier for humans to read, but slightly larger 2007-07-08 00:23:23 -07:00
Brian Warner
72fc8c5cb8 web: use real JSON instead of the fake stubs
Also include the encoder portion of Bob Ippolito's simplejson-1.7.1 as
allmydata.util.json_encoder . simplejson is distributed under a more liberal
license than Tahoe (looks to be modified BSD), so redistributing it should be ok.
2007-07-08 00:17:11 -07:00
Brian Warner
2d06a66ec1 test_web.test_welcome: give the rooturl a trailing slash, otherwise older versions of twisted complain 2007-07-07 23:22:52 -07:00
Brian Warner
11792759e6 figleaf.excludes: ignore allmydata.Crypto, since so little of it gets used by allmydata.test 2007-07-07 23:00:09 -07:00
Brian Warner
bd8625076a web: remove t=XML, and other dead code 2007-07-07 22:55:15 -07:00
Brian Warner
159f8bfd50 web: improve test coverage 2007-07-07 22:47:18 -07:00
Brian Warner
e2f99247f2 web: make sure we present read-only directories properly 2007-07-07 22:21:20 -07:00
Brian Warner
135f08a518 web: remove more dead code 2007-07-07 22:20:03 -07:00
Brian Warner
8952114442 webish.py: remove dead code 2007-07-07 22:12:46 -07:00
Brian Warner
62e8528cc6 web: /uri/ must escape slashes, we use bangs for this 2007-07-07 22:06:52 -07:00