]>
git.rkrishnan.org Git - tahoe-lafs/tahoe-lafs.git/log
Daira Hopwood [Mon, 8 Jun 2015 23:47:48 +0000 (00:47 +0100)]
Remove unused code.
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
Daira Hopwood [Mon, 8 Jun 2015 23:38:02 +0000 (00:38 +0100)]
Fix test errors.
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
David Stainton [Wed, 3 Jun 2015 17:35:28 +0000 (10:35 -0700)]
Minor code cleanup
David Stainton [Tue, 2 Jun 2015 19:32:26 +0000 (12:32 -0700)]
Add private config magic_folder_parent_dircap
- this commit also updates the tests
Daira Hopwood [Mon, 8 Jun 2015 23:02:09 +0000 (00:02 +0100)]
Add parent_dircap stub argument to DropUploader. refs ticket:2441
Author: David Stainton <david@leastauthority.com>
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
Daira Hopwood [Mon, 8 Jun 2015 22:54:40 +0000 (23:54 +0100)]
Add IN_MOVED_FROM to inotify mask.
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
Daira Hopwood [Mon, 8 Jun 2015 22:28:49 +0000 (23:28 +0100)]
Explicitly pass overwrite=True to add_file. (It is the default, but this is clearer.)
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
Daira Hopwood [Mon, 8 Jun 2015 14:34:34 +0000 (15:34 +0100)]
More fixes to drop-upload tests.
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
Daira Hopwood [Tue, 2 Jun 2015 22:55:26 +0000 (23:55 +0100)]
Fix drop-upload tests. refs ticket:2427
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
Daira Hopwood [Tue, 2 Jun 2015 22:37:44 +0000 (23:37 +0100)]
Fix an incorrect addCallback.
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
Daira Hopwood [Tue, 2 Jun 2015 01:09:25 +0000 (02:09 +0100)]
fileutil: make the error behaviour of replace_file on Unix more similar to Windows.
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
Daira Hopwood [Fri, 29 May 2015 20:38:09 +0000 (21:38 +0100)]
fileutil.py: add rename_no_overwrite and replace_file.
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
Daira Hopwood [Mon, 8 Jun 2015 13:24:11 +0000 (14:24 +0100)]
WIP debugging.
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
Daira Hopwood [Mon, 8 Jun 2015 13:23:30 +0000 (14:23 +0100)]
Cosmetics.
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
David Stainton [Tue, 26 May 2015 19:39:52 +0000 (12:39 -0700)]
WIP
David Stainton [Tue, 26 May 2015 17:04:08 +0000 (10:04 -0700)]
fix more inotify test calls
David Stainton [Tue, 26 May 2015 16:47:44 +0000 (09:47 -0700)]
Clean up test at end
this gets rid of the dirty reactor
David Stainton [Tue, 26 May 2015 16:42:19 +0000 (09:42 -0700)]
Copy all daira code from other branch...
David Stainton [Tue, 26 May 2015 16:15:31 +0000 (09:15 -0700)]
Test inotify with event agnostic notify
def notify(self, path, mask)
instead of
def notify_close_write(self, path)
David Stainton [Tue, 26 May 2015 15:10:21 +0000 (08:10 -0700)]
Add sleep to test
David Stainton [Tue, 26 May 2015 14:56:37 +0000 (07:56 -0700)]
WIP
Daira Hopwood [Mon, 8 Jun 2015 12:54:36 +0000 (13:54 +0100)]
Disable use of Unicode-mode FilePaths on non-Windows platorms. fixes ticket:2444
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
Daira Hopwood [Sun, 7 Jun 2015 13:26:30 +0000 (14:26 +0100)]
Teach uploader to use flat hierarchy. refs ticket:2442
Author: David Stainton <david@leastauthority.com>
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
David Stainton [Tue, 2 Jun 2015 00:11:57 +0000 (17:11 -0700)]
Add Magic Folder path encoding. refs ticket:2442
Daira Hopwood [Mon, 20 Jul 2015 23:20:48 +0000 (00:20 +0100)]
Move backupdb out of scripts. fixes ticket:2408
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
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>
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>
Daira Hopwood [Tue, 28 Apr 2015 21:47:00 +0000 (22:47 +0100)]
WIP
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
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>
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>
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>
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>
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>
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>
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>
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>
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>
Daira Hopwood [Fri, 17 Jul 2015 21:03:53 +0000 (22:03 +0100)]
Eliminate mock dependency.
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
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>
Brian Warner [Thu, 16 Jul 2015 16:27:26 +0000 (09:27 -0700)]
Makefile upload-osx-pkg: mention where the packages go
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>
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>
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.
Brian Warner [Mon, 13 Jul 2015 01:20:43 +0000 (18:20 -0700)]
test_web: avoid IP autodetection, was causing dirty reactor
Brian Warner [Sat, 27 Jun 2015 01:39:29 +0000 (18:39 -0700)]
docs/how-to-release: add more wiki pages to update
Brian Warner [Tue, 16 Jun 2015 20:41:21 +0000 (13:41 -0700)]
add test-pip-install
Brian Warner [Tue, 16 Jun 2015 01:35:55 +0000 (18:35 -0700)]
release checklist: use signed git tag next time
Brian Warner [Tue, 16 Jun 2015 00:38:01 +0000 (17:38 -0700)]
README: update copyright date
Brian Warner [Mon, 15 Jun 2015 23:29:37 +0000 (16:29 -0700)]
update docs for 1.10.1 release
Brian Warner [Mon, 15 Jun 2015 21:40:19 +0000 (14:40 -0700)]
Dockerfile: git-pull more history, to get a version string
The Docker build process seems to use 'git pull --depth=1', which
doesn't fetch enough history to see a tag, which means tahoe's setup.py
can't compute a version (then 'tahoe --version' reports "unknown").
Pulling a hundred commits should be enough to see a tag without making
the resulting image unnecessarily large. If we go more than 100 commits
between tags, we'll need to increase this, or come up with something
smarter.
Daira Hopwood [Thu, 11 Jun 2015 20:33:09 +0000 (21:33 +0100)]
Finish user-interface.rst. fixes ticket:2443
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
Daira Hopwood [Thu, 4 Jun 2015 16:42:29 +0000 (17:42 +0100)]
Make a start on the Magic Folder Objective 5 (user interface design) doc. refs ticket:2443
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
Daira Hopwood [Tue, 9 Jun 2015 17:48:07 +0000 (18:48 +0100)]
NEWS.rst: fix missing link.
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
Daira Hopwood [Tue, 9 Jun 2015 17:45:14 +0000 (18:45 +0100)]
NEWS.rst for 1.10.1: links, formatting and nitpicks.
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
Brian Warner [Tue, 9 Jun 2015 08:48:25 +0000 (01:48 -0700)]
NEWS: finish 1.10.1 edits. Good enough for beta1.
Brian Warner [Mon, 8 Jun 2015 22:59:35 +0000 (15:59 -0700)]
NEWS: rearrange
Brian Warner [Mon, 8 Jun 2015 22:58:48 +0000 (15:58 -0700)]
NEWS: remove many non-user-visible items
Brian Warner [Mon, 8 Jun 2015 22:55:23 +0000 (15:55 -0700)]
NEWS: first editing pass
Brian Warner [Mon, 8 Jun 2015 06:54:28 +0000 (23:54 -0700)]
NEWS: classify changes as user-visible or not
Brian Warner [Mon, 8 Jun 2015 05:03:19 +0000 (22:03 -0700)]
NEWS.rst: update to include latest changes
Brian Warner [Sun, 7 Jun 2015 21:30:58 +0000 (14:30 -0700)]
move Dockerfile back to root. DockerHub can't handle it elsewhere.
It looks like DockerHub's automated builds only have access to the
subtree of the source checkout at+below the Dockerfile. Putting the
Dockerfile in misc/build_helpers/ meant that the build process only had
access to misc/build_helpers/, not the full source tree.
Brian Warner [Sun, 7 Jun 2015 21:24:04 +0000 (14:24 -0700)]
Dockerfile: fix ADD path to deal with non-root location
Brian Warner [Sun, 7 Jun 2015 20:40:26 +0000 (13:40 -0700)]
move Dockerfile down ito misc/build_helpers/
Daira Hopwood [Sat, 6 Jun 2015 21:45:42 +0000 (22:45 +0100)]
Magic Folder design doc: rename "parent DMD" to "collective directory", and don't assume it is mutable.
(An immutable collective directory could be interesting for some use cases, and is no more difficult to support.)
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
Daira Hopwood [Tue, 2 Jun 2015 17:12:23 +0000 (18:12 +0100)]
Remove packages from not_import_versionable that we now can always version.
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
Daira Hopwood [Tue, 2 Jun 2015 17:07:20 +0000 (18:07 +0100)]
Add OpenSSL version check and tests. refs ticket:2215
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
Daira Hopwood [Fri, 29 May 2015 21:10:33 +0000 (22:10 +0100)]
remote-to-local-sync.rst: fix a minor error.
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
Daira Hopwood [Fri, 29 May 2015 02:03:46 +0000 (03:03 +0100)]
Magic Folder: add remote-to-local sync design doc.
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
Brian Warner [Tue, 26 May 2015 20:23:31 +0000 (13:23 -0700)]
Merge branch 'globalopts2'
Improves CLI rendering of --help for global options. Closes ticket:2233.
Brian Warner [Tue, 26 May 2015 18:32:14 +0000 (11:32 -0700)]
wrap long lines, and tolerate various-width wrappings of the --help output
test_cli.Help was too sensitive to the way that the --help output was
wrapped, which caused failures on travis when COLUMNS= was set low and
the expected strings were split across separate lines.
Brian Warner [Tue, 26 May 2015 18:31:06 +0000 (11:31 -0700)]
cli: improve formatting of all commands
Also:
* do some light refactoring of create-client/node
* make it clear that these commands' --basedir options do the same as
the global --node-directory option
* use "global-options" instead of "global-opts"
Brian Warner [Tue, 26 May 2015 18:29:49 +0000 (11:29 -0700)]
scripts: improve rendering of synopsis/usage
Subcommands "--help" is now rendered as:
```
tahoe [global-options] COMMAND [options] ARGS
(use 'tahoe --help' to view global options)
USAGE (flags/options)
DESCRIPTION
DESCRIPTION_UNWRAPPED
```
The new .description and .description_unwrapped fields allow
commands (subclasses of twisted.python.usage.Usage) better control over
how their explanations are rendered: the old .longdesc field was wrapped
unpleasantly.
Brian Warner [Tue, 26 May 2015 15:11:44 +0000 (08:11 -0700)]
scripts/runner.py: put command group descriptions in parens
Brian Warner [Tue, 26 May 2015 15:06:06 +0000 (08:06 -0700)]
refactor scripts/common.py: move _default_nodedir out to its own file
Daira Hopwood [Tue, 26 May 2015 18:22:24 +0000 (19:22 +0100)]
Merge pull request #169 from zooko/2433-dead-code-NamedTemporaryDirectory
remove dead code: NamedTemporaryDirectory
Zooko [Tue, 26 May 2015 17:20:11 +0000 (17:20 +0000)]
remove dead code: NamedTemporaryDirectory
fixes #2433
Brian Warner [Fri, 22 May 2015 00:41:49 +0000 (17:41 -0700)]
NEWS: update lists of tickets closed/referenced-as-not-closed
Brian Warner [Thu, 21 May 2015 23:21:02 +0000 (16:21 -0700)]
test-desert-island wasn't catching https downloads
I think the desert-island build is broken, but the automated test wasn't
catching it because of this bug.
Brian Warner [Thu, 21 May 2015 23:19:52 +0000 (16:19 -0700)]
NEWS: update with all recent changes. Still unedited.
Brian Warner [Thu, 21 May 2015 22:59:19 +0000 (15:59 -0700)]
MANIFEST.in: add some missing files so tarballs are complete
Daira Hopwood [Mon, 18 May 2015 00:42:01 +0000 (01:42 +0100)]
fileutil.py: use ctypes.get_last_error() instead of GetLastError(). refs #1531
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
Daira Hopwood [Wed, 13 May 2015 13:42:31 +0000 (14:42 +0100)]
On Windows, the user's home directory may be either %USERPROFILE% or %HOMEDRIVE%%HOMEPATH% depending on the Windows version. fixes ticket:2417
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
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>
Daira Hopwood [Tue, 28 Apr 2015 20:16:26 +0000 (21:16 +0100)]
drop-upload.py: fix error messages.
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
Daira Hopwood [Wed, 13 May 2015 13:20:13 +0000 (14:20 +0100)]
Fix a pyflakes warning.
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
Daira Hopwood [Wed, 13 May 2015 12:36:04 +0000 (13:36 +0100)]
Update copy of gen-package-table.py in source tree.
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
Daira Hopwood [Sat, 2 May 2015 21:26:39 +0000 (22:26 +0100)]
Retire the setup_requires hack in cases where it isn't needed (and can cause build problems). refs #2286
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
Daira Hopwood [Wed, 13 May 2015 11:49:10 +0000 (12:49 +0100)]
NEWS.rst: add dependency updates. fixes #2415
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
Daira Hopwood [Sat, 2 May 2015 20:38:48 +0000 (21:38 +0100)]
_auto_deps.py: update comments. refs #2416
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
Daira Hopwood [Sat, 2 May 2015 20:38:05 +0000 (21:38 +0100)]
Allow working with Twisted >= 13 on Windows if pywin32 is manually installed. fixes #2416
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
Daira Hopwood [Mon, 11 May 2015 20:06:17 +0000 (21:06 +0100)]
Merge pull request #165 from pataquets/add-dockerfile
Base Dockerfile initial version.
amontero-referup [Mon, 11 May 2015 17:04:30 +0000 (19:04 +0200)]
Remove .bashrc alias uncommenting.
Daira Hopwood [Mon, 11 May 2015 14:05:42 +0000 (15:05 +0100)]
docs/frontends/CLI.rst: clarification.
The implementation (in [source:src/allmydata/scripts/common.py]) actually tests whether there is a slash anywhere before the first colon.
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
Daira Hopwood [Mon, 11 May 2015 13:50:32 +0000 (14:50 +0100)]
docs/frontends/CLI.rst: remove a superfluous TODO.
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
pataquets [Sun, 10 May 2015 12:07:48 +0000 (14:07 +0200)]
Base Dockerfile initial version.
Brian Warner [Mon, 4 May 2015 05:14:53 +0000 (22:14 -0700)]
Merge branch '2399-cp-mkdir'
closes ticket:2399
Brian Warner [Mon, 4 May 2015 05:03:25 +0000 (22:03 -0700)]
apply review feedback
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
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).
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