Ticket #850: 850-fix-and-test.dpatch

File 850-fix-and-test.dpatch, 25.8 KB (added by francois, at 2009-12-06T14:57:48Z)
Line 
1Sun Dec  6 14:16:09 CET 2009  francois@ctrlaltdel.ch
2  * Fix #850, do not follow recursive symlinks
3
4New patches:
5
6[Fix #850, do not follow recursive symlinks
7francois@ctrlaltdel.ch**20091206131609
8 Ignore-this: aa42ad71aad1369dc58438b4086f403b
9] {
10hunk ./src/allmydata/scripts/tahoe_backup.py 161
11         for child in self.options.filter_listdir(os.listdir(localpath)):
12             childpath = os.path.join(localpath, child)
13             child = unicode(child)
14+
15+            # Skip recursive symlinks
16+            if os.path.islink(childpath) and os.readlink(childpath) == '.':
17+                self.verboseprint("recursive symlink skipped %s" % childpath)
18+                break
19+
20             if os.path.isdir(childpath):
21                 metadata = get_local_metadata(childpath)
22                 # recurse on the child directory
23hunk ./src/allmydata/test/test_cli.py 1291
24         _check_filtering(filtered, root_listdir, ('lib.a', '_darcs', 'subdir'),
25                          ('nice_doc.lyx',))
26 
27+    def test_recursive_symlink(self):
28+        self.basedir = "cli/Backup/recursive_symlink"
29+        self.set_up_grid()
30+        backupdir = os.path.join(self.basedir, 'backup')
31+        fileutil.make_dirs(backupdir)
32+
33+        # Create a self-referencing symlink
34+        os.symlink('.', os.path.join(backupdir, 'test'))
35+
36+        def do_backup(verbose=False):
37+            cmd = ["backup"]
38+            cmd.append(backupdir)
39+            cmd.append("tahoe:backups")
40+            return self.do_cli(*cmd)
41+
42+        d = self.do_cli("create-alias", "tahoe")
43+        d.addCallback(lambda res: do_backup())
44+        return d
45+
46 class Check(GridTestMixin, CLITestMixin, unittest.TestCase):
47 
48     def test_check(self):
49}
50
51Context:
52
53[remove MutableFileNode.download(), prefer download_best_version() instead
54Brian Warner <warner@lothar.com>**20091201225438
55 Ignore-this: 5733eb373a902063e09fd52cc858dec0
56] 
57[Simplify immutable download API: use just filenode.read(consumer, offset, size)
58Brian Warner <warner@lothar.com>**20091201225330
59 Ignore-this: bdedfb488ac23738bf52ae6d4ab3a3fb
60 
61 * remove Downloader.download_to_data/download_to_filename/download_to_filehandle
62 * remove download.Data/FileName/FileHandle targets
63 * remove filenode.download/download_to_data/download_to_filename methods
64 * leave Downloader.download (the whole Downloader will go away eventually)
65 * add util.consumer.MemoryConsumer/download_to_data, for convenience
66   (this is mostly used by unit tests, but it gets used by enough non-test
67    code to warrant putting it in allmydata.util)
68 * update tests
69 * removes about 180 lines of code. Yay negative code days!
70 
71 Overall plan is to rewrite immutable/download.py and leave filenode.read() as
72 the sole read-side API.
73] 
74[server.py: undo my bogus 'correction' of David-Sarah's comment fix
75Brian Warner <warner@lothar.com>**20091201024607
76 Ignore-this: ff4bb58f6a9e045b900ac3a89d6f506a
77 
78 and move it to a better line
79] 
80[Implement more coherent behavior when copying with dircaps/filecaps (closes #761). Patch by Kevan Carstensen.
81"Brian Warner <warner@lothar.com>"**20091130211009] 
82[storage.py: update comment
83"Brian Warner <warner@lothar.com>"**20091130195913] 
84[storage server: detect disk space usage on Windows too (fixes #637)
85david-sarah@jacaranda.org**20091121055644
86 Ignore-this: 20fb30498174ce997befac7701fab056
87] 
88[make status of finished operations consistently "Finished"
89david-sarah@jacaranda.org**20091121061543
90 Ignore-this: 97d483e8536ccfc2934549ceff7055a3
91] 
92[NEWS: update with all user-visible changes since the last release
93Brian Warner <warner@lothar.com>**20091127224217
94 Ignore-this: 741da6cd928e939fb6d21a61ea3daf0b
95] 
96[update "tahoe backup" docs, and webapi.txt's mkdir-with-children
97Brian Warner <warner@lothar.com>**20091127055900
98 Ignore-this: defac1fb9a2335b0af3ef9dbbcc67b7e
99] 
100[Add dirnodes to backupdb and "tahoe backup", closes #606.
101Brian Warner <warner@lothar.com>**20091126234257
102 Ignore-this: fa88796fcad1763c6a2bf81f56103223
103 
104 * backups now share dirnodes with any previous backup, in any location,
105   so renames and moves are handled very efficiently
106 * "tahoe backup" no longer bothers reading the previous snapshot
107 * if you switch grids, you should delete ~/.tahoe/private/backupdb.sqlite,
108   to force new uploads of all files and directories
109] 
110[webapi: fix t=check for DIR2-LIT (i.e. empty immutable directories)
111Brian Warner <warner@lothar.com>**20091126232731
112 Ignore-this: 8513c890525c69c1eca0e80d53a231f8
113] 
114[PipelineError: fix str() on python2.4 . Closes #842.
115Brian Warner <warner@lothar.com>**20091124212512
116 Ignore-this: e62c92ea9ede2ab7d11fe63f43b9c942
117] 
118[test_uri.py: s/NewDirnode/Dirnode/ , now that they aren't "new" anymore
119Brian Warner <warner@lothar.com>**20091120075553
120 Ignore-this: 61c8ef5e45a9d966873a610d8349b830
121] 
122[interface name cleanups: IFileNode, IImmutableFileNode, IMutableFileNode
123Brian Warner <warner@lothar.com>**20091120075255
124 Ignore-this: e3d193c229e2463e1d0b0c92306de27f
125 
126 The proper hierarchy is:
127  IFilesystemNode
128  +IFileNode
129  ++IMutableFileNode
130  ++IImmutableFileNode
131  +IDirectoryNode
132 
133 Also expand test_client.py (NodeMaker) to hit all IFilesystemNode types.
134] 
135[class name cleanups: s/FileNode/ImmutableFileNode/
136Brian Warner <warner@lothar.com>**20091120072239
137 Ignore-this: 4b3218f2d0e585c62827e14ad8ed8ac1
138 
139 also fix test/bench_dirnode.py for recent dirnode changes
140] 
141[Use DIR-IMM and t=mkdir-immutable for "tahoe backup", for #828
142Brian Warner <warner@lothar.com>**20091118192813
143 Ignore-this: a4720529c9bc6bc8b22a3d3265925491
144] 
145[web/directory.py: use "DIR-IMM" to describe immutable directories, not DIR-RO
146Brian Warner <warner@lothar.com>**20091118191832
147 Ignore-this: aceafd6ab4bf1cc0c2a719ef7319ac03
148] 
149[web/info.py: hush pyflakes
150Brian Warner <warner@lothar.com>**20091118191736
151 Ignore-this: edc5f128a2b8095fb20686a75747c8
152] 
153[make get_size/get_current_size consistent for all IFilesystemNode classes
154Brian Warner <warner@lothar.com>**20091118191624
155 Ignore-this: bd3449cf96e4827abaaf962672c1665a
156 
157 * stop caching most_recent_size in dirnode, rely upon backing filenode for it
158 * start caching most_recent_size in MutableFileNode
159 * return None when you don't know, not "?"
160 * only render None as "?" in the web "more info" page
161 * add get_size/get_current_size to UnknownNode
162] 
163[ImmutableDirectoryURIVerifier: fix verifycap handling
164Brian Warner <warner@lothar.com>**20091118164238
165 Ignore-this: 6bba5c717b54352262eabca6e805d590
166] 
167[Add t=mkdir-immutable to the webapi. Closes #607.
168Brian Warner <warner@lothar.com>**20091118070900
169 Ignore-this: 311e5fab9a5f28b9e8a28d3d08f3c0d
170 
171 * change t=mkdir-with-children to not use multipart/form encoding. Instead,
172   the request body is all JSON. t=mkdir-immutable uses this format too.
173 * make nodemaker.create_immutable_dirnode() get convergence from SecretHolder,
174   but let callers override it
175 * raise NotDeepImmutableError instead of using assert()
176 * add mutable= argument to DirectoryNode.create_subdirectory(), default True
177] 
178[move convergence secret into SecretHolder, next to lease secret
179Brian Warner <warner@lothar.com>**20091118015444
180 Ignore-this: 312f85978a339f2d04deb5bcb8f511bc
181] 
182[nodemaker: implement immutable directories (internal interface), for #607
183Brian Warner <warner@lothar.com>**20091112002233
184 Ignore-this: d09fccf41813fdf7e0db177ed9e5e130
185 
186 * nodemaker.create_from_cap() now handles DIR2-CHK and DIR2-LIT
187 * client.create_immutable_dirnode() is used to create them
188 * no webapi yet
189] 
190[stop using IURI()/etc as an adapter
191Brian Warner <warner@lothar.com>**20091111224542
192 Ignore-this: 9611da7ea6a4696de2a3b8c08776e6e0
193] 
194[clean up uri-vs-cap terminology, emphasize cap instances instead of URI strings
195Brian Warner <warner@lothar.com>**20091111222619
196 Ignore-this: 93626385f6e7f039ada71f54feefe267
197 
198  * "cap" means a python instance which encapsulates a filecap/dircap (uri.py)
199  * "uri" means a string with a "URI:" prefix
200  * FileNode instances are created with (and retain) a cap instance, and
201    generate uri strings on demand
202  * .get_cap/get_readcap/get_verifycap/get_repaircap return cap instances
203  * .get_uri/get_readonly_uri return uri strings
204 
205 * add filenode.download_to_filename() for control.py, should find a better way
206 * use MutableFileNode.init_from_cap, not .init_from_uri
207 * directory URI instances: use get_filenode_cap, not get_filenode_uri
208 * update/cleanup bench_dirnode.py to match, add Makefile target to run it
209] 
210[add parser for immutable directory caps: DIR2-CHK, DIR2-LIT, DIR2-CHK-Verifier
211Brian Warner <warner@lothar.com>**20091104181351
212 Ignore-this: 854398cc7a75bada57fa97c367b67518
213] 
214[wui: s/TahoeLAFS/Tahoe-LAFS/
215zooko@zooko.com**20091029035050
216 Ignore-this: 901e64cd862e492ed3132bd298583c26
217] 
218[tests: bump up the timeout on test_repairer to see if 120 seconds was too short for François's ARM box to do the test even when it was doing it right.
219zooko@zooko.com**20091027224800
220 Ignore-this: 95e93dc2e018b9948253c2045d506f56
221] 
222[dirnode.pack_children(): add deep_immutable= argument
223Brian Warner <warner@lothar.com>**20091026162809
224 Ignore-this: d5a2371e47662c4bc6eff273e8181b00
225 
226 This will be used by DIR2:CHK to enforce the deep-immutability requirement.
227] 
228[webapi: use t=mkdir-with-children instead of a children= arg to t=mkdir .
229Brian Warner <warner@lothar.com>**20091026011321
230 Ignore-this: 769cab30b6ab50db95000b6c5a524916
231 
232 This is safer: in the earlier API, an old webapi server would silently ignore
233 the initial children, and clients trying to set them would have to fetch the
234 newly-created directory to discover the incompatibility. In the new API,
235 clients using t=mkdir-with-children against an old webapi server will get a
236 clear error.
237] 
238[nodemaker.create_new_mutable_directory: pack_children() in initial_contents=
239Brian Warner <warner@lothar.com>**20091020005118
240 Ignore-this: bd43c4eefe06fd32b7492bcb0a55d07e
241 instead of creating an empty file and then adding the children later.
242 
243 This should speed up mkdir(initial_children) considerably, removing two
244 roundtrips and an entire read-modify-write cycle, probably bringing it down
245 to a single roundtrip. A quick test (against the volunteergrid) suggests a
246 30% speedup.
247 
248 test_dirnode: add new tests to enforce the restrictions that interfaces.py
249 claims for create_new_mutable_directory(): no UnknownNodes, metadata dicts
250] 
251[test_dirnode.py: add tests of initial_children= args to client.create_dirnode
252Brian Warner <warner@lothar.com>**20091017194159
253 Ignore-this: 2e2da28323a4d5d815466387914abc1b
254 and nodemaker.create_new_mutable_directory
255] 
256[update many dirnode interfaces to accept dict-of-nodes instead of dict-of-caps
257Brian Warner <warner@lothar.com>**20091017192829
258 Ignore-this: b35472285143862a856bf4b361d692f0
259 
260 interfaces.py: define INodeMaker, document argument values, change
261                create_new_mutable_directory() to take dict-of-nodes. Change
262                dirnode.set_nodes() and dirnode.create_subdirectory() too.
263 nodemaker.py: use INodeMaker, update create_new_mutable_directory()
264 client.py: have create_dirnode() delegate initial_children= to nodemaker
265 dirnode.py (Adder): take dict-of-nodes instead of list-of-nodes, which
266                     updates set_nodes() and create_subdirectory()
267 web/common.py (convert_initial_children_json): create dict-of-nodes
268 web/directory.py: same
269 web/unlinked.py: same
270 test_dirnode.py: update tests to match
271] 
272[dirnode.py: move pack_children() out to a function, for eventual use by others
273Brian Warner <warner@lothar.com>**20091017180707
274 Ignore-this: 6a823fb61f2c180fd38d6742d3196a7a
275] 
276[move dirnode.CachingDict to dictutil.AuxValueDict, generalize method names,
277Brian Warner <warner@lothar.com>**20091017180005
278 Ignore-this: b086933cf429df0fcea16a308d2640dd
279 improve tests. Let dirnode _pack_children accept either dict or AuxValueDict.
280] 
281[test/common.py: update FakeMutableFileNode to new contents= callable scheme
282Brian Warner <warner@lothar.com>**20091013052154
283 Ignore-this: 62f00a76454a2190d1c8641c5993632f
284] 
285[The initial_children= argument to nodemaker.create_new_mutable_directory is
286Brian Warner <warner@lothar.com>**20091013031922
287 Ignore-this: 72e45317c21f9eb9ec3bd79bd4311f48
288 now enabled.
289] 
290[client.create_mutable_file(contents=) now accepts a callable, which is
291Brian Warner <warner@lothar.com>**20091013031232
292 Ignore-this: 3c89d2f50c1e652b83f20bd3f4f27c4b
293 invoked with the new MutableFileNode and is supposed to return the initial
294 contents. This can be used by e.g. a new dirnode which needs the filenode's
295 writekey to encrypt its initial children.
296 
297 create_mutable_file() still accepts a bytestring too, or None for an empty
298 file.
299] 
300[webapi: t=mkdir now accepts initial children, using the same JSON that t=json
301Brian Warner <warner@lothar.com>**20091013023444
302 Ignore-this: 574a46ed46af4251abf8c9580fd31ef7
303 emits.
304 
305 client.create_dirnode(initial_children=) now works.
306] 
307[replace dirnode.create_empty_directory() with create_subdirectory(), which
308Brian Warner <warner@lothar.com>**20091013021520
309 Ignore-this: 6b57cb51bcfcc6058d0df569fdc8a9cf
310 takes an initial_children= argument
311] 
312[dirnode.set_children: change return value: fire with self instead of None
313Brian Warner <warner@lothar.com>**20091013015026
314 Ignore-this: f1d14e67e084e4b2a4e25fa849b0e753
315] 
316[dirnode.set_nodes: change return value: fire with self instead of None
317Brian Warner <warner@lothar.com>**20091013014546
318 Ignore-this: b75b3829fb53f7399693f1c1a39aacae
319] 
320[dirnode.set_children: take a dict, not a list
321Brian Warner <warner@lothar.com>**20091013002440
322 Ignore-this: 540ce72ce2727ee053afaae1ff124e21
323] 
324[dirnode.set_uri/set_children: change signature to take writecap+readcap
325Brian Warner <warner@lothar.com>**20091012235126
326 Ignore-this: 5df617b2d379a51c79148a857e6026b1
327 instead of a single cap. The webapi t=set_children call benefits too.
328] 
329[replace Client.create_empty_dirnode() with create_dirnode(), in anticipation
330Brian Warner <warner@lothar.com>**20091012224506
331 Ignore-this: cbdaa4266ecb3c6496ffceab4f95709d
332 of adding initial_children= argument.
333 
334 Includes stubbed-out initial_children= support.
335] 
336[test_web.py: use a less-fake client, making test harness smaller
337Brian Warner <warner@lothar.com>**20091012222808
338 Ignore-this: 29e95147f8c94282885c65b411d100bb
339] 
340[webapi.txt: document t=set_children, other small edits
341Brian Warner <warner@lothar.com>**20091009200446
342 Ignore-this: 4d7e76b04a7b8eaa0a981879f778ea5d
343] 
344[Verifier: check the full cryptext-hash tree on each share. Removed .todos
345Brian Warner <warner@lothar.com>**20091005221849
346 Ignore-this: 6fb039c5584812017d91725e687323a5
347 from the last few test_repairer tests that were waiting on this.
348] 
349[Verifier: check the full block-hash-tree on each share
350Brian Warner <warner@lothar.com>**20091005214844
351 Ignore-this: 3f7ccf6d253f32340f1bf1da27803eee
352 
353 Removed the .todo from two test_repairer tests that check this. The only
354 remaining .todos are on the three crypttext-hash-tree tests.
355] 
356[Verifier: check the full share-hash chain on each share
357Brian Warner <warner@lothar.com>**20091005213443
358 Ignore-this: 3d30111904158bec06a4eac22fd39d17
359 
360 Removed the .todo from two test_repairer tests that check this.
361] 
362[test_repairer: rename Verifier test cases to be more precise and less verbose
363Brian Warner <warner@lothar.com>**20091005201115
364 Ignore-this: 64be7094e33338c7c2aea9387e138771
365] 
366[immutable/checker.py: rearrange code a little bit, make it easier to follow
367Brian Warner <warner@lothar.com>**20091005200252
368 Ignore-this: 91cc303fab66faf717433a709f785fb5
369] 
370[test/common.py: wrap docstrings to 80cols so I can read them more easily
371Brian Warner <warner@lothar.com>**20091005200143
372 Ignore-this: b180a3a0235cbe309c87bd5e873cbbb3
373] 
374[immutable/download.py: wrap to 80cols, no functional changes
375Brian Warner <warner@lothar.com>**20091005192542
376 Ignore-this: 6b05fe3dc6d78832323e708b9e6a1fe
377] 
378[CHK-hashes.svg: cross out plaintext hashes, since we don't include
379Brian Warner <warner@lothar.com>**20091005010803
380 Ignore-this: bea2e953b65ec7359363aa20de8cb603
381 them (until we finish #453)
382] 
383[docs: a few licensing clarifications requested by Ubuntu
384zooko@zooko.com**20090927033226
385 Ignore-this: 749fc8c9aeb6dc643669854a3e81baa7
386] 
387[setup: remove binary WinFUSE modules
388zooko@zooko.com**20090924211436
389 Ignore-this: 8aefc571d2ae22b9405fc650f2c2062
390 I would prefer to have just source code, or indications of what 3rd-party packages are required, under revision control, and have the build process generate o
391 r acquire the binaries as needed.  Also, having these in our release tarballs is interfering with getting Tahoe-LAFS uploaded into Ubuntu Karmic.  (Technicall
392 y, they would accept binary modules as long as they came with the accompanying source so that they could satisfy their obligations under GPL2+ and TGPPL1+, bu
393 t it is easier for now to remove the binaries from the source tree.)
394 In this case, the binaries are from the tahoe-w32-client project: http://allmydata.org/trac/tahoe-w32-client , from which you can also get the source.
395] 
396[setup: remove binary _fusemodule.so 's
397zooko@zooko.com**20090924211130
398 Ignore-this: 74487bbe27d280762ac5dd5f51e24186
399 I would prefer to have just source code, or indications of what 3rd-party packages are required, under revision control, and have the build process generate or acquire the binaries as needed.  Also, having these in our release tarballs is interfering with getting Tahoe-LAFS uploaded into Ubuntu Karmic.  (Technically, they would accept binary modules as long as they came with the accompanying source so that they could satisfy their obligations under GPL2+ and TGPPL1+, but it is easier for now to remove the binaries from the source tree.)
400 In this case, these modules come from the MacFUSE project: http://code.google.com/p/macfuse/
401] 
402[doc: add a copy of LGPL2 for documentation purposes for ubuntu
403zooko@zooko.com**20090924054218
404 Ignore-this: 6a073b48678a7c84dc4fbcef9292ab5b
405] 
406[setup: remove a convenience copy of figleaf, to ease inclusion into Ubuntu Karmic Koala
407zooko@zooko.com**20090924053215
408 Ignore-this: a0b0c990d6e2ee65c53a24391365ac8d
409 We need to carefully document the licence of figleaf in order to get Tahoe-LAFS into Ubuntu Karmic Koala.  However, figleaf isn't really a part of Tahoe-LAFS per se -- this is just a "convenience copy" of a development tool.  The quickest way to make Tahoe-LAFS acceptable for Karmic then, is to remove figleaf from the Tahoe-LAFS tarball itself.  People who want to run figleaf on Tahoe-LAFS (as everyone should want) can install figleaf themselves.  I haven't tested this -- there may be incompatibilities between upstream figleaf and the copy that we had here...
410] 
411[setup: shebang for misc/build-deb.py to fail quickly
412zooko@zooko.com**20090819135626
413 Ignore-this: 5a1b893234d2d0bb7b7346e84b0a6b4d
414 Without this patch, when I ran "chmod +x ./misc/build-deb.py && ./misc/build-deb.py" then it hung indefinitely.  (I wonder what it was doing.)
415] 
416[docs: Shawn Willden grants permission for his contributions under GPL2+|TGPPL1+
417zooko@zooko.com**20090921164651
418 Ignore-this: ef1912010d07ff2ffd9678e7abfd0d57
419] 
420[docs: Csaba Henk granted permission to license fuse.py under the same terms as Tahoe-LAFS itself
421zooko@zooko.com**20090921154659
422 Ignore-this: c61ba48dcb7206a89a57ca18a0450c53
423] 
424[setup: mark setup.py as having utf-8 encoding in it
425zooko@zooko.com**20090920180343
426 Ignore-this: 9d3850733700a44ba7291e9c5e36bb91
427] 
428[doc: licensing cleanups
429zooko@zooko.com**20090920171631
430 Ignore-this: 7654f2854bf3c13e6f4d4597633a6630
431 Use nice utf-8 © instead of "(c)". Remove licensing statements on utility modules that have been assigned to allmydata.com by their original authors. (Nattraverso was not assigned to allmydata.com -- it was LGPL'ed -- but I checked and src/allmydata/util/iputil.py was completely rewritten and doesn't contain any line of code from nattraverso.)  Add notes to misc/debian/copyright about licensing on files that aren't just allmydata.com-licensed.
432] 
433[build-deb.py: run darcsver early, otherwise we get the wrong version later on
434Brian Warner <warner@lothar.com>**20090918033620
435 Ignore-this: 6635c5b85e84f8aed0d8390490c5392a
436] 
437[new approach for debian packaging, sharing pieces across distributions. Still experimental, still only works for sid.
438warner@lothar.com**20090818190527
439 Ignore-this: a75eb63db9106b3269badbfcdd7f5ce1
440] 
441[new experimental deb-packaging rules. Only works for sid so far.
442Brian Warner <warner@lothar.com>**20090818014052
443 Ignore-this: 3a26ad188668098f8f3cc10a7c0c2f27
444] 
445[setup.py: read _version.py and pass to setup(version=), so more commands work
446Brian Warner <warner@lothar.com>**20090818010057
447 Ignore-this: b290eb50216938e19f72db211f82147e
448 like "setup.py --version" and "setup.py --fullname"
449] 
450[test/check_speed.py: fix shbang line
451Brian Warner <warner@lothar.com>**20090818005948
452 Ignore-this: 7f3a37caf349c4c4de704d0feb561f8d
453] 
454[setup: remove bundled version of darcsver-1.2.1
455zooko@zooko.com**20090816233432
456 Ignore-this: 5357f26d2803db2d39159125dddb963a
457 That version of darcsver emits a scary error message when the darcs executable or the _darcs subdirectory is not found.
458 This error is hidden (unless the --loud option is passed) in darcsver >= 1.3.1.
459 Fixes #788.
460] 
461[de-Service-ify Helper, pass in storage_broker and secret_holder directly.
462Brian Warner <warner@lothar.com>**20090815201737
463 Ignore-this: 86b8ac0f90f77a1036cd604dd1304d8b
464 This makes it more obvious that the Helper currently generates leases with
465 the Helper's own secrets, rather than getting values from the client, which
466 is arguably a bug that will likely be resolved with the Accounting project.
467] 
468[immutable.Downloader: pass StorageBroker to constructor, stop being a Service
469Brian Warner <warner@lothar.com>**20090815192543
470 Ignore-this: af5ab12dbf75377640a670c689838479
471 child of the client, access with client.downloader instead of
472 client.getServiceNamed("downloader"). The single "Downloader" instance is
473 scheduled for demolition anyways, to be replaced by individual
474 filenode.download calls.
475] 
476[tests: double the timeout on test_runner.RunNode.test_introducer since feisty hit a timeout
477zooko@zooko.com**20090815160512
478 Ignore-this: ca7358bce4bdabe8eea75dedc39c0e67
479 I'm not sure if this is an actual timing issue (feisty is running on an overloaded VM if I recall correctly), or it there is a deeper bug.
480] 
481[stop making History be a Service, it wasn't necessary
482Brian Warner <warner@lothar.com>**20090815114415
483 Ignore-this: b60449231557f1934a751c7effa93cfe
484] 
485[Overhaul IFilesystemNode handling, to simplify tests and use POLA internally.
486Brian Warner <warner@lothar.com>**20090815112846
487 Ignore-this: 1db1b9c149a60a310228aba04c5c8e5f
488 
489 * stop using IURI as an adapter
490 * pass cap strings around instead of URI instances
491 * move filenode/dirnode creation duties from Client to new NodeMaker class
492 * move other Client duties to KeyGenerator, SecretHolder, History classes
493 * stop passing Client reference to dirnode/filenode constructors
494   - pass less-powerful references instead, like StorageBroker or Uploader
495 * always create DirectoryNodes by wrapping a filenode (mutable for now)
496 * remove some specialized mock classes from unit tests
497 
498 Detailed list of changes (done one at a time, then merged together)
499 
500 always pass a string to create_node_from_uri(), not an IURI instance
501 always pass a string to IFilesystemNode constructors, not an IURI instance
502 stop using IURI() as an adapter, switch on cap prefix in create_node_from_uri()
503 client.py: move SecretHolder code out to a separate class
504 test_web.py: hush pyflakes
505 client.py: move NodeMaker functionality out into a separate object
506 LiteralFileNode: stop storing a Client reference
507 immutable Checker: remove Client reference, it only needs a SecretHolder
508 immutable Upload: remove Client reference, leave SecretHolder and StorageBroker
509 immutable Repairer: replace Client reference with StorageBroker and SecretHolder
510 immutable FileNode: remove Client reference
511 mutable.Publish: stop passing Client
512 mutable.ServermapUpdater: get StorageBroker in constructor, not by peeking into Client reference
513 MutableChecker: reference StorageBroker and History directly, not through Client
514 mutable.FileNode: removed unused indirection to checker classes
515 mutable.FileNode: remove Client reference
516 client.py: move RSA key generation into a separate class, so it can be passed to the nodemaker
517 move create_mutable_file() into NodeMaker
518 test_dirnode.py: stop using FakeClient mockups, use NoNetworkGrid instead. This simplifies the code, but takes longer to run (17s instead of 6s). This should come down later when other cleanups make it possible to use simpler (non-RSA) fake mutable files for dirnode tests.
519 test_mutable.py: clean up basedir names
520 client.py: move create_empty_dirnode() into NodeMaker
521 dirnode.py: get rid of DirectoryNode.create
522 remove DirectoryNode.init_from_uri, refactor NodeMaker for customization, simplify test_web's mock Client to match
523 stop passing Client to DirectoryNode, make DirectoryNode.create_with_mutablefile the normal DirectoryNode constructor, start removing client from NodeMaker
524 remove Client from NodeMaker
525 move helper status into History, pass History to web.Status instead of Client
526 test_mutable.py: fix minor typo
527] 
528[docs: edits for docs/running.html from Sam Mason
529zooko@zooko.com**20090809201416
530 Ignore-this: 2207e80449943ebd4ed50cea57c43143
531] 
532[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
533zooko@zooko.com**20090804123840
534 Ignore-this: 49da654f19d377ffc5a1eff0c820e026
535 http://allmydata.org/pipermail/tahoe-dev/2009-August/002507.html
536] 
537[docs: relnotes.txt: reflow to 63 chars wide because google groups and some web forms seem to wrap to that
538zooko@zooko.com**20090802135016
539 Ignore-this: 53b1493a0491bc30fb2935fad283caeb
540] 
541[docs: about.html: fix English usage noticed by Amber
542zooko@zooko.com**20090802050533
543 Ignore-this: 89965c4650f9bd100a615c401181a956
544] 
545[docs: fix mis-spelled word in about.html
546zooko@zooko.com**20090802050320
547 Ignore-this: fdfd0397bc7cef9edfde425dddeb67e5
548] 
549[TAG allmydata-tahoe-1.5.0
550zooko@zooko.com**20090802031303
551 Ignore-this: 94e5558e7225c39a86aae666ea00f166
552] 
553Patch bundle hash:
5548f27e628082dec120679e4153416f366acdc17ff