]> git.rkrishnan.org Git - tahoe-lafs/tahoe-lafs.git/log
tahoe-lafs/tahoe-lafs.git
12 years agoMake sure that foolscap.logging.log.setLogDir is called with a str (not unicode)...
david-sarah [Sun, 29 Apr 2012 02:28:44 +0000 (02:28 +0000)]
Make sure that foolscap.logging.log.setLogDir is called with a str (not unicode) path, v2. Includes test. fixes #1725

12 years agointroweb announcements: show serverid, not tubid
Brian Warner [Tue, 24 Apr 2012 05:37:28 +0000 (01:37 -0400)]
introweb announcements: show serverid, not tubid

'serverid' is the pubkey (for V2 clients), falling back to the tubid (for V1
clients). This also required cleaning up the way the index is created for the
old V1 introducer.

12 years agoFix introweb display for mixed V1/V2 clients. Closes #1721.
Brian Warner [Mon, 23 Apr 2012 22:02:22 +0000 (18:02 -0400)]
Fix introweb display for mixed V1/V2 clients. Closes #1721.

This significantly cleans up the IntroducerServer web-status renderers.
Instead of poking around in the introducer's internals, now the web-status
renderers get clean AnnouncementDescriptor and SubscriberDescriptor
objects. They are still somewhat foolscap-centric, but will provide a clean
abstraction boundary for future improvements.

The specific #1721 bug was that old (V1) subscribers were handled by
wrapping their RemoteReference in a special WrapV1SubscriberInV2Interface
object, but the web-status display was trying to peek inside the object to
learn what host+port it was associated with, and the wrapper did not proxy
those extra attributes.

A test was added to test_introducer to make sure the introweb page renders
properly and at least contains the nicknames of both the V1 and V2 clients.

12 years agoUpdated webapi.rst to list /cap as a synonym for /uri
Patrick R McDonald [Wed, 11 Apr 2012 02:36:43 +0000 (21:36 -0500)]
Updated webapi.rst to list /cap as a synonym for /uri

12 years agoAdding jg71 to CREDITS 6/head
markus reichelt [Sat, 14 Apr 2012 14:01:07 +0000 (16:01 +0200)]
Adding jg71 to CREDITS

12 years agoFix for ticket #1662
Patrick R McDonald [Tue, 10 Apr 2012 14:55:25 +0000 (09:55 -0500)]
Fix for ticket #1662

12 years agodocs/frontends/drop-upload.rst: document more known issues and link to new ticket...
david-sarah [Fri, 6 Apr 2012 04:39:46 +0000 (04:39 +0000)]
docs/frontends/drop-upload.rst: document more known issues and link to new ticket for an existing one.

12 years agoChange capitalization of WUI and introducer welcome page headings; add test for intro...
david-sarah [Thu, 5 Apr 2012 23:57:23 +0000 (23:57 +0000)]
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

12 years agotest/common.py: remove ununsed 'is_bad' mechanism
Brian Warner [Wed, 4 Apr 2012 19:11:03 +0000 (12:11 -0700)]
test/common.py: remove ununsed 'is_bad' mechanism

This was a premature feature addition to the mock filenode, and gets in the
way of the IServer refactoring I'm trying to do. Best to remove it now and
re-introduce it in a better form later when it's actually needed.

12 years agochecker.py: minor simplifications
Brian Warner [Wed, 4 Apr 2012 19:05:31 +0000 (12:05 -0700)]
checker.py: minor simplifications

12 years agomake IServer instances retain identity in copy() and deepcopy()
Brian Warner [Wed, 4 Apr 2012 18:14:09 +0000 (11:14 -0700)]
make IServer instances retain identity in copy() and deepcopy()

12 years agomove IServer from storage_client.py to interfaces.py
Brian Warner [Wed, 4 Apr 2012 18:13:59 +0000 (11:13 -0700)]
move IServer from storage_client.py to interfaces.py

12 years agoRename web CheckResults to -Renderer, to avoid confusion. Closes #1705.
Brian Warner [Tue, 3 Apr 2012 03:02:59 +0000 (20:02 -0700)]
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.

12 years agowebapi.rst: de-tabify
Brian Warner [Mon, 2 Apr 2012 23:32:05 +0000 (16:32 -0700)]
webapi.rst: de-tabify

12 years agoservermap.py: oops, fix _done() condition, good catch by davidsarah
Brian Warner [Sun, 1 Apr 2012 22:08:42 +0000 (15:08 -0700)]
servermap.py: oops, fix _done() condition, good catch by davidsarah

12 years agodoc: cross-link known_issues.rst and cautions.rst with one another
Zooko O'Whielacronx [Sun, 1 Apr 2012 21:40:39 +0000 (21:40 +0000)]
doc: cross-link known_issues.rst and cautions.rst with one another

12 years agodocs: FTP-and-SFTP.rst: recommend SFTP
Zooko O'Whielacronx [Sun, 1 Apr 2012 21:20:02 +0000 (21:20 +0000)]
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.

13 years agointerfaces.py: ensure that NoSuchChildError can be converted to str even when it...
david-sarah [Sun, 14 Aug 2011 22:59:59 +0000 (22:59 +0000)]
interfaces.py: ensure that NoSuchChildError can be converted to str even when it is for a non-ASCII name. fixes #1483

12 years agomisc/build_helpers/show-tool-versions.py: s/print_stderr/print_stdout/
david-sarah [Sun, 1 Apr 2012 02:28:26 +0000 (02:28 +0000)]
misc/build_helpers/show-tool-versions.py: s/print_stderr/print_stdout/

13 years agobin/tahoe-script.template: fix the error message that is displayed when a runner...
david-sarah [Wed, 17 Aug 2011 22:26:51 +0000 (22:26 +0000)]
bin/tahoe-script.template: fix the error message that is displayed when a runner script cannot be found. fixes #1488

12 years agodocs: quickstart: edits
Zooko O'Whielacronx [Sun, 1 Apr 2012 01:57:17 +0000 (01:57 +0000)]
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)

12 years agoSpelling error in a comment.
david-sarah [Sun, 1 Apr 2012 01:36:55 +0000 (01:36 +0000)]
Spelling error in a comment.

13 years agotest_node.py: test that we tolerate a UTF-8 BOM at the start of tahoe.cfg, and can...
david-sarah [Mon, 8 Aug 2011 18:05:52 +0000 (18:05 +0000)]
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

13 years agonode.py: tolerate a UTF-8 BOM at the start of tahoe.cfg. fixes #1470
david-sarah [Mon, 8 Aug 2011 18:02:04 +0000 (18:02 +0000)]
node.py: tolerate a UTF-8 BOM at the start of tahoe.cfg. fixes #1470

13 years agomutable/layout.py: improve confusing documentation of layout. fixes #1534
david-sarah [Wed, 14 Sep 2011 14:39:47 +0000 (14:39 +0000)]
mutable/layout.py: improve confusing documentation of layout. fixes #1534

12 years agosetup: show-tool-versions: report cl only on windows, report buildslave, git, openssl...
Zooko O'Whielacronx [Sun, 1 Apr 2012 00:59:25 +0000 (00:59 +0000)]
setup: show-tool-versions: report cl only on windows, report buildslave, git, openssl, and lzip, but not 7za

12 years agoDocument PYTHONPATH problem when running flogtool. refs #1693
david-sarah [Sat, 31 Mar 2012 22:39:34 +0000 (22:39 +0000)]
Document PYTHONPATH problem when running flogtool. refs #1693

12 years agoMutable repair: use new MODE_REPAIR to query all servers *and* get privkey
Brian Warner [Sat, 31 Mar 2012 06:56:41 +0000 (23:56 -0700)]
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.

12 years agoAdd test for bug #1689: repairing empty file hits no-privkey assertion
Brian Warner [Sat, 31 Mar 2012 18:36:20 +0000 (11:36 -0700)]
Add test for bug #1689: repairing empty file hits no-privkey assertion

12 years agoFTP-and-SFTP.rst: there were two more instances of 'rootcap'. Also made the wording...
david-sarah [Sat, 31 Mar 2012 02:32:47 +0000 (02:32 +0000)]
FTP-and-SFTP.rst: there were two more instances of 'rootcap'. Also made the wording tweak from ticket:1487#comment:4 . fixes #1487

12 years agotest_ftp.py: fix a couple of unused imports. refs #1668
david-sarah [Sat, 31 Mar 2012 02:17:25 +0000 (02:17 +0000)]
test_ftp.py: fix a couple of unused imports. refs #1668

12 years agoFTP-and-SFTP.rst: directories containing mutable files should now be listable via...
david-sarah [Sat, 31 Mar 2012 01:37:30 +0000 (01:37 +0000)]
FTP-and-SFTP.rst: directories containing mutable files should now be listable via FTP. refs #680

12 years agoftpd file `size' attribute must be an integer
Peter Le Bek [Thu, 22 Mar 2012 13:18:06 +0000 (13:18 +0000)]
ftpd file `size' attribute must be an integer

12 years agounit test for ftpd LIST
Peter Le Bek [Fri, 30 Mar 2012 23:41:39 +0000 (23:41 +0000)]
unit test for ftpd LIST

12 years agofix ftpd mtime retrieval
Peter Le Bek [Fri, 30 Mar 2012 23:41:19 +0000 (23:41 +0000)]
fix ftpd mtime retrieval

12 years agotest_introducer.SystemTest: fix race condition
Brian Warner [Sat, 31 Mar 2012 00:29:06 +0000 (17:29 -0700)]
test_introducer.SystemTest: fix race condition

SystemTest has a couple of different phases, separated by a poller which
waits for everything to be idle (all messages delivered, none in flight). It
does this by watching some internal "_debug_outstanding" counters in the
server and in each client, and waiting for them to hit zero.

Just before the last phase, we replace the server with a new one (to make
sure clients re-send their messages properly). Unfortunately, the polling
function closed over the variable holding the original server, and didn't see
the replacement. It kept polling the old server, and failed to notice the
outstanding messages for the new server. The last phase of the test (check3)
was started too early, which failed (since some messages had not yet been
delivered), and then exploded in a flurry of dirty-reactor errors (because
some messages were delivered after test shutdown).

This replaces the closed-over-variable with a "self.the_introducer", which
seems to fix the race.

One additional place to look at in the future: the client
announcement-receive path (remote_announce) uses an eventually(). If the
message has been received and the eventual-send posted (but not yet executed)
when the poller sees it, the poller might erroneously conclude that the
client is idle and cause the same problem as above. To fix this, the poller
(probably all pollers) could be enhanced to do a flushEventualQueue before
querying the are-we-done-yet predicate function.

12 years agoCosmetic formatting in docs.
david-sarah [Thu, 22 Mar 2012 22:05:34 +0000 (22:05 +0000)]
Cosmetic formatting in docs.

12 years agoPut SFTP before FTP in various docs. fixes #1692
david-sarah [Thu, 22 Mar 2012 22:04:53 +0000 (22:04 +0000)]
Put SFTP before FTP in various docs. fixes #1692

12 years agoCorrect a link to frontends/drop-upload.rst. fixes #1690
david-sarah [Thu, 22 Mar 2012 22:01:18 +0000 (22:01 +0000)]
Correct a link to frontends/drop-upload.rst. fixes #1690

12 years agoFix mutable status (mapupdate/retrieve/publish) to use serverids, not tubids
Brian Warner [Sat, 17 Mar 2012 23:52:32 +0000 (16:52 -0700)]
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.

12 years agoIServer.get_name(): remove v0- prefix from displayed server names
Brian Warner [Wed, 14 Mar 2012 23:36:40 +0000 (16:36 -0700)]
IServer.get_name(): remove v0- prefix from displayed server names

Don't remove the prefix if it isn't there: that avoids the need to fix tests
which use a bogus key (usually all-zeros).

12 years agoFix a missing comma in the last patch. refs #1295
david-sarah [Wed, 14 Mar 2012 23:50:40 +0000 (23:50 +0000)]
Fix a missing comma in the last patch. refs #1295

12 years agoTemporarily suppress the DeprecationWarning about IFinishableConsumer; it's irritatin...
david-sarah [Wed, 14 Mar 2012 23:47:29 +0000 (23:47 +0000)]
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

12 years agominor: hush pyflakes, move pycryptopp dep to unconditional section
Brian Warner [Wed, 14 Mar 2012 06:13:51 +0000 (23:13 -0700)]
minor: hush pyflakes, move pycryptopp dep to unconditional section

Also change Makefile's "pyflakes" rule to emit less output, so buildbot will
count errors properly.

12 years agoUpdate find_links URLs in setup.cfg to https://tahoe-lafs.org. This is not just a...
david-sarah [Tue, 13 Mar 2012 20:30:41 +0000 (20:30 +0000)]
Update find_links URLs in setup.cfg to https://tahoe-lafs.org. This is not just a doc change; look out for compatibility problems.

12 years agoMinor updates to URLs.
david-sarah [Tue, 13 Mar 2012 20:28:53 +0000 (20:28 +0000)]
Minor updates to URLs.

12 years agoUpdate more links from http: to https: in documentation and comments.
david-sarah [Tue, 13 Mar 2012 20:26:54 +0000 (20:26 +0000)]
Update more links from http: to https: in documentation and comments.

12 years agonew introducer: signed extensible dictionary-based messages! refs #466
Brian Warner [Sun, 20 Nov 2011 10:21:32 +0000 (02:21 -0800)]
new introducer: signed extensible dictionary-based messages! refs #466

This introduces new client and server halves to the Introducer (renaming the
old one with a _V1 suffix). Both have fallbacks to accomodate talking to a
different version: the publishing client switches on whether the server's
.get_version() advertises V2 support, the server switches on which
subscription method was invoked by the subscribing client.

The V2 protocol sends a three-tuple of (serialized announcement dictionary,
signature, pubkey) for each announcement. The V2 server dispatches messages
to subscribers according to the service-name, and throws errors for invalid
signatures, but does not otherwise examine the messages. The V2 receiver's
subscription callback will receive a (serverid, ann_dict) pair. The
'serverid' will be equal to the pubkey if all of the following are true:

  the originating client is V2, and was told a privkey to use
  the announcement went through a V2 server
  the signature is valid

If not, 'serverid' will be equal to the tubid portion of the announced FURL,
as was the case for V1 receivers.

Servers will create a keypair if one does not exist yet, stored in
private/server.privkey .

The signed announcement dictionary puts the server FURL in a key named
"anonymous-storage-FURL", which anticipates upcoming Accounting-related
changes in the server advertisements. It also provides a key named
"permutation-seed-base32" to tell clients what permutation seed to use. This
is computed at startup, using tubid if there are existing shares, otherwise
the pubkey, to retain share-order compatibility for existing servers.

12 years ago'tahoe admin generate-keypair/derive-pubkey': add Ed25519 keypair commands
Brian Warner [Mon, 12 Mar 2012 22:02:58 +0000 (15:02 -0700)]
'tahoe admin generate-keypair/derive-pubkey': add Ed25519 keypair commands

Also add parse_privkey/parse_pubkey tools to util.keyutil

12 years agobump pycryptopp dependency to >=0.6.0, to get ed25519 signatures
Brian Warner [Wed, 14 Mar 2012 01:09:14 +0000 (18:09 -0700)]
bump pycryptopp dependency to >=0.6.0, to get ed25519 signatures

This is for the upcoming #466 signed-introducer code.

12 years agoUpdate copyright notices. refs #1686
david-sarah [Tue, 13 Mar 2012 20:50:57 +0000 (20:50 +0000)]
Update copyright notices. refs #1686

12 years agoMake the link on the Welcome page to 'https://tahoe-lafs.org/', not 'http:'. Includes...
david-sarah [Thu, 8 Mar 2012 23:17:58 +0000 (23:17 +0000)]
Make the link on the Welcome page to 'https://tahoe-lafs.org/', not 'http:'. Includes a test. fixes #1682

12 years agoUpdate various references to allmydata.org or http://tahoe-lafs.org in comments,...
david-sarah [Thu, 8 Mar 2012 23:17:19 +0000 (23:17 +0000)]
Update various references to allmydata.org or http://tahoe-lafs.org in comments, to https://tahoe-lafs.org. refs #1682

12 years agoSuppress a warning from win32eventreactor on Windows (patch v2). fixes #1681
david-sarah [Mon, 27 Feb 2012 19:03:17 +0000 (19:03 +0000)]
Suppress a warning from win32eventreactor on Windows (patch v2). fixes #1681

12 years agoAdd nickname/nodeid to storage-status web page. Closes #1204.
Brian Warner [Tue, 13 Mar 2012 02:57:36 +0000 (19:57 -0700)]
Add nickname/nodeid to storage-status web page. Closes #1204.

Also add tahoe.css to the page, to make it look slightly prettier.

12 years agoadd some quick tests of the introducer/web improvements
Brian Warner [Mon, 12 Mar 2012 19:35:36 +0000 (12:35 -0700)]
add some quick tests of the introducer/web improvements

12 years agointroducer web page: add CSS styling, roughly match client Welcome page
Brian Warner [Wed, 7 Mar 2012 02:25:05 +0000 (18:25 -0800)]
introducer web page: add CSS styling, roughly match client Welcome page

Also add /static and the top-level /tahoe.css -type stuff to the introducer's
web server.

12 years agotahoe.css: fix #section typo, update welcome.xhtml to match
Brian Warner [Wed, 7 Mar 2012 02:22:41 +0000 (18:22 -0800)]
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.

12 years agomake provisioning/reliability work in the new location, fix tests
Brian Warner [Wed, 15 Feb 2012 18:24:42 +0000 (18:24 +0000)]
make provisioning/reliability work in the new location, fix tests

12 years agoremove 'provisioning'/'reliability' from WUI, add to misc/operations_helpers
Brian Warner [Wed, 15 Feb 2012 18:18:53 +0000 (18:18 +0000)]
remove 'provisioning'/'reliability' from WUI, add to misc/operations_helpers

Also remove docs related to reliability/provisioning pages

12 years agoprovisioning.py: update disk sizes and usage numbers
Brian Warner [Mon, 13 Feb 2012 15:57:08 +0000 (15:57 +0000)]
provisioning.py: update disk sizes and usage numbers

12 years agoconfiguration.rst: another attempt to fix formatting of sample tahoe.cfg.
david-sarah [Tue, 31 Jan 2012 00:09:49 +0000 (00:09 +0000)]
configuration.rst: another attempt to fix formatting of sample tahoe.cfg.

12 years agoconfiguration.rst: remove the obsolete sizelimit option from the sample tahoe.cfg...
david-sarah [Tue, 31 Jan 2012 00:06:43 +0000 (00:06 +0000)]
configuration.rst: remove the obsolete sizelimit option from the sample tahoe.cfg. Also fix the RST formatting of blank lines in the file.

12 years agoAdd a Python 3 blocker to setup.py, to display a better error message when it is...
david-sarah [Fri, 27 Jan 2012 01:55:25 +0000 (01:55 +0000)]
Add a Python 3 blocker to setup.py, to display a better error message when it is run under Python 3.

12 years agoEnsure that verification proceeds and stops when appropriate.
Kevan [Fri, 13 Jan 2012 02:11:42 +0000 (18:11 -0800)]
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.

12 years agoAdd test_verify_mdmf_all_bad_sharedata
Kevan [Fri, 13 Jan 2012 02:11:04 +0000 (18:11 -0800)]
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.

12 years agoAdded clarification on how interface= works
Patrick R McDonald [Fri, 20 Jan 2012 01:52:12 +0000 (20:52 -0500)]
Added clarification on how interface= works

12 years agoFTP-and-SFTP.rst: minor edits
Brian Warner [Tue, 24 Jan 2012 20:36:54 +0000 (12:36 -0800)]
FTP-and-SFTP.rst: minor edits

12 years agoUpdated accounts.url directive per warner's suggestions
Patrick R McDonald [Thu, 19 Jan 2012 20:08:18 +0000 (15:08 -0500)]
Updated accounts.url directive per warner's suggestions

12 years agoAdded information on accounts.url directive
Patrick R McDonald [Thu, 19 Jan 2012 18:15:21 +0000 (13:15 -0500)]
Added information on accounts.url directive

12 years agodocs: an extra newline to separate utf-8 BOF from comment for the sake of trac's...
Zooko O'Whielacronx [Sun, 22 Jan 2012 21:20:02 +0000 (21:20 +0000)]
docs: an extra newline to separate utf-8 BOF from comment for the sake of trac's rst renderer

12 years agodocs: a newline between the utf-8 BOF and the comment in order to prevent trac from...
Zooko O'Whielacronx [Sun, 22 Jan 2012 21:18:56 +0000 (21:18 +0000)]
docs: a newline between the utf-8 BOF and the comment in order to prevent trac from misrendering the comment
sheesh

12 years agodocs: a comment to inform the (human) reader about encoding and to prevent someone...
Zooko O'Whielacronx [Sun, 22 Jan 2012 21:17:31 +0000 (21:17 +0000)]
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

12 years agodocs: insert another newline between utf-8 BOF and title
Zooko O'Whielacronx [Sun, 22 Jan 2012 21:14:27 +0000 (21:14 +0000)]
docs: insert another newline between utf-8 BOF and title

12 years agodocs: insert newline after utf-8 BOF and before restructuredtext title
Zooko O'Whielacronx [Sun, 22 Jan 2012 18:21:27 +0000 (18:21 +0000)]
docs: insert newline after utf-8 BOF and before restructuredtext title

12 years agodocs: remove utf-8 "BOM" which confuses trac's rst renderer
Zooko O'Whielacronx [Sun, 22 Jan 2012 14:00:52 +0000 (14:00 +0000)]
docs: remove utf-8 "BOM" which confuses trac's rst renderer

12 years agodocs: try again to change RestructuredText titles to a format that trac will render
Zooko O'Whielacronx [Sun, 22 Jan 2012 13:56:13 +0000 (13:56 +0000)]
docs: try again to change RestructuredText titles to a format that trac will render

12 years agodocs: backdoors.rst: fix title formatting
Zooko O'Whielacronx [Sun, 22 Jan 2012 13:51:25 +0000 (13:51 +0000)]
docs: backdoors.rst: fix title formatting

12 years agodocs: backdoors.rst: stop using embedded URIs and tweak title so that trac will rende...
Zooko O'Whielacronx [Sun, 22 Jan 2012 13:43:19 +0000 (13:43 +0000)]
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

12 years agoupdate release process: git, not darcs, etc
Brian Warner [Fri, 13 Jan 2012 07:12:57 +0000 (23:12 -0800)]
update release process: git, not darcs, etc

12 years agoprepare to Org-ify how_to_make_a_tahoe-lafs_release: rename the file
Brian Warner [Fri, 13 Jan 2012 07:01:53 +0000 (23:01 -0800)]
prepare to Org-ify how_to_make_a_tahoe-lafs_release: rename the file

12 years ago.gitignore: ignore generated test-coverage files too
Brian Warner [Fri, 13 Jan 2012 06:56:29 +0000 (22:56 -0800)]
.gitignore: ignore generated test-coverage files too

12 years agomerge relnotes, quickstart.rst from 1.9.1 release
Brian Warner [Thu, 12 Jan 2012 23:24:20 +0000 (15:24 -0800)]
merge relnotes, quickstart.rst from 1.9.1 release

12 years agoretrieve.py: unconditionally check share-hash-tree. Fixes #1654.
Brian Warner [Thu, 12 Jan 2012 21:35:53 +0000 (13:35 -0800)]
retrieve.py: unconditionally check share-hash-tree. Fixes #1654.

Add Kevan's unit test, update known_issues.rst

12 years ago.gitignore: also ignore tahoe-deps and .tgz, to fix 'make tarballs'
Brian Warner [Thu, 12 Jan 2012 19:18:59 +0000 (11:18 -0800)]
.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.

12 years agoMakefile: fix 'make-version' to use git-or-darcs, not just darcs
Brian Warner [Thu, 12 Jan 2012 21:06:54 +0000 (13:06 -0800)]
Makefile: fix 'make-version' to use git-or-darcs, not just darcs

12 years ago_auto_deps.py: don't allow pycrypto 2.0.1. fixes #1631
david-sarah [Tue, 10 Jan 2012 19:57:58 +0000 (19:57 +0000)]
_auto_deps.py: don't allow pycrypto 2.0.1. fixes #1631

12 years agoMANIFEST.in: make git-based 'setup.py sdist' match darcs
Brian Warner [Mon, 9 Jan 2012 23:46:37 +0000 (15:46 -0800)]
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/

12 years agorestore .gitignore, stop .darcs-boringfile it
Brian Warner [Mon, 9 Jan 2012 02:52:43 +0000 (02:52 +0000)]
restore .gitignore, stop .darcs-boringfile it

12 years agoremove setuptools_darcs.egg
Brian Warner [Sun, 8 Jan 2012 22:55:45 +0000 (22:55 +0000)]
remove setuptools_darcs.egg

12 years agofix bundled data under git, remove setuptools_darcs
Brian Warner [Sun, 8 Jan 2012 18:16:54 +0000 (10:16 -0800)]
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.

12 years agomutable/retrieve.py: clean up control flow to avoid dropping errors
Brian Warner [Sun, 8 Jan 2012 02:12:51 +0000 (18:12 -0800)]
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

12 years agomutable/layout.py: raise BadShareError instead of assert()
Brian Warner [Sun, 8 Jan 2012 02:05:08 +0000 (18:05 -0800)]
mutable/layout.py: raise BadShareError instead of assert()

12 years agomutable: don't tell server about corruption unless it's really CorruptShareError
Brian Warner [Sat, 7 Jan 2012 22:40:57 +0000 (14:40 -0800)]
mutable: don't tell server about corruption unless it's really CorruptShareError

12 years agomutable: simplify Retrieve._process_segment() to use a gatherDeferred
Brian Warner [Sat, 7 Jan 2012 22:28:57 +0000 (14:28 -0800)]
mutable: simplify Retrieve._process_segment() to use a gatherDeferred

12 years agoRetrieve.decode(): simplify setup of DeferredList-like argument
Brian Warner [Sat, 7 Jan 2012 22:12:26 +0000 (14:12 -0800)]
Retrieve.decode(): simplify setup of DeferredList-like argument

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

12 years agomutable: add comments about the tricky DeferredList structures in retrieve
Brian Warner [Sat, 7 Jan 2012 21:52:39 +0000 (13:52 -0800)]
mutable: add comments about the tricky DeferredList structures in retrieve

12 years agoadd test-git-ignore.py, to port the 'clean' buildbot test to git
Brian Warner [Sat, 7 Jan 2012 00:48:47 +0000 (16:48 -0800)]
add test-git-ignore.py, to port the 'clean' buildbot test to git

add .gitignore to match .darcs-boringfile, mostly

13 years agoUse a private/drop_upload_dircap file instead of the [drop_upload]upload.dircap optio...
david-sarah [Sun, 20 Nov 2011 23:24:26 +0000 (23:24 +0000)]
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

12 years agotest_mutable: don't use 75 shares (slow), now that the bug is fixed
Brian Warner [Wed, 28 Dec 2011 22:38:19 +0000 (14:38 -0800)]
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 .