]> git.rkrishnan.org Git - tahoe-lafs/tahoe-lafs.git/log
tahoe-lafs/tahoe-lafs.git
8 years agoExpand on how DMDs are configured and polled. 2418.remote-to-local-sync.1
Daira Hopwood [Tue, 26 May 2015 14:54:42 +0000 (15:54 +0100)]
Expand on how DMDs are configured and polled.

Signed-off-by: Daira Hopwood <daira@jacaranda.org>
8 years agoReference ticket:1459 and ticket:2431; fix a link.
Daira Hopwood [Mon, 25 May 2015 22:51:19 +0000 (23:51 +0100)]
Reference ticket:1459 and ticket:2431; fix a link.

Signed-off-by: Daira Hopwood <daira@jacaranda.org>
8 years agoAdd deletion to Aether Dragons section.
Daira Hopwood [Mon, 25 May 2015 22:35:20 +0000 (23:35 +0100)]
Add deletion to Aether Dragons section.

Signed-off-by: Daira Hopwood <daira@jacaranda.org>
8 years agoMore WIP: refine interleaving argument for Windows.
Daira Hopwood [Mon, 25 May 2015 22:34:54 +0000 (23:34 +0100)]
More WIP: refine interleaving argument for Windows.

Signed-off-by: Daira Hopwood <daira@jacaranda.org>
8 years agoWork in progress.
Daira Hopwood [Mon, 25 May 2015 20:42:47 +0000 (21:42 +0100)]
Work in progress.

Signed-off-by: Daira Hopwood <daira@jacaranda.org>
8 years agoWork in progress.
Daira Hopwood [Mon, 25 May 2015 16:03:49 +0000 (17:03 +0100)]
Work in progress.

Signed-off-by: Daira Hopwood <daira@jacaranda.org>
8 years agoClarifications and TODO.
Daira Hopwood [Sat, 23 May 2015 00:37:07 +0000 (01:37 +0100)]
Clarifications and TODO.

Signed-off-by: Daira Hopwood <daira@jacaranda.org>
8 years agorst fixes and cosmetics.
Daira Hopwood [Sat, 23 May 2015 00:36:41 +0000 (01:36 +0100)]
rst fixes and cosmetics.

Signed-off-by: Daira Hopwood <daira@jacaranda.org>
8 years agoWork in progress: use hard link technique to prevent Earth Dragon data loss on Unix...
Daira Hopwood [Fri, 22 May 2015 23:26:53 +0000 (00:26 +0100)]
Work in progress: use hard link technique to prevent Earth Dragon data loss on Unix; ReplaceFileW on Windows.

Signed-off-by: Daira Hopwood <daira@jacaranda.org>
8 years agoremote-to-local-sync.rst: Conflict Detection and Resolution WIP
Daira Hopwood [Tue, 19 May 2015 23:13:47 +0000 (00:13 +0100)]
remote-to-local-sync.rst: Conflict Detection and Resolution WIP

Signed-off-by: Daira Hopwood <daira@jacaranda.org>
8 years agoremote-to-local-sync.rst: improvements to table.
Daira Hopwood [Tue, 19 May 2015 23:28:03 +0000 (00:28 +0100)]
remote-to-local-sync.rst: improvements to table.

Signed-off-by: Daira Hopwood <daira@jacaranda.org>
8 years agoremote-to-local-sync.rst: Evaluation of designs section
Daira Hopwood [Tue, 19 May 2015 23:27:10 +0000 (00:27 +0100)]
remote-to-local-sync.rst: Evaluation of designs section

Signed-off-by: Daira Hopwood <daira@jacaranda.org>
8 years agoremote-to-local-sync.rst: header changes.
Daira Hopwood [Tue, 19 May 2015 23:12:49 +0000 (00:12 +0100)]
remote-to-local-sync.rst: header changes.

Signed-off-by: Daira Hopwood <daira@jacaranda.org>
8 years agoWIP 166/head
David Stainton [Tue, 19 May 2015 22:18:47 +0000 (15:18 -0700)]
WIP

8 years agoMerge branch '2418.remote-to-local-sync.1' of github.com:tahoe-lafs/tahoe-lafs into...
David Stainton [Tue, 19 May 2015 22:08:25 +0000 (15:08 -0700)]
Merge branch '2418.remote-to-local-sync.1' of github.com:tahoe-lafs/tahoe-lafs into 2418.remote-to-local-sync.1

8 years agoRewording; add design tradeoff table.
Daira Hopwood [Tue, 19 May 2015 22:05:53 +0000 (23:05 +0100)]
Rewording; add design tradeoff table.

Signed-off-by: Daira Hopwood <daira@jacaranda.org>
8 years agoremote-to-local-sync.rst: fixes to glossary.
Daira Hopwood [Tue, 19 May 2015 22:05:17 +0000 (23:05 +0100)]
remote-to-local-sync.rst: fixes to glossary.

Signed-off-by: Daira Hopwood <daira@jacaranda.org>
8 years agoMinor phrasal corrections
David Stainton [Mon, 18 May 2015 19:26:26 +0000 (12:26 -0700)]
Minor phrasal corrections

8 years agoNew version of design notes for remote-to-local sync. refs #2418
Daira Hopwood [Mon, 18 May 2015 16:25:45 +0000 (17:25 +0100)]
New version of design notes for remote-to-local sync. refs #2418

Signed-off-by: Daira Hopwood <daira@jacaranda.org>
9 years agoAdd draft of remote-to-local-sync doc. 1431.windows-drop-upload.4
Daira Hopwood [Wed, 6 May 2015 14:14:48 +0000 (15:14 +0100)]
Add draft of remote-to-local-sync doc.

Signed-off-by: Daira Hopwood <daira@jacaranda.org>
9 years agoWIP
Daira Hopwood [Wed, 29 Apr 2015 15:19:53 +0000 (16:19 +0100)]
WIP

Signed-off-by: Daira Hopwood <daira@jacaranda.org>
9 years agointerfaces.py: fix arguments to create_subdirectory.
Daira Hopwood [Tue, 28 Apr 2015 22:35:06 +0000 (23:35 +0100)]
interfaces.py: fix arguments to create_subdirectory.

Signed-off-by: Daira Hopwood <daira@jacaranda.org>
9 years agoProcess directories unconditionally.
Daira Hopwood [Tue, 28 Apr 2015 22:33:37 +0000 (23:33 +0100)]
Process directories unconditionally.
Also pass overwrite=False and suppress ExistingChildError when creating a
subdirectory, to avoid orphaning any existing directory.

Signed-off-by: Daira Hopwood <daira@jacaranda.org>
9 years agoautoAdd isn't needed now that we add watches for subdirectories manually.
Daira Hopwood [Tue, 28 Apr 2015 22:30:30 +0000 (23:30 +0100)]
autoAdd isn't needed now that we add watches for subdirectories manually.

Signed-off-by: Daira Hopwood <daira@jacaranda.org>
9 years agoWIP
Daira Hopwood [Tue, 28 Apr 2015 21:47:00 +0000 (22:47 +0100)]
WIP

Signed-off-by: Daira Hopwood <daira@jacaranda.org>
9 years agoTeach uploader to keep object stats, not file stats.
Daira Hopwood [Tue, 28 Apr 2015 20:15:02 +0000 (21:15 +0100)]
Teach uploader to keep object stats, not file stats.

We keep track of objects instead of files so that we are
not forced to determine the object type (file, directory,
symlink, special file etc.)

Signed-off-by: Daira Hopwood <daira@jacaranda.org>
9 years agoAdd ignore count to uploaded callback.
Daira Hopwood [Tue, 28 Apr 2015 20:06:54 +0000 (21:06 +0100)]
Add ignore count to uploaded callback.

Signed-off-by: Daira Hopwood <daira@jacaranda.org>
9 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>
9 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>
9 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>
9 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>
9 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>
9 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>
9 years agoFix error messages.
Daira Hopwood [Tue, 28 Apr 2015 20:16:26 +0000 (21:16 +0100)]
Fix error messages.

Signed-off-by: Daira Hopwood <daira@jacaranda.org>
9 years agoMerge branch '2399-cp-mkdir'
Brian Warner [Mon, 4 May 2015 05:14:53 +0000 (22:14 -0700)]
Merge branch '2399-cp-mkdir'

closes ticket:2399

9 years agoapply review feedback
Brian Warner [Mon, 4 May 2015 05:03:25 +0000 (22:03 -0700)]
apply review feedback

9 years agocp: trailing slash on source filename is an error, just like on targets
Brian Warner [Sat, 2 May 2015 00:37:07 +0000 (17:37 -0700)]
cp: trailing slash on source filename is an error, just like on targets

9 years agotahoe cp: ignore trailing slash on source arguments
Brian Warner [Mon, 4 May 2015 05:13:52 +0000 (22:13 -0700)]
tahoe cp: ignore trailing slash on source arguments

This avoids an error case where an empty child name resulted in a
duplicate mkdir. It adds a precondition check to guard against empty
child names, and some test cases. It also cleans up a funny redundancy
noticed earlier (refs ticket:2329).

9 years agoImprove docs on 'cp -r', noting the recent 2329 changes
Brian Warner [Mon, 4 May 2015 04:49:34 +0000 (21:49 -0700)]
Improve docs on 'cp -r', noting the recent 2329 changes

refs ticket:2329

9 years agoUpdate title of OpenSSL and pyOpenSSL build instructions.
Daira Hopwood [Fri, 1 May 2015 21:07:27 +0000 (22:07 +0100)]
Update title of OpenSSL and pyOpenSSL build instructions.

Signed-off-by: Daira Hopwood <daira@jacaranda.org>
9 years agoAdd OpenSSL and pyOpenSSL build instructions for 32-bit Windows.
Daira Hopwood [Fri, 1 May 2015 20:43:43 +0000 (21:43 +0100)]
Add OpenSSL and pyOpenSSL build instructions for 32-bit Windows.

Signed-off-by: Daira Hopwood <daira@jacaranda.org>
9 years agoAdd doc for building pyOpenSSL.
Daira Hopwood [Fri, 1 May 2015 17:45:19 +0000 (18:45 +0100)]
Add doc for building pyOpenSSL.

Signed-off-by: Daira Hopwood <daira@jacaranda.org>
9 years agoOS X icons and dialog box help text 2323.osx-error-msg.3
Ramakrishnan Muthukrishnan [Thu, 16 Apr 2015 16:28:12 +0000 (21:58 +0530)]
OS X icons and dialog box help text

9 years agofix OS X logo generation
Ramakrishnan Muthukrishnan [Thu, 16 Apr 2015 15:36:26 +0000 (21:06 +0530)]
fix OS X logo generation

9 years agoadd osx bundle meta data and applescript script to show an alert.
Ramakrishnan Muthukrishnan [Thu, 26 Mar 2015 15:10:33 +0000 (20:40 +0530)]
add osx bundle meta data and applescript script to show an alert.

9 years agoBuild Tahoe-LAFS icon for OS X and Windows. refs ticket:2323
Daira Hopwood [Thu, 30 Apr 2015 14:24:12 +0000 (15:24 +0100)]
Build Tahoe-LAFS icon for OS X and Windows. refs ticket:2323

Signed-off-by: Daira Hopwood <daira@jacaranda.org>
9 years agozetuptoolz: don't add ';' to an empty path when appending a new item.
Daira Hopwood [Fri, 30 Jan 2015 22:05:54 +0000 (22:05 +0000)]
zetuptoolz: don't add ';' to an empty path when appending a new item.

Signed-off-by: Daira Hopwood <daira@jacaranda.org>
9 years agocontrol.py: minor improvements
Brian Warner [Tue, 28 Apr 2015 18:03:12 +0000 (11:03 -0700)]
control.py: minor improvements

refs ticket:1737

9 years agoBump zetuptoolz version (move directory).
Daira Hopwood [Tue, 28 Apr 2015 17:53:44 +0000 (18:53 +0100)]
Bump zetuptoolz version (move directory).

Signed-off-by: Daira Hopwood <daira@jacaranda.org>
9 years agoBump zetuptoolz version (file changes).
Daira Hopwood [Tue, 28 Apr 2015 17:52:59 +0000 (18:52 +0100)]
Bump zetuptoolz version (file changes).

Signed-off-by: Daira Hopwood <daira@jacaranda.org>
9 years agozetuptoolz: tolerate a single string for __requires__, and improve error reporting...
Daira Hopwood [Tue, 28 Apr 2015 17:42:57 +0000 (18:42 +0100)]
zetuptoolz: tolerate a single string for __requires__, and improve error reporting. fixes ticket:2242

Signed-off-by: Daira Hopwood <daira@jacaranda.org>
9 years agoChange foolscap dependency to >= 0.8.0. refs #2400
Daira Hopwood [Tue, 28 Apr 2015 16:21:31 +0000 (17:21 +0100)]
Change foolscap dependency to >= 0.8.0. refs #2400

Signed-off-by: Daira Hopwood <daira@jacaranda.org>
9 years agoCREDITS: add my GPG key
Brian Warner [Sun, 26 Apr 2015 22:07:55 +0000 (15:07 -0700)]
CREDITS: add my GPG key

9 years agoFix a test that was dependent on Windows path separators.
Daira Hopwood [Tue, 21 Apr 2015 20:28:21 +0000 (21:28 +0100)]
Fix a test that was dependent on Windows path separators.

Signed-off-by: Daira Hopwood <daira@jacaranda.org>
9 years agoReduce differences between Windows and non-Windows dependencies.
Daira Hopwood [Tue, 21 Apr 2015 20:15:54 +0000 (21:15 +0100)]
Reduce differences between Windows and non-Windows dependencies.
This also fixes some warnings on Windows when using Twisted 12.1.0.

Signed-off-by: Daira Hopwood <daira@jacaranda.org>
9 years agofix check-memory test, with new new (safe) control-port methods
Brian Warner [Tue, 21 Apr 2015 20:04:47 +0000 (13:04 -0700)]
fix check-memory test, with new new (safe) control-port methods

9 years agoEnsure the 'base' argument to abspath_expanduser_unicode takes effect on Windows...
Daira Hopwood [Tue, 21 Apr 2015 20:03:45 +0000 (21:03 +0100)]
Ensure the 'base' argument to abspath_expanduser_unicode takes effect on Windows. fixes #2398

Signed-off-by: Daira Hopwood <daira@jacaranda.org>
9 years agofinish removing control-port upload/download functions
Brian Warner [Tue, 21 Apr 2015 18:26:16 +0000 (11:26 -0700)]
finish removing control-port upload/download functions

9 years agoremove control-port upload/download file interfaces
Brian Warner [Tue, 21 Apr 2015 17:48:06 +0000 (10:48 -0700)]
remove control-port upload/download file interfaces

FURLs are unguessable, but an attacker who somehow learned this FURL
could overwrite files and read sensitive data.

This will break the memory tests. I will add a new interface to support
the memory tests soon.

refs ticket:1737

9 years agobackupdb.py: cosmetics
Daira Hopwood [Fri, 17 Apr 2015 16:59:58 +0000 (17:59 +0100)]
backupdb.py: cosmetics

Signed-off-by: Daira Hopwood <daira@jacaranda.org>
9 years agoMake backupdb use dbutil.
Daira Hopwood [Fri, 17 Apr 2015 16:59:34 +0000 (17:59 +0100)]
Make backupdb use dbutil.

Signed-off-by: Daira Hopwood <daira@jacaranda.org>
9 years agoAdd util/dbutil.py: open/create/update sqlite databases given some schema.
Daira Hopwood [Fri, 17 Apr 2015 16:57:49 +0000 (17:57 +0100)]
Add util/dbutil.py: open/create/update sqlite databases given some schema.

Author: Brian Warner <warner@lothar.com>
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
9 years agoSome useful Deferred utilities, originally from the cloud backend branch.
Daira Hopwood [Fri, 23 Nov 2012 00:23:54 +0000 (00:23 +0000)]
Some useful Deferred utilities, originally from the cloud backend branch.

Signed-off-by: Daira Hopwood <daira@jacaranda.org>
9 years agoMerge pull request #152 from vu3rdd/182-osx-packaging-7 by
Daira Hopwood [Mon, 13 Apr 2015 23:08:47 +0000 (00:08 +0100)]
Merge pull request #152 from vu3rdd/182-osx-packaging-7

strip the single quotes around $VERSION

9 years agostrip the single quotes around $VERSION 152/head
Ramakrishnan Muthukrishnan [Sat, 11 Apr 2015 09:05:18 +0000 (14:35 +0530)]
strip the single quotes around $VERSION

Without stripping the single quotes, the generated pagkage filename
also has the undesired single quotes around the version string.
(eg: tahoe-lafs-'1.10.0.post309'-osx.pkg).

9 years agoREADME.rst: change description to the new wording on tahoe-lafs.org (with "file store...
Daira Hopwood [Fri, 10 Apr 2015 22:42:57 +0000 (23:42 +0100)]
README.rst: change description to the new wording on tahoe-lafs.org (with "file store" instead of "filesystem").

Signed-off-by: Daira Hopwood <daira@jacaranda.org>
9 years agoAdd discussion and rejection of Change Journals.
Daira Hopwood [Thu, 2 Apr 2015 15:16:46 +0000 (16:16 +0100)]
Add discussion and rejection of Change Journals.

Signed-off-by: Daira Hopwood <daira@jacaranda.org>
9 years agoAdd link to otf-magic-folder-objective ticket query.
Daira Hopwood [Thu, 2 Apr 2015 15:16:17 +0000 (16:16 +0100)]
Add link to otf-magic-folder-objective ticket query.

Signed-off-by: Daira Hopwood <daira@jacaranda.org>
9 years agoCopyediting.
Daira Hopwood [Thu, 2 Apr 2015 15:15:39 +0000 (16:15 +0100)]
Copyediting.

Signed-off-by: Daira Hopwood <daira@jacaranda.org>
9 years agoCollaborative design from Daira and David.
Daira Hopwood [Thu, 2 Apr 2015 14:26:25 +0000 (15:26 +0100)]
Collaborative design from Daira and David.

Signed-off-by: Daira Hopwood <daira@jacaranda.org>
9 years agoMerge branch 'ftp-2394'
Brian Warner [Tue, 31 Mar 2015 18:07:48 +0000 (11:07 -0700)]
Merge branch 'ftp-2394'

closes ticket:2394

9 years agotypo
Brian Warner [Tue, 31 Mar 2015 18:07:21 +0000 (11:07 -0700)]
typo

9 years agobump Twisted dep to 11.1.0, thus simplify IntishPermissions
Brian Warner [Tue, 31 Mar 2015 16:41:55 +0000 (09:41 -0700)]
bump Twisted dep to 11.1.0, thus simplify IntishPermissions

9 years agotest_ftp: fix comparison against integer
Brian Warner [Tue, 31 Mar 2015 16:30:17 +0000 (09:30 -0700)]
test_ftp: fix comparison against integer

9 years agoFix ftp 'ls' to work with current Twisted-15.0.0
Brian Warner [Thu, 26 Mar 2015 01:23:33 +0000 (18:23 -0700)]
Fix ftp 'ls' to work with current Twisted-15.0.0

refs ticket:2394

It's kind of a hack, but Twisted changed the API and I couldn't find a
cleaner way to detect which form of "permissions" value the Twisted FTP
server wants.

I've manually tested it against 14.0.2 and 15.0.0.

9 years agoMerge pull request #149 from warner/mutable-2034
Daira Hopwood [Tue, 31 Mar 2015 16:47:06 +0000 (17:47 +0100)]
Merge pull request #149 from warner/mutable-2034

use more servers for test_mutable.Update, to test #2034 properly

9 years agouse more servers for test_mutable.Update, to test #2034 properly 149/head
Brian Warner [Thu, 26 Mar 2015 01:49:37 +0000 (18:49 -0700)]
use more servers for test_mutable.Update, to test #2034 properly

9 years agoAdd a test, add missing imports. refs #2388
Daira Hopwood [Tue, 24 Mar 2015 17:10:00 +0000 (17:10 +0000)]
Add a test, add missing imports. refs #2388

This tests ftpd, but not sftpd. Doing this sort of test on sftpd
requires the creation of a valid pubkey/privkey file pair, which is more
work than I want to do right now.

init_ftp/init_sftp were changed to interpret the configured
accounts.file as relative to the node's basedir, with
abspath_expanduser_unicode(accountfile, base=self.basedir).
This would happen naturally in a real node, since it os.chdir()s
to the basedir before doing anything. But tests don't do that.

Author: Brian Warner <warner@lothar.com>
Author: Daira Hopwood <daira@jacaranda.org>
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
9 years agoEnsure that path parameters to SFTPServer and FTPServer constructors are unicode...
Daira Hopwood [Tue, 3 Mar 2015 20:06:35 +0000 (20:06 +0000)]
Ensure that path parameters to SFTPServer and FTPServer constructors are unicode. refs #2388

Signed-off-by: Daira Hopwood <daira@jacaranda.org>
9 years agoAdd from_utf8_or_none and tests.
Daira Hopwood [Tue, 3 Mar 2015 20:04:57 +0000 (20:04 +0000)]
Add from_utf8_or_none and tests.

Signed-off-by: Daira Hopwood <daira@jacaranda.org>
9 years agoFix a missing import in test-osx-pkg.py. refs #2393
Daira Hopwood [Tue, 24 Mar 2015 16:44:54 +0000 (16:44 +0000)]
Fix a missing import in test-osx-pkg.py. refs #2393

Signed-off-by: Daira Hopwood <daira@jacaranda.org>
9 years agoMore careful quoting in build-osx-pkg.sh. refs #2393
Daira Hopwood [Tue, 24 Mar 2015 16:42:27 +0000 (16:42 +0000)]
More careful quoting in build-osx-pkg.sh. refs #2393

Signed-off-by: Daira Hopwood <daira@jacaranda.org>
9 years agoMove computation of Tahoe version from Makefile to build-osx-pkg.sh. refs #2393
Daira Hopwood [Tue, 24 Mar 2015 16:41:43 +0000 (16:41 +0000)]
Move computation of Tahoe version from Makefile to build-osx-pkg.sh. refs #2393

Signed-off-by: Daira Hopwood <daira@jacaranda.org>
9 years agoMerge pull request #146 from warner/versioned-osx-pkg
Daira Hopwood [Tue, 24 Mar 2015 16:11:30 +0000 (16:11 +0000)]
Merge pull request #146 from warner/versioned-osx-pkg

put a version string in the name of the OS-X .pkg file

9 years agocreate/test/upload tahoe-lafs-VERSION-osx.pkg, not tahoe-lafs-osx.pkg 146/head
Brian Warner [Sat, 21 Mar 2015 21:20:00 +0000 (14:20 -0700)]
create/test/upload tahoe-lafs-VERSION-osx.pkg, not tahoe-lafs-osx.pkg

Closes ticket:2393

9 years agomove build-osx-pkg out to a separate shell script
Brian Warner [Sat, 21 Mar 2015 21:09:33 +0000 (14:09 -0700)]
move build-osx-pkg out to a separate shell script

Also remove the duplicate test-osx-pkg (i.e. don't run the test as part
of the build, and have the caller do it themselves later).

9 years agoMakefile: add upload-osx-pkg rule
Brian Warner [Fri, 20 Mar 2015 17:52:48 +0000 (10:52 -0700)]
Makefile: add upload-osx-pkg rule

9 years agocheck_memory.py: announce 32-bit vs 64-bit
Brian Warner [Fri, 20 Mar 2015 01:59:16 +0000 (18:59 -0700)]
check_memory.py: announce 32-bit vs 64-bit

9 years agoMerge branch '2329-2': fix "tahoe cp -r" exception
Brian Warner [Tue, 17 Mar 2015 18:53:30 +0000 (11:53 -0700)]
Merge branch '2329-2': fix "tahoe cp -r" exception

9 years agotest_cli_cp.py: hush pyflakes 144/head
Brian Warner [Tue, 17 Mar 2015 18:16:06 +0000 (11:16 -0700)]
test_cli_cp.py: hush pyflakes

9 years agotahoe_cp: be consistent with "source.basename() is None" testing
Brian Warner [Tue, 17 Mar 2015 18:13:57 +0000 (11:13 -0700)]
tahoe_cp: be consistent with "source.basename() is None" testing

9 years agotahoe_cp: minor cleanups, no behavior changes
Brian Warner [Tue, 17 Mar 2015 18:13:33 +0000 (11:13 -0700)]
tahoe_cp: minor cleanups, no behavior changes

9 years agotahoe_cp: make populate(recurse=) more explicit
Brian Warner [Tue, 17 Mar 2015 18:11:11 +0000 (11:11 -0700)]
tahoe_cp: make populate(recurse=) more explicit

9 years agotest_cli_cp: test cleanups
Brian Warner [Tue, 17 Mar 2015 17:41:01 +0000 (10:41 -0700)]
test_cli_cp: test cleanups

* remove redundant test cases
* add more internal asserts
* clean up set usage

9 years agotest_cli_cp: improve test cases
Brian Warner [Tue, 17 Mar 2015 16:59:34 +0000 (09:59 -0700)]
test_cli_cp: improve test cases

9 years agoimprove error message for slash-terminated non-directories
Brian Warner [Tue, 10 Mar 2015 16:17:17 +0000 (09:17 -0700)]
improve error message for slash-terminated non-directories

9 years agotest_cli_cp.py: turn off debug mode, tests now assert for real
Brian Warner [Wed, 4 Mar 2015 02:20:03 +0000 (18:20 -0800)]
test_cli_cp.py: turn off debug mode, tests now assert for real

9 years agotahoe cp: overhaul target assignment, update tests
Brian Warner [Wed, 4 Mar 2015 02:19:58 +0000 (18:19 -0800)]
tahoe cp: overhaul target assignment, update tests

This substantially changes the internals of "tahoe cp", to behave in
accordance with the scheme developed in ticket:2329. test_cli_cp.py got
a large new test to exercise all the various combinations. This also
changes the set of error messages that "tahoe cp" can produce.

This modifies try_copy(), inserts a new implementation of
copy_things_to_directory() (and supporting methods), and fixes a few
bugs elsewhere.

fixes ticket:2329

9 years agotahoe_cp: delete copy_to_directory() code
Brian Warner [Wed, 4 Mar 2015 02:18:17 +0000 (18:18 -0800)]
tahoe_cp: delete copy_to_directory() code

This code will be replaced in the next commit with an entirely different
approach, and modifying it in a single commit would yield a completely
unreadable diff.

9 years agotahoe_cp: simplify some checks, rename some functions
Brian Warner [Wed, 4 Mar 2015 01:51:28 +0000 (17:51 -0800)]
tahoe_cp: simplify some checks, rename some functions

no behavioral changes