david-sarah
5ba9892fd5
TAG allmydata-tahoe-1.8.1
2010-11-28 13:23:36 -08:00
david-sarah
44d21cc6e1
Trivial patch to push along with the 1.8.1 tag. refs #1242
2010-11-28 13:23:26 -08:00
david-sarah
12afdc39fc
NEWS: minor wording fix. refs #1242
2010-11-28 12:53:42 -08:00
david-sarah
841dc76187
Release v1.8.1. refs #1242
2010-11-28 12:47:38 -08:00
david-sarah
c5b462bc08
Bundled zetuptoolz: bump version in EGG-INFO directory.
2010-11-28 10:42:42 -08:00
david-sarah
a1bf210bf3
Bundled zetuptoolz: bump version to 0.6c16dev3. refs #1242
2010-11-28 10:31:02 -08:00
david-sarah
e718e0a12d
NEWS: date for 1.8.1. refs #1242
2010-11-28 09:49:47 -08:00
david-sarah
9ceb527787
Change another doc reference from .txt to .rst in a text string.
2010-11-28 09:45:07 -08:00
david-sarah
d7bdf476b9
Change a doc reference from .txt to .rst in a text string.
2010-11-28 09:34:44 -08:00
david-sarah
ea7f59d0ac
NEWS: minor wording changes and rewrapping; add entry for #71 .
2010-11-23 16:21:22 -08:00
Brian Warner
69b42c6cb7
remove --multiple/-m option from all CLI commands: closes #1262
...
I personally used "tahoe start/restart -m ../MY-TESTNET/node*" all the time,
to spin up or update a local testgrid while iterating over new code. However,
with the recent switch from "subprocess.Popen(/bin/twistd)" to "import and
call twistd.run()" in scripts/startstop_node.py (yay fewer processes!),
"start -m" broke, and fixing it requires os.fork, which is unavailable on
windows (boo windows!). And I was probably the only one using -m. So in the
interests of uniformity among platforms and simpler code (yay negative code
days!), we're just removing -m from everything. I will start using a little
shell script or something to simulate the removed functionality.
This patch also cleans up CLI-function calling a bit: get the basedir from
the config dict (instead of sometimes from a separate argument), and always
return a numeric exit code.
2010-11-27 00:38:09 -08:00
Brian Warner
f36bda2780
Revert previous commit: there's an ugly corner-case on windows that fails tests.
...
Specifically, test_runner.CreateNode.test_client failed, because the
os.fork-is-present test decided that --multiple should not be allowed on
windows, even though --multiple works just fine for 'tahoe create-client'.
The only restriction on --multiple is for 'tahoe start' and 'tahoe restart'.
This needs a different approach, probably by cleaning up BasedirMixin. We
should only be withholding --multiple on windows for "start" and
"restart". (we should continue withholding --multiple on all platforms for
"run").
This reverts (git) commit f3adb037ae
:
"startstop_node.py: fix "tahoe start -m" by forking before non-final targets"
2010-11-26 16:44:11 -08:00
Brian Warner
f3adb037ae
startstop_node.py: fix "tahoe start -m" by forking before non-final targets
...
* don't advertise -m flag on tahoe start/restart/run unless os.fork is
available (i.e. windows)
* test_runner.py: add test to exercise "start/stop/restart -m"
2010-11-26 14:45:38 -08:00
Brian Warner
1f0e2574cc
update Makefile and coverage2el.py to coverage-3.4
...
It might still work with coverage-3.3 if you run with COVERAGE_OMIT=""
2010-11-25 12:38:32 -08:00
Zooko O'Whielacronx
3acbf8818c
setup: require the latest version of darcsver
2010-11-22 18:12:18 -08:00
Zooko O'Whielacronx
588e5b8fb7
docs: NEWS: add #1233
2010-11-19 23:16:34 -08:00
david-sarah
41e96b3e5a
misc/build_helpers/run_trial.py: allow the module argument to specify a leaf module rather than a directory. This fixes false positive wrong-source errors in the test-from-prefixdir step when we test only allmydata.test.test_runner.
2010-11-21 15:39:57 -08:00
Zooko O'Whielacronx
4c06ea4a72
docs: NEWS: add #1255
2010-11-19 23:12:49 -08:00
Zooko O'Whielacronx
0231cfe36a
docs: NEWS: put news items about bugfixes/improvements and packaging before news items about documentation
2010-11-19 22:07:16 -08:00
david-sarah
38a0d3f5fa
tahoe_mv.py: when checking success of the DELETE operation, look at the status code from DELETE rather than from the previous PUT. fixes #1255
2010-11-09 17:09:16 -08:00
david-sarah
fdf6946669
test_cli.py: test that 'tahoe mv' reports errors from the DELETE operation. refs #1255
2010-11-11 17:46:53 -08:00
Zooko O'Whielacronx
b4c14421f7
bundled zetuptoolz: prefer locally-available distributions over remotely-downloaded distributions above all
...
This fixes #1233 . Actually the previous patches—[20101103034740-93fa1-9df33552497282eb72a84e5b434d035974bf2dbb] and [20101117080828-92b7f-dc0239f30b26e7e5d40b228114fb399c1e190ec5]—fixed it, but with them zetuptoolz would download a higher-numbered distribution from the net instead of using the locally-available (fake) pycryptopp-0.5.24, thus preventing the tests from passing. This patch changes that behavior (which is an improvement in its own right) and also fixes a bug in the tests.
2010-11-17 00:26:57 -08:00
Zooko O'Whielacronx
a44330dfee
bundled zetuptoolz: choose a binary dist in preference to a source dist, even if the latter is newer, as long as the former satisfies the requirement
...
patch by David-Sarah, tiny bugfix to patch by Zooko
ref: #1233
2010-11-17 00:08:28 -08:00
david-sarah
a1cef915fd
bundled zetuptools: prefer platform-specific dists to platform-independent ones. refs #1233
2010-11-02 18:47:40 -08:00
Zooko O'Whielacronx
f606ce068b
misc: gen-package-table: show only the highest-numbered package for each platform and each library
2010-11-19 21:39:05 -08:00
Zooko O'Whielacronx
62af525179
tests: test-with-fake-dists: clean up *just* the pycryptopp-0.5.24 eggs when exiting
...
also don't set the PATH and PYTHONPATH, which is unnecessary for this test
also wrap the behavior in a couple of functions, just for tidiness
2010-11-17 22:31:09 -08:00
Zooko O'Whielacronx
7cda268a78
setup: show-tool-versions: include the version of valgrind
2010-11-17 19:06:23 -08:00
Zooko O'Whielacronx
0730d693e8
setup: clean up fake pycryptopp distribution after test-with-fake-dists.py created it
2010-11-17 01:32:49 -08:00
Zooko O'Whielacronx
8fef758511
tests: test-with-fake-dists.py has the side-effect of injecting a fake package into ./support, so after that test rm -rf ./support, and likewise with ./pycryptopp*.egg.
2010-11-17 01:01:00 -08:00
Zooko O'Whielacronx
50f8c37a2b
setup: when testing, set the __requires__ as precisely as possible even if the version of this particular build of Tahoe-LAFS is not yet known (addresses test failure ref #1190 , #1233 )
2010-11-18 23:40:43 -08:00
Zooko O'Whielacronx
bc396b53ab
tests: change test-with-fake-pkg to exercise a test suite which actually requires pycryptopp, thus making this a better test which can detect ill-installed pycryptopp
2010-11-17 23:23:34 -08:00
Zooko O'Whielacronx
93dc740f01
tests: bump up the timeout on test_dirnode.Dirnode from 240s to 480s since it apparently took longer than 240s just now on François's ARM buildslave
2010-11-15 01:21:19 -08:00
Zooko O'Whielacronx
5f61bad92d
setup: remove --multi-version
...
It causes copious scary-looking warning messages and I'm no longer sure if it was actually needed to accomplish our goals ref #530 .
2010-11-15 01:00:48 -08:00
david-sarah
55bd4e254f
misc/build_helpers/gen-package-table.py: put 'n/a' in table entries for pywin32 on non-Windows platforms. Also remove some dead code. refs #1247
2010-11-14 11:35:58 -08:00
david-sarah
76371ae5a9
test_cli.py: fix a stale comment that incorrectly implied that test_cli runs CLI commands in subprocesses (it actually runs them using deferToThread).
2010-11-09 18:28:19 -08:00
Zooko O'Whielacronx
51523f7326
setup: include pycryptopp in the set of Python packages described in the show-tool-versions step (for cross-referencing with the test-with-fake-dists step, which behaves differently depending on what version(s) of pycryptopp are already present before it starts)
2010-11-14 02:05:40 -08:00
Zooko O'Whielacronx
6514cd9a29
setup: gen-package-table.py -- Python packages can have . in their name
2010-11-14 00:26:43 -08:00
Zooko O'Whielacronx
b55dd7c811
setup: upgrade bundled version of darcsver to 1.7.1 to regain compatibility with Python 2.4
2010-11-14 00:26:20 -08:00
Zooko O'Whielacronx
e03206cbdf
setup: specify that the version file must go into src/allmydata/_version.py . fixes #1259
2010-11-13 23:40:40 -08:00
Zooko O'Whielacronx
680e33ef91
setup: upgrade bundled darcsver from 1.6.3 to 1.7.0
...
ref #1259 , we're going to use its 'versionfiles' setup() keyword argument to specify where to write the version file.
Remember, we have to bundle darcsver to work-around http://bitbucket.org/tarek/distribute/issue/55/revision-control-plugin-automatically-installed-as-a-build-dependency-is-not-present-when-another-build-dependency-is-being
2010-11-13 23:39:54 -08:00
Zooko O'Whielacronx
c14e20c2f8
setup: David-Sarah's new gen-package-table.py plus my patch to put the newer versions of Python first
...
fixes #1247
2010-11-13 23:35:32 -08:00
Zooko O'Whielacronx
59dcd5014d
setup: test whether the build system prefers binary dists which are new enough over source dists which are even newer
...
ref: #1233
2010-11-13 07:28:22 -08:00
david-sarah
cb777ad14f
tahoe_mv.py: use do_http, not urllib.openurl, in order to avoid connecting to the webapi server via a proxy. refs #1253
2010-11-09 16:53:36 -08:00
david-sarah
01a5365051
test_system.py: test for 'tahoe mv' with the http_proxy and HTTP_PROXY variables set. refs #1253
2010-11-09 19:36:49 -08:00
Zooko O'Whielacronx
6ba39a50b3
docs: NEWS: merge two additions
2010-11-10 21:58:51 -08:00
Zooko O'Whielacronx
1c449db88f
setup: remove separate licensing declaration
...
Whenever Free Software/Open Source legal folks are examining the Tahoe-LAFS source code, it seems like there has to be a discussion and documentation about every single licensing declaration. Since this one is (was) permissive, then you would think it could be avoided, but I'm not betting on it. We would probably have to install a copy of the MIT licence into every one of the "copyright" files under the debian/ subdirectory, for example. So: let's just let hashbasedsig.py be licensed the same way as the rest of Tahoe-LAFS.
2010-11-10 20:45:30 -08:00
Zooko O'Whielacronx
a4e9016482
docs: fix error in .rst formatting introduced by renaming Tahoe to Tahoe-LAFS in a header
2010-11-10 20:43:44 -08:00
Zooko O'Whielacronx
531443792e
docs: NEWS: refs #1253
2010-11-10 20:41:18 -08:00
Zooko O'Whielacronx
6e2b6c9133
docs: added permissions to avoid licence-incompatibility with other Free/Open Source licences
2010-11-10 20:39:26 -08:00
david-sarah
edec9c9869
test_client.py: change overzealous use of failUnlessReallyEqual on integers back to failUnlessEqual.
2010-11-09 15:08:16 -08:00