Commit Graph

5906 Commits

Author SHA1 Message Date
david-sarah 3798d9946e Add support to bin/tahoe for invoking a runner command prefixed with @, with the Tahoe libraries on the PYTHONPATH. This is documented in 'tahoe debug --help'. 2011-01-18 21:11:37 -08:00
david-sarah 74b1eec1d6 trivial: add comment in scripts/debug.py about trial option parsing. refs #1296 2011-01-18 22:08:08 -08:00
david-sarah 8d2983c493 Update foolscap requirement to >= 0.6.1. fixes #1329 2011-01-18 22:06:39 -08:00
david-sarah 93c1909847 bin/tahoe-script.template, src/windows/fixups.py: simplify the method of stripping initial arguments in sys.argv on Windows. This helps with bb-freeze and running tahoe via 'coverage'. Also includes some wording changes and minor refactoring of bin/tahoe-script.template. refs #585, #1303 2011-01-18 20:53:24 -08:00
david-sarah 5a7c99d29d Change misc/build_helpers/test-with-fake-pkg to use 'setup.py trial'. refs #1296 2011-01-18 20:24:01 -08:00
david-sarah 35deaf62b4 Makefile: update 'make clean' to delete the setuptools_trial egg(s). 2011-01-18 18:50:53 -08:00
david-sarah 7e413d4fa4 Change 'setup.py trial' and 'setup.py test' to use 'bin/tahoe debug trial'. refs #1296 2011-01-18 18:45:32 -08:00
david-sarah 8f0af33ba6 src/allmydata/test/test_cli.py: add test for 'tahoe debug trial' options help. refs #1296 2011-01-18 18:42:24 -08:00
david-sarah c67f29ac5d Makefile: update 'make clean' to avoid deleting the setuptools_darcs egg. 2011-01-18 18:19:58 -08:00
david-sarah 1819c25c88 Add src/allmydata/test/trialtest.py needed by tests for 'tahoe debug trial'. refs #1296 2011-01-18 18:02:39 -08:00
david-sarah 39edeae5e7 Remove setuptools_trial egg. 2011-01-09 22:33:06 -08:00
david-sarah 0d6df9c9fc Tests for 'tahoe debug trial' (rebased and fixed to work with Twisted 10.2). refs #1296 2011-01-18 17:38:59 -08:00
david-sarah bbc1f56981 Documentation for 'tahoe debug trial' (rebased for trunk). refs #1296 2011-01-18 12:57:29 -08:00
david-sarah 420aadd95e Make 'mock' a run-time rather than setup-time dependency. This is necessary in order for 'tahoe debug trial' to work. refs #1296 2011-01-18 12:51:14 -08:00
david-sarah 7a887871b0 src/allmydata/scripts/debug.py: add 'tahoe debug trial' command (rebased for trunk). refs #1296 2011-01-18 12:46:59 -08:00
david-sarah fc98aded8a src/allmydata/webish.py: clean-ups and correction to a comment. Also change an open and write to use fileutil.write. See ref #1286 comment 13. 2011-01-17 15:31:52 -08:00
david-sarah 4cba75e000 setup: load the setuptools_darcs-1.2.12.egg that is bundled in the root of the source tree at setup.py time, and setup_require it. This is in order to make sure that its 'find all package data' plugin works to inform setuptools of all files which are under revision control, so that setuptools can include them in a distribution. By the way, this is ugly and horrible. refs #1054 2011-01-17 22:54:45 -08:00
Zooko O'Whielacronx 0fb49375c0 setup: bundle a copy of setuptools_darcs-1.2.12
This is to work-around https://bitbucket.org/tarek/distribute/issue/55/revision-control-plugin-automatically-installed-as-a-build-dependency-is-not-present-when-another-build-dependency-is-being . refs #1054.
2011-01-17 22:25:21 -08:00
david-sarah ea29e8bb40 NEWS: default reserved_space for new storage nodes is 1 GiB. refs #1208 2011-01-17 15:59:30 -08:00
Brian Warner 980fb0b2bb 'tahoe debug catalog-shares': sort SIs and shnums
Without this, SIs or shnums could be emitted in random order, depending upon
what the filesystem happens to return.
2011-01-17 01:59:32 -08:00
david-sarah 5a3acc05b7 CLI: tests for ref #1305 (v2, remove spurious extra arg to create-alias in test) 2011-01-13 20:03:27 -08:00
david-sarah f10a2c0902 CLI: make 'tahoe create-alias' and 'tahoe add-alias' accept a trailing colon on the new alias name (v2, minor change not to rely on implicit Unicode conversion). Includes doc changes and news; tests in a separate patch. fixes #1305 2011-01-13 19:44:14 -08:00
Brian Warner b9fb74d2a0 Improve 'tahoe ln' help text. Patch by David-Sarah. Closes #1230. 2011-01-17 00:14:21 -08:00
Brian Warner 09a2241471 Tolerate Twisted-10.2's endpoints, patch by David-Sarah. Closes #1286.
The service generated by strports.service() changed in 10.2, and the ugly
private-attribute-reading hack we used to glean a kernel-allocated port
number (e.g. when using "tcp:0", especially during unit tests) broke, causing
Tahoe to be completely unusable with Twisted-10.2 . The new ugly
private-attribute-reading hack starts by figuring out what sort of service
was generated, then reads different attributes accordingly.

This also hushes a warning when using schemeless strports strings like "0" or
"3456", by quietly prepending a "tcp:" scheme, since 10.2 complains about
those. It also adds getURL() and getPortnum() accessors to the "webish"
service, rather than having unit tests dig through _url and _portnum and such
to find out what they are.
2011-01-16 23:47:51 -08:00
Brian Warner 1e377c2225 debian/control: add python-twisted-conch to dependencies. Closes #1095. 2011-01-16 23:12:06 -08:00
david-sarah 8a3cb60bf7 Test changes to take account of ref #1311. 2011-01-16 22:05:40 -08:00
david-sarah d3f24736ca create_node.py: add comments to default tahoe.cfg to clarify the meaning of each section. fixes #1311 2011-01-16 21:24:19 -08:00
david-sarah e52d97a917 Undo the temporary hack to check the foolscap version. refs #1246 2011-01-16 21:20:42 -08:00
david-sarah 60d32bb7f7 misc/build_helpers/run_trial.py: fix pyflakes warning. 2011-01-15 00:04:56 -08:00
Brian Warner 45212d8000 Set "reserved_space=1G" in newly-created storage nodes. Closes #1208. 2011-01-16 12:58:22 -08:00
david-sarah 727b25f622 Temporary hack to investigate whether we are getting the right version of foolscap on trunk. refs #1258 2011-01-15 20:49:59 -08:00
david-sarah 21f678527e Makefile: allow tarball upload when either BB_BRANCH=='trunk' or BB_BRANCH==''. 2011-01-15 13:22:11 -08:00
david-sarah e2b564024b misc/build_helpers/test-with-fake-dists.py: clean up directories and files only if they exist. 2011-01-14 21:30:11 -08:00
david-sarah 089b27d9f8 misc/build_helpers/test-with-fake-dists.py: wrong arguments in comment. 2011-01-14 20:53:25 -08:00
david-sarah 33786a6d55 Attempt to fix test-with-fake-dist build step. 2011-01-14 18:26:51 -08:00
david-sarah a8739c39ab bin/tahoe-script.template: improve the error message if we end up running under Python 3. refs #1302 2011-01-12 13:16:28 -08:00
david-sarah 3bd1232729 Makefile: Fix uploading of tarballs on trunk builds. 2011-01-08 22:58:51 -08:00
david-sarah feed9977a9 docs/frontends/CLI.rst: fix the rst syntax to be as actually intended :-) 2011-01-08 17:40:57 -08:00
david-sarah 6c45f4d238 docs/frontends/CLI.rst: really fix rst syntax error this time. 2011-01-08 17:39:14 -08:00
david-sarah 98e2b15e3b docs/frontends/CLI.rst: fix rst syntax error. 2011-01-08 17:09:43 -08:00
david-sarah 6ce3ec6d0d docs/frontends/CLI.rst: discuss commandline/output quoting issues and wildcards. refs #1135 2011-01-08 17:01:19 -08:00
david-sarah eb9b822079 setup.py: add Python 2.7 trove classifier. 2011-01-08 13:12:12 -08:00
david-sarah 2b5b285dab docs/FTP-and-SFTP.rst: document issue in ref #1297. Remove known issue #1045 which is fixed. Also some cosmetic changes. 2011-01-07 22:10:38 -08:00
david-sarah 3ad08e6d2f misc/build_helpers/show-tool-versions.py: remove attempts to show stdout.encoding and stderr.encoding that always printed None due to redirection. Also remove code to show os.path.supports_unicode_filenames which is not useful. refs #1251 2011-01-02 17:51:44 -08:00
david-sarah 1190ce6143 NEWS: 'top' for node processes, WUI formatting, removal of GUI apps, documentation updates, foolscap dependency. refs #174, #1219, #1225 2011-01-05 16:57:27 -08:00
david-sarah 003e7fd06b Makefile: update 'clean' target for files in bin/ 2011-01-02 21:27:38 -08:00
Zooko O'Whielacronx 3523b50716 docs: update performance.rst to describe the difference between already-uploaded and not-already-uploaded, to parameterize segment size, and to use "~A" to mean "approximately A" 2011-01-03 22:54:55 -08:00
david-sarah 9815852a09 bin/tahoe-script.template: On non-Windows, invoke support/bin/tahoe directly as a script (rather than via python), so that 'top' for example will show it as 'tahoe'. On Windows, simplify some code that set argv[0], which is never used. fixes #174 2010-11-27 15:26:50 -08:00
david-sarah e62a69e7ff test_runner: avoid unnecessary use of non-ASCII. 2011-01-01 02:01:01 -08:00
david-sarah 6e0308be30 docs/quickstart.html: fix redundant, badly nested tag. refs #1284 2011-01-02 09:51:59 -08:00