Commit Graph

4822 Commits

Author SHA1 Message Date
Brian Warner
e2031aff0f backupdb.did_create_directory: use REPLACE INTO, not INSERT INTO + ignore error
This handles the case where we upload a new tahoe directory for a
previously-processed local directory, possibly creating a new dircap (if the
metadata had changed). Now we replace the old dirhash->dircap record. The
previous behavior left the old record in place (with the old dircap and
timestamps), so we'd never stop creating new directories and never converge
on a null backup.
2010-04-27 22:08:03 -07:00
Brian Warner
f6f8256b35 "tahoe webopen": add --info flag, to get ?t=info
Also fix some trailing whitespace.
2010-04-24 16:30:03 -07:00
Zooko O'Whielacronx
b771254b09 docs: install.html http-equiv refresh to quickstart.html 2010-04-21 09:57:08 -07:00
Zooko O'Whielacronx
a1fa80fc0c docs: install.html -> quickstart.html
It is not called "installing" because that implies that it is going to change the configuration of your operating system. It is not called "building" because that implies that you need developer tools like a compiler. Also I added a stern warning against looking at the "InstallDetails" wiki page, which I have renamed to "AdvancedInstall".
2010-04-21 08:57:57 -07:00
david-sarah
42ebd2dc64 Fix another typo in tahoe_storagespace munin plugin 2010-04-16 15:09:35 -07:00
david-sarah
ec2e8b9c88 Add dependency on windmill >= 1.3 2010-04-16 12:04:04 -07:00
Zooko O'Whielacronx
5c7c3e9c7b licensing: phrase the OpenSSL-exemption in the vocabulary of copyright instead of computer technology, and replicate the exemption from the GPL to the TGPPL 2010-04-14 16:25:21 -07:00
freestorm77
08fc553fe9 munin-tahoe_storagespace
Plugin configuration rename
2010-02-21 14:36:26 -07:00
Zooko O'Whielacronx
de5cf49eba setup: add licensing declaration for setuptools (noticed by the FSF compliance folks) 2010-03-09 10:44:15 -08:00
Zooko O'Whielacronx
80ae6f2706 setup: fix error in licensing declaration from Shawn Willden, as noted by the FSF compliance division 2010-03-09 08:37:36 -08:00
Zooko O'Whielacronx
a6b300f214 CREDITS to Jacob Appelbaum 2010-03-03 17:56:16 -08:00
jacob
8fddc7a4a5 desert-island-build-with-proper-versions 2010-03-03 17:38:58 -08:00
Zooko O'Whielacronx
34a50b857a docs: a few small edits to try to guide newcomers through the docs
These edits were suggested by my watching over Jake Appelbaum's shoulder as he completely ignored/skipped/missed install.html and also as he decided that debian.txt wouldn't help him with basic installation. Then I threw in a few docs edits that have been sitting around in my sandbox asking to be committed for months.
2010-03-03 15:19:02 -08:00
david-sarah
b76b588872 TAG allmydata-tahoe-1.6.1 2010-02-27 22:23:14 -08:00
david-sarah
e9ce5b2d6b Change install.html to reference 1.6.1 instead of 1.6.0 2010-02-27 22:19:41 -08:00
Zooko O'Whielacronx
9433002235 docs: fix the asymptotic network performance of mutable file download in performance.txt, rename the howto-make-a-release file 2010-02-27 22:14:39 -08:00
david-sarah
40edf8f419 Change code that gives a base32 SI or an empty string to be more straightforward. (#948) 2010-02-26 22:55:51 -08:00
david-sarah
a2ed17f2a0 Additional test for DIR2-LIT directories in test_web.py, fixed version (#948) 2010-02-24 20:18:24 -08:00
david-sarah
f8e2bab41e Updates to NEWS for 1.6.1 2010-02-24 00:15:42 -08:00
david-sarah
d7b50a3b86 Additional fixes for DIR2-LIT More Info page and deep-check/manifest operations (#948) 2010-02-24 00:02:20 -08:00
david-sarah
e6aee33bb7 directories: add DIR2-LIT directories to test_deepcheck.py (#948) 2010-02-23 23:54:33 -08:00
david-sarah
187d837c1d dirnode: add tests of literal dirnodes (current and fix for #948) 2010-02-23 20:33:45 -08:00
david-sarah
fec9185f2a Additional fix for abbrev_si, with test 2010-02-21 19:36:52 -08:00
david-sarah
d29ec184a6 Additions to test_web.py for #948 2010-02-21 18:53:52 -08:00
david-sarah
973f0afdd3 Change direct accesses to an_uri.storage_index to calls to .get_storage_index() (fixes #948) 2010-02-21 18:45:04 -08:00
david-sarah
6a7feea455 Tweak to 'tahoe ls --help' output (#837) 2010-02-23 19:02:31 -08:00
david-sarah
9741b9655f Test behaviour of 'tahoe ls' for unknown objects (#837) 2010-02-23 18:59:13 -08:00
david-sarah
03134eedb5 Improve behaviour of 'tahoe ls' for unknown objects, addressing kevan's comments 2010-02-19 22:13:13 -08:00
Zooko O'Whielacronx
b7c02488c8 docs: update relnotes.txt for v1.6.1 2010-02-23 22:57:55 -08:00
Zooko O'Whielacronx
8ac26a24ae docs: NEWS and relnotes-short.txt and CREDITS for v1.6.1 2010-02-23 22:52:31 -08:00
Brian Warner
625ad78877 misc/coverage.el: improve filename matching 2010-02-23 23:47:57 -05:00
Brian Warner
1de4d2c594 test_util.py: improve coverage of util.time_format 2010-02-23 23:46:37 -05:00
Brian Warner
8ba5363196 docs/performance.txt: split out CPU from network, expand on mutable costs 2010-02-23 23:38:13 -05:00
Brian Warner
cc2fcd700c docs/FTP: the Twisted patch (t3462) has landed, will be in the next release 2010-02-23 16:04:02 -05:00
Kevan Carstensen
81ad52d6eb Change OphandleTable to use a deterministic clock, so we can test it
To test the changes for #577, we need a deterministic way to simulate
the passage of long periods of time. twisted.internet.task.Clock seems,
from my Googling, to be the way to go for this functionality. I changed
a few things so that OphandleTable would use twisted.internet.task.Clock
when testing:

  * WebishServer.__init___ now takes an optional 'clock' parameter,
  * which it passes to the root.Root instance it creates.
  * root.Root.__init__ now takes an optional 'clock' parameter, which it
    passes to the OphandleTable.__init__ method.
  * OphandleTable.__init__ now takes an optional 'clock' parameter. If
    it is provided, and it isn't None, its callLater method will be used
    to schedule ophandle expirations (as opposed to using
    reactor.callLater, which is what OphandleTable does normally).
  * The WebMixin object in test_web.py now sets a self.clock parameter,
    which is a twisted.internet.task.Clock that it feeds to the 
    WebishServer it creates. 

Tests using the WebMixin can control the passage of time in
OphandleTable by accessing self.clock.
2010-02-20 13:07:13 -08:00
Kevan Carstensen
bcdc78bd44 Add tests for the ophandle expiration behavior in #577 2010-02-20 17:04:55 -08:00
Kevan Carstensen
09177a6e19 Update docs/frontends/webapi.txt to reflect the new expiration times in #577 2010-02-20 17:07:16 -08:00
Kevan Carstensen
e9b59a4949 Increase ophandle expiration times, per #577 2010-02-20 17:05:12 -08:00
david-sarah
85a50feeaa More cleanups to test_cli using new utilities for reading and writing files. 2010-02-05 17:38:55 -08:00
david-sarah
c984a09fe7 Fix race conditions and missing callback in allmydata.test.test_cli.Cp.test_copy_using_filecap, add utilities for one-liner reading and writing of files, and fix cases in test_cli where files were not being closed after writing. 2010-02-05 17:37:27 -08:00
Zooko O'Whielacronx
784b208708 setup: comment-out the dependency on pycrypto, see #953 2010-02-14 21:08:44 -08:00
Kevan Carstensen
c00a62a2e7 Add tests for #939 2010-02-11 22:21:37 -08:00
Kevan Carstensen
63c8c65747 Alter CLI utilities to handle nonexistent aliases better 2010-02-10 18:43:18 -08:00
Peter Secor
4143cd1786 adding pycrypto to the auto dependencies 2010-02-05 21:43:14 -08:00
Peter Secor
8f3246430b docs running.html - "tahoe run ." does not work with the current installation, replaced with "tahoe start ." 2010-02-06 08:53:20 -08:00
Brian Warner
4040b1000b web/storage.py: display total-seen on the last-complete-cycle line. For #940. 2010-02-07 16:20:10 -08:00
Brian Warner
880f824103 code coverage: replace figleaf with coverage.py, should work on py2.6 now.
It still lacks the right HTML report (the builtin report is very pretty, but
lacks the "lines uncovered" numbers that I want), and the half-finished
delta-from-last-run measurements.
2010-02-03 08:54:21 -08:00
david-sarah
210afd3e9e More comprehensive changes and ticket references for NEWS 2010-02-01 22:12:56 -08:00
Zooko O'Whielacronx
4d2c81d009 docs: install.html: link into Python 2.5.5 download page 2010-02-01 22:58:52 -08:00
Zooko O'Whielacronx
43c61100ed TAG allmydata-tahoe-1.6.0 2010-02-01 22:11:25 -08:00