Commit Graph

1111 Commits

Author SHA1 Message Date
Zooko O'Whielacronx
1b616c81e1 prototype encoder 2006-12-02 17:31:26 -07:00
Brian Warner
23f663e12d rearrange names, add more RemoteInterfaces to make tests pass again 2006-12-02 17:25:57 -07:00
Brian Warner
30c16d6cb1 fix pyflakes warnings/errors 2006-12-02 16:28:46 -07:00
Brian Warner
08d9c49258 standardize on keeping nodeids (and all other SHA1-derived values as binary everywhere, only doing idlib.b2a() when interacting with a human or the filesystem 2006-12-02 16:26:26 -07:00
Brian Warner
70f58b195c improve RemoteInterface specifications 2006-12-02 16:03:09 -07:00
Brian Warner
e9d67ecc49 add RemoteInterfaces (foolscap schemas). some tests break. 2006-12-01 19:17:50 -07:00
Brian Warner
18d8911c51 change bucket writer protocol, give Encoder a RemoteReference instead of a file-like object 2006-12-01 19:17:26 -07:00
Brian Warner
09aedcac7b add the 'Denver Airport' design doc, for Chord-based peer selection 2006-12-01 19:09:14 -07:00
Brian Warner
f87008cf36 upload: add WriterProxy 2006-12-01 04:06:11 -07:00
Rob Kinninmont
14a2dbd553 split 'Bucket' into separate subclasses for read and write 2006-12-01 03:04:54 -07:00
Rob Kinninmont
5e40272785 prevent reading unfinished buckets 2006-12-01 02:48:27 -07:00
Brian Warner
c17a8db732 implement upload peer selection 2006-12-01 02:54:28 -07:00
Rob Kinninmont
cb89ca509c allow buckets written by previous runs to be read 2006-12-01 02:45:55 -07:00
Rob Kinninmont
eb79a405a9 added read and cross check to storage unit test, minor cleanups 2006-12-01 02:21:11 -07:00
Rob Kinninmont
c397ddf5ce added storage test 2006-11-30 22:38:42 -07:00
Rob Kinninmont
f9703da468 fix another read_attr bug 2006-11-30 20:49:07 -07:00
Rob Kinninmont
877dfb4eaf fix counting of bytes written 2006-11-30 20:37:36 -07:00
Rob Kinninmont
0aed9d1528 fix bug in bucketstore read/write _attr 2006-11-30 20:36:57 -07:00
Brian Warner
d525107081 manhole: ctrl-h is Backspace, not Delete. War Is Peace, Freedom Is Slavery, etc 2006-11-30 20:32:13 -07:00
Brian Warner
9b7fe88b98 fix test cases to not use camelCase 2006-11-30 20:20:00 -07:00
Brian Warner
b1be43da3d roadmap: connection management v1 milestone done 2006-11-30 20:19:24 -07:00
Brian Warner
5252d2d0df add Client.permute_peers 2006-11-30 20:18:51 -07:00
Brian Warner
036d41c0b2 fix up StorageServer so that unit tests will run again 2006-11-30 20:18:29 -07:00
Rob Kinninmont
94e051c1f0 rerecord all the storageserver patches in one go
darcs was dying trying to deal with the conflict resolution patches.
      
this adds a (very rough) bucketstore and storageserver.
probably needs lots of work both in api and implementation.
2006-11-30 20:14:23 -07:00
Rob Kinninmont
918a1fca23 added 'debugshell' module a convenient dumping ground for tools for manhole environment 2006-11-30 19:53:08 -07:00
Rob Kinninmont
9582494e28 added run-client2 target to makefile 2006-11-30 19:51:19 -07:00
Rob Kinninmont
d0fd8ddc8a added create_dirs makefile target to create initial dirs 2006-11-30 17:16:06 -07:00
Rob Kinninmont
d328dd2ca4 update assertutil to use twisted log instead of amdlib Log 2006-11-30 15:24:08 -07:00
Rob Kinninmont
07b1e3473d pulled in assertutil and with it humanreadable from amdlib.util 2006-11-30 15:22:25 -07:00
Brian Warner
4e5a6bf808 add ctrl-U and ctrl-H handling to our form of Manhole 2006-11-30 19:45:43 -07:00
Brian Warner
d2d0c6a06e change manhole setup for queen too 2006-11-30 19:38:38 -07:00
Brian Warner
5daa74d1af change manhole setup for client: create authorized_keys.8022 (or other portnum) 2006-11-30 19:34:25 -07:00
Brian Warner
0873f39de6 set Client.nodeid to our (ascii, base32) tubid 2006-11-30 19:20:17 -07:00
Brian Warner
831ecec0fb add Client.get_remote_service utility method 2006-11-30 18:17:36 -07:00
Brian Warner
14f2dec955 ignore all client-basedirNN directories 2006-11-30 18:17:26 -07:00
Brian Warner
f49a7a95c7 fix losing-client-connection handler 2006-11-30 18:13:46 -07:00
Brian Warner
646f888bbd implement more Roster stuff: add_peer, lost_peer. Changed Client service registration scheme. 2006-11-30 18:09:57 -07:00
Brian Warner
158fc107c0 start developing Roster, track all active peers 2006-11-30 17:43:15 -07:00
Brian Warner
cc86df067b add Manhole to queen (port 8021), also change manhole namespace to just have 'app' (for both queen and client) 2006-11-30 17:30:45 -07:00
Brian Warner
594c173361 add Manhole functionality to the client: port 8022, add an authorized_keys file to the client's basedir to enable it 2006-11-30 17:26:41 -07:00
Brian Warner
b285f98936 point client.tac at yumyum's queen 2006-11-30 17:16:31 -07:00
Brian Warner
9d2aaf7608 add roadmap 2006-11-30 17:16:19 -07:00
Brian Warner
cd947bce02 remove that queen_host stuff 2006-11-30 17:13:40 -07:00
Brian Warner
f3c0856dc7 help the queen have a persistent PBURL, have the client connect to it 2006-11-30 16:39:38 -07:00
Brian Warner
f2fbf688b0 start on client what-is-my-ipaddress functionality 2006-11-30 16:23:39 -07:00
Brian Warner
798c06dc95 actually add tests 2006-11-30 16:23:01 -07:00
Brian Warner
efeea5e5e7 add test infrastructure, use 'make test' to run it, please run before pushing 2006-11-30 15:55:26 -07:00
Brian Warner
cc814ade3f create a Makefile to drive things 2006-11-30 15:40:05 -07:00
Brian Warner
5420aa47c6 add beginning queen code 2006-11-30 15:39:24 -07:00
Brian Warner
a1b181610c add darcs boringfile 2006-11-30 15:37:33 -07:00