29336a0916
Refactor _auto_deps.py and __init__.py, adding more robust checking of dependency versions, and not trusting pkg_resources to get the versions right. refs #1258 , #1287
2011-01-20 21:36:10 -08:00
06e0d13451
Apply pyflakes to more files and fix the resulting warnings.
2011-01-20 18:10:11 -08:00
d5138b3237
src/allmydata/util/iputil.py: loosen regexps and ensure that 'LANG=en_US.UTF-8' is set in the environment, to minimize problems with localized output of IP-address-finding tools. refs #1274
2011-01-20 00:48:27 -08:00
6dd8b6f471
Eliminate dependencies on pywin32, even via Twisted. refs #1274
2011-01-19 20:32:38 -08:00
d4969259c6
Makefile: consistently use TAHOE macro to run bin/tahoe. Use '$(TAHOE) debug repl' instead of $(RUNPP) -p. refs #1296
2011-01-19 15:44:29 -08:00
9ea323db4c
Makefile: consistently use 'tahoe debug trial' to run tests. refs #1296
2011-01-19 15:37:37 -08:00
999339ed4e
setup.py: add descriptions for some of the setup commands. ref #1306
2011-01-19 15:33:05 -08:00
0693181613
setup.py: create bin/tahoe.pyscript on Unix as well as Windows for consistency, and to reduce conditional code. ref #1306
2011-01-19 15:31:45 -08:00
fd6cdc48ae
src/allmydata/test/test_runner.py: add test_import_from_repl, which checks that we are running the right code in a bin/tahoe subprocess. refs #1258
2011-01-19 00:21:45 -08:00
a9fc4668c0
docs/frontends/CLI.rst, src/allmydata/test/trialtest.py: add trailing newlines. refs #1296
2011-01-19 00:19:55 -08:00
d21f4071c3
Eliminate direct dependencies of Tahoe-LAFS on pywin32 (rebased to trunk). refs #1274
2011-01-18 23:59:11 -08:00
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
74b1eec1d6
trivial: add comment in scripts/debug.py about trial option parsing. refs #1296
2011-01-18 22:08:08 -08:00
8d2983c493
Update foolscap requirement to >= 0.6.1. fixes #1329
2011-01-18 22:06:39 -08:00
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
5a7c99d29d
Change misc/build_helpers/test-with-fake-pkg to use 'setup.py trial'. refs #1296
2011-01-18 20:24:01 -08:00
35deaf62b4
Makefile: update 'make clean' to delete the setuptools_trial egg(s).
2011-01-18 18:50:53 -08:00
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
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
c67f29ac5d
Makefile: update 'make clean' to avoid deleting the setuptools_darcs egg.
2011-01-18 18:19:58 -08:00
1819c25c88
Add src/allmydata/test/trialtest.py needed by tests for 'tahoe debug trial'. refs #1296
2011-01-18 18:02:39 -08:00
39edeae5e7
Remove setuptools_trial egg.
2011-01-09 22:33:06 -08:00
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
bbc1f56981
Documentation for 'tahoe debug trial' (rebased for trunk). refs #1296
2011-01-18 12:57:29 -08:00
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
7a887871b0
src/allmydata/scripts/debug.py: add 'tahoe debug trial' command (rebased for trunk). refs #1296
2011-01-18 12:46:59 -08:00
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
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
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
ea29e8bb40
NEWS: default reserved_space for new storage nodes is 1 GiB. refs #1208
2011-01-17 15:59:30 -08:00
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
5a3acc05b7
CLI: tests for ref #1305 (v2, remove spurious extra arg to create-alias in test)
2011-01-13 20:03:27 -08:00
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
b9fb74d2a0
Improve 'tahoe ln' help text. Patch by David-Sarah. Closes #1230 .
2011-01-17 00:14:21 -08:00
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
1e377c2225
debian/control: add python-twisted-conch to dependencies. Closes #1095 .
2011-01-16 23:12:06 -08:00
8a3cb60bf7
Test changes to take account of ref #1311 .
2011-01-16 22:05:40 -08:00
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
e52d97a917
Undo the temporary hack to check the foolscap version. refs #1246
2011-01-16 21:20:42 -08:00
60d32bb7f7
misc/build_helpers/run_trial.py: fix pyflakes warning.
2011-01-15 00:04:56 -08:00
45212d8000
Set "reserved_space=1G" in newly-created storage nodes. Closes #1208 .
2011-01-16 12:58:22 -08:00
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
21f678527e
Makefile: allow tarball upload when either BB_BRANCH=='trunk' or BB_BRANCH==''.
2011-01-15 13:22:11 -08:00
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
089b27d9f8
misc/build_helpers/test-with-fake-dists.py: wrong arguments in comment.
2011-01-14 20:53:25 -08:00
33786a6d55
Attempt to fix test-with-fake-dist build step.
2011-01-14 18:26:51 -08:00
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
3bd1232729
Makefile: Fix uploading of tarballs on trunk builds.
2011-01-08 22:58:51 -08:00
feed9977a9
docs/frontends/CLI.rst: fix the rst syntax to be as actually intended :-)
2011-01-08 17:40:57 -08:00
6c45f4d238
docs/frontends/CLI.rst: really fix rst syntax error this time.
2011-01-08 17:39:14 -08:00