Commit Graph

1622 Commits

Author SHA1 Message Date
Zooko O'Whielacronx
59f452c61e setup: setuptools_darcs_plugin is boring 2007-10-14 21:22:01 -07:00
Zooko O'Whielacronx
83d7eb23e6 remove a file accidentally left over from the experiment in using sqlite to maintain lease information 2007-10-14 20:57:59 -07:00
Zooko O'Whielacronx
ed84534c5b a slightly nicer method of computing our timestamp format 2007-10-14 20:46:51 -07:00
Zooko O'Whielacronx
240de64598 install our custom timestamp formats in a less disruptive way
The unit tests on Windows fail because trial is attempting to remove its own
log observer during teardown.  This patch customizes the extant log observer
object by replacing its formatTime method with our own.

I first tried the approach of storing their log observer object and putting it
back during teardown, but it didn't work (perhaps because our node object
doesn't get a chance to do its deferred stopService behavior in time), and
anyway I generally prefer the "fail-safe", or "crash-only" design.
2007-10-14 20:43:11 -07:00
Zooko O'Whielacronx
a25ef2f031 setup: remove an explanation from the top of the Makefile now that the topic is addresses in the README 2007-10-14 20:03:32 -07:00
Zooko O'Whielacronx
03ab1cc76a CREDITS: Nathan Wilcox ++ 2007-10-14 19:13:12 -07:00
Brian Warner
07b03bd55b test_runner.RunNode: pass an explicit webport, to avoid using 8123 (which might be in used by a running node). Closes #175. 2007-10-13 16:06:39 -07:00
Zooko O'Whielacronx
7cb41f4eaa setup: setup_requires setuptools_darcs_plugin. Without it the "./setup.py sdist upload" will silently upload the wrong package contents. 2007-10-13 13:38:18 -07:00
Zooko O'Whielacronx
af0edec753 filter out "0.0.0.0" from detected IP addresses 2007-10-13 00:38:16 -07:00
Brian Warner
f0e727867a cli: simplify code by using stdlib's httplib module 2007-10-11 22:29:23 -07:00
Brian Warner
4361b32f2d cli: implement 'mv'. Closes #162. 2007-10-11 20:31:48 -07:00
Brian Warner
3709b343ab tahoe_get.py: remove unused import 2007-10-11 19:47:40 -07:00
Brian Warner
8985b6565d cli: add test coverage 2007-10-11 19:20:41 -07:00
Brian Warner
654bbbed8f node.py: fix timestamps (add ms and Z) by replacing the FileLogObserver. #171. 2007-10-11 17:30:07 -07:00
Zooko O'Whielacronx
97206487c3 README: edit to clarify that you can't use "make" if you installed it the easy_install way 2007-10-12 23:21:53 -07:00
Zooko O'Whielacronx
c9653af82a setup: make ez_setup.py work to upgrade setuptools even if there is already a setuptools installed which is too old
This works only if setup.py is invoked as "./setup.py install" (or 
"python ./setup.py install" or whatever).  It doesn't work if it is invoked by 
easy_install.  On the other hand, I don't know why easy_install would execute 
ez_setup.py anyway -- I thought that it didn't execute the setup.py scripts.  
See this mailing list thread for details:

http://mail.python.org/pipermail/distutils-sig/2007-October/008339.html
2007-10-12 22:59:37 -07:00
Zooko O'Whielacronx
aba57d9a4c setup: upgrade zfec from 1.0.4 to 1.1 2007-10-11 16:27:52 -07:00
Zooko O'Whielacronx
d1f2c99c51 change another example to use port 8123 2007-10-11 16:12:13 -07:00
Brian Warner
479abae92f cli: fix usage to refer to 'tahoe', not 'allmydata'. Closes #154. 2007-10-11 15:37:52 -07:00
Brian Warner
002472587e add public testnet .furls to docs/testnet/, and copy into .deb . Closes #157. 2007-10-11 14:55:23 -07:00
Brian Warner
1c7f52265f deb: add docs/* to the debian package 2007-10-11 14:37:29 -07:00
Brian Warner
c35ed6ff11 docs/webapi.txt: mention that we default to a --webport of 8123 2007-10-11 13:19:11 -07:00
Brian Warner
6bbc5fcbb4 docs: change our default HTTP port to 8123 2007-10-11 13:17:33 -07:00
Brian Warner
e1f604f7cd change our default HTTP port to 8123 2007-10-11 13:17:23 -07:00
Brian Warner
f5a7eb0ad5 bin/tahoe: rename 'allmydata-tahoe' in some comments 2007-10-11 03:39:29 -07:00
Brian Warner
dc573554c8 rename bin/allmydata-tahoe to bin/tahoe. Closes #155. 2007-10-11 03:38:24 -07:00
Brian Warner
ee72a5adfd rename client.tac to tahoe-client.tac, so that 'ps ax|grep tahoe' works. Closes #156. 2007-10-11 02:48:06 -07:00
Brian Warner
34a25b9b28 node.py: don't append 'Z' to the timestamp, since it's really localtime. We need deeper changes to make it be UTC 2007-10-11 02:24:17 -07:00
Brian Warner
6ed8664c7f check_memory.py: don't use self.keepalive_file until it's been initialized 2007-10-11 02:20:20 -07:00
Brian Warner
a76898244b create_node.py: allow config['webport'] to be missing, for check_memory 2007-10-11 02:19:59 -07:00
Brian Warner
1b406f3c32 node.py: set logging timestamp to '2007-10-11 02:11:14.000Z', per ticket #171. No milliseconds yet, though 2007-10-11 02:13:05 -07:00
Brian Warner
0f000784ce create_node: use a webport by default, on localhost:8011 2007-10-11 02:01:23 -07:00
Brian Warner
8ce93b5e27 test_cli.py: hush pyflakes with a dummy usage, until we get some real CLI tests 2007-10-11 01:55:29 -07:00
Brian Warner
7fd1964c6f runner: make most commands use ~/.tahoe by default (create-client, start/stop/restart, all CLI tools, but *not* create-introducer 2007-10-11 01:54:23 -07:00
Brian Warner
a29ab33379 webish: write node.url, for the benefit of CLI tools 2007-10-11 01:38:04 -07:00
Brian Warner
a470947cc3 cli: use urllib.escape on all URIs 2007-10-11 01:34:44 -07:00
Brian Warner
5b28411b04 cli: add --node-directory and --root-uri to all commands 2007-10-11 00:30:36 -07:00
Brian Warner
2da65f118c webapi.txt: reinstate documentation of the unpleasant URI-escaping needed for
slashes in dirnode URIs, to be resolved some day by #102.
2007-10-11 06:58:08 -07:00
Brian Warner
ec8781e587 'tahoe restart': re-enable --force option, which was accidentally lost 2007-10-10 20:10:03 -07:00
Zooko O'Whielacronx
2b6951bf20 setup: we needn't depend on make-version targets because setup.py always attempts to make a version whenever it is executed 2007-10-04 14:14:48 -07:00
Zooko O'Whielacronx
2ed8a272ed setup: attempt to work-around the problem that paths might end with trailing back-slashes (on Windows) by appending a PATHSEP (i.e. ":" or ";") instead of an OSSEP (i.e. "/" or "\")
I don't know what will happen if the path ends up with something like
"C:\Programs and Files\Whatever\;" on Windows, and then that gets passed to
cygwin bash.  This reminds me of Brian's suggestion to use Python helper
scripts (c.f. misc/find-dep-eggs.py) instead of writing this stuff in the
GNUmake language.  And *that* reminds me of the idea of writing the whole damn
thing in Python instead of in GNUmake, i.e. make all of our build tools be
plugins for setuptools instead of being GNUmake targets.
2007-10-04 14:11:16 -07:00
Zooko O'Whielacronx
93e1f832ff setup: patch to fix bug in our latest ez_setup.py if pkg_resources can't be imported 2007-10-04 13:09:20 -07:00
Zooko O'Whielacronx
cc98572112 README: add note about how to build on Windows-native using gcc, and a bit of editing 2007-10-04 12:37:21 -07:00
Zooko O'Whielacronx
be51a7e2a4 setup: bundle simplejson-1.7.3 in misc/dependencies 2007-10-04 11:23:20 -07:00
Zooko O'Whielacronx
c036a32e57 setup: import bugfix to ez_setup.py 2007-10-04 11:18:46 -07:00
Zooko O'Whielacronx
021b5d4f2a more information SkipTest for XMLRPC 2007-10-04 11:07:46 -07:00
Zooko O'Whielacronx
be98d7ebb2 README: OpenSSL is bundled with pyOpenSSL on Windows-native 2007-10-04 08:12:53 -07:00
Zooko O'Whielacronx
e23f727405 setup: remove MANIFEST.in in favor of the new setuptools_darcs_plugin
MANIFEST.in is a script where you express all the files that you want to be
included (on top of the ones that setuptools figured out for itself).
setuptools_darcs_plugin is a setuptools plugin that makes all files which are
under darcs revision control get included.
2007-10-03 15:28:37 -07:00
Zooko O'Whielacronx
84a303515f setup: use ez_setup.py without a "download delay" 2007-10-03 15:14:14 -07:00
Zooko O'Whielacronx
3deff4b46c setup: import the latest version of ez_setup.py with my patches 2007-10-03 15:13:19 -07:00