]> git.rkrishnan.org Git - tahoe-lafs/tahoe-lafs.git/log
tahoe-lafs/tahoe-lafs.git
8 years agoFix call to ready()
meejah [Tue, 6 Oct 2015 20:11:32 +0000 (14:11 -0600)]
Fix call to ready()

8 years agoCorrect a string-type error.
Daira Hopwood [Fri, 2 Oct 2015 21:08:54 +0000 (22:08 +0100)]
Correct a string-type error.

Signed-off-by: Daira Hopwood <daira@jacaranda.org>
8 years agoWIP.
Daira Hopwood [Thu, 1 Oct 2015 21:40:10 +0000 (22:40 +0100)]
WIP.

Signed-off-by: Daira Hopwood <daira@jacaranda.org>
8 years agoMagic Folder file moves.
Daira Hopwood [Thu, 1 Oct 2015 21:36:18 +0000 (22:36 +0100)]
Magic Folder file moves.

Signed-off-by: Daira Hopwood <daira@jacaranda.org>
8 years agoPrepare to move drop_upload.py to magic_folder.py.
Daira Hopwood [Wed, 16 Sep 2015 13:59:49 +0000 (14:59 +0100)]
Prepare to move drop_upload.py to magic_folder.py.

Signed-off-by: Daira Hopwood <daira@jacaranda.org>
8 years agoMove backupdb.py to src/allmydata.
Daira Hopwood [Wed, 16 Sep 2015 13:32:13 +0000 (14:32 +0100)]
Move backupdb.py to src/allmydata.

Signed-off-by: Daira Hopwood <daira@jacaranda.org>
8 years agoRename upload_ready_d to connected_enough_d.
Daira Hopwood [Wed, 16 Sep 2015 13:28:46 +0000 (14:28 +0100)]
Rename upload_ready_d to connected_enough_d.

Signed-off-by: Daira Hopwood <daira@jacaranda.org>
8 years agoDocumentation changes for Magic Folder.
Daira Hopwood [Wed, 16 Sep 2015 13:24:10 +0000 (14:24 +0100)]
Documentation changes for Magic Folder.

Signed-off-by: Daira Hopwood <daira@jacaranda.org>
8 years agoTeach StorageFarmBroker to fire a deferred when a connection threshold is reached...
Daira Hopwood [Tue, 28 Apr 2015 20:03:45 +0000 (21:03 +0100)]
Teach StorageFarmBroker to fire a deferred when a connection threshold is reached. refs #1449

Signed-off-by: Daira Hopwood <daira@jacaranda.org>
8 years agoEnable Windows inotify support.
Daira Hopwood [Tue, 28 Apr 2015 19:58:07 +0000 (20:58 +0100)]
Enable Windows inotify support.

Signed-off-by: Daira Hopwood <daira@jacaranda.org>
8 years agoNew code for Windows drop-upload support. refs #1431
Daira Hopwood [Tue, 28 Apr 2015 19:13:44 +0000 (20:13 +0100)]
New code for Windows drop-upload support. refs #1431

Signed-off-by: Daira Hopwood <daira@jacaranda.org>
8 years agoDocs for drop-upload on Windows.
Daira Hopwood [Tue, 28 Apr 2015 19:11:40 +0000 (20:11 +0100)]
Docs for drop-upload on Windows.

Signed-off-by: Daira Hopwood <daira@jacaranda.org>
8 years agoAdd magic folder db.
Daira Hopwood [Tue, 28 Apr 2015 19:52:05 +0000 (20:52 +0100)]
Add magic folder db.

Signed-off-by: Daira Hopwood <daira@jacaranda.org>
8 years agoUnicode path fixes for drop-upload.
Daira Hopwood [Tue, 28 Apr 2015 19:43:09 +0000 (20:43 +0100)]
Unicode path fixes for drop-upload.

Signed-off-by: Daira Hopwood <daira@jacaranda.org>
8 years agoMakefile: run pyflakes as 'pyflakes', not python `which pyflakes`
Brian Warner [Fri, 5 Feb 2016 20:32:02 +0000 (12:32 -0800)]
Makefile: run pyflakes as 'pyflakes', not python `which pyflakes`

This funky invocation syntax was introduced in 2007 (commit 56ad518),
with a comment of "make pyflakes run faster". I no longer have any idea
why that might have been the case. It's time to simplify this, because
some of our buildslaves have pipsi-installed "pyflakes" on their $PATH,
which use a "python" that's different than the one on $PATH.

8 years agoAvoid spurious SUCCESS!?? for test_format_time_y2038.
Daira Hopwood [Fri, 5 Feb 2016 20:04:43 +0000 (20:04 +0000)]
Avoid spurious SUCCESS!?? for test_format_time_y2038.

Signed-off-by: Daira Hopwood <daira@jacaranda.org>
8 years agoMerge pull request #235 from leif/rm_intro_encoding_params
zooko [Fri, 5 Feb 2016 17:57:53 +0000 (17:57 +0000)]
Merge pull request #235 from leif/rm_intro_encoding_params

remove introducer's set_encoding_parameters

8 years agoremove introducer's set_encoding_parameters 235/head
Leif Ryge [Fri, 5 Feb 2016 11:37:22 +0000 (11:37 +0000)]
remove introducer's set_encoding_parameters

I'm not sure why this ever existed, but it doesn't appear to be used.

(If an introducer called a client's set_encoding_parameters method it would
keep the provided parameters in an instance attribute but would not actually
use them.)

8 years agobump foolscap dependency to 0.10.1
Brian Warner [Wed, 3 Feb 2016 06:19:57 +0000 (22:19 -0800)]
bump foolscap dependency to 0.10.1

The tahoe-deps repo was also updated, and the tahoe-deps tarball was
regenerated.

Closes ticket:2722

8 years agoFix an error-reporting problem in test_welcome (this does not fix the underlying...
Daira Hopwood [Tue, 2 Feb 2016 19:34:01 +0000 (19:34 +0000)]
Fix an error-reporting problem in test_welcome (this does not fix the underlying failure). refs ticket:2725

Signed-off-by: Daira Hopwood <daira@jacaranda.org>
8 years agoFix an error handling path that would never have been reached. fixes ticket:2543 2543.fix-mutable-error-handling.0
Daira Hopwood [Tue, 2 Feb 2016 18:55:34 +0000 (18:55 +0000)]
Fix an error handling path that would never have been reached. fixes ticket:2543

Signed-off-by: Daira Hopwood <daira@jacaranda.org>
8 years agoRemove -u shortcut for 'tahoe ls --uri' which clashes with --node-url. fixes ticket...
Daira Hopwood [Tue, 2 Feb 2016 18:45:52 +0000 (18:45 +0000)]
Remove -u shortcut for 'tahoe ls --uri' which clashes with --node-url. fixes ticket:1949, ticket:2137

Signed-off-by: Daira Hopwood <daira@jacaranda.org>
8 years agoSimplify an existing test by using TimezoneMixin. 2723.no-tzset-on-windows.0
Daira Hopwood [Tue, 2 Feb 2016 18:11:24 +0000 (18:11 +0000)]
Simplify an existing test by using TimezoneMixin.

Signed-off-by: Daira Hopwood <daira@jacaranda.org>
8 years agoDon't call time.tzset() if the platform doesn't have it. fixes ticket:2723
Daira Hopwood [Tue, 2 Feb 2016 18:10:33 +0000 (18:10 +0000)]
Don't call time.tzset() if the platform doesn't have it. fixes ticket:2723

Signed-off-by: Daira Hopwood <daira@jacaranda.org>
8 years agoweb/status.py: minor renaming to hush pyflakes
Brian Warner [Sun, 31 Jan 2016 19:02:50 +0000 (11:02 -0800)]
web/status.py: minor renaming to hush pyflakes

8 years agoMerge pull request #232 from leif/2663.dont-test-attribute-order
Brian Warner [Sun, 31 Jan 2016 18:58:04 +0000 (10:58 -0800)]
Merge pull request #232 from leif/2663.dont-test-attribute-order

Make tests work with both Nevow 0.11 and 0.12

8 years agoMake tests work with both Nevow 0.11 and 0.12 232/head
Leif Ryge [Sun, 31 Jan 2016 16:16:53 +0000 (16:16 +0000)]
Make tests work with both Nevow 0.11 and 0.12

closes #2663

8 years agodocs/quickstart.rst: mention that py2.6 no longer works
Brian Warner [Thu, 28 Jan 2016 21:13:44 +0000 (13:13 -0800)]
docs/quickstart.rst: mention that py2.6 no longer works

8 years agoNEWS: we now require py2.7 on all platforms.
Brian Warner [Thu, 28 Jan 2016 21:06:23 +0000 (13:06 -0800)]
NEWS: we now require py2.7 on all platforms.

refs ticket:2445

8 years agowui: improved columns in welcome page server list 229/head
Leif Ryge [Mon, 4 Jan 2016 19:58:55 +0000 (19:58 +0000)]
wui: improved columns in welcome page server list

As discussed at https://tahoe-lafs.org/trac/tahoe-lafs/ticket/1973 and in
previous pull request #129.

 - replace lengthy timestamps with human-readable deltas (eg 1h 2m 3s)
 - replace "announced" column with "Last RX" column
 - remove service column (it always said the same thing, "storage")
 - fix colspan on 'You are not presently connected' message

Previous versions, some with github comments: https://github.com/leif/tahoe-lafs/commit/3fe9053134b2429904f673df561e602a50f83c7e , https://github.com/leif/tahoe-lafs/commit/486dbfc7bd3c0bbba42a6df8e4564601120aec0e , and https://github.com/tahoe-lafs/tahoe-lafs/commit/c89ea625803be36a18bce1af4eef95dcd78bba2b, https://github.com/tahoe-lafs/tahoe-lafs/commit/9fabb924867e164e1c6d4d805761db6c39652cf7, https://github.com/tahoe-lafs/tahoe-lafs/commit/bbd8b42a25f8617c43b8293f3b654b3d060e27b9

Unlike previous attempts, the tests on this one should pass in any timezone.
(But like current master, will fail with Nevow >=0.12...)

Thanks to an anonymous contributor who wrote some of the tests.

8 years agorevert previous commit to fix attribution (vanity)
Leif Ryge [Sat, 23 Jan 2016 14:03:05 +0000 (14:03 +0000)]
revert previous commit to fix attribution (vanity)

This reverts the previous commit (modulo the one line that daira added) so that
my contributions will be properly attributed by git blame etc.

8 years agowui: improved columns in welcome page server list
Daira Hopwood [Fri, 15 Jan 2016 20:02:19 +0000 (20:02 +0000)]
wui: improved columns in welcome page server list

As discussed at https://tahoe-lafs.org/trac/tahoe-lafs/ticket/1973 and in
previous pull request #129.

 - replace lengthy timestamps with human-readable deltas (eg 1h 2m 3s)
 - replace "announced" column with "Last RX" column
 - remove service column (it always said the same thing, "storage")
 - fix colspan on 'You are not presently connected' message

Previous versions, some with github comments: https://github.com/leif/tahoe-lafs/commit/3fe9053134b2429904f673df561e602a50f83c7e , https://github.com/leif/tahoe-lafs/commit/486dbfc7bd3c0bbba42a6df8e4564601120aec0e , and https://github.com/tahoe-lafs/tahoe-lafs/commit/c89ea625803be36a18bce1af4eef95dcd78bba2b, https://github.com/tahoe-lafs/tahoe-lafs/commit/9fabb924867e164e1c6d4d805761db6c39652cf7, https://github.com/tahoe-lafs/tahoe-lafs/commit/bbd8b42a25f8617c43b8293f3b654b3d060e27b9

Unlike previous attempts, the tests on this one should pass in any timezone.
(But like current master, will fail with Nevow >=0.12...)

Thanks to an anonymous contributor who wrote some of the tests.

8 years agowui: use standard time format (#1077)
Leif Ryge [Mon, 4 Jan 2016 16:00:59 +0000 (16:00 +0000)]
wui: use standard time format (#1077)

8 years agoMerge pull request #220 from tahoe-lafs/2669.magic-folder-misc-patches.1
Daira Hopwood [Fri, 15 Jan 2016 19:15:38 +0000 (20:15 +0100)]
Merge pull request #220 from tahoe-lafs/2669.magic-folder-misc-patches.1

This PR is a bunch of miscellaneous patches that are on the Magic Folder branches, but independent of Magic Folder itself.

8 years agoReject path arguments that start with '-' with a usage error. 2669.magic-folder-misc-patches.1 220/head
Daira Hopwood [Mon, 28 Dec 2015 20:45:14 +0000 (20:45 +0000)]
Reject path arguments that start with '-' with a usage error.

Signed-off-by: Daira Hopwood <daira@jacaranda.org>
8 years agoImproved error handling and cosmetics for ctypes calls on Windows.
Daira Hopwood [Mon, 28 Dec 2015 20:27:35 +0000 (20:27 +0000)]
Improved error handling and cosmetics for ctypes calls on Windows.

Signed-off-by: Daira Hopwood <daira@jacaranda.org>
8 years agoFind the node-directory option correctly even if we are in a subcommand.
Daira Hopwood [Mon, 28 Dec 2015 20:03:35 +0000 (20:03 +0000)]
Find the node-directory option correctly even if we are in a subcommand.

Signed-off-by: Daira Hopwood <daira@jacaranda.org>
8 years agotest_encodingutil: use self.patch rather than modifying encodingutil.io_encoding...
Daira Hopwood [Mon, 28 Dec 2015 20:34:41 +0000 (20:34 +0000)]
test_encodingutil: use self.patch rather than modifying encodingutil.io_encoding directly.

Signed-off-by: Daira Hopwood <daira@jacaranda.org>
8 years agoRequire arguments to do_cli to be strs.
Daira Hopwood [Mon, 28 Dec 2015 20:46:16 +0000 (20:46 +0000)]
Require arguments to do_cli to be strs.

Signed-off-by: Daira Hopwood <daira@jacaranda.org>
8 years agoURIs are strs.
Daira Hopwood [Mon, 28 Dec 2015 20:08:22 +0000 (20:08 +0000)]
URIs are strs.

Signed-off-by: Daira Hopwood <daira@jacaranda.org>
8 years agoAliases are Unicode.
Daira Hopwood [Mon, 28 Dec 2015 20:01:07 +0000 (20:01 +0000)]
Aliases are Unicode.

Signed-off-by: Daira Hopwood <daira@jacaranda.org>
8 years agoCorrections and clarifications to remote-to-local-sync.rst.
Daira Hopwood [Mon, 28 Dec 2015 19:27:45 +0000 (19:27 +0000)]
Corrections and clarifications to remote-to-local-sync.rst.

Signed-off-by: Daira Hopwood <daira@jacaranda.org>
8 years agoRefactor tahoe.cfg handling to configutil.
Daira Hopwood [Mon, 21 Dec 2015 21:59:15 +0000 (21:59 +0000)]
Refactor tahoe.cfg handling to configutil.

Author: David Stainton <david@leastauthority.com>
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
9 years agoMerge pull request #204 from leif/preferred_peers-rebased3
Daira Hopwood [Fri, 4 Dec 2015 18:01:30 +0000 (18:01 +0000)]
Merge pull request #204 from leif/preferred_peers-rebased3

new feature: preferred storage servers

9 years agoMerge pull request #206 from leif/python27
Daira Hopwood [Thu, 3 Dec 2015 01:05:08 +0000 (01:05 +0000)]
Merge pull request #206 from leif/python27

drop Python 2.6 (.travis.yml, doc, setup.py)

9 years agodrop Python 2.6 (.travis.yml, doc, setup.py) 206/head
Leif Ryge [Wed, 2 Dec 2015 19:55:59 +0000 (19:55 +0000)]
drop Python 2.6 (.travis.yml, doc, setup.py)

Twisted 15 dropped support for it, which causes Travis CI tests to fail on 2.6.
We still theoretically support older versions of Twisted, so perhaps we should
configure Travis to test with those? I think we should drop Python 2.6 in any
case since distros are all on 2.7 now.

I'm leaving Travis running (and ignoring) the failing PyPy tests because I
don't know why that is there.

9 years agonew feature: preferred storage servers 204/head
Leif Ryge [Tue, 1 Dec 2015 18:47:50 +0000 (18:47 +0000)]
new feature: preferred storage servers

this includes a squash merge of dca1de6856d0bacb0d57cedcf1a81896910f4efd which
was previously seen in pull request #128, as well as daira's suggested changes
from pull request #204.

9 years agoMerge pull request #203 from tahoe-lafs/2556.quote-paths-in-node-creation.0
Daira Hopwood [Tue, 1 Dec 2015 18:33:56 +0000 (18:33 +0000)]
Merge pull request #203 from tahoe-lafs/2556.quote-paths-in-node-creation.0

2556.quote-paths-in-node-creation.0

9 years agoAdd test for 'tahoe create-node/client/introducer' output. closes ticket:2556 2556.quote-paths-in-node-creation.0 203/head
Daira Hopwood [Tue, 1 Dec 2015 17:58:16 +0000 (17:58 +0000)]
Add test for 'tahoe create-node/client/introducer' output. closes ticket:2556

Signed-off-by: Daira Hopwood <daira@jacaranda.org>
9 years agoQuote local paths correctly in the output of node creation commands. fixes ticket...
Daira Hopwood [Wed, 28 Oct 2015 02:57:15 +0000 (02:57 +0000)]
Quote local paths correctly in the output of node creation commands. fixes ticket:2556

Signed-off-by: Daira Hopwood <daira@jacaranda.org>
9 years agoMerge pull request #202 from tahoe-lafs/2567.turn-off-log-bridging.0
Daira Hopwood [Tue, 3 Nov 2015 18:10:21 +0000 (18:10 +0000)]
Merge pull request #202 from tahoe-lafs/2567.turn-off-log-bridging.0

Disable bridging of foolscap logging to the Twisted log...

9 years agoDisable bridging of foolscap logging to the Twisted log, and remove docs for it.... 2567.turn-off-log-bridging.0 202/head
Daira Hopwood [Tue, 3 Nov 2015 17:35:21 +0000 (17:35 +0000)]
Disable bridging of foolscap logging to the Twisted log, and remove docs for it. fixes ticket:2567

Signed-off-by: Daira Hopwood <daira@jacaranda.org>
9 years ago.travis.yml: unpin coverage, current one ought to work
Brian Warner [Sat, 17 Oct 2015 04:52:39 +0000 (21:52 -0700)]
.travis.yml: unpin coverage, current one ought to work

refs ticket:2511

9 years ago.travis.yml: pin coverage version to 3.7.1. fixes ticket:2511 2511.fix-coveralls.0
Daira Hopwood [Thu, 1 Oct 2015 00:11:14 +0000 (01:11 +0100)]
.travis.yml: pin coverage version to 3.7.1. fixes ticket:2511

Signed-off-by: Daira Hopwood <daira@jacaranda.org>
9 years agoMerge branch '2510-new-foolscap'
Brian Warner [Wed, 23 Sep 2015 04:30:03 +0000 (21:30 -0700)]
Merge branch '2510-new-foolscap'

9 years agointroweb: fix connection hints for server announcements 190/head
Brian Warner [Tue, 22 Sep 2015 23:37:12 +0000 (16:37 -0700)]
introweb: fix connection hints for server announcements

A long time ago, the introducer's status web page would show the
advertised IP addresses for all published services, by parsing their
FURL's connection hints. This hasn't worked since about 12-Aug-2014 when
foolscap-0.6.5 changed the internal format of these hints (the column
has been empty this whole time).

This removes the "Advertised IPs" column from the Service Announcements
table. Instead, the service's full connection hints (not just the IP
address) is displayed in a tooltip/popup on the "Announced" timestamp
column.

The code that pulls these connection hints is now tolerant of all three
foolscap styles:

* foolscap<=0.6.4 : tuples of ("ipv4",host,port)
* 0.6.5 .. 0.8.0  : tuples of ("tcp",host,port)
* foolscap>=0.9.0 : strings

fixes ticket:2510

9 years agoremove "announcement_distinct_hosts" from introweb JSON
Brian Warner [Tue, 22 Sep 2015 23:34:50 +0000 (16:34 -0700)]
remove "announcement_distinct_hosts" from introweb JSON

The machine-parseable JSON output for the introducer status web page
used to include a key named "announcement_distinct_hosts", which counted
the number of distinct IP addresses advertised by all connected storage
servers. This hasn't worked since Aug-2014 when foolscap-0.6.5 change
the internal hints format.

This removes that field.

9 years agointroducer: stop tracking hints for subscribed clients
Brian Warner [Tue, 22 Sep 2015 23:29:34 +0000 (16:29 -0700)]
introducer: stop tracking hints for subscribed clients

A long time ago, the introducer's status web page would show the
advertised IP addresses for all subscribers, by parsing their
RemoteReference's FURL's connection hints. This hasn't worked since
about 12-Aug-2014 when foolscap-0.6.5 changed the internal format of
these hints.

This removes the feature: we no longer attempt to show advertised IP
addresses of subscribed clients. It also removes the code that looked
inside foolscap internals for this information.

9 years agotravis: use 'git fetch' to deepen, not 'git pull'
Brian Warner [Tue, 22 Sep 2015 19:10:15 +0000 (12:10 -0700)]
travis: use 'git fetch' to deepen, not 'git pull'

Travis builds of branches (i.e. pull-requests) were testing the wrong
thing, because the 'git pull' was causing current trunk to be
auto-merged. At least that's what seemed to break
https://travis-ci.org/tahoe-lafs/tahoe-lafs/jobs/81517826 : it hung
forever waiting for a commit message to be entered.

Also add "sudo: false" to use travis containers (faster) instead of new
VMs. We only use pip to install dependencies, not apt, so we don't need
root.

9 years agoAvoid spurious errors when an imported version is consistent with pkg_resources 2499.avoid-spurious-version-errors.0 188/head
Daira Hopwood [Fri, 11 Sep 2015 23:59:51 +0000 (00:59 +0100)]
Avoid spurious errors when an imported version is consistent with pkg_resources
but not parseable; also improve related error reporting. fixes ticket:2499

Signed-off-by: Daira Hopwood <daira@jacaranda.org>
9 years agoMerge pull request #187 from tahoe-lafs/2493.cleanup-osx-packaging.1
Daira Hopwood [Thu, 3 Sep 2015 14:23:10 +0000 (15:23 +0100)]
Merge pull request #187 from tahoe-lafs/2493.cleanup-osx-packaging.1

2493.cleanup osx packaging.1

9 years agoMove manpage into a heirarchical man1 path. 2493.cleanup-osx-packaging.1 187/head
Ramakrishnan Muthukrishnan [Thu, 3 Sep 2015 13:47:27 +0000 (19:17 +0530)]
Move manpage into a heirarchical man1 path.

Author: Ramakrishnan Muthukrishnan <ram@leastauthority.com>

9 years agoOS-X package: add a preinstall script and copy the manpage into /etc/manpaths.d.
Ramakrishnan Muthukrishnan [Wed, 2 Sep 2015 04:44:06 +0000 (10:14 +0530)]
OS-X package: add a preinstall script and copy the manpage into /etc/manpaths.d.

The preinstall script detects previous installation and removes it.

Author: Ramakrishnan Muthukrishnan <ram@leastauthority.com>

9 years agoChange some instances of "filesystem" that were missed to "file store".
Daira Hopwood [Fri, 31 Jul 2015 17:21:47 +0000 (18:21 +0100)]
Change some instances of "filesystem" that were missed to "file store".

Signed-off-by: Daira Hopwood <daira@jacaranda.org>
9 years agoupdate docs for 1.10.2 release allmydata-tahoe-1.10.2
Brian Warner [Fri, 31 Jul 2015 02:35:00 +0000 (19:35 -0700)]
update docs for 1.10.2 release

9 years agoadd a pypy that is allowed to fail 180/head 181/head
HawkOwl [Wed, 29 Jul 2015 02:21:31 +0000 (12:21 +1000)]
add a pypy that is allowed to fail

9 years agoupdate NEWS with recent changes allmydata-tahoe-1.10.2b1
Brian Warner [Wed, 29 Jul 2015 01:10:40 +0000 (18:10 -0700)]
update NEWS with recent changes

9 years agoquickstart: Mention python-dev package for Python.h
Brian Warner [Mon, 15 Jun 2015 04:21:22 +0000 (21:21 -0700)]
quickstart: Mention python-dev package for Python.h

Closes ticket:2328.

9 years agoMerge branch '2447-cp-overwrite'
Brian Warner [Wed, 29 Jul 2015 00:39:39 +0000 (17:39 -0700)]
Merge branch '2447-cp-overwrite'

9 years agotest_cli_cp: minor cleanup
Brian Warner [Wed, 29 Jul 2015 00:36:50 +0000 (17:36 -0700)]
test_cli_cp: minor cleanup

9 years agocp: error on target-filename collisions, rather than overwrite
Brian Warner [Wed, 29 Jul 2015 00:19:42 +0000 (17:19 -0700)]
cp: error on target-filename collisions, rather than overwrite

Closes ticket:2447

9 years agounit test for my desired behavior
Zooko [Tue, 16 Jun 2015 17:22:59 +0000 (17:22 +0000)]
unit test for my desired behavior

9 years agoMerge branch '2436.less-scary.3'
Brian Warner [Wed, 29 Jul 2015 00:38:09 +0000 (17:38 -0700)]
Merge branch '2436.less-scary.3'

This reverts and improves the earlier fix for ticket:2436

9 years agotest_version.py: minor cleanup. 2436.less-scary.3 178/head
Daira Hopwood [Tue, 28 Jul 2015 22:41:26 +0000 (23:41 +0100)]
test_version.py: minor cleanup.

Signed-off-by: Daira Hopwood <daira@jacaranda.org>
9 years agoDon't show scary diagnostic warnings from --version[-and-path] (corrected). refs...
Daira Hopwood [Tue, 28 Jul 2015 22:41:13 +0000 (23:41 +0100)]
Don't show scary diagnostic warnings from --version[-and-path] (corrected). refs ticket:2436

The previous version would incorrectly add to the output of
get_package_versions_string each time it was called.

Signed-off-by: Daira Hopwood <daira@jacaranda.org>
9 years agoRevert "Don't show scary diagnostic warnings from --version[-and-path]"
Daira Hopwood [Tue, 28 Jul 2015 16:35:11 +0000 (17:35 +0100)]
Revert "Don't show scary diagnostic warnings from --version[-and-path]"

This reverts commit 431728f8f854e02d9ab2f731675f12ce18cda122.

Signed-off-by: Daira Hopwood <daira@jacaranda.org>
9 years agomutable/retrieve.py: remove all bare assert()s
Brian Warner [Tue, 28 Jul 2015 20:32:46 +0000 (13:32 -0700)]
mutable/retrieve.py: remove all bare assert()s

Replace them with _assert() or precondition(). Closes ticket:2462.

9 years agoimprove HTTP byte-range docs
Brian Warner [Tue, 28 Jul 2015 20:28:36 +0000 (13:28 -0700)]
improve HTTP byte-range docs

9 years agowebapi.rst: document Range: header on GET requests
Brian Warner [Tue, 28 Jul 2015 20:15:50 +0000 (13:15 -0700)]
webapi.rst: document Range: header on GET requests

closes ticket#2460

9 years agoIReadable.read(): document out-of-range errors
Brian Warner [Tue, 28 Jul 2015 20:01:15 +0000 (13:01 -0700)]
IReadable.read(): document out-of-range errors

closes ticket#2461

9 years agoMerge branch 'sdmf-partial-2'
Brian Warner [Tue, 28 Jul 2015 18:02:17 +0000 (11:02 -0700)]
Merge branch 'sdmf-partial-2'

This cleans up the mutable-retrieve code a bit, and should fix some
corner cases where an offset/size combinations that reads the last byte
of the file (but not the first) could cause an assert to fire, making
the download hang. Should address ticket:2459 and ticket:2462.

9 years agotest_mutable: more enhancements
Brian Warner [Tue, 28 Jul 2015 17:27:24 +0000 (10:27 -0700)]
test_mutable: more enhancements

9 years agomutable/retrieve.py: rewrite partial-read handling 177/head
Brian Warner [Tue, 28 Jul 2015 17:11:47 +0000 (10:11 -0700)]
mutable/retrieve.py: rewrite partial-read handling

This should tolerate offset/size combinations that read the last byte of
the file, something which was broken before. It quits early in the case
of zero-byte reads, to simplify the resulting "which segments do I need"
logic. Probably addresses ticket:2459.

9 years agoenhance SDMF/MDMF tests: zero-length files, size=None
Brian Warner [Tue, 28 Jul 2015 16:56:42 +0000 (09:56 -0700)]
enhance SDMF/MDMF tests: zero-length files, size=None

9 years agoAdd tests for SDMF partial reads. refs #2459
Daira Hopwood [Tue, 7 Jul 2015 20:28:59 +0000 (21:28 +0100)]
Add tests for SDMF partial reads. refs #2459

Signed-off-by: Daira Hopwood <daira@jacaranda.org>
9 years agoRemove some bare asserts in retrieve.py (there are still quite a few left). refs...
Daira Hopwood [Tue, 7 Jul 2015 20:01:33 +0000 (21:01 +0100)]
Remove some bare asserts in retrieve.py (there are still quite a few left). refs #2462

Signed-off-by: Daira Hopwood <daira@jacaranda.org>
9 years agoMerge pull request #176 from tahoe-lafs/2436.less-scary.0
zooko [Tue, 21 Jul 2015 17:59:31 +0000 (17:59 +0000)]
Merge pull request #176 from tahoe-lafs/2436.less-scary.0

Don't show scary diagnostic warnings from --version[-and-path] if the only problem is that extra packages are found by pkg_resources.

9 years agoMinor code cleanup in __init__.py. 2436.less-scary.0 176/head
Daira Hopwood [Tue, 21 Jul 2015 17:55:47 +0000 (18:55 +0100)]
Minor code cleanup in __init__.py.

Signed-off-by: Daira Hopwood <daira@jacaranda.org>
9 years agoDon't show scary diagnostic warnings from --version[-and-path]
Daira Hopwood [Tue, 21 Jul 2015 17:51:29 +0000 (18:51 +0100)]
Don't show scary diagnostic warnings from --version[-and-path]
if the only problem is that extra packages are found by pkg_resources.
fixes ticket:2436

Signed-off-by: Daira Hopwood <daira@jacaranda.org>
9 years agoChange the separator character in the Magic Folder user interface design doc from...
Daira Hopwood [Mon, 20 Jul 2015 23:16:40 +0000 (00:16 +0100)]
Change the separator character in the Magic Folder user interface design doc from '|' to '+'.

Signed-off-by: Daira Hopwood <daira@jacaranda.org>
9 years agoEliminate mock dependency. 2465.eliminate-mock.1 175/head
Daira Hopwood [Fri, 17 Jul 2015 21:03:53 +0000 (22:03 +0100)]
Eliminate mock dependency.

Signed-off-by: Daira Hopwood <daira@jacaranda.org>
9 years agoAdd Namespace utility class. (This is already used in the leasedb/cloud backend branch.)
Daira Hopwood [Fri, 17 Jul 2015 20:16:45 +0000 (21:16 +0100)]
Add Namespace utility class. (This is already used in the leasedb/cloud backend branch.)

Signed-off-by: Daira Hopwood <daira@jacaranda.org>
9 years agoMakefile upload-osx-pkg: mention where the packages go
Brian Warner [Thu, 16 Jul 2015 16:27:26 +0000 (09:27 -0700)]
Makefile upload-osx-pkg: mention where the packages go

9 years agoBump pyasn1 requirement to >= 0.1.8.
Daira Hopwood [Thu, 16 Jul 2015 14:38:06 +0000 (15:38 +0100)]
Bump pyasn1 requirement to >= 0.1.8.

Signed-off-by: Daira Hopwood <daira@jacaranda.org>
9 years agoBlacklist mock > 1.0.1.
Daira Hopwood [Thu, 16 Jul 2015 14:24:45 +0000 (15:24 +0100)]
Blacklist mock > 1.0.1.

Signed-off-by: Daira Hopwood <daira@jacaranda.org>
9 years agotest/check_load: hush (newer) pyflakes
Brian Warner [Mon, 13 Jul 2015 01:25:55 +0000 (18:25 -0700)]
test/check_load: hush (newer) pyflakes

pyflakes-0.9.2 gets confused about list comprehensions, so rename the
loop variable even though we'd deleted that name already.

9 years agotest_web: avoid IP autodetection, was causing dirty reactor
Brian Warner [Mon, 13 Jul 2015 01:20:43 +0000 (18:20 -0700)]
test_web: avoid IP autodetection, was causing dirty reactor

9 years agodocs/how-to-release: add more wiki pages to update
Brian Warner [Sat, 27 Jun 2015 01:39:29 +0000 (18:39 -0700)]
docs/how-to-release: add more wiki pages to update

9 years agoadd test-pip-install
Brian Warner [Tue, 16 Jun 2015 20:41:21 +0000 (13:41 -0700)]
add test-pip-install

9 years agorelease checklist: use signed git tag next time
Brian Warner [Tue, 16 Jun 2015 01:35:55 +0000 (18:35 -0700)]
release checklist: use signed git tag next time