1 | Sun Jul 19 20:43:18 PDT 2009 kevan@isnotajoke.com |
---|
2 | * Alter Adder + Adder tests to look for 'only-files' instead of 'only_files' |
---|
3 | |
---|
4 | New patches: |
---|
5 | |
---|
6 | [Alter Adder + Adder tests to look for 'only-files' instead of 'only_files' |
---|
7 | kevan@isnotajoke.com**20090720034318 |
---|
8 | Ignore-this: 65d66133f4db6c082e716864bc273e13 |
---|
9 | ] { |
---|
10 | hunk ./src/allmydata/dirnode.py 102 |
---|
11 | if not self.overwrite: |
---|
12 | raise ExistingChildError("child '%s' already exists" % name) |
---|
13 | |
---|
14 | - if self.overwrite == "only_files" and IDirectoryNode.providedBy(children[name][0]): |
---|
15 | + if self.overwrite == "only-files" and IDirectoryNode.providedBy(children[name][0]): |
---|
16 | raise ExistingChildError("child '%s' already exists" % name) |
---|
17 | metadata = children[name][1].copy() |
---|
18 | else: |
---|
19 | hunk ./src/allmydata/test/test_dirnode.py 970 |
---|
20 | return d |
---|
21 | |
---|
22 | class Adder(unittest.TestCase, |
---|
23 | - testutil.ShouldFailMixin, testutil.StallMixin, ErrorMixin): |
---|
24 | + testutil.ShouldFailMixin, testutil.StallMixin, ErrorMixin): |
---|
25 | |
---|
26 | def setUp(self): |
---|
27 | self.client = FakeClient() |
---|
28 | hunk ./src/allmydata/test/test_dirnode.py 986 |
---|
29 | # root/file2 |
---|
30 | # root/dir1 |
---|
31 | d = root_node.add_file(u'file1', upload.Data("Important Things", |
---|
32 | - None)) |
---|
33 | + None)) |
---|
34 | d.addCallback(lambda res: |
---|
35 | hunk ./src/allmydata/test/test_dirnode.py 988 |
---|
36 | - root_node.add_file(u'file2', upload.Data("Sekrit Codes", |
---|
37 | - None))) |
---|
38 | + root_node.add_file(u'file2', upload.Data("Sekrit Codes", None))) |
---|
39 | d.addCallback(lambda res: |
---|
40 | root_node.create_empty_directory(u"dir1")) |
---|
41 | d.addCallback(lambda res: root_node) |
---|
42 | hunk ./src/allmydata/test/test_dirnode.py 998 |
---|
43 | |
---|
44 | def _test_adder(root_node): |
---|
45 | d = root_node.set_node(u'file1', filenode) |
---|
46 | - |
---|
47 | # We've overwritten file1. Let's try it with a directory |
---|
48 | d.addCallback(lambda res: |
---|
49 | root_node.create_empty_directory(u'dir2')) |
---|
50 | hunk ./src/allmydata/test/test_dirnode.py 1001 |
---|
51 | - |
---|
52 | d.addCallback(lambda res: |
---|
53 | root_node.set_node(u'dir2', filenode)) |
---|
54 | hunk ./src/allmydata/test/test_dirnode.py 1003 |
---|
55 | - |
---|
56 | # We try overwriting a file with a child while also specifying |
---|
57 | # overwrite=False. We should receive an ExistingChildError |
---|
58 | # when we do this. |
---|
59 | hunk ./src/allmydata/test/test_dirnode.py 1011 |
---|
60 | "child 'file1' already exists", |
---|
61 | root_node.set_node, u"file1", |
---|
62 | filenode, overwrite=False)) |
---|
63 | - |
---|
64 | # If we try with a directory, we should see the same thing |
---|
65 | d.addCallback(lambda res: |
---|
66 | self.shouldFail(ExistingChildError, "set_node", |
---|
67 | hunk ./src/allmydata/test/test_dirnode.py 1017 |
---|
68 | "child 'dir1' already exists", |
---|
69 | root_node.set_node, u'dir1', filenode, |
---|
70 | overwrite=False)) |
---|
71 | - |
---|
72 | d.addCallback(lambda res: |
---|
73 | root_node.set_node(u'file1', filenode, |
---|
74 | hunk ./src/allmydata/test/test_dirnode.py 1019 |
---|
75 | - overwrite="only_files")) |
---|
76 | - |
---|
77 | + overwrite="only-files")) |
---|
78 | d.addCallback(lambda res: |
---|
79 | self.shouldFail(ExistingChildError, "set_node", |
---|
80 | "child 'dir1' already exists", |
---|
81 | hunk ./src/allmydata/test/test_dirnode.py 1024 |
---|
82 | root_node.set_node, u'dir1', filenode, |
---|
83 | - overwrite="only_files")) |
---|
84 | + overwrite="only-files")) |
---|
85 | return d |
---|
86 | |
---|
87 | d.addCallback(_test_adder) |
---|
88 | } |
---|
89 | |
---|
90 | Context: |
---|
91 | |
---|
92 | [directories: minor change: fix warning message from the benchmarking script |
---|
93 | zooko@zooko.com**20090720002114 |
---|
94 | Ignore-this: 89498e477a70fe9f7d204b592c81785e |
---|
95 | ] |
---|
96 | [Add unit tests for the Adder in dirnode.py |
---|
97 | kevan@isnotajoke.com**20090718195049 |
---|
98 | Ignore-this: 93434af3656249962cf9bc6d7ac5bc01 |
---|
99 | ] |
---|
100 | [Add 'only_files' option to the overwrite field in Adder |
---|
101 | kevan@isnotajoke.com**20090718030010 |
---|
102 | Ignore-this: 56605f6740f692549acdd9b236ce6443 |
---|
103 | ] |
---|
104 | [rename NewDirectoryNode to DirectoryNode, NewDirectoryURI to DirectoryURI |
---|
105 | Brian Warner <warner@lothar.com>**20090717221549 |
---|
106 | Ignore-this: 5e6226e8d9fba824bf45f67ea5821e0e |
---|
107 | ] |
---|
108 | [interfaces: remove dead code, FileNode_ and EncryptedThing constraints |
---|
109 | Brian Warner <warner@lothar.com>**20090717221139 |
---|
110 | Ignore-this: d4faaa37a6d9fbc70e40c43067385582 |
---|
111 | ] |
---|
112 | [introduction/storage-broker: add assertions of serverids being the right type and of internal consistency between the number of storage servers known and the number of storage servers |
---|
113 | zooko@zooko.com**20090717135221 |
---|
114 | Ignore-this: a315123bcea8eb0eb13172b0919d8753 |
---|
115 | ] |
---|
116 | [upload: fix #758 recursion-loop in peer-selection when servers report errors. |
---|
117 | Brian Warner <warner@lothar.com>**20090717050709 |
---|
118 | Ignore-this: 9c28ef13649c4475ede23815b69e51fd |
---|
119 | The bug was in the code that handles a third-or-later pass, and was |
---|
120 | previously untested. |
---|
121 | ] |
---|
122 | [setup: clarify the way that we host two directories of dependencies: one is source distributions and the other is binary distributions |
---|
123 | zooko@zooko.com**20090716160657 |
---|
124 | Ignore-this: 500ef010bc7163ecff86b36461057835 |
---|
125 | ] |
---|
126 | ['tahoe stats': tolerate empty directories. Closes #693. |
---|
127 | Brian Warner <warner@lothar.com>**20090715075109 |
---|
128 | Ignore-this: a713325132e05d5d122111f978fe5e14 |
---|
129 | ] |
---|
130 | [node.py: record pid in twisted log at startup. Closes #476. |
---|
131 | Brian Warner <warner@lothar.com>**20090715072929 |
---|
132 | Ignore-this: c9054bbf0e114659ac49419e7c658ab6 |
---|
133 | ] |
---|
134 | [Allow tests to pass with -OO by turning some AssertionErrors (the ones that |
---|
135 | Brian Warner <warner@lothar.com>**20090715064510 |
---|
136 | Ignore-this: db08d38b720a5260b5d1dc6d6a9878c1 |
---|
137 | we actually exercise during tests) into more specific exceptions, so they |
---|
138 | don't get optimized away. The best rule to follow is probably this: if an |
---|
139 | exception is worth testing, then it's part of the API, and AssertionError |
---|
140 | should never be part of the API. Closes #749. |
---|
141 | ] |
---|
142 | [setup: tell build to search a directory (hosted on allmydata.org) which contains eggs |
---|
143 | zooko@zooko.com**20090715025246 |
---|
144 | Ignore-this: 1fb41208f777862cc387c3995b01acc |
---|
145 | ] |
---|
146 | [wui: fix test for welcome page |
---|
147 | zooko@zooko.com**20090715033429 |
---|
148 | Ignore-this: b36d18be67d873b6d59cd11a849ae627 |
---|
149 | ] |
---|
150 | [wui: adjust headers/titles and "Attach something to this directory" text in accordance with #691 |
---|
151 | zooko@zooko.com**20090715025814 |
---|
152 | Ignore-this: b7ab31947bdadc8c7c56f5037275de71 |
---|
153 | Also name it as "TahoeLAFS" in this text. |
---|
154 | ] |
---|
155 | [mac: emit the stdout and stderr from a failed call to Allmydata (this is very useful diagnostic info) |
---|
156 | zooko@zooko.com**20090715014338 |
---|
157 | Ignore-this: f34de1aabfc94026fc6ecdaf92748342 |
---|
158 | ] |
---|
159 | [mac: improve shutdown and clean-up after the test of the macintosh packaging |
---|
160 | zooko@zooko.com**20090714122655 |
---|
161 | Ignore-this: f2ba2ca7d16173c8c45a9a1411d419c |
---|
162 | ] |
---|
163 | [setup: add "test_mac_diskimage" command which attempts to mount and use a .dmg to make sure it has a good Tahoe distribution in it |
---|
164 | zooko@zooko.com**20090712230940 |
---|
165 | Ignore-this: e889aaf49699429afeb211f7403fec74 |
---|
166 | ] |
---|
167 | [dirnode: finish renaming "iv" to "salt" in the code and the hash tag |
---|
168 | zooko@zooko.com**20090713001320 |
---|
169 | Ignore-this: 10e41a10934f9748fd55b68f54779824 |
---|
170 | ] |
---|
171 | [dirnode.py/_encrypt_rwcap: rename IV to "salt", which is more accurate |
---|
172 | Brian Warner <warner@lothar.com>**20090712235025 |
---|
173 | Ignore-this: 1b8d6a4e8667655f52abe2b3be46a0ed |
---|
174 | ] |
---|
175 | [dirnode.py: security bug: also use child writecap to derive child enc key, |
---|
176 | Brian Warner <warner@lothar.com>**20090712234750 |
---|
177 | Ignore-this: 13867ebc123b521df60e4013b75716e |
---|
178 | not just the dirnode writecap. The previous code (which only hashed the |
---|
179 | dirnode writecap) would use the same key for all children, which is very bad. |
---|
180 | This is the correct implementation of #750. |
---|
181 | ] |
---|
182 | [NEWS: update with all recent changes |
---|
183 | Brian Warner <warner@lothar.com>**20090711234703 |
---|
184 | Ignore-this: 8d96344b0e4634186a63b4a8941254a1 |
---|
185 | ] |
---|
186 | [proposed/mutable-DSA.txt: add some new design criteria |
---|
187 | Brian Warner <warner@lothar.com>**20090711132500 |
---|
188 | Ignore-this: d7519fd9bbcadc331f9843c33dce0d44 |
---|
189 | ] |
---|
190 | [Use CachingDict instead of dict in dirnode.py |
---|
191 | kevan@isnotajoke.com**20090704034301 |
---|
192 | Ignore-this: 53f12260176a5170b3599eda54f38e98 |
---|
193 | ] |
---|
194 | [directories: fix semantic conflict between my "keep track of position" optimization patch and Kevan's "cache serialized entries" optimization patch |
---|
195 | zooko@zooko.com**20090710032028 |
---|
196 | Ignore-this: 46f8b00fd3eca4adf89dec437e65d696 |
---|
197 | ] |
---|
198 | [Modify bench_dirnode.py to use CachingDict. |
---|
199 | kevan@isnotajoke.com**20090705223142 |
---|
200 | Ignore-this: 9ba62a16fd37ef281368715a887fd9f8 |
---|
201 | ] |
---|
202 | [Add tests for CachingDict, _pack_contents, _unpack_contents |
---|
203 | kevan@isnotajoke.com**20090704034328 |
---|
204 | Ignore-this: 12f3e989244288c211ba393d3a205111 |
---|
205 | ] |
---|
206 | [trivial: removed unused import noticed by pyflakes |
---|
207 | zooko@zooko.com**20090709130513 |
---|
208 | Ignore-this: 63257c9e8481fdcf617f04cc48d95d03 |
---|
209 | ] |
---|
210 | [directories: make the IV for the writecaps in directory entries be computed from the secure hash of the writecap itself |
---|
211 | zooko@zooko.com**20090705024815 |
---|
212 | Ignore-this: cb9cc29f8f0687f2545e95d5b7b42d44 |
---|
213 | This makes encoding of directory entries deterministic, and it is also a tad faster on Macbook Pro than getting a random IV with os.urandom(16). |
---|
214 | ] |
---|
215 | [tests: raise the timeout on pollmixin from 100s to 1000s -- it looks like it may have triggered too eagerly on Zandr's 266 MHz armel |
---|
216 | zooko@zooko.com**20090709044729 |
---|
217 | Ignore-this: 838b870798dc0f793979398ed4a18c2e |
---|
218 | ] |
---|
219 | [setup: add sys.maxunicode to the show-tool-versions output in order to investigate http://bugs.python.org/setuptools/issue78 |
---|
220 | zooko@zooko.com**20090709004533 |
---|
221 | Ignore-this: dce4420d5c626258e1033d924e506de2 |
---|
222 | ] |
---|
223 | [immutable: base32-encode the keys to generate cache filenames that will work on all platforms |
---|
224 | zooko@zooko.com**20090708152633 |
---|
225 | Ignore-this: 782b615c4c35629fee618b39a7175321 |
---|
226 | ] |
---|
227 | [directories: make initialization of the download cache lazy |
---|
228 | zooko@zooko.com**20090708004040 |
---|
229 | Ignore-this: 3c3714ccc09ae1de811664d52211e143 |
---|
230 | If you open up a directory containing thousands of files, it currently computes the cache filename and checks for the cache file on disk immediately for each immutble file in that directory. With this patch, it delays those steps until you try to do something with an immutable file that could use the cache. |
---|
231 | ] |
---|
232 | [Add CachingDict dict subclass to dirnode.py |
---|
233 | kevan@isnotajoke.com**20090705212345 |
---|
234 | Ignore-this: 484bdcecbc1ae25e04bf659abcfcf834 |
---|
235 | ] |
---|
236 | [directories: rename internal data member download_cache to download_cache_dirman (benchmarks set this internal member and use the new name, so changing this makes the bench_dirnode.py work again) |
---|
237 | zooko@zooko.com**20090707143404 |
---|
238 | Ignore-this: c77f189a864d517c28a54a4cfce8c0a2 |
---|
239 | ] |
---|
240 | [directories: keep track of your position as you decode netstring after netstring from an input buffer instead of copying the trailing part |
---|
241 | zooko@zooko.com**20090705025109 |
---|
242 | Ignore-this: bee1ae76060fbc920bddb6e839b7dd1a |
---|
243 | This makes decoding linear in the number of netstrings instead of O(N^2). |
---|
244 | ] |
---|
245 | [directories: in bench_dirnode.py, use a real CacheDirectoryManager instead of a fake one (because CacheDirectoryManager is a significant user of CPU and/or time) |
---|
246 | zooko@zooko.com**20090707034119 |
---|
247 | Ignore-this: 207a2dc346ca2c01dc7b341e88a0ca0a |
---|
248 | ] |
---|
249 | [directories: make the profiling behavior of bench_dirnode.py accessible by adding '--profile' to the cmdline |
---|
250 | zooko@zooko.com**20090707033035 |
---|
251 | Ignore-this: 159c36ac1cafaa4e9a6239025ef9d57b |
---|
252 | ] |
---|
253 | [setup: increase requirement on pycryptopp to >= 0.5.15 |
---|
254 | zooko@zooko.com**20090706140815 |
---|
255 | Ignore-this: f3839c7c1f9ebff1fcf2eea47ed3c48b |
---|
256 | ] |
---|
257 | [directories: update the directory benchmarks to exercise the unpack-and-repack functionality, and add optional profiling |
---|
258 | zooko@zooko.com**20090705162953 |
---|
259 | Ignore-this: 4a1b11c9b1880772c923b3c03e10770b |
---|
260 | ] |
---|
261 | [test/benchmark: benchmark the time to pack and unpack dirnodes |
---|
262 | zooko@zooko.com**20090704224300 |
---|
263 | Ignore-this: cd8f6a6ded44a3f6f102f9cd0b60ca62 |
---|
264 | See also the prof_benchmarks() function in this file which will run the benchmarks under profiling. |
---|
265 | ] |
---|
266 | [setup: the mac-exe build (using py2app) requires macholib>=1.2. |
---|
267 | zooko@zooko.com**20090703175702 |
---|
268 | Ignore-this: ea489a5076f2c9f20f6bfd2807cc5680 |
---|
269 | Here is someone else's description of this problem: |
---|
270 | http://rtmpy.org/ticket/7 |
---|
271 | ] |
---|
272 | [clean up debian packaging: we have control files for etch/lenny/sid, and |
---|
273 | "Brian Warner <warner@lothar.com>"**20090703072804 |
---|
274 | everything else uses one of those. Add dependency on python-pysqlite2 for |
---|
275 | platforms that use py2.4 by default. Update foolscap dependency to 0.4.1. |
---|
276 | ] |
---|
277 | [update NEWS to cover all recent changes, sort by end-user importance |
---|
278 | Brian Warner <warner@lothar.com>**20090703014303 |
---|
279 | Ignore-this: 6ddac78075d7547a19712d505818949c |
---|
280 | ] |
---|
281 | [Tolerate unknown URI types in directory structures. Part of #683. |
---|
282 | Brian Warner <warner@lothar.com>**20090703010749 |
---|
283 | Ignore-this: afd0e15e2e39d3b87743ec7ccd87054d |
---|
284 | |
---|
285 | The idea is that future versions of Tahoe will add new URI types that this |
---|
286 | version won't recognize, but might store them in directories that we *can* |
---|
287 | read. We should handle these "objects from the future" as best we can. |
---|
288 | Previous releases of Tahoe would just explode. With this change, we'll |
---|
289 | continue to be able to work with everything else in the directory. |
---|
290 | |
---|
291 | The code change is to wrap anything we don't recognize as an UnknownNode |
---|
292 | instance (as opposed to a FileNode or DirectoryNode). Then webapi knows how |
---|
293 | to render these (mostly by leaving fields blank), deep-check knows to skip |
---|
294 | over them, deep-stats counts them in "count-unknown". You can rename and |
---|
295 | delete these things, but you can't add new ones (because we wouldn't know how |
---|
296 | to generate a readcap to put into the dirnode's rocap slot, and because this |
---|
297 | lets us catch typos better). |
---|
298 | ] |
---|
299 | [test_client.py: minor refactoring of BASECONFIG usage |
---|
300 | Brian Warner <warner@lothar.com>**20090703005450 |
---|
301 | Ignore-this: bf19b9ae7edeab293068cce2368f9364 |
---|
302 | ] |
---|
303 | [create_node_from_uri: take both writecap+readcap, move logic out of dirnode.py |
---|
304 | Brian Warner <warner@lothar.com>**20090702222537 |
---|
305 | Ignore-this: 93051498076e90d3f1dc85161ce8247a |
---|
306 | ] |
---|
307 | [dirnode.py: prepare to preserve both rwcap+rocap when copying |
---|
308 | Brian Warner <warner@lothar.com>**20090702211254 |
---|
309 | Ignore-this: f128c02da32f86d7e39527a35dfc2e02 |
---|
310 | |
---|
311 | This will make it easier to tolerate unknown nodes safely. |
---|
312 | ] |
---|
313 | [interfaces.py: wrap some lines to 80cols |
---|
314 | Brian Warner <warner@lothar.com>**20090702015728 |
---|
315 | Ignore-this: e2c777c1e89a684b43ceabeb0042456c |
---|
316 | ] |
---|
317 | [cli: webopen: when called with no arguments, open the Welcome page |
---|
318 | Brian Warner <warner@lothar.com>**20090701200548 |
---|
319 | Ignore-this: ae7d6cb42165d0c751926065378343dd |
---|
320 | ] |
---|
321 | [mutable repairer: skip repair of readcaps instead of throwing an exception. |
---|
322 | Brian Warner <warner@lothar.com>**20090701011343 |
---|
323 | Ignore-this: 2c24493426cdc1db8f0e3815ee2c5f87 |
---|
324 | This should improve the behavior of #625 a bit: at least all the files will |
---|
325 | get repaired. |
---|
326 | ] |
---|
327 | [interfaces.py: improve ICheckAndRepairResults docs a bit |
---|
328 | Brian Warner <warner@lothar.com>**20090701001925 |
---|
329 | Ignore-this: 3a57acfee3487c1e071e135743e42c2a |
---|
330 | ] |
---|
331 | [repairer.py: wrap to 80cols. No code changes. |
---|
332 | Brian Warner <warner@lothar.com>**20090701000047 |
---|
333 | Ignore-this: 4a84ac95a849be0656d362882876082a |
---|
334 | ] |
---|
335 | [setup: require pycryptopp>=0.5.14 if on Windows and with Python>=2.6 |
---|
336 | zooko@zooko.com**20090630184807 |
---|
337 | Ignore-this: f7e9beeb5d5613a7c0ffed14d1dda3c6 |
---|
338 | ] |
---|
339 | [edit NEWS |
---|
340 | Brian Warner <warner@lothar.com>**20090630174115 |
---|
341 | Ignore-this: c4461a2304fcd45bee95e11418693a18 |
---|
342 | ] |
---|
343 | [NEWS: list all user-visible changes since 1.4.1 . Needs lots of editing. |
---|
344 | Brian Warner <warner@lothar.com>**20090630170734 |
---|
345 | Ignore-this: f606a5d678d0db8065b9f84e796d59b0 |
---|
346 | ] |
---|
347 | [* find-trailing-spaces.py: exit rc=1 if whitespace found, to be a pre-commit hook |
---|
348 | Brian Warner <warner@lothar.com>**20090629224658 |
---|
349 | Ignore-this: 1465becc923ee04d170e5ee791cf605e |
---|
350 | ] |
---|
351 | [use 522-bit RSA keys in all unit tests (except one) |
---|
352 | Brian Warner <warner@lothar.com>**20090629223124 |
---|
353 | Ignore-this: 7a4c3685683ff9da5ceb2d8cb7b19b7 |
---|
354 | |
---|
355 | This reduces the total test time on my laptop from 400s to 283s. |
---|
356 | * src/allmydata/test/test_system.py (SystemTest.test_mutable._test_debug): |
---|
357 | Remove assertion about container_size/data_size, this changes with keysize |
---|
358 | and was too variable anyways. |
---|
359 | * src/allmydata/mutable/filenode.py (MutableFileNode.create): add keysize= |
---|
360 | * src/allmydata/dirnode.py (NewDirectoryNode.create): same |
---|
361 | * src/allmydata/client.py (Client.DEFAULT_MUTABLE_KEYSIZE): add default, |
---|
362 | this overrides the one in MutableFileNode |
---|
363 | ] |
---|
364 | [remove trailing whitespace |
---|
365 | Brian Warner <warner@lothar.com>**20090629200358 |
---|
366 | Ignore-this: 7a3756618dcfca0a40acb4c3d15f6440 |
---|
367 | ] |
---|
368 | [remove trailing whitespace from some util classes |
---|
369 | Brian Warner <warner@lothar.com>**20090629200341 |
---|
370 | Ignore-this: ded84c38885d6aabf2691957dde82bf3 |
---|
371 | ] |
---|
372 | [repairer: raise a better exception when faced with a readonly filenode. Still |
---|
373 | Brian Warner <warner@lothar.com>**20090626063230 |
---|
374 | Ignore-this: a100005b973a6a57566b943073352828 |
---|
375 | produces an error, though. |
---|
376 | ] |
---|
377 | [mutable/filenode.py: set _writekey to None, rather than leaving it missing |
---|
378 | Brian Warner <warner@lothar.com>**20090626062022 |
---|
379 | Ignore-this: be111c37dabd6c7aa47abd7bf160926e |
---|
380 | |
---|
381 | This will at least turn the really really weird error when a repair of a |
---|
382 | readonly mutable file is attempted into a merely really weird assertion that |
---|
383 | mentions "repair currently requires a writecap". |
---|
384 | ] |
---|
385 | [one last tweak |
---|
386 | Brian Warner <warner@lothar.com>**20090626052627 |
---|
387 | Ignore-this: 8d9d045a1ebe774aeed6f7e1cdd36973 |
---|
388 | ] |
---|
389 | [more 'tahoe cp' docs tweaks |
---|
390 | Brian Warner <warner@lothar.com>**20090626051652 |
---|
391 | Ignore-this: f594c395007af64da3d7302943ef8855 |
---|
392 | ] |
---|
393 | [cli.py: minor tweaks to test posthooks |
---|
394 | "Brian Warner <warner@lothar.com>"**20090626024557] |
---|
395 | [cli.py: update comments on 'tahoe cp' --help a bit |
---|
396 | Brian Warner <warner@lothar.com>**20090626023837 |
---|
397 | Ignore-this: 4090b06896542fbf260d808e8a991cea |
---|
398 | ] |
---|
399 | [cli: add some --help text to 'tahoe cp' |
---|
400 | warner@lothar.com**20090625235751] |
---|
401 | [make it possible to add/renew-lease from the WUI |
---|
402 | Brian Warner <warner@lothar.com>**20090626061824 |
---|
403 | Ignore-this: 6fb6a0e8ecfc630464ac37a779078e5 |
---|
404 | add add/renew-lease checkbox on the "more info" page check/deep-check forms |
---|
405 | ] |
---|
406 | [hush pyflakes |
---|
407 | warner@lothar.com**20090625021809] |
---|
408 | [Split out NoSharesError, stop adding attributes to NotEnoughSharesError, change humanize_failure to include the original exception string, update tests, behave better if humanize_failure fails. |
---|
409 | warner@lothar.com**20090625021707] |
---|
410 | [remove introducer/old.py, will create something similar when the RIIntroducer changes |
---|
411 | warner@lothar.com**20090624194038] |
---|
412 | [Basically just a trivial platform detection patch for NetBSD. |
---|
413 | midnightmagic@example.com**20090617233647] |
---|
414 | [check_grid.py: print stderr when a subcommand fails |
---|
415 | warner@lothar.com**20090623022833] |
---|
416 | [big rework of introducer client: change local API, split division of responsibilites better, remove old-code testing, improve error logging |
---|
417 | warner@lothar.com**20090623021047] |
---|
418 | [web/welcome.xhtml: remove trailing whitespace |
---|
419 | warner@lothar.com**20090623020909] |
---|
420 | [rrefutil: add trap_deafref utility, to make the callRemote-plus-ignore-DeadReferenceError-plug-log-other-errors pattern easier |
---|
421 | warner@lothar.com**20090623020826] |
---|
422 | [PollMixin: snoop trial's error observer to halt the test early if an error is seen. This turns a lot of timeouts into fast failures. |
---|
423 | warner@lothar.com**20090623020731] |
---|
424 | [clean up storage_broker interface: should fix #732 |
---|
425 | warner@lothar.com**20090621235119 |
---|
426 | Ignore-this: fb93cd670e809eed2bc123142dd8d4ff |
---|
427 | ] |
---|
428 | [hush pyflakes with recent FileTooLarge removal |
---|
429 | warner@lothar.com**20090621231757 |
---|
430 | Ignore-this: 4231b38c7e9091b0577b07ec99ac2df0 |
---|
431 | ] |
---|
432 | [add docs/proposed/GridID.txt (cleaning out some of my old branches) |
---|
433 | warner@lothar.com**20090621191204] |
---|
434 | [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. |
---|
435 | zooko@zooko.com**20090621175005 |
---|
436 | Ignore-this: 85e7c1ccb258317ca4dd37917afb48f5 |
---|
437 | ] |
---|
438 | [setup: copy in misc/show-tools-version.py from zfec -- it prints out platform and setuptools versions |
---|
439 | zooko@zooko.com**20090621055846 |
---|
440 | Ignore-this: 4e144886ab02414bbaaf0295ce2b337 |
---|
441 | ] |
---|
442 | [docs: start updating the NEWS and relnotes.txt files, add Kevan to CREDITS |
---|
443 | zooko@zooko.com**20090621055114 |
---|
444 | Ignore-this: 35e05a5739549ffa693d55df51ffcfd |
---|
445 | ] |
---|
446 | [change max filesize limit tests |
---|
447 | kevan@isnotajoke.com**20090620212822 |
---|
448 | Ignore-this: 38e7c62a308c3c93e79df4bf72f4f675 |
---|
449 | |
---|
450 | Instead of testing to see that the previous SDMF filesize limit was being |
---|
451 | obeyed, we now test to make sure that we can insert files larger than that |
---|
452 | limit. |
---|
453 | ] |
---|
454 | [remove upper limit on SDMF filesize |
---|
455 | kevan@isnotajoke.com**20090620213130 |
---|
456 | Ignore-this: 5bc48c7421c73827909a17e651799d0c |
---|
457 | ] |
---|
458 | [immutable/download: instrument do-you-have-block responses to investigate #732 |
---|
459 | warner@lothar.com**20090621041209] |
---|
460 | [Makefile: add jaunty support, rearrange debian sections in order of release |
---|
461 | warner@lothar.com**20090618050502] |
---|
462 | [test_util: add known-answer tests for hashutil tags |
---|
463 | warner@lothar.com**20090618045709] |
---|
464 | [tests: bump up a timeout that expired on Zandr's box |
---|
465 | zooko@zooko.com**20090613195703 |
---|
466 | Ignore-this: 853000f43665396b3734a99f72bd472d |
---|
467 | ] |
---|
468 | [util: hooray! A clean implementation of this simple utility! Black Dew pointed out that the inverse of time.gmtime() is hidden in the "calendar" module. |
---|
469 | zooko@zooko.com**20090613160112 |
---|
470 | Ignore-this: 8359cc48ca1b8e2793e8b2afe2050cf4 |
---|
471 | ] |
---|
472 | [util: Brian's horrible hack to figure out how much localtime and utctime differ. Now we'll see if it works on Windows. |
---|
473 | zooko@zooko.com**20090612204556 |
---|
474 | Ignore-this: 8c36431da4707da76472956c7750ecbd |
---|
475 | ] |
---|
476 | [util: oops, time.tzset() doesn't work on Windows -- hopefully the new "London" unit test passes on Windows when we skip tzset() on platforms that don't have it |
---|
477 | zooko@zooko.com**20090612000920 |
---|
478 | Ignore-this: 7d314b8334cfa3f65f9635e3d3eb727e |
---|
479 | ] |
---|
480 | [setup: edit install.html to warn Windows users away from Python v2.6 |
---|
481 | zooko@zooko.com**20090611225506 |
---|
482 | Ignore-this: 89ad63eab49ede883ef92f2de5b5fc54 |
---|
483 | ] |
---|
484 | [util: fix time_format.iso_utc_time_to_seconds() so that it works even in London |
---|
485 | zooko@zooko.com**20090611221129 |
---|
486 | Ignore-this: 14dbb9840587797f848226fdb3645c08 |
---|
487 | ] |
---|
488 | [setup: run the same "make quicktest" on Windows as on non-Windows |
---|
489 | zooko@zooko.com**20090611193214 |
---|
490 | Ignore-this: d0c78377d3892373ec3d91e9e98bd8bd |
---|
491 | I checked and it behaves about as well on Windows as the previous version did. |
---|
492 | ] |
---|
493 | [tests: significantly increase timeouts that triggered on Zandr's ARM box |
---|
494 | zooko@zooko.com**20090610161043 |
---|
495 | Ignore-this: 2b3c556c5166a8267b4b15664d3aadfb |
---|
496 | ] |
---|
497 | [test: multiple by 10 or so all timeouts that Zandr's ARM box just overran |
---|
498 | zooko@zooko.com**20090610125639 |
---|
499 | Ignore-this: bf62f063ab46814fd78de55a5fbc9d84 |
---|
500 | ] |
---|
501 | [tests: bump up timeout on a test that timed out on draco |
---|
502 | zooko@zooko.com**20090610044628 |
---|
503 | Ignore-this: f598b98cbae44dc947937c6ca54c10cb |
---|
504 | ] |
---|
505 | [tests: raise the timeout for test_cli since Zandr's ARM machine totally burst through the old one |
---|
506 | zooko@zooko.com**20090609210509] |
---|
507 | [test_cli.Backup: increase timeout massively, it takes 1200s on zandr's ARM linkstation |
---|
508 | warner@lothar.com**20090609052801] |
---|
509 | [tests: double the timeouts on some tests which time-out on Francois's box |
---|
510 | zooko@zooko.com**20090609021753 |
---|
511 | Ignore-this: b2727b04402f24a9b9123d2f84068106 |
---|
512 | ] |
---|
513 | [tests: bump up timeouts so that the tests can finish before timeout on Francois's little arm box |
---|
514 | zooko@zooko.com**20090608225557 |
---|
515 | Ignore-this: fb83698338b2f12546cd3e1dcb896d34 |
---|
516 | ] |
---|
517 | [tests: increase timeouts on some other tests that timed-out on Francois's arm box |
---|
518 | zooko@zooko.com**20090605143437 |
---|
519 | Ignore-this: 2903cc20d914fc074c8d7a6c47740ba6 |
---|
520 | ] |
---|
521 | [tests: bump up the timeout on a bunch of tests that took longer than the default timeout (120s) on François Lenny-armv5tel |
---|
522 | zooko@zooko.com**20090605031444 |
---|
523 | Ignore-this: 84d67849b1f8edc88bf7001e31b5f7f3 |
---|
524 | ] |
---|
525 | [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 |
---|
526 | zooko@zooko.com**20090604173131 |
---|
527 | Ignore-this: 8200a9fdfc49243c280ecd1d0c44fa19 |
---|
528 | Fixes #728. |
---|
529 | ] |
---|
530 | [setup: require pysqlite >= v2.0.5. if we are running on Python < 2.5 |
---|
531 | zooko@zooko.com**20090604154548 |
---|
532 | Ignore-this: cf04f46079821df209d01dad2e24b40b |
---|
533 | ] |
---|
534 | [setup: add pysqlite and sqlite to get_package_versions() |
---|
535 | zooko@zooko.com**20090604153728 |
---|
536 | Ignore-this: a1dea7fabeab2b08fb0d8d462facdb4d |
---|
537 | ] |
---|
538 | [more refactoring: move get_all_serverids() and get_nickname_for_serverid() from Client to storage_broker |
---|
539 | warner@lothar.com**20090602030750] |
---|
540 | [more storage_broker refactoring: downloader gets a broker instead of a client, |
---|
541 | warner@lothar.com**20090602022511 |
---|
542 | use Client.get_storage_broker() accessor instead of direct attribute access. |
---|
543 | ] |
---|
544 | [test_runner.py: remove test_client_no_noise: the issue in question is |
---|
545 | warner@lothar.com**20090601225007 |
---|
546 | ticketed in http://divmod.org/trac/ticket/2830 and doesn't need a Tahoe-side |
---|
547 | change, plus this test fails on win32 for unrelated reasons (and test_client |
---|
548 | is the place to think about the win32 issue). |
---|
549 | ] |
---|
550 | [remove plaintext-hashing code from the helper interface, to close #722 |
---|
551 | warner@lothar.com**20090601224916 |
---|
552 | and deny the Helper the ability to mount a partial-information-guessing |
---|
553 | attack. This will probably break compatibility between new clients and very |
---|
554 | old (pre-1.0) helpers. |
---|
555 | ] |
---|
556 | [start to factor server-connection-management into a distinct 'StorageServerFarmBroker' object, separate from the client and the introducer. This is the starting point for #467: static server selection |
---|
557 | warner@lothar.com**20090601210604] |
---|
558 | [mutable: catch and display first error, so code bugs which break all servers get displayed better |
---|
559 | warner@lothar.com**20090601210407] |
---|
560 | [misc/run-with-pythonpath.py: exec() the child (on unix), to remove the intermediate process |
---|
561 | warner@lothar.com**20090601210137] |
---|
562 | [docs: small edit to about.html |
---|
563 | zooko@zooko.com**20090528233422 |
---|
564 | Ignore-this: 1cfbb1f8426ed6d63b2d3952e4464ddc |
---|
565 | ] |
---|
566 | [docs: add links to Tahoe-LAFS for Paranoids and Tahoe-LAFS for Corporates in about.html |
---|
567 | zooko@zooko.com**20090528232717 |
---|
568 | Ignore-this: 7b70baa700d6b6f6e9ceec4132efe5 |
---|
569 | ] |
---|
570 | [docs: edit about.html and include network-and-reliance-topology.png (loaded from http://allmydata.org ) |
---|
571 | zooko@zooko.com**20090527150916 |
---|
572 | Ignore-this: 44adc61cde8ced8be2f0a7dfc7d95dad |
---|
573 | ] |
---|
574 | [docs: a few more edits to network-and-reliance-topology.svg |
---|
575 | zooko@zooko.com**20090527150458 |
---|
576 | Ignore-this: 2eac8c33fe71be25ff809b399c6193c1 |
---|
577 | ] |
---|
578 | [docs: update network-and-reliance-topology.svg for beauty and clarity |
---|
579 | zooko@zooko.com**20090527031123 |
---|
580 | Ignore-this: 5510914849771900ac29b4312470d84 |
---|
581 | ] |
---|
582 | [docs: update NEWS, relnotes.txt, CREDITS to mention WUI Style |
---|
583 | zooko@zooko.com**20090526233654 |
---|
584 | Ignore-this: 72d16ec833bc4a22af23d29ea1d5ff8b |
---|
585 | ] |
---|
586 | [Modify markup of Tahoe web pages to be more amenable to styling; some minor changes of wording. |
---|
587 | Kevin Reid <kpreid@mac.com>**20090526232545 |
---|
588 | Ignore-this: 8845937f0df6c7ddc07abe3211428a6f |
---|
589 | ] |
---|
590 | [Tweak wording in directory page: not-read-only is "modifiable", mention creating a directory _in this directory_. |
---|
591 | Kevin Reid <kpreid@mac.com>**20090526232414 |
---|
592 | Ignore-this: f006ec52ba2051802e025a60bcface56 |
---|
593 | ] |
---|
594 | [Comment on duplication of code/markup found during styling project. |
---|
595 | Kevin Reid <kpreid@mac.com>**20090503203442 |
---|
596 | Ignore-this: a4b7f9f0ab57d2c03be9ba761be8d854 |
---|
597 | ] |
---|
598 | [Add CSS styles to spiff up the Tahoe WUI's appearance, particularly the welcome page and directories. |
---|
599 | Kevin Reid <kpreid@mac.com>**20090503203142 |
---|
600 | Ignore-this: 5c50af241c1a958b5180ef2b6a49f626 |
---|
601 | ] |
---|
602 | [Link all Tahoe web pages to the /tahoe_css stylesheet which already exists. |
---|
603 | Kevin Reid <kpreid@mac.com>**20090503202533 |
---|
604 | Ignore-this: 2ea8d14d3168b9502cf39d5ea3f2f2a8 |
---|
605 | ] |
---|
606 | [Fix broken link from Provisioning to Reliability page. |
---|
607 | Kevin Reid <kpreid@mac.com>**20090501191050 |
---|
608 | Ignore-this: 56dc1a5e659b70cc02dc4df7b5d518cd |
---|
609 | ] |
---|
610 | [docs: network-and-reliance-topology.svg: nicer server icons, mv out of the "specifications" subdir |
---|
611 | zooko@zooko.com**20090526165842 |
---|
612 | Ignore-this: 8f47ab3a0ab782c1f0d46e10bcaebe5b |
---|
613 | ] |
---|
614 | [docs: update network-and-reliance-topology.svg |
---|
615 | zooko@zooko.com**20090526163105 |
---|
616 | Ignore-this: 2b864b4ed8743d4a15dfbb7eff3fa561 |
---|
617 | ] |
---|
618 | [accounting-overview.txt: more edits |
---|
619 | warner@lothar.com**20090523190359] |
---|
620 | [accounting-overview.txt: small edits |
---|
621 | warner@lothar.com**20090523184011] |
---|
622 | [_auto_deps.py: require foolscap-0.4.1, which adds an important fix for py2.4 |
---|
623 | warner@lothar.com**20090523011103] |
---|
624 | [immutable/encode.py: tolerate immediate _remove_shareholder by copying the |
---|
625 | warner@lothar.com**20090522184424 |
---|
626 | landlord list before iterating over it. This can probably only happen in unit |
---|
627 | tests, but cleaning it up makes certain test failures easier to analyze. |
---|
628 | ] |
---|
629 | [switch to using RemoteException instead of 'wrapped' RemoteReferences. Should fix #653, the rref-EQ problem |
---|
630 | warner@lothar.com**20090522004632] |
---|
631 | [switch all foolscap imports to use foolscap.api or foolscap.logging |
---|
632 | warner@lothar.com**20090522003823] |
---|
633 | [_auto_deps.py: bump our foolscap dependency to 0.4.0, since I'm about to start using its new features |
---|
634 | warner@lothar.com**20090522002100] |
---|
635 | [test_runner.py: fix minor typo |
---|
636 | warner@lothar.com**20090520033620] |
---|
637 | [setup: fix bug (wrong import) in error message, as noticed by pyflakes |
---|
638 | zooko@zooko.com**20090519195642 |
---|
639 | Ignore-this: f1b9f8c00b46c1b5f2f20e5fc424f341 |
---|
640 | ] |
---|
641 | [setup: fix trivial bug in recent patch to test base64.py at startup |
---|
642 | zooko@zooko.com**20090519195129 |
---|
643 | Ignore-this: f6be038f74b53ca69e7109fe34adfbc |
---|
644 | ] |
---|
645 | [setup: make Tahoe exit at startup with a useful error message if the base64.py module is buggy (fixes part of #710) |
---|
646 | zooko@zooko.com**20090519194555 |
---|
647 | Ignore-this: aa4d398235ddca8d417d61c9688e154 |
---|
648 | ] |
---|
649 | [test_introducer.py: add a test for the python2.4.0/2.4.1 bug in base64.b32decode |
---|
650 | warner@lothar.com**20090519034101] |
---|
651 | [immutable WriteBucketProxy: use pipeline to speed up uploads by overlapping roundtrips, for #392 |
---|
652 | warner@lothar.com**20090518234422] |
---|
653 | [util/pipeline.py: new utility class to manage size-limited work pipelines, for #392 |
---|
654 | warner@lothar.com**20090518234326] |
---|
655 | [docs: add a diagram that I'm about to show to the Boulder Linux Users Group: network-and-reliance-topology.svg |
---|
656 | zooko@zooko.com**20090514232059 |
---|
657 | Ignore-this: 2420c0a7c254c9f0f2349d9130490d33 |
---|
658 | ] |
---|
659 | [tests: mark test_runner as coded in utf-8 instead of ascii |
---|
660 | zooko@zooko.com**20090507223151 |
---|
661 | Ignore-this: ccf1ba9e5a9b53602701a36f9fdb545e |
---|
662 | ] |
---|
663 | [tests: raise timeout on test_runner.RunNode.test_introducer from 120s to 240s, since it hit the 120s time-out on François Lenny-armv5tel |
---|
664 | zooko@zooko.com**20090507215012 |
---|
665 | Ignore-this: ba18fe6832ba255d4971e8f623ed7da5 |
---|
666 | ] |
---|
667 | [setup: fix comment in setup.py |
---|
668 | zooko@zooko.com**20090507215003 |
---|
669 | Ignore-this: c46ef664630d52733138ef7fbc551c1c |
---|
670 | ] |
---|
671 | [docs: how_to_make_a_tahoe_release.txt: a couple of small edits |
---|
672 | zooko@zooko.com**20090507214932 |
---|
673 | Ignore-this: ae92aa835ad369f4b9e6e49d681957a3 |
---|
674 | ] |
---|
675 | [.darcs-boringfile: also ignore .gitignore |
---|
676 | warner@allmydata.com**20090415210550 |
---|
677 | Ignore-this: d29db314a1e506f6240859559436b4c3 |
---|
678 | ] |
---|
679 | [.darcs-boringfile: ignore .git, I'm starting to play around with it |
---|
680 | warner@allmydata.com**20090415205929 |
---|
681 | Ignore-this: 89234453516483c9586cd6e1351e88b5 |
---|
682 | ] |
---|
683 | [fix quicktest: stop using setuptools, add misc/run-with-pythonpath.py, to make it run faster |
---|
684 | warner@lothar.com**20090414201400] |
---|
685 | [TAG allmydata-tahoe-1.4.1 |
---|
686 | zooko@zooko.com**20090414025636 |
---|
687 | Ignore-this: de78fc32364c83e9f4e26b5abcfdea4a |
---|
688 | ] |
---|
689 | Patch bundle hash: |
---|
690 | 005fa2be7c54ee5c672dccd1039afabaaeb50939 |
---|