Commit Graph

430 Commits

Author SHA1 Message Date
Brian Warner
9901a08fd3 Add dirnodes to backupdb and "tahoe backup", closes #606.
* backups now share dirnodes with any previous backup, in any location,
  so renames and moves are handled very efficiently
* "tahoe backup" no longer bothers reading the previous snapshot
* if you switch grids, you should delete ~/.tahoe/private/backupdb.sqlite,
  to force new uploads of all files and directories
2009-11-26 15:42:57 -08:00
Brian Warner
6e7fb1006d Use DIR-IMM and t=mkdir-immutable for "tahoe backup", for #828 2009-11-18 11:28:13 -08:00
Brian Warner
f85690697a Add t=mkdir-immutable to the webapi. Closes #607.
* change t=mkdir-with-children to not use multipart/form encoding. Instead,
  the request body is all JSON. t=mkdir-immutable uses this format too.
* make nodemaker.create_immutable_dirnode() get convergence from SecretHolder,
  but let callers override it
* raise NotDeepImmutableError instead of using assert()
* add mutable= argument to DirectoryNode.create_subdirectory(), default True
2009-11-17 23:09:00 -08:00
Brian Warner
768c76aa5f webapi: use t=mkdir-with-children instead of a children= arg to t=mkdir .
This is safer: in the earlier API, an old webapi server would silently ignore
the initial children, and clients trying to set them would have to fetch the
newly-created directory to discover the incompatibility. In the new API,
clients using t=mkdir-with-children against an old webapi server will get a
clear error.
2009-10-25 18:13:21 -07:00
Brian Warner
b30041c5ec webapi: t=mkdir now accepts initial children, using the same JSON that t=json
emits.

client.create_dirnode(initial_children=) now works.
2009-10-12 19:34:44 -07:00
Brian Warner
f03e87d081 webapi.txt: document t=set_children, other small edits 2009-10-09 13:04:46 -07:00
Brian Warner
7ef99c5e33 CHK-hashes.svg: cross out plaintext hashes, since we don't include
them (until we finish #453)
2009-10-04 18:08:03 -07:00
Zooko O'Whielacronx
ffd5135fed docs: edits for docs/running.html from Sam Mason 2009-08-09 13:14:16 -07:00
Zooko O'Whielacronx
0e8b299588 docs: install.html: instruct Debian users to use this document and not to go find the DownloadDebianPackages page, ignore the warning at the top of it, and try it
http://allmydata.org/pipermail/tahoe-dev/2009-August/002507.html
2009-08-04 05:38:40 -07:00
Zooko O'Whielacronx
d494ff24c7 docs: about.html: fix English usage noticed by Amber 2009-08-01 22:05:33 -07:00
Zooko O'Whielacronx
200f7f5cb3 docs: fix mis-spelled word in about.html 2009-08-01 22:03:20 -07:00
Zooko O'Whielacronx
5b84dde946 docs: update install.html to point to 1.5.0 and edit the instructions (broadening the recommendation on Python versions to bless >= v2.4.2 <= v2.6.x) 2009-08-01 20:05:23 -07:00
Zooko O'Whielacronx
2a63fc9159 docs: update relnotes.txt, relnotes-short.txt, and others documentation bits for v1.5.0 release! 2009-08-01 19:57:10 -07:00
Zooko O'Whielacronx
a12ca6e228 docs: about.html: edit (hopefully improve) the "What Makes Tahoe-LAFS Different" copy 2009-08-01 19:27:33 -07:00
Brian Warner
ad45511156 ftpd: update docs, point to Twisted ticket for the proposed patch 2009-07-31 11:32:26 -07:00
Shawn Willden
3782c27ac5 Lossmodel updates
Various improvements to the lossmodel, plus addition of README.lossmodel
that provides a link to the PDF.
2009-07-28 15:44:30 -07:00
Zooko O'Whielacronx
e42d180ad7 docs: remove extra <h1> from install.html (thanks, David-Sarah Hopwood) 2009-07-26 07:24:36 -07:00
Zooko O'Whielacronx
4ff97e6fbc docs: mention pywin32 earlier 2009-07-26 06:34:52 -07:00
Zooko O'Whielacronx
70beaeea43 docs: introducing "provider-independent security"; Nathan Wilcox gave me good advice on how to be more specific in terminology when making security claims so as not fit in with the background noise of overblown and indefensible claims that is always buzzing in the security world 2009-07-21 20:17:50 -07:00
Zooko O'Whielacronx
20fe8cdac4 docs: edit about.html, add P.S. about expansion of LAFS, add Andrew Orlowski to media list 2009-07-21 19:24:30 -07:00
Zooko O'Whielacronx
20ae6bdc57 docs: update NEWS, about.html, relnotes-short.txt, and known_issues.txt in preparation for v1.5.0
Especially note that strong claims of specialness that I've added, e.g. in about.html .
2009-07-21 16:43:11 -07:00
Zooko O'Whielacronx
abd2ff6ba5 docs: a couple of minor edits to NEWS and docs/architecture.txt 2009-07-20 18:41:12 -07:00
Brian Warner
bf1e61c8f3 Touch up #705 changes:
webapi.txt: clarify replace=only-files argument, mention replace= on POST t=uri
 test_cli.py: insert whitespace between logical operations
 web.common.parse_replace_arg: make it case-insensitive, to match the docs
2009-07-20 11:38:03 -04:00
kevan
3a9f1f2952 Update webapi docs to reference new PUT behavior. 2009-07-19 20:44:47 -07:00
Brian Warner
9b18930c2f docs/backupdb.txt: small fixes, thanks to David Triendl 2009-07-19 18:04:56 -07:00
Brian Warner
5501983f5f proposed/mutable-DSA.txt: add some new design criteria 2009-07-11 14:25:00 +01:00
Brian Warner
ef1b6ae8e3 Tolerate unknown URI types in directory structures. Part of #683.
The idea is that future versions of Tahoe will add new URI types that this
version won't recognize, but might store them in directories that we *can*
read. We should handle these "objects from the future" as best we can.
Previous releases of Tahoe would just explode. With this change, we'll
continue to be able to work with everything else in the directory.

The code change is to wrap anything we don't recognize as an UnknownNode
instance (as opposed to a FileNode or DirectoryNode). Then webapi knows how
to render these (mostly by leaving fields blank), deep-check knows to skip
over them, deep-stats counts them in "count-unknown". You can rename and
delete these things, but you can't add new ones (because we wouldn't know how
to generate a readcap to put into the dirnode's rocap slot, and because this
lets us catch typos better).
2009-07-02 18:07:49 -07:00
Brian Warner
2c0f418cc0 add docs/proposed/GridID.txt (cleaning out some of my old branches) 2009-06-21 12:12:04 -07:00
Zooko O'Whielacronx
5390f3ea4f docs: remove warning about inability to build modules on py2.6 on Windows with mingw, differentiate between clients and servers, reflow to a consistent column width (79), add hint about firewall/NAT docs. 2009-06-21 10:50:05 -07:00
Zooko O'Whielacronx
3db5de5846 setup: edit install.html to warn Windows users away from Python v2.6 2009-06-11 15:55:06 -07:00
Zooko O'Whielacronx
8c18ac38a9 backup: remove the --no-backupdb command, the handling of "can't import sqlite", and the related tests, and change an error message to more correctly indicate failure to load the database from disk rather than failure to import sqlite module
Fixes #728.
2009-06-04 10:31:31 -07:00
Zooko O'Whielacronx
9a02f4a104 docs: small edit to about.html 2009-05-28 16:34:22 -07:00
Zooko O'Whielacronx
78a98d2ad8 docs: add links to Tahoe-LAFS for Paranoids and Tahoe-LAFS for Corporates in about.html 2009-05-28 16:27:17 -07:00
Zooko O'Whielacronx
078c755ee8 docs: edit about.html and include network-and-reliance-topology.png (loaded from http://allmydata.org ) 2009-05-27 08:09:16 -07:00
Zooko O'Whielacronx
ed71e2b8a8 docs: a few more edits to network-and-reliance-topology.svg 2009-05-27 08:04:58 -07:00
Zooko O'Whielacronx
a799dd66fc docs: update network-and-reliance-topology.svg for beauty and clarity 2009-05-26 20:11:23 -07:00
Zooko O'Whielacronx
a19c5e659e docs: network-and-reliance-topology.svg: nicer server icons, mv out of the "specifications" subdir 2009-05-26 09:58:42 -07:00
Zooko O'Whielacronx
1e77e961a2 docs: update network-and-reliance-topology.svg 2009-05-26 09:31:05 -07:00
Brian Warner
591d0fb5fb accounting-overview.txt: more edits 2009-05-23 12:03:59 -07:00
Brian Warner
b94012ed05 accounting-overview.txt: small edits 2009-05-23 11:40:11 -07:00
Zooko O'Whielacronx
e7e13958c2 docs: add a diagram that I'm about to show to the Boulder Linux Users Group: network-and-reliance-topology.svg 2009-05-14 16:20:59 -07:00
Zooko O'Whielacronx
5c6145c695 docs: how_to_make_a_tahoe_release.txt: a couple of small edits 2009-05-07 14:49:32 -07:00
Zooko O'Whielacronx
8c687c78da docs: inaugurate Tahoe-1.4.1, since I left out a handful of patches from the Tahoe-1.4.0 release 2009-04-13 19:54:30 -07:00
Zooko O'Whielacronx
0b2d036fd5 docs: add "darcs pull" to how_to_make_a_tahoe_release.txt, and renumber 2009-04-13 19:43:42 -07:00
Zooko O'Whielacronx
79b6706038 docs: add note about pywin32 to install.html 2009-04-13 11:52:10 -07:00
Zooko O'Whielacronx
a2f34b4e1a docs: a few edits/updates about dirnodes 2009-04-13 09:08:37 -07:00
Zooko O'Whielacronx
9ccdb05e00 docs: change install.html to point to the 1.4.0 release zip file instead of 1.3.0 2009-04-13 09:06:49 -07:00
Zooko O'Whielacronx
4581b23333 docs: edit install.html regarding versions of Python 2009-04-13 09:06:12 -07:00
Zooko O'Whielacronx
6d31501275 docs: some small edits to install.html 2009-04-13 09:04:14 -07:00
Zooko O'Whielacronx
66ccf0e426 docs: update relnotes.txt, NEWS for Tahoe-1.4.0 release! 2009-04-12 21:14:05 -07:00