Daira Hopwood [Thu, 5 Sep 2013 18:12:59 +0000 (19:12 +0100)]
Tue Nov 1 08:00:10 GMT 2011 Brian Warner <warner@lothar.com>
* show-tool-versions: tolerate missing setuptools
Daira Hopwood [Thu, 5 Sep 2013 18:12:43 +0000 (19:12 +0100)]
Fri Oct 7 04:29:58 BST 2011 david-sarah@jacaranda.org
* Makefile: include misc/ directories other than misc/build_helpers in SOURCES. refs #1557
Daira Hopwood [Thu, 5 Sep 2013 18:12:20 +0000 (19:12 +0100)]
Fri Oct 7 04:30:31 BST 2011 david-sarah@jacaranda.org
* Fix pyflakes warnings in misc/ directories other than misc/build_helpers. refs #1557
Daira Hopwood [Thu, 5 Sep 2013 18:12:00 +0000 (19:12 +0100)]
Sun Oct 9 05:40:22 BST 2011 david-sarah@jacaranda.org
* check-miscaptures.py: check while loops and list comprehensions as well as for loops. Also fix a pyflakes warning. refs #1555
Daira Hopwood [Thu, 5 Sep 2013 18:11:16 +0000 (19:11 +0100)]
Sun Oct 9 05:47:10 BST 2011 david-sarah@jacaranda.org
* check-miscaptures.py: handle destructuring function arguments correctly. refs #1555
Daira Hopwood [Thu, 5 Sep 2013 18:10:55 +0000 (19:10 +0100)]
Sun Oct 9 05:48:00 BST 2011 david-sarah@jacaranda.org
* check-miscaptures.py: Python doesn't really have declarations; report the topmost assignment. refs #1555
Daira Hopwood [Thu, 5 Sep 2013 18:10:39 +0000 (19:10 +0100)]
Sun Oct 9 05:50:23 BST 2011 david-sarah@jacaranda.org
* check-miscaptures.py: handle corner cases around default arguments correctly. Also make a minor optimization when there are no assigned variables to consider. refs #1555
Daira Hopwood [Thu, 5 Sep 2013 18:10:24 +0000 (19:10 +0100)]
Sun Oct 9 06:03:01 BST 2011 david-sarah@jacaranda.org
* check-miscaptures.py: report the number of files that were not analysed due to syntax errors (and don't count them in the number of suspicious captures). refs #1555
Daira Hopwood [Thu, 5 Sep 2013 18:09:45 +0000 (19:09 +0100)]
Fri Oct 7 08:41:21 BST 2011 david-sarah@jacaranda.org
* Add misc/coding_tools/check-miscaptures.py to detect incorrect captures of variables declared in a for loop, and a 'make check-miscaptures' Makefile target to run it. (It is also run by 'make code-checks'.) This is a rewritten version that reports much fewer false positives, by determining captured variables more accurately. fixes #1555
Daira Hopwood [Thu, 5 Sep 2013 18:08:38 +0000 (19:08 +0100)]
Wed Nov 9 18:36:32 GMT 2011 Brian Warner <warner@lothar.com>
* setup.py: umask=022 for 'sdist', to avoid depending on environment
The new tarball-building buildslave had a bogus umask set, causing the 1.9.0
tarballs to be non-other-user-readable (go-rwx), which is a hassle for
packaging. (The umask was correct on the old buildslave, but it was moved to
a new host shortly before the release). This should make sure tarballs are
correct despite the host's setting.
Note to others: processes run under twistd get umask=077 unless you arrange
otherwise.
Daira Hopwood [Thu, 5 Sep 2013 18:08:23 +0000 (19:08 +0100)]
Wed Nov 9 18:42:27 GMT 2011 Brian Warner <warner@lothar.com>
* Makefile count-lines: let it work on OS-X (-l not --lines), add XXX
OS-X's simple-minded /usr/bin/wc doesn't understand --lines, but everyone
understands -l .
Daira Hopwood [Thu, 5 Sep 2013 18:07:03 +0000 (19:07 +0100)]
Tue Nov 15 22:04:23 GMT 2011 Brian Warner <warner@lothar.com>
* iputil: handle openbsd5 (just like openbsd4)
Patch by 'sickness'. Closes #1584
Daira Hopwood [Thu, 5 Sep 2013 18:06:47 +0000 (19:06 +0100)]
Thu Nov 17 22:54:23 GMT 2011 Brian Warner <warner@lothar.com>
* remove remaining uses of nevow's "formless" module
We're slowly moving away from Nevow, and marcusw's previous patch removed
uses of the formless CSS file, so now we can stop testing that nevow can find
that file, and remove the lingering unused "import formless" call.
Daira Hopwood [Thu, 5 Sep 2013 18:06:26 +0000 (19:06 +0100)]
Fri Nov 18 00:00:30 GMT 2011 david-sarah@jacaranda.org
* Strengthen description of unauthorized access attack in known_issues.rst.
Daira Hopwood [Thu, 5 Sep 2013 18:06:11 +0000 (19:06 +0100)]
Fri Nov 18 00:15:11 GMT 2011 warner@lothar.com
* tiny change to exercise the buildbot hook
Daira Hopwood [Thu, 5 Sep 2013 18:05:55 +0000 (19:05 +0100)]
Fri Nov 18 00:18:28 GMT 2011 warner@lothar.com
* more tiny buildbot-testing whitespace changes
Daira Hopwood [Thu, 5 Sep 2013 18:05:32 +0000 (19:05 +0100)]
Fri Nov 18 00:20:41 GMT 2011 warner@lothar.com
* more tiny buildbot-testing whitespace changes
Daira Hopwood [Thu, 5 Sep 2013 18:05:12 +0000 (19:05 +0100)]
Fri Nov 18 00:20:13 GMT 2011 david-sarah@jacaranda.org
* docs/known_issues.rst: describe when the unauthorized access attack is known to be possible, and fix a link.
Daira Hopwood [Thu, 5 Sep 2013 18:04:56 +0000 (19:04 +0100)]
Mon Dec 5 05:50:49 GMT 2011 Brian Warner <warner@lothar.com>
* setup.py: stop putting pyutil.version_class/etc in _version.py
allmydata.__version__ can just be a string, it doesn't need to be an instance
of some fancy NormalizedVersion class. Everything inside Tahoe uses
str(__version__) anyways.
Also add .dev0 when a git tree is dirty.
Closes #1466
Daira Hopwood [Thu, 5 Sep 2013 18:04:38 +0000 (19:04 +0100)]
Mon Dec 5 04:40:01 GMT 2011 Brian Warner <warner@lothar.com>
* setup.py: get version from git or darcs
This replaces the setup.cfg aliases that run "darcsver" before each major
command with the new "update_version". update_version is defined in setup.py,
and tries to get a version string from either darcs or git (or leaves the
existing _version.py alone if neither VC metadata is available).
Also clean up a tiny typo in verlib.py that messed up syntax hilighting.
Daira Hopwood [Thu, 5 Sep 2013 18:04:13 +0000 (19:04 +0100)]
Sun Dec 18 20:18:41 GMT 2011 Brian Warner <warner@lothar.com>
* minor cleanup: remove trailing spaces in misc/
Daira Hopwood [Thu, 5 Sep 2013 18:03:53 +0000 (19:03 +0100)]
Sun Nov 20 23:24:26 GMT 2011 david-sarah@jacaranda.org
* Use a private/drop_upload_dircap file instead of the [drop_upload]upload.dircap option in tahoe.cfg. Fail if the upload.dircap option is used, or options are missing. Also updates tests and docs. fixes #1593
Daira Hopwood [Thu, 5 Sep 2013 18:03:35 +0000 (19:03 +0100)]
Sun Nov 20 23:24:26 GMT 2011 david-sarah@jacaranda.org
* Use a private/drop_upload_dircap file instead of the [drop_upload]upload.dircap option in tahoe.cfg. Fail if the upload.dircap option is used, or options are missing. Also updates tests and docs. fixes #1593
Daira Hopwood [Thu, 5 Sep 2013 18:03:18 +0000 (19:03 +0100)]
Sun Jan 8 22:12:38 GMT 2012 Brian Warner <warner@lothar.com>
* mutable: add comments about the tricky DeferredList structures in retrieve
Daira Hopwood [Thu, 5 Sep 2013 18:03:02 +0000 (19:03 +0100)]
Sun Jan 8 22:12:47 GMT 2012 Brian Warner <warner@lothar.com>
* mutable/layout.py: raise BadShareError instead of assert()
Daira Hopwood [Thu, 5 Sep 2013 18:02:47 +0000 (19:02 +0100)]
Sun Jan 8 22:55:45 GMT 2012 warner@lothar.com
* remove setuptools_darcs.egg
Daira Hopwood [Thu, 5 Sep 2013 18:02:30 +0000 (19:02 +0100)]
Mon Jan 9 23:46:37 GMT 2012 Brian Warner <warner@lothar.com>
* MANIFEST.in: make git-based 'setup.py sdist' match darcs
Previously, tarballs generated from a git tree were lacking a lot of
important non-code files, like docs/
Daira Hopwood [Thu, 5 Sep 2013 18:02:15 +0000 (19:02 +0100)]
Sun Jan 8 22:12:50 GMT 2012 Brian Warner <warner@lothar.com>
* fix bundled data under git, remove setuptools_darcs
This uses explicitly enumerated packages= and package_data= arguments to
setup(), rather than relying upon the convenient (but darcs-specific)
functions which would determine these values by asking the revision-control
system.
Note that darcsver is still used, when building from a darcs tree.
Daira Hopwood [Thu, 5 Sep 2013 18:01:30 +0000 (19:01 +0100)]
Tue Jan 10 19:57:58 GMT 2012 david-sarah@jacaranda.org
* _auto_deps.py: don't allow pycrypto 2.0.1. fixes #1631
Daira Hopwood [Thu, 5 Sep 2013 18:00:58 +0000 (19:00 +0100)]
Sat Nov 5 02:24:57 GMT 2011 david-sarah@jacaranda.org
* _auto_deps.py: blacklist PyCrypto 2.4.
Daira Hopwood [Thu, 5 Sep 2013 18:00:24 +0000 (19:00 +0100)]
Thu Jan 12 21:06:54 GMT 2012 Brian Warner <warner@lothar.com>
* Makefile: fix 'make-version' to use git-or-darcs, not just darcs
Daira Hopwood [Thu, 5 Sep 2013 17:59:28 +0000 (18:59 +0100)]
Fri Jan 13 06:56:29 GMT 2012 Brian Warner <warner@lothar.com>
* .gitignore: ignore generated test-coverage files too
Daira Hopwood [Thu, 5 Sep 2013 17:59:05 +0000 (18:59 +0100)]
Thu Jan 12 21:09:25 GMT 2012 Brian Warner <warner@lothar.com>
* .gitignore: also ignore tahoe-deps and .tgz, to fix 'make tarballs'
Otherwise, the get-version-from-git code thinks the tree is dirty, and
creates SUMO tarballs with -dirty in the name.
Daira Hopwood [Thu, 5 Sep 2013 17:58:42 +0000 (18:58 +0100)]
Mon Jan 9 02:52:43 GMT 2012 warner@lothar.com
* restore .gitignore, stop .darcs-boringfile it
Daira Hopwood [Thu, 5 Sep 2013 17:27:20 +0000 (18:27 +0100)]
Fri Jan 13 07:12:57 GMT 2012 Brian Warner <warner@lothar.com>
* update release process: git, not darcs, etc
Daira Hopwood [Thu, 5 Sep 2013 17:27:04 +0000 (18:27 +0100)]
Fri Jan 13 07:01:53 GMT 2012 Brian Warner <warner@lothar.com>
* prepare to Org-ify how_to_make_a_tahoe-lafs_release: rename the file
Daira Hopwood [Thu, 5 Sep 2013 17:26:47 +0000 (18:26 +0100)]
Mon Dec 26 15:19:05 GMT 2011 zooko@zooko.com
* docs: how_to_make_a_tahoe-lafs_release.rst add Google+ page to publicity list, change to cute unicode checkboxes
Daira Hopwood [Thu, 5 Sep 2013 17:26:24 +0000 (18:26 +0100)]
Sun Jan 22 14:00:52 GMT 2012 zooko@zooko.com
* docs: remove utf-8 "BOM" which confuses trac's rst renderer
Daira Hopwood [Thu, 5 Sep 2013 17:26:07 +0000 (18:26 +0100)]
Sun Jan 22 21:20:02 GMT 2012 zooko@zooko.com
* docs: an extra newline to separate utf-8 BOF from comment for the sake of trac's rst renderer
Daira Hopwood [Thu, 5 Sep 2013 17:25:44 +0000 (18:25 +0100)]
Sun Jan 22 21:18:56 GMT 2012 zooko@zooko.com
* docs: a newline between the utf-8 BOF and the comment in order to prevent trac from misrendering the comment
sheesh
Daira Hopwood [Thu, 5 Sep 2013 17:25:19 +0000 (18:25 +0100)]
Sun Jan 22 21:17:31 GMT 2012 zooko@zooko.com
* docs: a comment to inform the (human) reader about encoding and to prevent someone from moving the title up to where it will interact with the utf-8 BOM and cause trac to mis-render the title
Daira Hopwood [Thu, 5 Sep 2013 17:15:57 +0000 (18:15 +0100)]
Sun Jan 22 21:14:27 GMT 2012 zooko@zooko.com
* docs: insert another newline between utf-8 BOF and title
Daira Hopwood [Thu, 5 Sep 2013 17:15:43 +0000 (18:15 +0100)]
Sun Jan 22 18:21:27 GMT 2012 zooko@zooko.com
* docs: insert newline after utf-8 BOF and before restructuredtext title
Daira Hopwood [Thu, 5 Sep 2013 17:15:30 +0000 (18:15 +0100)]
Sun Jan 22 13:56:13 GMT 2012 zooko@zooko.com
* docs: try again to change RestructuredText titles to a format that trac will render
Daira Hopwood [Thu, 5 Sep 2013 17:15:14 +0000 (18:15 +0100)]
Tue Dec 6 17:19:08 GMT 2011 zooko@zooko.com
* doc: about.rst: use unicode emdash, use non-embedded URIs, add clarificaiton of when a file gets its mutable-or-immutable nature
embedded URIs, although documented here:
http://docutils.sourceforge.net/docs/ref/rst/restructuredtext.html#embedded-uris
generate messages like this from rst2html --verbose:
quickstart.rst:3: (INFO/1) Duplicate explicit target name: "the tahoe-dev mailing list".
Also this patch prepends a "utf-8 BOM" to the beginning of the file.
Daira Hopwood [Thu, 5 Sep 2013 17:14:54 +0000 (18:14 +0100)]
Sun Jan 22 13:51:25 GMT 2012 zooko@zooko.com
* docs: backdoors.rst: fix title formatting
Daira Hopwood [Thu, 5 Sep 2013 17:14:39 +0000 (18:14 +0100)]
Tue Jan 24 20:52:09 GMT 2012 Brian Warner <warner@lothar.com>
* Add test_verify_mdmf_all_bad_sharedata
test_verify_mdmf_all_bad_sharedata tests for the regression described
in ticket 1648. In particular, it will trigger the misplaced assertion
in the share activation code. It also tests to make sure that
verification continues with fewer than k shares.
Daira Hopwood [Thu, 5 Sep 2013 17:14:19 +0000 (18:14 +0100)]
Tue Jan 24 20:52:09 GMT 2012 Brian Warner <warner@lothar.com>
* Ensure that verification proceeds and stops when appropriate.
The removed assertions are appropriate for a download that seeks to
return plaintext to a caller; if we don't have at least k active remote
shares, then we can't hope to do that. They're not appropriate for a
verification operation; a user can try to verify a file that has fewer
than k shares available, so that shouldn't be treated as an error.
Instead, we proceed with fewer than k shares, and ensure that we
terminate the download if we have no shares at all and we're verifying.
Daira Hopwood [Thu, 5 Sep 2013 17:13:56 +0000 (18:13 +0100)]
Fri Jan 27 01:55:25 GMT 2012 david-sarah@jacaranda.org
* Add a Python 3 blocker to setup.py, to display a better error message when it is run under Python 3.
Daira Hopwood [Thu, 5 Sep 2013 17:13:40 +0000 (18:13 +0100)]
Tue Jan 31 00:09:49 GMT 2012 david-sarah@jacaranda.org
* configuration.rst: another attempt to fix formatting of sample tahoe.cfg.
Daira Hopwood [Thu, 5 Sep 2013 17:13:23 +0000 (18:13 +0100)]
Tue Jan 31 00:06:43 GMT 2012 david-sarah@jacaranda.org
* configuration.rst: remove the obsolete sizelimit option from the sample tahoe.cfg. Also fix the RST formatting of blank lines in the file.
Daira Hopwood [Thu, 5 Sep 2013 17:13:07 +0000 (18:13 +0100)]
Mon Feb 13 15:57:08 GMT 2012 Brian Warner <warner@lothar.com>
* provisioning.py: update disk sizes and usage numbers
Daira Hopwood [Thu, 5 Sep 2013 17:12:48 +0000 (18:12 +0100)]
Wed Mar 7 02:22:41 GMT 2012 Brian Warner <warner@lothar.com>
* tahoe.css: fix #section typo, update welcome.xhtml to match
The "#section" declaration (which matches id="section") should have been
".section" (which matches class="section").
The welcome page has a feature that I actually liked: the little "This
Client" sidebar sits just to the right of the start of the Controls block.
Fixing .section broke that (the clear:both introduces a gap, forcing the
Controls block to start strictly below the bottom of the This Client block).
So I also removed class="section" from the Controls block to allow them to
share the horizontal space again.
Daira Hopwood [Thu, 5 Sep 2013 17:12:32 +0000 (18:12 +0100)]
Mon Mar 12 19:35:36 GMT 2012 Brian Warner <warner@lothar.com>
* add some quick tests of the introducer/web improvements
Daira Hopwood [Thu, 5 Sep 2013 17:12:17 +0000 (18:12 +0100)]
Mon Feb 27 19:03:17 GMT 2012 david-sarah@jacaranda.org
* Suppress a warning from win32eventreactor on Windows (patch v2). fixes #1681
Daira Hopwood [Thu, 5 Sep 2013 17:12:02 +0000 (18:12 +0100)]
Tue Mar 13 20:50:57 GMT 2012 david-sarah@jacaranda.org
* Update copyright notices. refs #1686
Daira Hopwood [Thu, 5 Sep 2013 17:11:44 +0000 (18:11 +0100)]
Tue Mar 13 20:28:53 GMT 2012 david-sarah@jacaranda.org
* Minor updates to URLs.
Daira Hopwood [Thu, 5 Sep 2013 17:11:28 +0000 (18:11 +0100)]
Tue Mar 13 20:30:41 GMT 2012 david-sarah@jacaranda.org
* Update find_links URLs in setup.cfg to https://tahoe-lafs.org. This is not just a doc change; look out for compatibility problems.
Daira Hopwood [Thu, 5 Sep 2013 17:11:05 +0000 (18:11 +0100)]
Thu Mar 22 22:01:18 GMT 2012 david-sarah@jacaranda.org
* Correct a link to frontends/drop-upload.rst. fixes #1690
Daira Hopwood [Thu, 5 Sep 2013 17:10:39 +0000 (18:10 +0100)]
Thu Mar 22 22:04:53 GMT 2012 david-sarah@jacaranda.org
* Put SFTP before FTP in various docs. fixes #1692
Daira Hopwood [Thu, 5 Sep 2013 17:10:20 +0000 (18:10 +0100)]
Thu Mar 22 22:05:34 GMT 2012 david-sarah@jacaranda.org
* Cosmetic formatting in docs.
Daira Hopwood [Thu, 5 Sep 2013 17:10:05 +0000 (18:10 +0100)]
Sat Mar 31 00:41:19 BST 2012 Peter Le Bek <peter@hyperplex.net>
* fix ftpd mtime retrieval
Daira Hopwood [Thu, 5 Sep 2013 17:09:49 +0000 (18:09 +0100)]
Thu Mar 22 13:18:06 GMT 2012 Peter Le Bek <peter@hyperplex.net>
* ftpd file `size' attribute must be an integer
Daira Hopwood [Thu, 5 Sep 2013 17:09:30 +0000 (18:09 +0100)]
Sat Mar 31 03:17:25 BST 2012 david-sarah@jacaranda.org
* test_ftp.py: fix a couple of unused imports. refs #1668
Daira Hopwood [Thu, 5 Sep 2013 17:09:09 +0000 (18:09 +0100)]
Sat Mar 31 00:41:39 BST 2012 Peter Le Bek <peter@hyperplex.net>
* unit test for ftpd LIST
Daira Hopwood [Thu, 5 Sep 2013 17:08:50 +0000 (18:08 +0100)]
Sat Mar 31 23:39:34 BST 2012 david-sarah@jacaranda.org
* Document PYTHONPATH problem when running flogtool. refs #1693
Daira Hopwood [Thu, 5 Sep 2013 17:08:34 +0000 (18:08 +0100)]
Mon Aug 8 19:02:04 BST 2011 david-sarah@jacaranda.org
* node.py: tolerate a UTF-8 BOM at the start of tahoe.cfg. fixes #1470
Daira Hopwood [Thu, 5 Sep 2013 17:08:10 +0000 (18:08 +0100)]
Mon Aug 8 19:05:52 BST 2011 david-sarah@jacaranda.org
* test_node.py: test that we tolerate a UTF-8 BOM at the start of tahoe.cfg, and can read UTF-8 option values. refs #1470
Daira Hopwood [Thu, 5 Sep 2013 17:07:54 +0000 (18:07 +0100)]
Sun Apr 1 02:36:55 BST 2012 david-sarah@jacaranda.org
* Spelling error in a comment.
Daira Hopwood [Thu, 5 Sep 2013 17:07:34 +0000 (18:07 +0100)]
Sat Mar 31 19:39:02 BST 2012 Brian Warner <warner@lothar.com>
* Add test for bug #1689: repairing empty file hits no-privkey assertion
Daira Hopwood [Thu, 5 Sep 2013 17:07:14 +0000 (18:07 +0100)]
Wed Aug 17 23:26:51 BST 2011 david-sarah@jacaranda.org
* bin/tahoe-script.template: fix the error message that is displayed when a runner script cannot be found. fixes #1488
Daira Hopwood [Thu, 5 Sep 2013 17:06:59 +0000 (18:06 +0100)]
Sun Apr 1 03:28:26 BST 2012 david-sarah@jacaranda.org
* misc/build_helpers/show-tool-versions.py: s/print_stderr/print_stdout/
Daira Hopwood [Thu, 5 Sep 2013 17:06:45 +0000 (18:06 +0100)]
Sun Apr 1 01:59:25 BST 2012 zooko@zooko.com
* setup: show-tool-versions: report cl only on windows, report buildslave, git, openssl, and lzip, but not 7za
Daira Hopwood [Thu, 5 Sep 2013 17:06:28 +0000 (18:06 +0100)]
Tue Nov 1 07:45:32 GMT 2011 Brian Warner <warner@lothar.com>
* show-tool-versions.py: condense output, hide file-not-found exceptions
Daira Hopwood [Thu, 5 Sep 2013 17:06:13 +0000 (18:06 +0100)]
Sun Aug 14 23:59:59 BST 2011 david-sarah@jacaranda.org
* interfaces.py: ensure that NoSuchChildError can be converted to str even when it is for a non-ASCII name. fixes #1483
Daira Hopwood [Thu, 5 Sep 2013 17:05:57 +0000 (18:05 +0100)]
Tue Apr 3 04:04:51 BST 2012 Brian Warner <warner@lothar.com>
* Rename web CheckResults to -Renderer, to avoid confusion. Closes #1705.
This avoids the name collision between the actual results
objects (defined in allmydata.check_results) and the code that renders
these objects into HTML (defined in allmydata.web.check_results). Only
the web-side objects were renamed.
Daira Hopwood [Thu, 5 Sep 2013 17:05:38 +0000 (18:05 +0100)]
Fri Apr 6 05:39:46 BST 2012 david-sarah@jacaranda.org
* docs/frontends/drop-upload.rst: document more known issues and link to new ticket for an existing one.
Daira Hopwood [Thu, 5 Sep 2013 17:05:23 +0000 (18:05 +0100)]
Tue Apr 10 19:33:14 BST 2012 Brian Warner <warner@lothar.com>
* Fix for ticket #1662
Daira Hopwood [Thu, 5 Sep 2013 17:04:55 +0000 (18:04 +0100)]
Tue Apr 17 19:41:11 BST 2012 Brian Warner <warner@lothar.com>
* Updated webapi.rst to list /cap as a synonym for /uri
Daira Hopwood [Thu, 5 Sep 2013 17:04:37 +0000 (18:04 +0100)]
Sun Apr 29 03:28:44 BST 2012 david-sarah@jacaranda.org
* Make sure that foolscap.logging.log.setLogDir is called with a str (not unicode) path, v2. Includes test. fixes #1725
Daira Hopwood [Thu, 5 Sep 2013 17:04:22 +0000 (18:04 +0100)]
Sun May 13 03:19:43 BST 2012 Brian Warner <warner@lothar.com>
* webapi: remove undocumented t=mkdir-p operation
Closes #380
Daira Hopwood [Thu, 5 Sep 2013 17:04:05 +0000 (18:04 +0100)]
Sun May 13 07:34:03 BST 2012 Brian Warner <warner@lothar.com>
* test-dont-use-too-old-dep.py: fix tarfile timestamps
It turns out that TarFile.addfile() doesn't provide a reasonable default
timestamp, resulting in files dated to 1970 (they're probably wearing
bell-bottoms and listening to disco too). Then, when the bdist_egg command
tries to create a *zip*file with those files, it explodes because zipfiles
cannot handle timestamps before 1980 (it prefers boomboxes and jackets with
straps on the shoulders, thank you very much).
This puts a modern time.time() on the members of the tarfile, allowing future
cryptocoderarchaeologists the opportunity to make fun of fashion trends from
the user's chosen era, rather than an artificially older one.
refs #1342
Daira Hopwood [Thu, 5 Sep 2013 17:03:24 +0000 (18:03 +0100)]
Sun May 13 04:47:24 BST 2012 Brian Warner <warner@lothar.com>
* modify build_helpers files
Should close #1342. This makes the actual changes to the two test
files (separated from the 'rename' patch to avoid VC complications).
Daira Hopwood [Thu, 5 Sep 2013 17:03:06 +0000 (18:03 +0100)]
Sun May 13 04:47:01 BST 2012 Brian Warner <warner@lothar.com>
* rename build_helpers files
This is from the darcs patch for #1342, which failed to apply on my darcs
tree, so I'm landing it from git. I'm landing the rename-files part
separately from the modify-those-files part to avoid VC complications.
Daira Hopwood [Thu, 5 Sep 2013 17:02:37 +0000 (18:02 +0100)]
Sun May 13 08:45:12 BST 2012 Brian Warner <warner@lothar.com>
* test_web: fix use of headers= that's been wrong for a while
Daira Hopwood [Thu, 5 Sep 2013 17:02:21 +0000 (18:02 +0100)]
Sun May 13 09:15:50 BST 2012 Brian Warner <warner@lothar.com>
* Doc updates and cosmetic fixes for #1115 patch.
Removes the caveat from webapi.txt about count-good-share-hosts being wrong.
This series should close #1115.
Daira Hopwood [Thu, 5 Sep 2013 17:02:07 +0000 (18:02 +0100)]
Tue Apr 3 00:32:05 BST 2012 Brian Warner <warner@lothar.com>
* webapi.rst: de-tabify
Daira Hopwood [Thu, 5 Sep 2013 17:01:49 +0000 (18:01 +0100)]
Sun May 13 08:59:30 BST 2012 Brian Warner <warner@lothar.com>
* Fixed an error in previous commit where an empty servermap would throw an exception in 'count-good-share-hosts'. Augmented unit test.
Signed-off-by: Andrew Miller <amiller@dappervision.com>
Daira Hopwood [Thu, 5 Sep 2013 17:01:34 +0000 (18:01 +0100)]
Sun May 13 08:59:30 BST 2012 Brian Warner <warner@lothar.com>
* Added tests for count-good-share-hosts under check and repair conditions. Patched the incorrect computation in immutable/filenode.py
Signed-off-by: Andrew Miller <amiller@dappervision.com>
Fixed missing import statements
Signed-off-by: Andrew Miller <amiller@dappervision.com>
Daira Hopwood [Thu, 5 Sep 2013 17:01:16 +0000 (18:01 +0100)]
Sun May 13 22:07:39 BST 2012 Brian Warner <warner@lothar.com>
* performance.rst: small updates, mention (lack of) MDMF
refs #1398
Daira Hopwood [Thu, 5 Sep 2013 17:01:02 +0000 (18:01 +0100)]
Wed Dec 28 05:50:18 GMT 2011 Brian Warner <warner@lothar.com>
* mutable publish: fix not-enough-shares detection. Refs #1628.
This should match the "fix-1628.darcs.2.patch" attachment on that ticket.
Daira Hopwood [Thu, 5 Sep 2013 17:00:46 +0000 (18:00 +0100)]
Wed Dec 28 22:38:19 GMT 2011 Brian Warner <warner@lothar.com>
* test_mutable: don't use 75 shares (slow), now that the bug is fixed
I missed this part of Kevan's fix-1628.darcs.2.patch .
Daira Hopwood [Thu, 5 Sep 2013 17:00:31 +0000 (18:00 +0100)]
Wed Dec 28 05:33:58 GMT 2011 Brian Warner <warner@lothar.com>
* mutable publish: track multiple servers-per-share. Fixes some of #1628.
The remaining work is to write additional tests.
src/allmydata/test/no_network.py:
This supports tests in which servers leave the grid only to return with
their shares intact at a later time.
src/allmydata/test/test_mutable.py:
The UCWEs in the incident reports associated with #1628 all seem to be
associated with shares that the servermap knows about, but which aren't
accounted for during the publish process for whatever reason. Specifically,
it looks like the publisher is only capable of keeping track of a single
storage server for a given share. This makes the repair process worse than
it was pre-MDMF at updating all of the shares of a particular file to the
newest version, and can also cause spurious UCWEs. This test simulates such
a layout and fails if an UCWE is thrown. We need to write another test to
ensure that all copies of a share are updated to the latest version (or
alter this test to do that), so that the test suite doesn't pass unless both
regressions are fixed.
We want the publisher to follow the existing share placement when uploading
a new version of a mutable file, and we don't want this test to pass unless
it does.
src/allmydata/mutable/publish.py:
Before this commit, the publisher only kept track of a single writer for
each share. This is insufficient to handle updates in which a single share
may live on multiple servers. In the best case, an update will only update
one of the existing shares instead of all of them. In some cases, the update
will encounter the existing shares when publishing some other share,
interpret it as a sign of an uncoordinated update, and fail. Keeping track
of all of the writers helps ensure that all existing shares are updated, and
helps avoid spurious uncoordinated write errors.
Daira Hopwood [Thu, 5 Sep 2013 17:00:15 +0000 (18:00 +0100)]
Sun Mar 18 00:01:35 GMT 2012 Brian Warner <warner@lothar.com>
* Fix mutable status (mapupdate/retrieve/publish) to use serverids, not tubids
This still leaves immutable-publish results incorrectly using tubids instead
of serverids. That will need some more work, since it might change the Helper
interface.
Daira Hopwood [Thu, 5 Sep 2013 16:59:59 +0000 (17:59 +0100)]
Sun Apr 1 23:10:34 BST 2012 Brian Warner <warner@lothar.com>
* servermap.py: oops, fix _done() condition, good catch by davidsarah
Daira Hopwood [Thu, 5 Sep 2013 16:59:32 +0000 (17:59 +0100)]
Sat Mar 31 19:39:02 BST 2012 Brian Warner <warner@lothar.com>
* Mutable repair: use new MODE_REPAIR to query all servers *and* get privkey
This fixes bug #1689. Repair was using MODE_READ to build the servermap,
which doesn't try hard enough to grab the privkey, and also doesn't guarantee
sending queries to all servers. This patch adds a new MODE_REPAIR which does
both, and does a separate, distinct mapupdate to start wth repair cycle,
instead of relying upon the (MODE_CHECK) mapupdate leftover from the
filecheck that triggered the repair.
Daira Hopwood [Thu, 5 Sep 2013 16:59:15 +0000 (17:59 +0100)]
Wed Apr 4 19:14:09 BST 2012 Brian Warner <warner@lothar.com>
* make IServer instances retain identity in copy() and deepcopy()
Daira Hopwood [Thu, 5 Sep 2013 16:58:58 +0000 (17:58 +0100)]
Tue Mar 13 02:57:36 GMT 2012 Brian Warner <warner@lothar.com>
* Add nickname/nodeid to storage-status web page. Closes #1204.
Also add tahoe.css to the page, to make it look slightly prettier.
Daira Hopwood [Thu, 5 Sep 2013 16:58:38 +0000 (17:58 +0100)]
Thu Mar 8 23:17:58 GMT 2012 david-sarah@jacaranda.org
* Make the link on the Welcome page to 'https://tahoe-lafs.org/', not 'http:'. Includes a test. fixes #1682
Daira Hopwood [Thu, 5 Sep 2013 16:58:19 +0000 (17:58 +0100)]
Fri Apr 6 00:57:23 BST 2012 david-sarah@jacaranda.org
* Change capitalization of WUI and introducer welcome page headings; add test for introducer welcome page. Also fix a typo in a CSS class name. fixes #1708