]> git.rkrishnan.org Git - tahoe-lafs/tahoe-lafs.git/log
tahoe-lafs/tahoe-lafs.git
8 years agoREADME: update copyright date allmydata-tahoe-1.10.1
Brian Warner [Tue, 16 Jun 2015 00:38:01 +0000 (17:38 -0700)]
README: update copyright date

8 years agoupdate docs for 1.10.1 release
Brian Warner [Mon, 15 Jun 2015 23:29:37 +0000 (16:29 -0700)]
update docs for 1.10.1 release

8 years agoDockerfile: git-pull more history, to get a version string
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.

8 years agoFinish user-interface.rst. fixes ticket:2443
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>
8 years agoMake a start on the Magic Folder Objective 5 (user interface design) doc. refs ticket...
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>
8 years agoNEWS.rst: fix missing link. 2318.news-cleanups.1 173/head
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>
8 years agoNEWS.rst for 1.10.1: links, formatting and nitpicks.
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>
8 years agoNEWS: finish 1.10.1 edits. Good enough for beta1. allmydata-tahoe-1.10.1b1
Brian Warner [Tue, 9 Jun 2015 08:48:25 +0000 (01:48 -0700)]
NEWS: finish 1.10.1 edits. Good enough for beta1.

8 years agoNEWS: rearrange
Brian Warner [Mon, 8 Jun 2015 22:59:35 +0000 (15:59 -0700)]
NEWS: rearrange

8 years agoNEWS: remove many non-user-visible items
Brian Warner [Mon, 8 Jun 2015 22:58:48 +0000 (15:58 -0700)]
NEWS: remove many non-user-visible items

8 years agoNEWS: first editing pass
Brian Warner [Mon, 8 Jun 2015 22:55:23 +0000 (15:55 -0700)]
NEWS: first editing pass

8 years agoNEWS: classify changes as user-visible or not
Brian Warner [Mon, 8 Jun 2015 06:54:28 +0000 (23:54 -0700)]
NEWS: classify changes as user-visible or not

8 years agoNEWS.rst: update to include latest changes
Brian Warner [Mon, 8 Jun 2015 05:03:19 +0000 (22:03 -0700)]
NEWS.rst: update to include latest changes

8 years agomove Dockerfile back to root. DockerHub can't handle it elsewhere.
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.

8 years agoDockerfile: fix ADD path to deal with non-root location
Brian Warner [Sun, 7 Jun 2015 21:24:04 +0000 (14:24 -0700)]
Dockerfile: fix ADD path to deal with non-root location

8 years agomove Dockerfile down ito misc/build_helpers/
Brian Warner [Sun, 7 Jun 2015 20:40:26 +0000 (13:40 -0700)]
move Dockerfile down ito misc/build_helpers/

8 years agoMagic Folder design doc: rename "parent DMD" to "collective directory", and don't...
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>
8 years agoRemove packages from not_import_versionable that we now can always version. 2215.report-openssl-version.1 172/head
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>
8 years agoAdd OpenSSL version check and tests. refs ticket:2215
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>
8 years agoremote-to-local-sync.rst: fix a minor error.
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>
8 years agoMagic Folder: add remote-to-local sync design doc.
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>
8 years agoMerge branch 'globalopts2'
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.

8 years agowrap long lines, and tolerate various-width wrappings of the --help output 170/head
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.

8 years agocli: improve formatting of all commands
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"

8 years agoscripts: improve rendering of synopsis/usage
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.

8 years agoscripts/runner.py: put command group descriptions in parens
Brian Warner [Tue, 26 May 2015 15:11:44 +0000 (08:11 -0700)]
scripts/runner.py: put command group descriptions in parens

8 years agorefactor scripts/common.py: move _default_nodedir out to its own file
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

8 years agoMerge pull request #169 from zooko/2433-dead-code-NamedTemporaryDirectory
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

8 years agoremove dead code: NamedTemporaryDirectory 169/head
Zooko [Tue, 26 May 2015 17:20:11 +0000 (17:20 +0000)]
remove dead code: NamedTemporaryDirectory

fixes #2433

8 years agoNEWS: update lists of tickets closed/referenced-as-not-closed allmydata-tahoe-1.10.1a1
Brian Warner [Fri, 22 May 2015 00:41:49 +0000 (17:41 -0700)]
NEWS: update lists of tickets closed/referenced-as-not-closed

8 years agotest-desert-island wasn't catching https downloads
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.

8 years agoNEWS: update with all recent changes. Still unedited.
Brian Warner [Thu, 21 May 2015 23:19:52 +0000 (16:19 -0700)]
NEWS: update with all recent changes. Still unedited.

8 years agoMANIFEST.in: add some missing files so tarballs are complete
Brian Warner [Thu, 21 May 2015 22:59:19 +0000 (15:59 -0700)]
MANIFEST.in: add some missing files so tarballs are complete

8 years agofileutil.py: use ctypes.get_last_error() instead of GetLastError(). refs #1531
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>
8 years agoOn Windows, the user's home directory may be either %USERPROFILE% or %HOMEDRIVE%...
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>
8 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>
8 years agodrop-upload.py: fix error messages.
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>
8 years agoFix a pyflakes warning.
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>
8 years agoUpdate copy of gen-package-table.py in source tree.
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>
8 years agoRetire the setup_requires hack in cases where it isn't needed (and can cause build...
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>
8 years agoNEWS.rst: add dependency updates. fixes #2415
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>
8 years ago_auto_deps.py: update comments. refs #2416
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>
8 years agoAllow working with Twisted >= 13 on Windows if pywin32 is manually installed. fixes...
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>
8 years agoMerge pull request #165 from pataquets/add-dockerfile
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.

8 years agoRemove .bashrc alias uncommenting. 165/head
amontero-referup [Mon, 11 May 2015 17:04:30 +0000 (19:04 +0200)]
Remove .bashrc alias uncommenting.

8 years agodocs/frontends/CLI.rst: clarification.
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>
8 years agodocs/frontends/CLI.rst: remove a superfluous TODO.
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>
8 years agoBase Dockerfile initial version.
pataquets [Sun, 10 May 2015 12:07:48 +0000 (14:07 +0200)]
Base Dockerfile initial version.

8 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

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

8 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

8 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).

8 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

8 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>
8 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>
8 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).