Commit Graph

1213 Commits

Author SHA1 Message Date
Zooko O'Whielacronx
9c272308e2 set the zip_safe flag to False
This means that by default the allmydata-tahoe egg will be a directory with a tree of files instead of a zip file containing files.  I prefer the former because it makes it easier for people to hack into it.
Unfortunately the files therein are still going to be .pyc's instead of .py's, if I understand correctly.  I would prefer for them to be .py's.  See also discussion on the distutils-sig mailing list:

http://mail.python.org/pipermail/distutils-sig/2007-July/007827.html
2007-09-13 15:37:55 -07:00
Zooko O'Whielacronx
73826c5cc9 fix Makefile not to assume that ":" is the PYTHONPATH separator
(It is ";" on Windows.)
2007-09-13 15:37:34 -07:00
Zooko O'Whielacronx
ef7340fb77 change setup.py to find dependency tarballs in misc/dependencies 2007-09-13 15:37:27 -07:00
Zooko O'Whielacronx
28ac048ba0 change ez_setup.py to find tarballs in misc/dependencies 2007-09-13 14:51:19 -07:00
Zooko O'Whielacronx
2eec5598de add zfec tarball to misc/dependencies 2007-09-13 14:51:04 -07:00
Zooko O'Whielacronx
3032cb65df add setuptools eggs for py2.4 and py2.5 to misc/dependencies 2007-09-13 14:50:43 -07:00
Zooko O'Whielacronx
0ec576aa9f add foolscap tarball to misc/dependencies 2007-09-13 14:50:23 -07:00
Zooko O'Whielacronx
d659f9f152 insert misc/dependencies 2007-09-13 14:50:10 -07:00
Zooko O'Whielacronx
a01ccc54c0 use ez_setup.py to bootstrap setuptools 2007-09-12 18:57:10 -07:00
Zooko O'Whielacronx
31609aa98f Makefile: re-order targets and let user's PYTHONPATH be included in the PP 2007-09-12 18:56:33 -07:00
Brian Warner
7853497787 setup.py: remove nevow dependency: we need it, but easy_install can't install it 2007-09-12 16:55:38 -07:00
Brian Warner
b75276af00 packaging: add 'build-deps' target, to automatically build and install (locally, in ./support) necessary dependencies. All such installed files are used during tests. 2007-09-12 16:48:45 -07:00
Brian Warner
1c27cc3ea8 packaging: move to setuptools 2007-09-12 16:02:53 -07:00
Brian Warner
93554c8072 setup.py: fix move to _version.py 2007-09-12 16:02:23 -07:00
Brian Warner
248f2dc260 remove zfec source from our tree, users should grab a tarball from our http://allmydata.org/trac/tahoe/wiki/Dependencies page, or from the python cheeseshop 2007-08-25 15:37:25 -07:00
Brian Warner
4bbc423d70 debian: depend upon python-zfec, stop including zfec in the tahoe .deb 2007-08-21 13:54:51 -07:00
Brian Warner
5fd4bf3aad Makefile: oops, fix clean-simplejson target. Might fix #10. 2007-08-17 23:50:37 -07:00
Brian Warner
fbc9929d73 Makefile: improve 'clean' behavior even more, maybe even completely.
Now we remove downloaded setuptools-*.egg files, and *.egg-info directories
2007-08-17 23:45:14 -07:00
Brian Warner
05dc85025f Makefile: improve 'clean' behavior by removing foolscap .pycs and _version.py 2007-08-17 23:38:00 -07:00
Brian Warner
a98c5a7b41 remove simplejson source from our tree, users should grab a tarball from our http://allmydata.org/trac/tahoe/wiki/Dependencies page, or from the python cheeseshop 2007-08-25 15:37:07 -07:00
Brian Warner
31cf4badad remove foolscap source from our tree, users should grab a tarball from our http://allmydata.org/trac/tahoe/wiki/Dependencies page, or from the upstream http://foolscap.lothar.com/ home page 2007-08-25 15:36:33 -07:00
Zooko O'Whielacronx
f4b5fbc418 README: update the wording of the "LICENCE" section to more closely follow FSF recommendations 2007-09-12 11:31:57 -07:00
Brian Warner
e1e037e9b5 storage: always record lease expiration times as integers 2007-09-11 14:53:31 -07:00
nejucomo
96f55be844 Add some passing unit tests for testutil.PollMixin. 2007-09-07 16:15:41 -07:00
Brian Warner
89a25f1987 provisioning: include the cost of replacing failed hard drives 2007-09-10 15:46:45 -07:00
Brian Warner
0497d62939 provisioning: add cost information 2007-09-10 15:29:33 -07:00
Zooko O'Whielacronx
09ff5af99c loosen constraint on share data size 2007-09-11 11:29:18 -07:00
Brian Warner
3eaa888a0e provisioning: oops, fix test_provisioning too 2007-09-07 15:01:17 -07:00
Brian Warner
0ae7d31d33 provisioning.py: update test with new encoding-parameters format 2007-09-07 14:45:43 -07:00
Brian Warner
2a48283e53 provisioning: require at least one drive per server 2007-09-06 23:08:21 -07:00
Brian Warner
5561d3afe4 provisioning: explain the 'survival' number better 2007-09-06 23:01:07 -07:00
Brian Warner
421277cafa provisioning: more repair/survivability data 2007-09-06 22:54:53 -07:00
Brian Warner
69d680d820 provisioning: add some drive failure and repair rate info 2007-09-06 18:47:41 -07:00
Brian Warner
849dbb4950 provisioning.py: add file/server availability numbers 2007-09-05 18:16:21 -07:00
Brian Warner
76be4a582c webish: implement 'PUT /uri?t=mkdir' (to create anonymous dirnodes) 2007-09-05 17:23:06 -07:00
Brian Warner
db3f11648c webish: implement 'PUT /uri' (to create anonymous files) 2007-09-05 17:12:27 -07:00
Brian Warner
77394da447 client.py: only import webish.py if 'webport' is set, to save 3MB of footprint 2007-09-04 16:33:06 -07:00
Brian Warner
277e720f7c storage: add version number to share data. Closes #90. 2007-09-04 09:00:24 -07:00
Brian Warner
fb65aadd82 storage: don't add a duplicate lease, renew the old one instead 2007-09-02 21:39:47 -07:00
Brian Warner
89c7f27572 storage: remove get_or_add_owner, since I don't know what we need yet 2007-09-02 15:03:40 -07:00
Brian Warner
94233b8813 storage: remove unused delete_bucket() method, lease-cancellation covers it 2007-09-02 15:00:29 -07:00
Brian Warner
85f3107b12 storage: handle simultanous uploads: add a lease for the pre-empted client 2007-09-02 14:57:49 -07:00
Brian Warner
dbcabc1142 debug: 'dump-uri-extension' command becomes 'dump-share', add 'dump-share-leases'. Both display leases. 2007-09-02 14:48:20 -07:00
Brian Warner
0fe1205789 storage: replace sqlite with in-share lease records 2007-09-02 14:47:15 -07:00
Brian Warner
c7288286ae test_uri.py: remove tiny whitespace 2007-08-28 23:40:03 -07:00
wilcoxjg
33bae16ed2 created DirnodeURI schema 2007-08-28 23:28:26 -07:00
wilcoxjg
b32a0d10ca changed MakeFile comment to clarify what "test.test_introducer" means 2007-08-09 15:26:27 -07:00
Brian Warner
a605fe5cad storage: use sqlite from either python2.5's stdlib or the pysqlite2 package 2007-08-28 23:28:52 -07:00
Brian Warner
2a63fe8b01 deletion phase3: add a sqlite database to track renew/cancel-lease secrets, implement renew/cancel_lease (but nobody calls them yet). Also, move the shares from BASEDIR/storage/* down to BASEDIR/storage/shares/* 2007-08-27 23:41:40 -07:00
Brian Warner
850bc9da02 deletion phase2b: create renew/cancel secrets for real. 2007-08-27 19:30:26 -07:00