]> git.rkrishnan.org Git - tahoe-lafs/tahoe-lafs.git/log
tahoe-lafs/tahoe-lafs.git
11 years agoMon May 14 01:26:37 BST 2012 david-sarah@jacaranda.org
Daira Hopwood [Thu, 5 Sep 2013 16:50:34 +0000 (17:50 +0100)]
Mon May 14 01:26:37 BST 2012  david-sarah@jacaranda.org
  * Clarify an ambiguity about which version number is meant in quickstart.rst.

11 years agoSun Apr 1 02:57:17 BST 2012 zooko@zooko.com
Daira Hopwood [Thu, 5 Sep 2013 16:49:48 +0000 (17:49 +0100)]
Sun Apr  1 02:57:17 BST 2012  zooko@zooko.com
  docs: quickstart: edits
  * use out-of-line links to avoid a warning from rst2html --verbose (fixes #1704)
  * reflow to 77 fill-column and prepend utf-8 BOM (fixes #1703)
  * recommend Python 2.7 (fixes #1702)
  * remove link to wiki:AdvancedInstall (fixes #1701)

11 years agoFri Jun 8 23:21:46 BST 2012 Brian Warner <warner@lothar.com>
Daira Hopwood [Thu, 5 Sep 2013 16:47:42 +0000 (17:47 +0100)]
Fri Jun  8 23:21:46 BST 2012  Brian Warner <warner@lothar.com>
  * Fix text in Publish Status results. Closes #1762.

11 years agoSun Jun 10 20:32:36 BST 2012 Brian Warner <warner@lothar.com>
Daira Hopwood [Thu, 5 Sep 2013 16:47:25 +0000 (17:47 +0100)]
Sun Jun 10 20:32:36 BST 2012  Brian Warner <warner@lothar.com>
  * Added docs/specifications/backends/raic.rst for ticket #1760

11 years agoWed Jun 13 17:51:35 BST 2012 david-sarah@jacaranda.org
Daira Hopwood [Thu, 5 Sep 2013 16:47:06 +0000 (17:47 +0100)]
Wed Jun 13 17:51:35 BST 2012  david-sarah@jacaranda.org
  * Clarify documentation of RIStorageServer.slot_testv_and_readv_and_writev. fixes #1744

11 years agoTue Jun 12 02:16:36 BST 2012 Brian Warner <warner@lothar.com>
Daira Hopwood [Thu, 5 Sep 2013 16:46:47 +0000 (17:46 +0100)]
Tue Jun 12 02:16:36 BST 2012  Brian Warner <warner@lothar.com>
  * test_system.py: fix minor typo

11 years agoTue Jun 12 02:16:02 BST 2012 Brian Warner <warner@lothar.com>
Daira Hopwood [Thu, 5 Sep 2013 16:46:33 +0000 (17:46 +0100)]
Tue Jun 12 02:16:02 BST 2012  Brian Warner <warner@lothar.com>
  * offloaded.py: don't drop the Deferred

  There was one corner case (where the client disconnects at just the
  wrong time) that could have dropped a Deferred, leading to an Unhandled
  Error. Clean up the control flow to avoid this case.

11 years agoThu Jun 14 20:18:35 BST 2012 Brian Warner <warner@lothar.com>
Daira Hopwood [Thu, 5 Sep 2013 16:46:17 +0000 (17:46 +0100)]
Thu Jun 14 20:18:35 BST 2012  Brian Warner <warner@lothar.com>
  * test/common.py: fix race condition waiting for the helper connection

  The wait_for_connections() method, which is used at the start of
  test_system to make sure that all the clients are connected to all the
  servers, did not also wait for clients to be connected to their Helpers.
  Every once in a while, the helper connection would take a bit longer,
  and then
  test_system.SystemTest.test_filesystem._test_web._got_welcome_helper
  would fail, because we'd check for a helper connection before it was
  ready.

  The fix is to modify wait_for_connections's polling predicate to look
  for helper connections (if configured) as well as the regular
  introducer- and server- connections.

  Tested by temporarily adding a large (30s) delay to the connectTo() call
  in Uploader.startService, simulating a long helper
  connection-establishment delay. This makes the test fail consistently.
  Then I fixed wait_for_connections(), and the test passed (slowly). Then
  I removed the delay.

  Closes #1467

11 years agoThu Jun 14 22:23:08 BST 2012 david-sarah@jacaranda.org
Daira Hopwood [Thu, 5 Sep 2013 16:46:01 +0000 (17:46 +0100)]
Thu Jun 14 22:23:08 BST 2012  david-sarah@jacaranda.org
  * Suppress DeprecationWarning about twisted.internet.interfaces.IFinishableConsumer. This also unifies the handling of DeprecationWarnings that need to be suppressed globally. refs #1295

11 years agoMon May 14 04:23:52 BST 2012 david-sarah@jacaranda.org
Daira Hopwood [Thu, 5 Sep 2013 16:45:44 +0000 (17:45 +0100)]
Mon May 14 04:23:52 BST 2012  david-sarah@jacaranda.org
  * Suppress the PowmInsecureWarning from PyCrypto. refs #1586

11 years agoMon May 14 17:34:31 BST 2012 david-sarah@jacaranda.org
Daira Hopwood [Thu, 5 Sep 2013 16:45:22 +0000 (17:45 +0100)]
Mon May 14 17:34:31 BST 2012  david-sarah@jacaranda.org
  * Improve a comment in __init__.py.

11 years agoThu Mar 8 23:17:19 GMT 2012 david-sarah@jacaranda.org
Daira Hopwood [Thu, 5 Sep 2013 16:45:03 +0000 (17:45 +0100)]
Thu Mar  8 23:17:19 GMT 2012  david-sarah@jacaranda.org
  * Update various references to allmydata.org or http://tahoe-lafs.org in comments, to https://tahoe-lafs.org. refs #1682

11 years agoThu Jun 14 22:28:29 BST 2012 david-sarah@jacaranda.org
Daira Hopwood [Thu, 5 Sep 2013 16:44:45 +0000 (17:44 +0100)]
Thu Jun 14 22:28:29 BST 2012  david-sarah@jacaranda.org
  * misc/coding_tools/check-interfaces.py: clean-ups (warnings about Windows-specific modules and error stream handling).

11 years agoFri May 18 03:12:52 BST 2012 david-sarah@jacaranda.org
Daira Hopwood [Thu, 5 Sep 2013 16:44:26 +0000 (17:44 +0100)]
Fri May 18 03:12:52 BST 2012  david-sarah@jacaranda.org
  * misc/build_helpers/check-interfaces.py: avoid spurious warnings about ignored exceptions on shutdown. Also make the check function able to write errors to an arbitrary stream.

11 years agoThu Jun 14 22:33:15 BST 2012 david-sarah@jacaranda.org
Daira Hopwood [Thu, 5 Sep 2013 16:44:09 +0000 (17:44 +0100)]
Thu Jun 14 22:33:15 BST 2012  david-sarah@jacaranda.org
  * Since DeprecationWarning about twisted.internet.interfaces.IFinishableConsumer is suppressed globally, it doesn't need to be suppressed during import. refs #1295

11 years agoWed Mar 14 23:50:40 GMT 2012 david-sarah@jacaranda.org
Daira Hopwood [Thu, 5 Sep 2013 16:43:53 +0000 (17:43 +0100)]
Wed Mar 14 23:50:40 GMT 2012  david-sarah@jacaranda.org
  * Fix a missing comma in the last patch. refs #1295

11 years agoWed Mar 14 23:47:29 GMT 2012 david-sarah@jacaranda.org
Daira Hopwood [Thu, 5 Sep 2013 16:43:37 +0000 (17:43 +0100)]
Wed Mar 14 23:47:29 GMT 2012  david-sarah@jacaranda.org
  * Temporarily suppress the DeprecationWarning about IFinishableConsumer; it's irritating, but not in a way that is likely to make me fix the underlying issue (#1525) any sooner :-). refs #1295

11 years agoTue Jun 12 07:19:30 BST 2012 Brian Warner <warner@lothar.com>
Daira Hopwood [Thu, 5 Sep 2013 16:43:15 +0000 (17:43 +0100)]
Tue Jun 12 07:19:30 BST 2012  Brian Warner <warner@lothar.com>
  * test_system.py: wait for the Helper connection properly before uploading

11 years agoSun Jun 17 04:14:04 BST 2012 zooko@zooko.com
Daira Hopwood [Thu, 5 Sep 2013 16:42:57 +0000 (17:42 +0100)]
Sun Jun 17 04:14:04 BST 2012  zooko@zooko.com
  * docs: remove mention of #1588 from docs/frontends/FTP-and-SFTP.rst, since it is fixed

11 years agoMon Jun 18 01:24:54 BST 2012 david-sarah@jacaranda.org
Daira Hopwood [Thu, 5 Sep 2013 16:42:40 +0000 (17:42 +0100)]
Mon Jun 18 01:24:54 BST 2012  david-sarah@jacaranda.org
  * docs/frontends/FTP-and-SFTP.rst: listing of directories containing mutable files (but not reading/writing mutable files) is fixed for FTP. Also remove the orphaned trac link to #1688. refs #680

11 years agoSun Apr 1 22:20:02 BST 2012 zooko@zooko.com
Daira Hopwood [Thu, 5 Sep 2013 16:42:21 +0000 (17:42 +0100)]
Sun Apr  1 22:20:02 BST 2012  zooko@zooko.com
  * docs: FTP-and-SFTP.rst: recommend SFTP

  Add an explicit recommendation of SFTP over FTP. Separate the known issues of
  FTP from SFTP. List "SFTP" first in all lists of the two. Use unicode bullet
  points and prepend a utf-8 BOM. Use out-of-line rst hyperlinks.

11 years agoSat Mar 31 02:37:30 BST 2012 david-sarah@jacaranda.org
Daira Hopwood [Thu, 5 Sep 2013 16:41:58 +0000 (17:41 +0100)]
Sat Mar 31 02:37:30 BST 2012  david-sarah@jacaranda.org
  * FTP-and-SFTP.rst: directories containing mutable files should now be listable via FTP. refs #680

11 years agoTue Mar 13 20:26:54 GMT 2012 david-sarah@jacaranda.org
Daira Hopwood [Thu, 5 Sep 2013 16:41:39 +0000 (17:41 +0100)]
Tue Mar 13 20:26:54 GMT 2012  david-sarah@jacaranda.org
  * Update more links from http: to https: in documentation and comments.

11 years agoSun Jan 22 13:43:19 GMT 2012 zooko@zooko.com
Daira Hopwood [Thu, 5 Sep 2013 16:40:54 +0000 (17:40 +0100)]
Sun Jan 22 13:43:19 GMT 2012  zooko@zooko.com
  * docs: backdoors.rst: stop using embedded URIs and tweak title so that trac will render it correctly; reflow to fill-column 77; M-x whitespace-cleanup

11 years agoTue Jan 24 20:38:21 GMT 2012 Brian Warner <warner@lothar.com>
Daira Hopwood [Thu, 5 Sep 2013 16:40:38 +0000 (17:40 +0100)]
Tue Jan 24 20:38:21 GMT 2012  Brian Warner <warner@lothar.com>
  * Added clarification on how interface= works

11 years agoSat Mar 31 03:32:47 BST 2012 david-sarah@jacaranda.org
Daira Hopwood [Thu, 5 Sep 2013 16:40:21 +0000 (17:40 +0100)]
Sat Mar 31 03:32:47 BST 2012  david-sarah@jacaranda.org
  * FTP-and-SFTP.rst: there were two more instances of 'rootcap'. Also made the wording tweak from ticket:1487#comment:4 . fixes #1487

11 years agoTue Jan 24 20:36:54 GMT 2012 Brian Warner <warner@lothar.com>
Daira Hopwood [Thu, 5 Sep 2013 16:39:55 +0000 (17:39 +0100)]
Tue Jan 24 20:36:54 GMT 2012  Brian Warner <warner@lothar.com>
  * FTP-and-SFTP.rst: minor edits

11 years agoTue Jan 24 20:31:26 GMT 2012 Brian Warner <warner@lothar.com>
Daira Hopwood [Thu, 5 Sep 2013 16:39:34 +0000 (17:39 +0100)]
Tue Jan 24 20:31:26 GMT 2012  Brian Warner <warner@lothar.com>
  * Updated accounts.url directive per warner's suggestions

11 years agoTue Jan 24 20:31:26 GMT 2012 Brian Warner <warner@lothar.com>
Daira Hopwood [Thu, 5 Sep 2013 16:39:08 +0000 (17:39 +0100)]
Tue Jan 24 20:31:26 GMT 2012  Brian Warner <warner@lothar.com>
  * Added information on accounts.url directive

11 years agoSat Jun 16 19:24:03 BST 2012 david-sarah@jacaranda.org
Daira Hopwood [Thu, 5 Sep 2013 16:38:50 +0000 (17:38 +0100)]
Sat Jun 16 19:24:03 BST 2012  david-sarah@jacaranda.org
  * [rebased for 1.9.2] After a server disconnects, make the IServer retain the dead RemoteReference, and continue to return it to anyone who calls get_rref(). This removes the need for callers to guard against receiving a None (as long as the server was connected at least once, which is always the case for servers returned by get_servers_for_psi(), which is how all upload/download code gets servers). Includes test, which is now the same as on trunk. fixes #1636 for 1.9.2.

11 years agoWed Apr 4 19:13:59 BST 2012 Brian Warner <warner@lothar.com>
Daira Hopwood [Thu, 5 Sep 2013 16:38:31 +0000 (17:38 +0100)]
Wed Apr  4 19:13:59 BST 2012  Brian Warner <warner@lothar.com>
  * move IServer from storage_client.py to interfaces.py

11 years agoTue Jun 12 02:22:35 BST 2012 Brian Warner <warner@lothar.com>
Daira Hopwood [Thu, 5 Sep 2013 16:38:11 +0000 (17:38 +0100)]
Tue Jun 12 02:22:35 BST 2012  Brian Warner <warner@lothar.com>
  * test_system.py: clean up control flow, reduce use of stall()

  The _upload_resumable() test interrupts a Helper upload partway
  through (by shutting down the Helper), then restarts the Helper and
  resumes the upload. The control flow is kind of tricky: to do anything
  "partway through" requires adding a hook to the Uploadable. The previous
  flow depended upon a (fragile) call to self.stall(), which waits a fixed
  number of seconds.

  This removes one of those stall() calls (the remainder is in
  test/common.py and I'll try removing it in a subsequent revision). It
  also removes some now-redundant wait_for_connections() calls, since
  bounce_client() doesn't fire its Deferred until the client has finished
  coming back up (and uses wait_for_connections() internally to do so).

11 years agoThu Jun 21 20:42:44 BST 2012 david-sarah@jacaranda.org
Daira Hopwood [Thu, 5 Sep 2013 16:37:47 +0000 (17:37 +0100)]
Thu Jun 21 20:42:44 BST 2012  david-sarah@jacaranda.org
  * Rollback last patch, which  was pushed unintentionally to the 1.9.2 branch (Add assertions to make sure that set_default_encoding_parameters is always called...) refs #1212

11 years agoTue Jun 19 03:05:04 BST 2012 david-sarah@jacaranda.org
Daira Hopwood [Thu, 5 Sep 2013 16:37:23 +0000 (17:37 +0100)]
Tue Jun 19 03:05:04 BST 2012  david-sarah@jacaranda.org
  * Add assertions to make sure that set_default_encoding_parameters is always called, rather than using hardcoded 3/7/10 defaults. Also update affected tests. Note that this by itself cannot fix the bug mentioned in ticket:1212#comment:41, but it might make it easier to reproduce. refs #1212

11 years agoThu Jun 21 21:46:27 BST 2012 david-sarah@jacaranda.org
Daira Hopwood [Thu, 5 Sep 2013 16:36:57 +0000 (17:36 +0100)]
Thu Jun 21 21:46:27 BST 2012  david-sarah@jacaranda.org
  * Tests for ref #1669. Also refactor the existing tests to reduce duplicated code and to fix a cut-and-paste error that caused one case (successful SDMF repair) to go untested.

11 years agoThu Jun 21 21:52:21 BST 2012 david-sarah@jacaranda.org
Daira Hopwood [Thu, 5 Sep 2013 16:36:37 +0000 (17:36 +0100)]
Thu Jun 21 21:52:21 BST 2012  david-sarah@jacaranda.org
  * mutable: fix shape of 'verinfo' tuple returned from MDMFSlotWriteProxy.get_verinfo(). fixes #1669

11 years agoFri Jun 22 16:43:54 BST 2012 david-sarah@jacaranda.org
Daira Hopwood [Thu, 5 Sep 2013 16:36:18 +0000 (17:36 +0100)]
Fri Jun 22 16:43:54 BST 2012  david-sarah@jacaranda.org
  * Change the maximum mutable share size to 69105 TB, and add a maximum-mutable-share-size field to the version announcement. Includes a test. refs #1778

11 years agoWed Sep 14 15:39:47 BST 2011 david-sarah@jacaranda.org
Daira Hopwood [Thu, 5 Sep 2013 16:35:58 +0000 (17:35 +0100)]
Wed Sep 14 15:39:47 BST 2011  david-sarah@jacaranda.org
  * mutable/layout.py: improve confusing documentation of layout. fixes #1534

11 years agoSat Jun 23 01:17:52 BST 2012 david-sarah@jacaranda.org
Daira Hopwood [Thu, 5 Sep 2013 16:35:35 +0000 (17:35 +0100)]
Sat Jun 23 01:17:52 BST 2012  david-sarah@jacaranda.org
  * Release notes, NEWS, and quickstart updates for 1.9.2a1. refs #1776

11 years agoThu Jan 12 21:35:53 GMT 2012 Brian Warner <warner@lothar.com>
Daira Hopwood [Thu, 5 Sep 2013 16:35:12 +0000 (17:35 +0100)]
Thu Jan 12 21:35:53 GMT 2012  Brian Warner <warner@lothar.com>
  * retrieve.py: unconditionally check share-hash-tree. Fixes #1654.

  Add Kevan's unit test, update known_issues.rst

11 years agoSun Jan 8 22:12:48 GMT 2012 Brian Warner <warner@lothar.com>
Daira Hopwood [Thu, 5 Sep 2013 16:34:52 +0000 (17:34 +0100)]
Sun Jan  8 22:12:48 GMT 2012  Brian Warner <warner@lothar.com>
  * mutable/retrieve.py: clean up control flow to avoid dropping errors

  * replace DeferredList with gatherResults, simplify result handling
  * use BadShareError to signal recoverable problems in either fetch or
    validate, catch after _validate_block
  * _validate_block is thus not responsible for noticing fetch problems
  * rename _validation_or_decoding_failed() to _handle_bad_share()
  * _get_needed_hashes() returns two Deferreds, instead of a hard-to-unpack
    DeferredList

11 years agoSun Jan 8 22:12:44 GMT 2012 Brian Warner <warner@lothar.com>
Daira Hopwood [Thu, 5 Sep 2013 16:34:35 +0000 (17:34 +0100)]
Sun Jan  8 22:12:44 GMT 2012  Brian Warner <warner@lothar.com>
  * mutable: simplify Retrieve._process_segment() to use a gatherDeferred

11 years agoSun Jan 8 22:12:40 GMT 2012 Brian Warner <warner@lothar.com>
Daira Hopwood [Thu, 5 Sep 2013 16:34:03 +0000 (17:34 +0100)]
Sun Jan  8 22:12:40 GMT 2012  Brian Warner <warner@lothar.com>
  * Retrieve.decode(): simplify setup of DeferredList-like argument

  make it more obviously match the expectations of _decode_blocks() and
  _maybe_decode_and_decrypt_segment()

11 years agoSun Jan 8 22:12:45 GMT 2012 Brian Warner <warner@lothar.com>
Daira Hopwood [Thu, 5 Sep 2013 16:33:04 +0000 (17:33 +0100)]
Sun Jan  8 22:12:45 GMT 2012  Brian Warner <warner@lothar.com>
  * mutable: don't tell server about corruption unless it's really CorruptShareError

11 years agoTue Nov 1 04:03:19 GMT 2011 Brian Warner <warner@lothar.com>
Daira Hopwood [Thu, 5 Sep 2013 16:32:37 +0000 (17:32 +0100)]
Tue Nov  1 04:03:19 GMT 2011  Brian Warner <warner@lothar.com>
  * IServer refactoring: pass IServer instances around, instead of peerids

  refs #1363

  This collapses 88 small incremental changes (each of which passes all tests)
  into one big patch. The development process for the long path started with
  adding some temporary scaffolding, changing one method at a time, then
  removing the scaffolding. The individual pieces are as follows, in reverse
  chronological order (the first patch is at the end of this comment):

   commit 9bbe4174fd0d98a6cf47a8ef96e85d9ef34b2f9a
   Author: Brian Warner <warner@lothar.com>
   Date:   Tue Oct 4 16:05:00 2011 -0400

       immutable/downloader/status.py: correct comment

    src/allmydata/immutable/downloader/status.py |    2 +-
    1 files changed, 1 insertions(+), 1 deletions(-)

   commit 72146a7c7c91eac2f7c3ceb801eb7a1721376889
   Author: Brian Warner <warner@lothar.com>
   Date:   Tue Oct 4 15:46:20 2011 -0400

       remove temporary ServerMap._storage_broker

    src/allmydata/mutable/checker.py   |    2 +-
    src/allmydata/mutable/filenode.py  |    2 +-
    src/allmydata/mutable/publish.py   |    2 +-
    src/allmydata/mutable/servermap.py |    5 ++---
    src/allmydata/test/test_mutable.py |    8 ++++----
    5 files changed, 9 insertions(+), 10 deletions(-)

   commit d703096b41632c47d76414b12672e076a422ff5c
   Author: Brian Warner <warner@lothar.com>
   Date:   Tue Oct 4 15:37:05 2011 -0400

       remove temporary storage_broker.get_server_for_id()

    src/allmydata/storage_client.py  |    3 ---
    src/allmydata/test/no_network.py |   13 -------------
    2 files changed, 0 insertions(+), 16 deletions(-)

   commit 620cc5d80882ef6f7decfd26af8a6c7c1ddf80d1
   Author: Brian Warner <warner@lothar.com>
   Date:   Tue Oct 4 12:50:06 2011 -0400

       API of Retrieve._try_to_validate_privkey(), trying to remove reader.server

    src/allmydata/mutable/retrieve.py |   10 +++++-----
    1 files changed, 5 insertions(+), 5 deletions(-)

   commit 92f43f856f4a8b36c207d1b190ed8699b5a4ecb4
   Author: Brian Warner <warner@lothar.com>
   Date:   Tue Oct 4 12:48:08 2011 -0400

       API of Retrieve._validate_block(), trying to remove reader.server

    src/allmydata/mutable/retrieve.py |   14 +++++++-------
    1 files changed, 7 insertions(+), 7 deletions(-)

   commit 572d5070761861a2190349d1ed8d85dbc25698a5
   Author: Brian Warner <warner@lothar.com>
   Date:   Tue Oct 4 12:36:58 2011 -0400

       API of Retrieve._mark_bad_share(), trying to remove reader.server

    src/allmydata/mutable/retrieve.py |   21 +++++++++------------
    1 files changed, 9 insertions(+), 12 deletions(-)

   commit a793ff00c0de1e2eec7b46288fdf388c7a2bec89
   Author: Brian Warner <warner@lothar.com>
   Date:   Tue Oct 4 12:06:13 2011 -0400

       remove now-unused get_rref_for_serverid()

    src/allmydata/mutable/servermap.py |    3 ---
    1 files changed, 0 insertions(+), 3 deletions(-)

   commit 1b9827cc9366bf90b93297fdd6832f2ad0480ce7
   Author: Brian Warner <warner@lothar.com>
   Date:   Tue Oct 4 12:03:09 2011 -0400

       Retrieve: stop adding .serverid attributes to readers

    src/allmydata/mutable/retrieve.py |    1 -
    1 files changed, 0 insertions(+), 1 deletions(-)

   commit 5d4e9d491b19e49d2e443a1dfff2c672842c36ef
   Author: Brian Warner <warner@lothar.com>
   Date:   Tue Oct 4 12:03:34 2011 -0400

       return value of Retrieve(verify=True)

    src/allmydata/mutable/checker.py  |   11 ++++++-----
    src/allmydata/mutable/retrieve.py |    3 +--
    2 files changed, 7 insertions(+), 7 deletions(-)

   commit e9ab7978c384e1f677cb7779dc449b1044face82
   Author: Brian Warner <warner@lothar.com>
   Date:   Tue Oct 4 11:54:23 2011 -0400

       Retrieve._bad_shares (but not return value, used by Verifier)

    src/allmydata/mutable/retrieve.py |    7 ++++---
    1 files changed, 4 insertions(+), 3 deletions(-)

   commit 2d91926de233ec5c881f30e36b4a30ad92ab42a9
   Author: Brian Warner <warner@lothar.com>
   Date:   Tue Oct 4 11:51:23 2011 -0400

       Publish: stop adding .serverid attributes to writers

    src/allmydata/mutable/publish.py |    9 ++-------
    1 files changed, 2 insertions(+), 7 deletions(-)

   commit 47c7a0105dec7cbf4f7e0a3ce800bbb85b15df4a
   Author: Brian Warner <warner@lothar.com>
   Date:   Tue Oct 4 11:56:33 2011 -0400

       API of get_write_enabler()

    src/allmydata/mutable/filenode.py |    7 ++++---
    src/allmydata/mutable/publish.py  |    4 ++--
    src/allmydata/test/no_network.py  |    3 +++
    3 files changed, 9 insertions(+), 5 deletions(-)

   commit 9196a5c6590fdbfd660325ea8358b345887d3db0
   Author: Brian Warner <warner@lothar.com>
   Date:   Tue Oct 4 11:46:24 2011 -0400

       API of get_(renewal|cancel)_secret()

    src/allmydata/mutable/filenode.py  |   14 ++++++++------
    src/allmydata/mutable/publish.py   |    8 ++++----
    src/allmydata/mutable/servermap.py |    5 ++---
    3 files changed, 14 insertions(+), 13 deletions(-)

   commit de7c1552f8c163eff5b6d820b5fb3b21c1b47cb5
   Author: Brian Warner <warner@lothar.com>
   Date:   Tue Oct 4 11:41:52 2011 -0400

       API of CorruptShareError. Also comment out some related+unused test_web.py code

    src/allmydata/mutable/common.py    |   13 +++++--------
    src/allmydata/mutable/retrieve.py  |   10 +++++-----
    src/allmydata/mutable/servermap.py |    8 +++-----
    src/allmydata/test/common.py       |   13 ++++++++-----
    4 files changed, 21 insertions(+), 23 deletions(-)

   commit 2c1c314046b620c16f1e66d030c150d768b7d01e
   Author: Brian Warner <warner@lothar.com>
   Date:   Tue Oct 4 12:01:46 2011 -0400

       API of ServerMap.mark_bad_share()

    src/allmydata/mutable/publish.py   |    2 +-
    src/allmydata/mutable/retrieve.py  |    6 +++---
    src/allmydata/mutable/servermap.py |    6 ++----
    src/allmydata/test/test_mutable.py |    3 +--
    4 files changed, 7 insertions(+), 10 deletions(-)

   commit 1bed349030779fd0c378ae4e821384f953c6f6ff
   Author: Brian Warner <warner@lothar.com>
   Date:   Tue Oct 4 11:11:17 2011 -0400

       API+name of ServerMap.shares_on_server() : only for tests, so debug_ prefix

    src/allmydata/mutable/servermap.py |    7 ++-----
    src/allmydata/test/test_mutable.py |    6 +++---
    2 files changed, 5 insertions(+), 8 deletions(-)

   commit 2d32e448677d6b818692e801045d4115b29abf21
   Author: Brian Warner <warner@lothar.com>
   Date:   Tue Oct 4 11:07:10 2011 -0400

       API of ServerMap.all_servers_for_version()

    src/allmydata/mutable/servermap.py |    4 ++--
    1 files changed, 2 insertions(+), 2 deletions(-)

   commit 48f3204d1889c3e7179578125c4bdef515af3d6a
   Author: Brian Warner <warner@lothar.com>
   Date:   Tue Oct 4 11:04:50 2011 -0400

       internals of ServerMap methods that use make_versionmap(), remove temp copy

    src/allmydata/mutable/servermap.py |   28 +++++++++----------------
    1 files changed, 10 insertions(+), 18 deletions(-)

   commit 5c3da77b6c777a145bd5ddfaa4db849dc9495548
   Author: Brian Warner <warner@lothar.com>
   Date:   Tue Oct 4 11:01:28 2011 -0400

       API of ServerMap.make_versionmap()

    src/allmydata/mutable/checker.py   |    4 ++--
    src/allmydata/mutable/retrieve.py  |    5 ++---
    src/allmydata/mutable/servermap.py |    4 ++--
    src/allmydata/test/test_mutable.py |    7 ++++---
    4 files changed, 10 insertions(+), 10 deletions(-)

   commit b6882ece49afb4c507d118af2db346fa329209dc
   Author: Brian Warner <warner@lothar.com>
   Date:   Tue Oct 4 10:53:38 2011 -0400

       make a copy of ServerMap.make_versionmap() (_make_versionmap2) for internal use

    src/allmydata/mutable/servermap.py |   18 +++++++++++++-----
    1 files changed, 13 insertions(+), 5 deletions(-)

   commit 963f8e63faf32b950eb1b8103cd2ff16fe8f0151
   Author: Brian Warner <warner@lothar.com>
   Date:   Tue Oct 4 00:45:58 2011 -0400

       API of RetrieveStatus.add_problem()

    src/allmydata/mutable/retrieve.py |    5 +++--
    1 files changed, 3 insertions(+), 2 deletions(-)

   commit 4976d29ffae565a048851601c29013bbae2976d8
   Author: Brian Warner <warner@lothar.com>
   Date:   Tue Oct 4 00:45:05 2011 -0400

       API of RetrieveStatus.add_fetch_timing()

    src/allmydata/mutable/retrieve.py |    5 +++--
    1 files changed, 3 insertions(+), 2 deletions(-)

   commit d057d3bbba72663ee148a8b916bc2d52be2e3982
   Author: Brian Warner <warner@lothar.com>
   Date:   Tue Oct 4 00:44:04 2011 -0400

       API of Retrieve.notify_server_corruption()

    src/allmydata/mutable/retrieve.py |    6 +++---
    1 files changed, 3 insertions(+), 3 deletions(-)

   commit 8a2a81e46671c860610e0e96d6add1a57551f22d
   Author: Brian Warner <warner@lothar.com>
   Date:   Tue Oct 4 00:42:32 2011 -0400

       remove unused _outstanding_queries

    src/allmydata/mutable/retrieve.py |    1 -
    1 files changed, 0 insertions(+), 1 deletions(-)

   commit 56d12cc9968d03ccd53764455c671122c4f391d1
   Author: Brian Warner <warner@lothar.com>
   Date:   Tue Oct 4 00:40:57 2011 -0400

       change Retrieve.remaining_sharemap

    src/allmydata/mutable/retrieve.py |    4 ++--
    1 files changed, 2 insertions(+), 2 deletions(-)

   commit 4f0b7af4821f43290bfc70f2b1fc30149ad81281
   Author: Brian Warner <warner@lothar.com>
   Date:   Tue Oct 4 10:40:18 2011 -0400

       accessor for PublishStatus._problems

    src/allmydata/mutable/publish.py |    4 +++-
    src/allmydata/web/status.py      |    2 +-
    2 files changed, 4 insertions(+), 2 deletions(-)

   commit 627087cf66d0b8cc519f4d551a967a7bd9b6a741
   Author: Brian Warner <warner@lothar.com>
   Date:   Tue Oct 4 10:36:39 2011 -0400

       accessor for RetrieveStatus._problems

    src/allmydata/mutable/retrieve.py |    8 ++++++--
    src/allmydata/web/status.py       |    2 +-
    2 files changed, 7 insertions(+), 3 deletions(-)

   commit ca7dea81f03801b1c7353fc00ecba689268109cf
   Author: Brian Warner <warner@lothar.com>
   Date:   Tue Oct 4 00:35:32 2011 -0400

       add .server to "reader", so we can get at it later

    src/allmydata/mutable/retrieve.py |    5 +++--
    1 files changed, 3 insertions(+), 2 deletions(-)

   commit 6ef516e24908ec195af084a7550d1921a5e983b0
   Author: Brian Warner <warner@lothar.com>
   Date:   Tue Oct 4 00:32:32 2011 -0400

       temporarily give Retrieve a _storage_broker, so it can map serverids to servers

    src/allmydata/mutable/checker.py   |    3 ++-
    src/allmydata/mutable/filenode.py  |    6 ++++--
    src/allmydata/mutable/retrieve.py  |    5 +++--
    src/allmydata/test/test_mutable.py |    4 ++--
    4 files changed, 11 insertions(+), 7 deletions(-)

   commit afe08e4dd3f4ff9ff7e8a2a8d28b181e3625bcc9
   Author: Brian Warner <warner@lothar.com>
   Date:   Tue Oct 4 00:21:51 2011 -0400

       mutable/retrieve.py: s/peer/server/

    src/allmydata/mutable/retrieve.py  |   82 +++++++++++++-------------
    src/allmydata/test/test_mutable.py |    6 +-
    2 files changed, 44 insertions(+), 44 deletions(-)

   commit 910afcb5d7f274880f68dd6cdb5b05f2bbc29adc
   Author: Brian Warner <warner@lothar.com>
   Date:   Tue Oct 4 00:16:01 2011 -0400

       web.status.PublishStatusPage: add comment, I think .problems isn't exercised

    src/allmydata/web/status.py |    2 ++
    1 files changed, 2 insertions(+), 0 deletions(-)

   commit 311466dd8c931bbba40d590ade867704282e7f1a
   Author: Brian Warner <warner@lothar.com>
   Date:   Mon Oct 3 23:48:16 2011 -0400

       API of PublishStatus.add_per_server_time()

    src/allmydata/mutable/publish.py |    5 +++--
    1 files changed, 3 insertions(+), 2 deletions(-)

   commit 2df5faa1b6cbfbaded520d2320305a62fe961118
   Author: Brian Warner <warner@lothar.com>
   Date:   Mon Oct 3 23:46:37 2011 -0400

       more simplifications

    src/allmydata/mutable/publish.py |    4 +---
    1 files changed, 1 insertions(+), 3 deletions(-)

   commit 6ac4544a3da385f2aad9392f906b90192f4f919a
   Author: Brian Warner <warner@lothar.com>
   Date:   Mon Oct 3 23:44:08 2011 -0400

       API of ServerMap.version_on_server()

    src/allmydata/mutable/publish.py   |    2 +-
    src/allmydata/mutable/servermap.py |    4 ++--
    src/allmydata/test/test_mutable.py |    5 ++---
    3 files changed, 5 insertions(+), 6 deletions(-)

   commit 3e187e322511072e4683329df6b2c6c733a66dba
   Author: Brian Warner <warner@lothar.com>
   Date:   Tue Oct 4 00:16:32 2011 -0400

       API of ServerMap.make_sharemap()

    src/allmydata/mutable/servermap.py |    4 ++--
    src/allmydata/test/test_mutable.py |    7 ++++---
    src/allmydata/web/status.py        |    4 ++--
    3 files changed, 8 insertions(+), 7 deletions(-)

   commit 318feed8437bdd8d4943c6569d38f7b54b6313cc
   Author: Brian Warner <warner@lothar.com>
   Date:   Mon Oct 3 23:36:19 2011 -0400

       small cleanups

    src/allmydata/mutable/publish.py |    4 ++--
    1 files changed, 2 insertions(+), 2 deletions(-)

   commit bd459ed5714e1db5a7163935c54b7b0b56db8349
   Author: Brian Warner <warner@lothar.com>
   Date:   Mon Oct 3 23:33:39 2011 -0400

       API of ServerMap.add_new_share()

    src/allmydata/mutable/publish.py   |    4 ++--
    src/allmydata/mutable/servermap.py |    6 ++----
    2 files changed, 4 insertions(+), 6 deletions(-)

   commit f2804fb6ed11d80088e0da8ed48e6c2922f2ffef
   Author: Brian Warner <warner@lothar.com>
   Date:   Mon Oct 3 23:30:26 2011 -0400

       API of ServerMap.get_bad_shares()

    src/allmydata/mutable/publish.py   |    3 +--
    src/allmydata/mutable/servermap.py |    9 ++++-----
    2 files changed, 5 insertions(+), 7 deletions(-)

   commit 965074a47b3ce1431cb46d9a233840afcf9105f5
   Author: Brian Warner <warner@lothar.com>
   Date:   Mon Oct 3 23:26:58 2011 -0400

       more small cleanups

    src/allmydata/mutable/publish.py |    6 +++---
    1 files changed, 3 insertions(+), 3 deletions(-)

   commit 38020da34f034f8889947dd3dc05e087ffff7106
   Author: Brian Warner <warner@lothar.com>
   Date:   Mon Oct 3 23:18:47 2011 -0400

       change Publish.bad_share_checkstrings

    src/allmydata/mutable/publish.py |    6 +++---
    1 files changed, 3 insertions(+), 3 deletions(-)

   commit 5efebcbd2ee0c2f299ea86f7591d856c0f265304
   Author: Brian Warner <warner@lothar.com>
   Date:   Mon Oct 3 23:16:31 2011 -0400

       change internals of Publish.update_goal()

    src/allmydata/mutable/publish.py |    8 +++-----
    1 files changed, 3 insertions(+), 5 deletions(-)

   commit e91b55ff4c2a69165b71f2c7b217ac319ff4c527
   Author: Brian Warner <warner@lothar.com>
   Date:   Mon Oct 3 23:11:42 2011 -0400

       get rid of Publish.connections

    src/allmydata/mutable/publish.py |   27 +++++----------------------
    1 files changed, 5 insertions(+), 22 deletions(-)

   commit 64e9a53b3229ebe2f9ebf7ed502d539311d0e037
   Author: Brian Warner <warner@lothar.com>
   Date:   Mon Oct 3 23:05:32 2011 -0400

       change Publish.bad_servers

    src/allmydata/mutable/publish.py |   10 +++++-----
    1 files changed, 5 insertions(+), 5 deletions(-)

   commit b85a934bef315a06bcfe00c9c12a3627fed2b918
   Author: Brian Warner <warner@lothar.com>
   Date:   Mon Oct 3 23:03:07 2011 -0400

       Publish.bad_servers: fix bug, this should be a set of serverids, not writers

    src/allmydata/mutable/publish.py |    2 +-
    1 files changed, 1 insertions(+), 1 deletions(-)

   commit 605ea15ec15ed671513819003ccd211cdb9761e0
   Author: Brian Warner <warner@lothar.com>
   Date:   Mon Oct 3 23:00:21 2011 -0400

       change .placed

    src/allmydata/mutable/publish.py |    6 +++---
    1 files changed, 3 insertions(+), 3 deletions(-)

   commit f7aba37b1b345d5b6d5cb16e3b3f6f3c1afb658e
   Author: Brian Warner <warner@lothar.com>
   Date:   Mon Oct 3 22:59:22 2011 -0400

       temporarily stash IServer as .server on the "writer" object

    src/allmydata/mutable/publish.py |    2 ++
    1 files changed, 2 insertions(+), 0 deletions(-)

   commit f9b551d788e7db1f187fce5ab98ab5d5fe4e1c36
   Author: Brian Warner <warner@lothar.com>
   Date:   Mon Oct 3 22:48:18 2011 -0400

       change Publish.goal and API of log_goal() to use IServer, not serverid

    src/allmydata/mutable/publish.py |   48 ++++++++++++++--------------
    1 files changed, 24 insertions(+), 24 deletions(-)

   commit 75f20616558e4900b8b1f685dd99aa838de6d452
   Author: Brian Warner <warner@lothar.com>
   Date:   Mon Oct 3 15:27:02 2011 -0400

       API of ServerMap.get_known_shares()

    src/allmydata/mutable/publish.py   |   16 ++++++++++------
    src/allmydata/mutable/servermap.py |    7 ++-----
    2 files changed, 12 insertions(+), 11 deletions(-)

   commit 1c38c9d37bb08221b4418762234b1a62397b3b4b
   Author: Brian Warner <warner@lothar.com>
   Date:   Mon Oct 3 15:20:29 2011 -0400

       Publish.full_serverlist

    src/allmydata/mutable/publish.py |   10 +++++-----
    1 files changed, 5 insertions(+), 5 deletions(-)

   commit b6cbd215a04b9cde31a7d92a97a7f048622b16f1
   Author: Brian Warner <warner@lothar.com>
   Date:   Mon Oct 3 15:12:31 2011 -0400

       API of ServerMap.all_servers()

    src/allmydata/mutable/servermap.py |   19 ++++++-------------
    1 files changed, 6 insertions(+), 13 deletions(-)

   commit e63cd0315fae65357b1727ec6d5ff3c6e0d27c98
   Author: Brian Warner <warner@lothar.com>
   Date:   Mon Oct 3 15:10:18 2011 -0400

       remove ServerMap.connections, set_rref_for_serverid()

    src/allmydata/mutable/servermap.py |   11 +----------
    1 files changed, 1 insertions(+), 10 deletions(-)

   commit 4df52db2f80eb12eefa5d57103c24893cde89553
   Author: Brian Warner <warner@lothar.com>
   Date:   Mon Oct 3 15:04:06 2011 -0400

       API of ServerMap.mark_server_reachable()

    src/allmydata/mutable/servermap.py |    7 ++-----
    1 files changed, 2 insertions(+), 5 deletions(-)

   commit 69c715bde77944dc25181b3dbbeb042c816f9a1b
   Author: Brian Warner <warner@lothar.com>
   Date:   Mon Oct 3 15:03:21 2011 -0400

       API of ServerMap.mark_server_unreachable()

    src/allmydata/mutable/servermap.py |    9 +++------
    1 files changed, 3 insertions(+), 6 deletions(-)

   commit 3d784d60eec1c508858e3a617e4411ffbcc3c1fa
   Author: Brian Warner <warner@lothar.com>
   Date:   Mon Oct 3 15:02:03 2011 -0400

       API of status.set_privkey_from()

    src/allmydata/mutable/servermap.py |    7 +++----
    1 files changed, 3 insertions(+), 4 deletions(-)

   commit 544ed3ea29bed7e66da7fd29ca3f6f076f27a9e6
   Author: Brian Warner <warner@lothar.com>
   Date:   Mon Oct 3 15:01:15 2011 -0400

       API of status.add_per_server_time()

    src/allmydata/mutable/servermap.py |    7 ++++---
    1 files changed, 4 insertions(+), 3 deletions(-)

   commit fffe5008b6320bd1e04c3c68389a2bf2ee383fa8
   Author: Brian Warner <warner@lothar.com>
   Date:   Mon Oct 3 14:59:02 2011 -0400

       remove unused .versionmap

    src/allmydata/mutable/servermap.py |    7 -------
    1 files changed, 0 insertions(+), 7 deletions(-)

   commit 2816562e090d2294179db3588dafcca18de1bc2b
   Author: Brian Warner <warner@lothar.com>
   Date:   Mon Oct 3 14:57:51 2011 -0400

       remove serverid from all log messages. Also one unused lambda.

    src/allmydata/mutable/servermap.py |   30 +++++++++++++-------------
    1 files changed, 15 insertions(+), 15 deletions(-)

   commit 28fa6b1a2738fa98c1f1dbd3d0e01ae98912d11f
   Author: Brian Warner <warner@lothar.com>
   Date:   Mon Oct 3 14:54:30 2011 -0400

       removed unused _readers

    src/allmydata/mutable/servermap.py |    3 ---
    1 files changed, 0 insertions(+), 3 deletions(-)

   commit a8e4ed3d645ab592d1add6a1e69b6d1ebfb77817
   Author: Brian Warner <warner@lothar.com>
   Date:   Mon Oct 3 14:54:16 2011 -0400

       remove unused _sharemap

    src/allmydata/mutable/servermap.py |    1 -
    1 files changed, 0 insertions(+), 1 deletions(-)

   commit 3f072e55cf1d0700f9fffe23f8f3a475725df588
   Author: Brian Warner <warner@lothar.com>
   Date:   Mon Oct 3 14:49:03 2011 -0400

       _must_query

    src/allmydata/mutable/servermap.py |    8 ++++----
    1 files changed, 4 insertions(+), 4 deletions(-)

   commit c599a059b8df3f5785e4bf89fb6ecc6d8dcd708b
   Author: Brian Warner <warner@lothar.com>
   Date:   Mon Oct 3 14:48:05 2011 -0400

       _queries_outstanding

    src/allmydata/mutable/servermap.py |   16 +++++++---------
    1 files changed, 7 insertions(+), 9 deletions(-)

   commit 7743759f98ac2c07926b2fdbd80bf52dfab33085
   Author: Brian Warner <warner@lothar.com>
   Date:   Mon Oct 3 14:46:17 2011 -0400

       _empty_servers

    src/allmydata/mutable/servermap.py |    5 ++---
    1 files changed, 2 insertions(+), 3 deletions(-)

   commit 6bb1825916828a713a32cdf7f7411fa3ea2e1e5d
   Author: Brian Warner <warner@lothar.com>
   Date:   Mon Oct 3 14:45:39 2011 -0400

       _good_servers

    src/allmydata/mutable/servermap.py |    4 ++--
    1 files changed, 2 insertions(+), 2 deletions(-)

   commit 1768fab1b51d8dd93ecabbaaabfadfa20cf6c3d4
   Author: Brian Warner <warner@lothar.com>
   Date:   Mon Oct 3 14:44:59 2011 -0400

       _bad_servers

    src/allmydata/mutable/servermap.py |   14 +++++++-------
    1 files changed, 7 insertions(+), 7 deletions(-)

   commit dccbaef30f0ba714c746bf6d4a1a803c36e17b65
   Author: Brian Warner <warner@lothar.com>
   Date:   Mon Oct 3 14:41:54 2011 -0400

       API of _try_to_set_pubkey()

    src/allmydata/mutable/servermap.py |    7 ++++---
    1 files changed, 4 insertions(+), 3 deletions(-)

   commit 0481ea70042ba3575f15eac7fd0780f8ece580cc
   Author: Brian Warner <warner@lothar.com>
   Date:   Mon Oct 3 14:35:02 2011 -0400

       API of notify_server_corruption()

    src/allmydata/mutable/servermap.py |    6 +++---
    1 files changed, 3 insertions(+), 3 deletions(-)

   commit bea9cba18fb3b9c11bb22f18356a263ecec7351e
   Author: Brian Warner <warner@lothar.com>
   Date:   Mon Oct 3 14:34:09 2011 -0400

       API of _got_signature_one_share()

    src/allmydata/mutable/servermap.py |    9 +++++----
    1 files changed, 5 insertions(+), 4 deletions(-)

   commit 1520123583cf78650706e114b15bb5b0ac1f4a14
   Author: Brian Warner <warner@lothar.com>
   Date:   Mon Oct 3 14:32:33 2011 -0400

       API of _try_to_validate_privkey()

    src/allmydata/mutable/servermap.py |    9 +++++----
    1 files changed, 5 insertions(+), 4 deletions(-)

   commit 938852c9c8519c7a078f58a9b1f4dd8ec8b6715e
   Author: Brian Warner <warner@lothar.com>
   Date:   Mon Oct 3 14:31:48 2011 -0400

       API and internals of _add_lease_failed()

    src/allmydata/mutable/servermap.py |    8 ++++----
    1 files changed, 4 insertions(+), 4 deletions(-)

   commit 3843dba367e3c19e176a622ab853cb51d2472ddf
   Author: Brian Warner <warner@lothar.com>
   Date:   Mon Oct 3 14:30:37 2011 -0400

       API of _privkey_query_failed()

    src/allmydata/mutable/servermap.py |    5 +++--
    1 files changed, 3 insertions(+), 2 deletions(-)

   commit 2219a710e1633cd57d0ca0786490de87b3e19ba7
   Author: Brian Warner <warner@lothar.com>
   Date:   Mon Oct 3 14:29:43 2011 -0400

       fix bug in call to _privkey_query_failed, unrelated to refactoring

    src/allmydata/mutable/servermap.py |    2 +-
    1 files changed, 1 insertions(+), 1 deletions(-)

   commit ae615bec7d0d1b269710b6902797b12f9592ad62
   Author: Brian Warner <warner@lothar.com>
   Date:   Mon Oct 3 14:27:17 2011 -0400

       API of _got_corrupt_share()

    src/allmydata/mutable/servermap.py |   17 +++++++++--------
    1 files changed, 9 insertions(+), 8 deletions(-)

   commit cb51c95a6f4e077278157a77dab060c8c1ad7a81
   Author: Brian Warner <warner@lothar.com>
   Date:   Mon Oct 3 14:23:16 2011 -0400

       API of _got_results()

    src/allmydata/mutable/servermap.py |    9 +++++----
    1 files changed, 5 insertions(+), 4 deletions(-)

   commit bac9154fe0af18f226999a58ffc2362d8cf4b802
   Author: Brian Warner <warner@lothar.com>
   Date:   Mon Oct 3 14:19:19 2011 -0400

       API of _query_failed()

    src/allmydata/mutable/servermap.py |    5 +++--
    1 files changed, 3 insertions(+), 2 deletions(-)

   commit fdc29a8ca95d4b5c503e5382b9e5d4d02141ba12
   Author: Brian Warner <warner@lothar.com>
   Date:   Mon Oct 3 14:17:20 2011 -0400

       API of _do_read()

    src/allmydata/mutable/servermap.py |    6 ++++--
    1 files changed, 4 insertions(+), 2 deletions(-)

   commit e7e9e338f28d004aa4d423d11c65f1e271ac7322
   Author: Brian Warner <warner@lothar.com>
   Date:   Mon Oct 3 14:20:21 2011 -0400

       API of _do_query()

    src/allmydata/mutable/servermap.py |   15 +++++++--------
    1 files changed, 7 insertions(+), 8 deletions(-)

   commit 330625b9dac4cdbe72a11464a893065b9aeed453
   Author: Brian Warner <warner@lothar.com>
   Date:   Mon Oct 3 14:43:05 2011 -0400

       next step: first batch of updates to ServermapUpdater

       updates:
        most method-local variables in update()
        API of _build_initial_querylist()
        API of _send_initial_requests()
        .full_serverlist
        .extra_servers

    src/allmydata/mutable/servermap.py |   39 ++++++++++++++------------
    1 files changed, 21 insertions(+), 18 deletions(-)

   commit 4aadc584fa7dcb2daa86b048c81dee0049ba26d9
   Author: Brian Warner <warner@lothar.com>
   Date:   Mon Oct 3 15:07:00 2011 -0400

       internal change: index _bad_shares with IServer

    src/allmydata/mutable/servermap.py |   20 ++++++++++----------
    1 files changed, 10 insertions(+), 10 deletions(-)

   commit 16d4e6fa82a9907dbdc92094213387c6a4164e41
   Author: Brian Warner <warner@lothar.com>
   Date:   Mon Oct 3 18:20:47 2011 +0100

       internal change: index _known_shares with IServer instead of serverid

       callers are unchanged

    src/allmydata/mutable/servermap.py |   42 +++++++++++++++----------
    1 files changed, 25 insertions(+), 17 deletions(-)

   commit ceeb5f4938cc814a0c75d1b8f4018aed965c2176
   Author: Brian Warner <warner@lothar.com>
   Date:   Mon Oct 3 18:11:43 2011 +0100

       accessors and name cleanup for servermap.Servermap.last_update_mode/time

    src/allmydata/mutable/filenode.py  |    6 +++---
    src/allmydata/mutable/publish.py   |    4 ++--
    src/allmydata/mutable/servermap.py |   17 +++++++++++------
    3 files changed, 16 insertions(+), 11 deletions(-)

   commit 8d3cbda82661c0a7e5c3d3b65cf7a5d5ab7e32c0
   Author: Brian Warner <warner@lothar.com>
   Date:   Mon Oct 3 18:11:14 2011 +0100

       accessors and name cleanup for servermap.Servermap.problems

    src/allmydata/mutable/servermap.py |   21 +++++++++++++--------
    src/allmydata/test/test_mutable.py |    6 +++---
    2 files changed, 16 insertions(+), 11 deletions(-)

   commit 348f57988f79389db0aab7672e6eaa9a6d8e3219
   Author: Brian Warner <warner@lothar.com>
   Date:   Mon Oct 3 18:10:41 2011 +0100

       accessors and name cleanup for servermap.Servermap.bad_shares

    src/allmydata/mutable/publish.py   |    2 +-
    src/allmydata/mutable/servermap.py |   30 ++++++++++++++-----------
    2 files changed, 18 insertions(+), 14 deletions(-)

   commit 520c9368134673cdf76c653c5e1bb91c2ab5d51e
   Author: Brian Warner <warner@lothar.com>
   Date:   Mon Oct 3 18:10:05 2011 +0100

       accessors and name cleanup for servermap.Servermap.servermap .

    src/allmydata/mutable/publish.py   |   14 +++++----
    src/allmydata/mutable/servermap.py |   38 ++++++++++++++-----------
    2 files changed, 29 insertions(+), 23 deletions(-)

   commit b8b8dc38287a91dbdf494426ac801d9381ce5841
   Author: Brian Warner <warner@lothar.com>
   Date:   Mon Oct 3 18:08:02 2011 +0100

       fix reachable_servers

    src/allmydata/mutable/checker.py   |    3 ++-
    src/allmydata/mutable/publish.py   |    4 +++-
    src/allmydata/mutable/servermap.py |   12 ++++++++++--
    3 files changed, 15 insertions(+), 4 deletions(-)

   commit cb0cfd1adfefad357c187aaaf690c3df68b622bc
   Author: Brian Warner <warner@lothar.com>
   Date:   Mon Oct 3 18:06:03 2011 +0100

       fix Servermap.unreachable_servers

    src/allmydata/mutable/servermap.py |   11 ++++++++---
    1 files changed, 8 insertions(+), 3 deletions(-)

   commit 2d9ea79b94bd4db674d40386fda90825785ac495
   Author: Brian Warner <warner@lothar.com>
   Date:   Mon Oct 3 18:03:48 2011 +0100

       give ServerMap a StorageFarmBroker, temporary

       this makes it possible for the ServerMap to accept bare serverids and still
       build data structures with IServers

    src/allmydata/mutable/checker.py   |    2 +-
    src/allmydata/mutable/filenode.py  |    2 +-
    src/allmydata/mutable/publish.py   |    2 +-
    src/allmydata/mutable/servermap.py |    5 +++--
    src/allmydata/test/test_mutable.py |    8 ++++----
    5 files changed, 10 insertions(+), 9 deletions(-)

   commit 718d1aeff6fded893f65397806d22ece928b0dd4
   Author: Brian Warner <warner@lothar.com>
   Date:   Mon Oct 3 13:43:30 2011 -0400

       add StorageFarmBroker.get_server_for_id(), temporary helper

       This will go away once we're passing IServers everywhere.

    src/allmydata/storage_client.py  |    2 ++
    src/allmydata/test/no_network.py |   13 +++++++++++++
    2 files changed, 15 insertions(+), 0 deletions(-)

   commit ece20231d7fda0d503704842a4aa068dfbc2e54e
   Author: Brian Warner <warner@lothar.com>
   Date:   Sun Oct 2 01:11:50 2011 +0100

       add proper accessors for Servermap.connections, to make refactoring easier

    src/allmydata/mutable/publish.py   |    6 +++---
    src/allmydata/mutable/retrieve.py  |   10 +++++-----
    src/allmydata/mutable/servermap.py |   17 +++++++++++------
    3 files changed, 19 insertions(+), 14 deletions(-)

   commit 3b943d6bf302ff702668081a612fc4fe2604cf9c
   Author: Brian Warner <warner@lothar.com>
   Date:   Fri Sep 23 10:34:30 2011 -0700

       mutable/servermap.py and neighbors: s/peer/server/

    src/allmydata/mutable/checker.py   |   22 +-
    src/allmydata/mutable/publish.py   |  204 +++++++-------
    src/allmydata/mutable/servermap.py |  402 +++++++++++++-------------
    src/allmydata/test/test_mutable.py |   18 +-
    4 files changed, 323 insertions(+), 323 deletions(-)

11 years agoFri Jun 22 00:45:56 BST 2012 david-sarah@jacaranda.org
Daira Hopwood [Thu, 5 Sep 2013 16:27:55 +0000 (17:27 +0100)]
Fri Jun 22 00:45:56 BST 2012  david-sarah@jacaranda.org
  * Release notes and NEWS for 1.9.1. refs #1776

11 years agoThu Jan 12 23:24:20 GMT 2012 Brian Warner <warner@lothar.com>
Daira Hopwood [Thu, 5 Sep 2013 16:25:44 +0000 (17:25 +0100)]
Thu Jan 12 23:24:20 GMT 2012  Brian Warner <warner@lothar.com>
  * merge relnotes, quickstart.rst from 1.9.1 release

11 years agoTue Nov 1 07:19:35 GMT 2011 Brian Warner <warner@lothar.com>
Daira Hopwood [Thu, 5 Sep 2013 16:25:17 +0000 (17:25 +0100)]
Tue Nov  1 07:19:35 GMT 2011  Brian Warner <warner@lothar.com>
  * relnotes.txt: fix footnotes

12 years agoTAG allmydata-tahoe-1.9.0 allmydata-tahoe-1.9.0
Brian Warner [Mon, 31 Oct 2011 05:23:01 +0000 (05:23 +0000)]
TAG allmydata-tahoe-1.9.0

12 years agoupdate NEWS for the 1.9.0 release
Brian Warner [Mon, 31 Oct 2011 05:22:52 +0000 (05:22 +0000)]
update NEWS for the 1.9.0 release

12 years agomore docs updates
Brian Warner [Mon, 31 Oct 2011 05:08:31 +0000 (05:08 +0000)]
more docs updates

12 years agoimprove relnotes
Brian Warner [Mon, 31 Oct 2011 03:37:04 +0000 (03:37 +0000)]
improve relnotes

12 years agoupdate relnotes, rotate known_issues, for 1.9
Brian Warner [Mon, 31 Oct 2011 03:24:39 +0000 (20:24 -0700)]
update relnotes, rotate known_issues, for 1.9

12 years agoadd user-oriented notes to NEWS and mutable.rst about SDMF-vs-MDMF
Brian Warner [Mon, 31 Oct 2011 03:05:12 +0000 (20:05 -0700)]
add user-oriented notes to NEWS and mutable.rst about SDMF-vs-MDMF

12 years agoshow-tool-versions.py: remove setuptools_trial, unused
Brian Warner [Mon, 31 Oct 2011 00:47:42 +0000 (17:47 -0700)]
show-tool-versions.py: remove setuptools_trial, unused

12 years agoMakefile/upload-tarballs: remove bash-ism in shell conditional
Brian Warner [Mon, 31 Oct 2011 00:47:21 +0000 (17:47 -0700)]
Makefile/upload-tarballs: remove bash-ism in shell conditional

The "[" command is defined to accept "=" as an is-equal test. Bash extends
this to accept "==" too, but normal /bin/sh does not. I think this command
was developed on a box where /bin/sh is bash, but on standard ubuntu boxes,
/bin/sh is a smaller+faster non-Bash shell, and this gave "[: 1: X:
unexpected operator" errors.

12 years agoupdate project-home URLs: /trac/tahoe/ was replaced by /trac/tahoe-lafs/
Brian Warner [Sun, 30 Oct 2011 19:14:28 +0000 (12:14 -0700)]
update project-home URLs: /trac/tahoe/ was replaced by /trac/tahoe-lafs/

12 years agoquickstart.rst: remove trailing whitespace
Brian Warner [Sun, 30 Oct 2011 17:44:11 +0000 (10:44 -0700)]
quickstart.rst: remove trailing whitespace

12 years agoquickstart.rst: update the release URL in preparation for 1.9
Brian Warner [Sun, 30 Oct 2011 17:33:18 +0000 (10:33 -0700)]
quickstart.rst: update the release URL in preparation for 1.9

12 years agoand configuration.rst
Brian Warner [Sat, 29 Oct 2011 20:51:57 +0000 (20:51 +0000)]
and configuration.rst

I'm doing these one-at-a-time because I'm also debugging buildbot
problems, and it's handy to trigger builds this way.

12 years agoand about.rst
Brian Warner [Sat, 29 Oct 2011 19:58:16 +0000 (19:58 +0000)]
and about.rst

12 years agoupdate README for HTTPS too
Brian Warner [Sat, 29 Oct 2011 19:42:40 +0000 (19:42 +0000)]
update README for HTTPS too

12 years agosmall changes to test migrated trac and posthook
Brian Warner [Sat, 29 Oct 2011 19:18:07 +0000 (19:18 +0000)]
small changes to test migrated trac and posthook

12 years agomore http->https changes
Brian Warner [Sat, 29 Oct 2011 19:09:05 +0000 (19:09 +0000)]
more http->https changes

12 years agotahoe-lafs.org is now HTTPS-always. Update most URLs.
Brian Warner [Sat, 29 Oct 2011 18:39:46 +0000 (18:39 +0000)]
tahoe-lafs.org is now HTTPS-always. Update most URLs.

12 years agoundo the effects of a patch I hadn't intended to commit, named "debugprint the values...
Zooko O'Whielacronx [Fri, 28 Oct 2011 22:03:49 +0000 (22:03 +0000)]
undo the effects of a patch I hadn't intended to commit, named "debugprint the values of blocks and hashes thereof; make the test data and the seg size small in order to make the debugprints easy to look at"

rolling back:

Thu Sep 29 23:46:28 MDT 2011  zooko@zooko.com
  * debugprint the values of blocks and hashes thereof; make the test data and the seg size small in order to make the debugprints easy to look at

    M ./src/allmydata/mutable/publish.py -1 +2
    M ./src/allmydata/mutable/retrieve.py +3
    M ./src/allmydata/test/test_mutable.py -2 +2

12 years agodebugprint the values of blocks and hashes thereof; make the test data and the seg...
Zooko O'Whielacronx [Fri, 30 Sep 2011 05:46:28 +0000 (05:46 +0000)]
debugprint the values of blocks and hashes thereof; make the test data and the seg size small in order to make the debugprints easy to look at

12 years agodocs/about.rst: correct the description of availability to take into account that...
david-sarah [Tue, 25 Oct 2011 13:25:50 +0000 (06:25 -0700)]
docs/about.rst: correct the description of availability to take into account that shares may not be stored on distinct servers.

12 years agomutable/retrieve: don't write() after we've been pauseProducer'ed
Brian Warner [Mon, 17 Oct 2011 00:03:47 +0000 (17:03 -0700)]
mutable/retrieve: don't write() after we've been pauseProducer'ed

This fixes a test failure found against current Twisted trunk in
test_mutable.Filenode.test_retrieve_producer_mdmf (when it uses
PausingAndStoppingConsumer). There must be some sort of race: I could
make it fail against Twisted-11.0 if I just increased the 0.5s delay in
test_download.PausingAndStoppingConsumer to about 0.6s, and could make
Twisted-trunk pass by reducing it to about 0.3s .

I fixed the test (as opposed to the bug) by replacing the delay with a
simple reliable eventually(), and adding extra asserts to fail the test
if the consumer's write() method is called while the producer is
supposed to be paused

The bug itself was that mutable.retrieve.Retrieve wasn't checking the
"stopped" flag after resuming from a pause, and thus delivered one
segment to a consumer that wasn't expecting it. I split out
stopped-flag-checking to separate function, which is now called
immediately after _check_for_paused(). I also cleaned up some Deferred
usage and whitespace.

12 years agoremove interpreter shbang lines from non-executables
Brian Warner [Fri, 14 Oct 2011 17:23:01 +0000 (10:23 -0700)]
remove interpreter shbang lines from non-executables

thanks to Greg Troxel for the catch

12 years agoTAG allmydata-tahoe-1.9.0b1 allmydata-tahoe-1.9.0b1
Brian Warner [Fri, 14 Oct 2011 05:55:32 +0000 (22:55 -0700)]
TAG allmydata-tahoe-1.9.0b1

12 years agoNEWS: mention --format, bring up-to-date
Brian Warner [Fri, 14 Oct 2011 05:55:00 +0000 (22:55 -0700)]
NEWS: mention --format, bring up-to-date

12 years agoCLI: don't deprecate --mutable, small docs fixes. refs #1561
Brian Warner [Fri, 14 Oct 2011 03:45:59 +0000 (20:45 -0700)]
CLI: don't deprecate --mutable, small docs fixes. refs #1561

Also don't accept 'tahoe mkdir --format=chk'.

12 years agoadd --format= to 'tahoe put'/'mkdir', remove --mutable-type. Closes #1561
Brian Warner [Fri, 14 Oct 2011 03:15:00 +0000 (20:15 -0700)]
add --format= to 'tahoe put'/'mkdir', remove --mutable-type. Closes #1561

12 years agoweb/filenode.py: rely on Request.notifyFinish. Closes #1366.
Brian Warner [Thu, 13 Oct 2011 20:12:19 +0000 (13:12 -0700)]
web/filenode.py: rely on Request.notifyFinish. Closes #1366.

This is safe now that tahoe depends upon Twisted>=10.1, since notifyFinish
first appeared in Twisted-9.0

13 years agodocs: fix several imprecise or inaccurate values in performance.rst
Zooko O'Whielacronx [Sun, 8 May 2011 12:42:28 +0000 (05:42 -0700)]
docs: fix several imprecise or inaccurate values in performance.rst
add cpu values for each operation
sort the list of values into the same order in each operation
refs #1398

12 years agoutil/happinessutil.py: suppress a warning from check-miscaptures. (It is not a bug...
david-sarah [Sun, 9 Oct 2011 05:21:06 +0000 (22:21 -0700)]
util/happinessutil.py: suppress a warning from check-miscaptures. (It is not a bug because the capturing function is only used by a 'map' in the same iteration.) refs #1556

12 years agomisc/coding_tools/make-canary-files.py: fix a suspicious capture reported by check...
david-sarah [Sun, 9 Oct 2011 05:05:31 +0000 (22:05 -0700)]
misc/coding_tools/make-canary-files.py: fix a suspicious capture reported by check-miscaptures (although it happens not to be a bug because the callback will be processed synchronously). refs #1556

12 years agoFix some more potential bugs in test code exposed by check-miscaptures.py. refs ...
david-sarah [Fri, 7 Oct 2011 03:38:47 +0000 (20:38 -0700)]
Fix some more potential bugs in test code exposed by check-miscaptures.py. refs #1556

12 years agoFix some potential bugs (in non-test code) exposed by check-miscaptures.py. refs...
david-sarah [Fri, 7 Oct 2011 03:24:44 +0000 (20:24 -0700)]
Fix some potential bugs (in non-test code) exposed by check-miscaptures.py. refs #1556

12 years agoFix some potential bugs in test code exposed by check-miscaptures.py. refs #1556
david-sarah [Fri, 7 Oct 2011 02:34:43 +0000 (19:34 -0700)]
Fix some potential bugs in test code exposed by check-miscaptures.py. refs #1556

12 years agooops, missed a test failure
Brian Warner [Thu, 13 Oct 2011 16:37:13 +0000 (09:37 -0700)]
oops, missed a test failure

12 years agomisc mutable-type fixes:
Brian Warner [Thu, 13 Oct 2011 16:32:29 +0000 (09:32 -0700)]
misc mutable-type fixes:

* fix tahoe.cfg control of default mutable type
* tolerate arbitrary case in [client]mutable.format value
* small docs improvements
* use get_mutable_type() as a format-is-mutable predicate
* tighten up error message

12 years agowebapi: use all-caps "SDMF"/"MDMF" acronyms in t=json response
Brian Warner [Thu, 13 Oct 2011 16:31:43 +0000 (09:31 -0700)]
webapi: use all-caps "SDMF"/"MDMF" acronyms in t=json response

docs: upcase examples of t=json output and format= input

12 years agowebapi.rst: fix whitespace (detabify) t=json examples
Brian Warner [Thu, 13 Oct 2011 16:30:56 +0000 (09:30 -0700)]
webapi.rst: fix whitespace (detabify) t=json examples

12 years agowebapi: handle format=, remove mutable-type=
Brian Warner [Thu, 13 Oct 2011 16:29:51 +0000 (09:29 -0700)]
webapi: handle format=, remove mutable-type=

* fix CLI commands (put, mkdir) to send format=, not mutable-type=
* fix tests
* test_cli: fix tests that observe t=json output, don't ignore failures in
  'tahoe put'
* fix handling of version= to make it easier to use the default
* interpret ?mutable=true&format=MDMF as MDMF, not SDMF

12 years agodocs/frontends/webapi.rst: document the format argument
kevan [Mon, 10 Oct 2011 02:55:29 +0000 (19:55 -0700)]
docs/frontends/webapi.rst: document the format argument

12 years agoTests for ref #1547
david-sarah [Sun, 2 Oct 2011 03:53:16 +0000 (20:53 -0700)]
Tests for ref #1547

12 years agoChange the file upload forms on directory and welcome pages to use a 3-way radio...
david-sarah [Sun, 2 Oct 2011 03:45:03 +0000 (20:45 -0700)]
Change the file upload forms on directory and welcome pages to use a 3-way radio button to select immutable, SDMF, or MDMF. Add '(experimental)' to the label for creating an MDMF directory. Also improve the spacing of form elements. refs #1547

12 years agotest_web.py: minor cleanups, mainly to make the first argument to shouldFail tests...
david-sarah [Sun, 2 Oct 2011 04:03:32 +0000 (21:03 -0700)]
test_web.py: minor cleanups, mainly to make the first argument to shouldFail tests consistent

12 years agoTests for ref #1552
david-sarah [Sun, 2 Oct 2011 04:00:36 +0000 (21:00 -0700)]
Tests for ref #1552

12 years agomisc/check-interfaces.py: print a warning if a .pyc or .pyo file exists without a...
david-sarah [Wed, 12 Oct 2011 23:36:09 +0000 (16:36 -0700)]
misc/check-interfaces.py: print a warning if a .pyc or .pyo file exists without a corresponding .py file.

12 years agotest/common.py: in shouldFail and shouldHTTPError, when the raised exception does...
david-sarah [Tue, 11 Oct 2011 00:22:27 +0000 (17:22 -0700)]
test/common.py: in shouldFail and shouldHTTPError, when the raised exception does not include the expected substring (or, for shouldHTTPError, when the status code is wrong), mention which test that happened in.

12 years agointerfaces.py: remove get_extension_params and set_extension_params methods from...
david-sarah [Mon, 10 Oct 2011 19:48:42 +0000 (12:48 -0700)]
interfaces.py: remove get_extension_params and set_extension_params methods from IMutableFileURI. refs #393, #1526

12 years agointerfaces.py: fix a typo in the name of IMutableSlotWriter.put_encprivkey. refs...
david-sarah [Mon, 10 Oct 2011 19:46:42 +0000 (12:46 -0700)]
interfaces.py: fix a typo in the name of IMutableSlotWriter.put_encprivkey. refs #393

12 years agomisc/simulators/hashbasedsig.py: simplify by removing unnecessary local function...
david-sarah [Fri, 7 Oct 2011 02:30:01 +0000 (19:30 -0700)]
misc/simulators/hashbasedsig.py: simplify by removing unnecessary local function that captured a variable declared in a for loop (this was not a bug, but the code was unclear). Also fix a pyflakes warning about an import. refs #1556

12 years agoimmutable/literal.py: add pauseProducing method to LiteralProducer. refs #1537
david-sarah [Mon, 3 Oct 2011 19:52:39 +0000 (12:52 -0700)]
immutable/literal.py: add pauseProducing method to LiteralProducer. refs #1537

12 years agono_network.py: Clean up whitespace around code changed by previous patch.
david-sarah [Tue, 4 Oct 2011 01:04:07 +0000 (18:04 -0700)]
no_network.py: Clean up whitespace around code changed by previous patch.

12 years agono_network.py: Fix potential bugs in some tests due to capture of slots in for loops.
david-sarah [Tue, 4 Oct 2011 01:02:31 +0000 (18:02 -0700)]
no_network.py: Fix potential bugs in some tests due to capture of slots in for loops.

12 years agodocs: fix the rst formatting of COPYING.TGPPL.rst
Zooko O'Whielacronx [Mon, 3 Oct 2011 04:33:33 +0000 (21:33 -0700)]
docs: fix the rst formatting of COPYING.TGPPL.rst
Now it renders correctly both on trac and with rst2html --verbose from docutils v0.8.1.