Ticket #1099: tolerate-no-stdout-encoding.dpatch

File tolerate-no-stdout-encoding.dpatch, 55.7 KB (added by davidsarah, at 2010-06-26T04:23:02Z)

stringutils.py: tolerate sys.stdout having no 'encoding' attribute.

Line 
1Sat Jun 26 05:08:17 GMT Daylight Time 2010  david-sarah@jacaranda.org
2  * stringutils.py: tolerate sys.stdout having no 'encoding' attribute.
3
4New patches:
5
6[stringutils.py: tolerate sys.stdout having no 'encoding' attribute.
7david-sarah@jacaranda.org**20100626040817
8 Ignore-this: f42cad81cef645ee38ac1df4660cc850
9] hunk ./src/allmydata/util/stringutils.py 44
10 
11     filesystem_encoding = _canonical_encoding(sys.getfilesystemencoding())
12 
13-    outenc = sys.stdout.encoding
14+    outenc = None
15+    if hasattr(sys.stdout, 'encoding'):
16+        outenc = sys.stdout.encoding
17     if outenc is None:
18         try:
19             outenc = locale.getpreferredencoding()
20
21Context:
22
23[docs/how_to_make_a_tahoe-lafs_release.txt: trivial correction, install.html should now be quickstart.html.
24david-sarah@jacaranda.org**20100625223929
25 Ignore-this: 99a5459cac51bd867cc11ad06927ff30
26] 
27[setup: in the Makefile, refuse to upload tarballs unless someone has passed the environment variable "BB_BRANCH" with value "trunk"
28zooko@zooko.com**20100619034928
29 Ignore-this: 276ddf9b6ad7ec79e27474862e0f7d6
30] 
31[trivial: tiny update to in-line comment
32zooko@zooko.com**20100614045715
33 Ignore-this: 10851b0ed2abfed542c97749e5d280bc
34 (I'm actually committing this patch as a test of the new eager-annotation-computation of trac-darcs.)
35] 
36[docs: about.html link to home page early on, and be decentralized storage instead of cloud storage this time around
37zooko@zooko.com**20100619065318
38 Ignore-this: dc6db03f696e5b6d2848699e754d8053
39] 
40[docs: update about.html, especially to have a non-broken link to quickstart.html, and also to comment out the broken links to "for Paranoids" and "for Corporates"
41zooko@zooko.com**20100619065124
42 Ignore-this: e292c7f51c337a84ebfeb366fbd24d6c
43] 
44[TAG allmydata-tahoe-1.7.0
45zooko@zooko.com**20100619052631
46 Ignore-this: d21e27afe6d85e2e3ba6a3292ba2be1
47] 
48[docs: update relnotes.txt for Tahoe-LAFS v1.7.0!
49zooko@zooko.com**20100619052048
50 Ignore-this: 1dd2c851f02adf3ab5a33040051fe05a
51 ... and remove relnotes-short.txt (just use the first section of relnotes.txt for that purpose)
52] 
53[docs: update known_issues.txt with more detail about web browser "safe-browsing" features and slightly tweaked formatting
54zooko@zooko.com**20100619051734
55 Ignore-this: afc10be0da2517ddd0b58e42ef9aa46d
56] 
57[docs: quickstart.html: link to 1.7.0 zip file and add UTF-8 BOM
58zooko@zooko.com**20100619050124
59 Ignore-this: 5104fc90af542b97662b4016da975f34
60] 
61[docs: more CREDITS for Kevan, plus utf-8 BOM
62zooko@zooko.com**20100619045809
63 Ignore-this: ee9c3b7cf7e385c8ca396091cebc9ca6
64] 
65[docs: update NEWS for release 1.7.0
66zooko@zooko.com**20100619045750
67 Ignore-this: 112c352fd52297ebff8138896fc6353d
68] 
69[docs: apply patch from duck for #937 about "tahoe run" not working on introducers
70zooko@zooko.com**20100619040754
71 Ignore-this: d7213313f16e524996e91058e287a954
72] 
73[webapi.txt: fix statement about leap seconds.
74david-sarah@jacaranda.org**20100619035603
75 Ignore-this: 80b685446e915877a421cf3e31cedf30
76] 
77[running.html: Tahoe->Tahoe-LAFS in what used to be using.html, and #tahoe->#tahoe-lafs (IRC channel).
78david-sarah@jacaranda.org**20100619033152
79 Ignore-this: a0dfdfb46eab639aaa064981fb933c5c
80] 
81[test_backupdb.py: skip test_unicode if we can't represent the test filenames.
82david-sarah@jacaranda.org**20100619022620
83 Ignore-this: 6ee564b6c07f9bb0e89a25dc5b37194f
84] 
85[test_web.py: correct a test that was missed in the change to not write ctime/mtime.
86david-sarah@jacaranda.org**20100619021718
87 Ignore-this: 92edc2e1fd43b3e86e6b49bc43bae122
88] 
89[FTP-and-SFTP.txt: add Known Issues section.
90david-sarah@jacaranda.org**20100619004311
91 Ignore-this: 8d9b1da941cbc24657bb6ec268f984dd
92] 
93[FTP-and-SFTP.txt: remove description of public key format that is not actually implemented. Document that SFTP does not support server private keys with passphrases, and that FTP cannot list directories containing mutable files.
94david-sarah@jacaranda.org**20100619001738
95 Ignore-this: bf9ef53b85b934822ec76060e1fcb3cb
96] 
97[dirnode.py: stop writing 'ctime' and 'mtime' fields. Includes documentation and test changes.
98david-sarah@jacaranda.org**20100618230119
99 Ignore-this: 709119898499769dd64c7977db7c84a6
100] 
101[configuration.txt and servers-of-happiness.txt: 1 <= happy <= N, not k <= happy <= N. Also minor wording changes.
102david-sarah@jacaranda.org**20100618050710
103 Ignore-this: edac0716e753e1f1c4c755c85bec9a19
104] 
105[test_cli.py: fix test failure in CLI.test_listdir_unicode_good due to filenames returned from listdir_unicode no longer being normalized.
106david-sarah@jacaranda.org**20100618045110
107 Ignore-this: 598ffaef02d71e075f7e08fac44f48ff
108] 
109[how_to_make_a_tahoe-lafs_release.txt: reordering, add fuse-sshfs@lists.sourceforge.list as place to send relnotes.
110david-sarah@jacaranda.org**20100618041854
111 Ignore-this: 2e380a6e72917d3a20a65ceccd9a4df
112] 
113[tahoe backup: unicode tests.
114david-sarah@jacaranda.org**20100618035211
115 Ignore-this: 88ebab9f3218f083fdc635bff6599b60
116] 
117[dirnodes: fix normalization hole where childnames in directories created by nodemaker.create_mutable/immutable_directory would not be normalized. Add a test that we normalize names coming out of a directory.
118david-sarah@jacaranda.org**20100618000249
119 Ignore-this: 46a9226eff1003013b067edbdbd4c25b
120] 
121[dirnode.py: comments about normalization changes.
122david-sarah@jacaranda.org**20100617041411
123 Ignore-this: 9040c4854e73a71dbbb55b50ea3b41b2
124] 
125[test_storage.py: print more information on test failures.
126david-sarah@jacaranda.org**20100617034623
127 Ignore-this: cc9a8656802a718ca4f2a6a530d35977
128] 
129[stringutils.py: remove unused import.
130david-sarah@jacaranda.org**20100617034440
131 Ignore-this: 16ec7d737c34665156c2ac486acd545a
132] 
133[test_stringutils.py: take account of the output of listdir_unicode no longer being normalized. Also use Unicode escapes, not UTF-8.
134david-sarah@jacaranda.org**20100617034409
135 Ignore-this: 47f3f072f0e2efea0abeac130f84c56f
136] 
137[test_dirnode.py: partial tests for normalization changes.
138david-sarah@jacaranda.org**20100617034025
139 Ignore-this: 2e3169dd8b120d42dff35bd267dcb417
140] 
141[CLI: allow Unicode patterns in exclude option to 'tahoe backup'.
142david-sarah@jacaranda.org**20100617033901
143 Ignore-this: 9d971129e1c8bae3c1cc3220993d592e
144] 
145[SFTP: get 'ctime' attribute from 'tahoe:linkmotime'.
146david-sarah@jacaranda.org**20100617033744
147 Ignore-this: b2fabe12235f2e2a487c0b56c39953e7
148] 
149[running.html: describe where 'bin/tahoe' is only once.
150david-sarah@jacaranda.org**20100617033603
151 Ignore-this: 6d92d9d8c77f3dfddfa7d061cbf2a791
152] 
153[stringutils.py: don't NFC-normalize the output of listdir_unicode.
154david-sarah@jacaranda.org**20100617015537
155 Ignore-this: 93c9b6f3d7c6812a0afa8d9e1b0b4faa
156] 
157[Merge using.html into running.html.
158david-sarah@jacaranda.org**20100617012857
159 Ignore-this: a0fa8b56621fdb976bef4e5f4f6c824a
160] 
161[Remove firewall section from running.html and say to read configuration.txt instead.
162david-sarah@jacaranda.org**20100617004513
163 Ignore-this: d2e46fffa4855b01093e8240b5fd1eff
164] 
165[running.html: fix overeager replacement of 'tahoe' with 'Tahoe-LAFS', and some simplifications.
166david-sarah@jacaranda.org**20100617000952
167 Ignore-this: 472b4b531c866574ed79f076b58495b5
168] 
169[Add a specification for servers of happiness.
170Kevan Carstensen <kevan@isnotajoke.com>**20100524003508
171 Ignore-this: 982e2be8a411be5beaf3582bdfde6151
172] 
173[Note that servers of happiness only applies to immutable files for the moment
174Kevan Carstensen <kevan@isnotajoke.com>**20100524042836
175 Ignore-this: cf83cac7a2b3ed347ae278c1a7d9a176
176] 
177[Add a note about running Tahoe-LAFS on a small grid to running.html
178zooko@zooko.com**20100616140227
179 Ignore-this: 14dfbff0d47144f7c2375108c6055dc2
180 also Change "tahoe" and "Tahoe" to "Tahoe-LAFS" in running.html
181 author: Kevan Carstensen
182] 
183[CLI.txt: introduce 'create-alias' before 'add-alias', document Unicode argument support, and other minor updates.
184david-sarah@jacaranda.org**20100610225547
185 Ignore-this: de7326e98d79291cdc15aed86ae61fe8
186] 
187[stringutils.py: Add encoding argument to quote_output. Also work around a bug in locale.getpreferredencoding on older Pythons.
188david-sarah@jacaranda.org**20100616042012
189 Ignore-this: 48174c37ad95205997e4d3cdd81f1e28
190] 
191[Provisional patch to NFC-normalize filenames going in and out of Tahoe directories.
192david-sarah@jacaranda.org**20100616031450
193 Ignore-this: ed08c9d8df37ef0b7cca42bb562c996b
194] 
195[test_system.py: investigate failure in allmydata.test.test_system.SystemTest.test_upload_and_download_random_key due to bytes_sent not being an int
196david-sarah@jacaranda.org**20100616001648
197 Ignore-this: 9c78092ab7bfdc909acae3a144ddd1f8
198] 
199[SFTP: remove a dubious use of 'pragma: no cover'.
200david-sarah@jacaranda.org**20100613164356
201 Ignore-this: 8f96a81b1196017ed6cfa1d914e56fa5
202] 
203[SFTP: test that renaming onto a just-opened file fails.
204david-sarah@jacaranda.org**20100612033709
205 Ignore-this: 9b14147ad78b16a5ab0e0e4813491414
206] 
207[SFTP: further small improvements to test coverage. Also ensure that after a test failure, later tests don't fail spuriously due to the checks for heisenfile leaks.
208david-sarah@jacaranda.org**20100612030737
209 Ignore-this: 4ec1dd3d7542be42007987a2f51508e7
210] 
211[SFTP: further improve test coverage (paths containing '.', bad data for posix-rename extension, and error in test of openShell).
212david-sarah@jacaranda.org**20100611213142
213 Ignore-this: 956f9df7f9e8a66b506ca58dd9a5dbe7
214] 
215[SFTP: improve test coverage for no-write on mutable files, and check for heisenfile table leaks in all relevant tests. Delete test_memory_leak since it is now redundant.
216david-sarah@jacaranda.org**20100611205752
217 Ignore-this: 88be1cf323c10dd534a4b8fdac121e31
218] 
219[SFTP: add test for extension of file opened with FXF_APPEND.
220david-sarah@jacaranda.org**20100610182647
221 Ignore-this: c0216d26453ce3cb4b92eef37d218fb4
222] 
223[NEWS: add UTF-8 coding declaration.
224david-sarah@jacaranda.org**20100609234851
225 Ignore-this: 3e6ef125b278e0a982c88d23180a78ae
226] 
227[tests: bump up the timeout on this iputil test from 2s to 4s
228zooko@zooko.com**20100609143017
229 Ignore-this: 786b7f7bbc85d45cdf727a6293750798
230] 
231[docs: a few tweaks to NEWS and CREDITS and make quickstart.html point to 1.7.0β!
232zooko@zooko.com**20100609142927
233 Ignore-this: f8097d3062f41f06c4420a7c84a56481
234] 
235[docs: Update NEWS file with new features and bugfixes in 1.7.0
236francois@ctrlaltdel.ch**20100609091120
237 Ignore-this: 8c1014e4469ef530e5ff48d7d6ae71c5
238] 
239[docs: wording fix, thanks to Jeremy Visser, fix #987
240francois@ctrlaltdel.ch**20100609081103
241 Ignore-this: 6d2e627e0f1cd58c0e1394e193287a4b
242] 
243[SFTP: fix most significant memory leak described in #1045 (due to a file being added to all_heisenfiles under more than one direntry when renamed).
244david-sarah@jacaranda.org**20100609080003
245 Ignore-this: 490b4c14207f6725d0dd32c395fbcefa
246] 
247[test_stringutils.py: Fix test failure on CentOS builder, possibly Python 2.4.3-related.
248david-sarah@jacaranda.org**20100609065056
249 Ignore-this: 503b561b213baf1b92ae641f2fdf080a
250] 
251[docs: update relnote.txt for Tahoe-LAFS v1.7.0β
252zooko@zooko.com**20100609054602
253 Ignore-this: 52e1bf86a91d45315960fb8806b7a479
254] 
255[setup: move the mock library from install_requires to tests_require (re: #1016)
256zooko@zooko.com**20100609050542
257 Ignore-this: c51a4ff3e19ed630755be752d2233db4
258] 
259[setup: show-tool-versions.py: print out the output from the unix command "locale" and re-arrange encoding data a little bit
260zooko@zooko.com**20100609040714
261 Ignore-this: 69382719b462d13ff940fcd980776004
262] 
263[setup: add zope.interface to the packages described by show-tool-versions.py
264zooko@zooko.com**20100609034915
265 Ignore-this: b5262b2af5c953a5f68a60bd48dcaa75
266] 
267[Fix for Unicode-related test failures on Zooko's OS X 10.6 machine.
268david-sarah@jacaranda.org**20100609055448
269 Ignore-this: 395ad16429e56623edfa74457a121190
270] 
271[stringutils.py, sftpd.py: Portability fixes for Python <= 2.5.
272david-sarah@jacaranda.org**20100609013302
273 Ignore-this: 9d9ce476ee1b96796e0f48cc5338f852
274] 
275[_auto_deps.py: allow Python 2.4.3 on Redhat-based distributions.
276david-sarah@jacaranda.org**20100609003646
277 Ignore-this: ad3cafdff200caf963024873d0ebff3c
278] 
279[CREDITS: update François's Description
280zooko@zooko.com**20100608155513
281 Ignore-this: a266b438d25ca2cb28eafff75aa4b2a
282] 
283[CREDITS: jsgf
284zooko@zooko.com**20100608143052
285 Ignore-this: 10abe06d40b88e22a9107d30f1b84810
286] 
287[setup: rename the setuptools_trial .egg that comes bundled in the base dir to not have "-py2.6" in its name, since it works with other versions of python as well
288zooko@zooko.com**20100608041607
289 Ignore-this: 64fe386d2e5fba0ab441116e74dad5a3
290] 
291[setup: rename the darcsver .egg that comes bundled in the base dir to not have "-py2.6" in its name, since it works with other versions of python as well
292zooko@zooko.com**20100608041534
293 Ignore-this: 53f925f160256409cf01b76d2583f83f
294] 
295[Back out Windows-specific Unicode argument support for v1.7.
296david-sarah@jacaranda.org**20100609000803
297 Ignore-this: b230ffe6fdaf9a0d85dfe745b37b42fb
298] 
299[SFTP: suppress NoSuchChildError if heisenfile attributes have been updated in setAttrs, in the case where the parent is available.
300david-sarah@jacaranda.org**20100608063753
301 Ignore-this: 8c72a5a9c15934f8fe4594ba3ee50ddd
302] 
303[SFTP: ignore permissions when opening a file (needed for sshfs interoperability).
304david-sarah@jacaranda.org**20100608055700
305 Ignore-this: f87f6a430f629326a324ddd94426c797
306] 
307[tests: bump up the timeout on these tests; MM's buildslave is sometimes extremely slow on tests, but it will complete them if given enough time. MM is working on making that buildslave more predictable in how long it takes to run tests.
308zooko@zooko.com**20100608033754
309 Ignore-this: 98dc27692c5ace1e4b0650b6680629d7
310] 
311[test_web.py: fix pyflakes warnings introduced by byterange patch.
312david-sarah@jacaranda.org**20100608042012
313 Ignore-this: a7612724893b51d1154dec4372e0508
314] 
315[Improve HTTP/1.1 byterange handling
316Jeremy Fitzhardinge <jeremy@goop.org>**20100310025913
317 Ignore-this: 6d69e694973d618f0dc65983735cd9be
318 
319 Fix parsing of a Range: header to support:
320  - multiple ranges (parsed, but not returned)
321  - suffix byte ranges ("-2139")
322  - correct handling of incorrectly formatted range headers
323    (correct behaviour is to ignore the header and return the full
324     file)
325  - return appropriate error for ranges outside the file
326 
327 Multiple ranges are parsed, but only the first range is returned.
328 Returning multiple ranges requires using the multipart/byterange
329 content type.
330 
331] 
332[test_cli.py: remove invalid 'test_listdir_unicode_bad' test.
333david-sarah@jacaranda.org**20100607183730
334 Ignore-this: fadfe87980dc1862f349bfcc21b2145f
335] 
336[check_memory.py: adapt to servers-of-happiness changes.
337david-sarah@jacaranda.org**20100608013528
338 Ignore-this: c6b28411c543d1aea2f148a955f7998
339] 
340[show-tool-versions.py: platform.linux_distribution() is not always available
341david-sarah@jacaranda.org**20100608004523
342 Ignore-this: 793fb4050086723af05d06bed8b1b92a
343] 
344[show-tool-versions.py: show platform.linux_distribution()
345david-sarah@jacaranda.org**20100608003829
346 Ignore-this: 81cb5e5fc6324044f0fc6d82903c8223
347] 
348[Remove the 'tahoe debug consolidate' subcommand.
349david-sarah@jacaranda.org**20100607183757
350 Ignore-this: 4b14daa3ae557cea07d6e119d25dafe9
351] 
352[tests: drastically increase timeout of this very time-consuming test in honor of François's ARM box
353zooko@zooko.com**20100607115929
354 Ignore-this: bf1bb52ffb6b5ccae71d4dde14621bc8
355] 
356[setup: update authorship, datestamp, licensing, and add special exceptions to allow combination with Eclipse- and QPL- licensed code
357zooko@zooko.com**20100607062329
358 Ignore-this: 5a1d7b12dfafd61283ea65a245416381
359] 
360[common_http.py, tahoe_cp.py: Fix an error in calling the superclass constructor in HTTPError and MissingSourceError (introduced by the Unicode fixes).
361david-sarah@jacaranda.org**20100607174714
362 Ignore-this: 1a118d593d81c918a4717c887f033aec
363] 
364[FTP-and-SFTP.txt: minor technical correction to doc for 'no-write' flag.
365david-sarah@jacaranda.org**20100607061600
366 Ignore-this: 66aee0c1b6c00538602d08631225e114
367] 
368[test_stringutils.py: trivial error in exception message for skipped test.
369david-sarah@jacaranda.org**20100607061455
370 Ignore-this: f261a5d4e2b8fe3bcc37e02539ba1ae2
371] 
372[setup: organize misc/ scripts and tools and remove obsolete ones
373zooko@zooko.com**20100607051618
374 Ignore-this: 161db1158c6b7be8365b0b3dee2e0b28
375 This is for ticket #1068.
376] 
377[More Unicode test fixes.
378david-sarah@jacaranda.org**20100607053358
379 Ignore-this: 6a271fb77c31f28cb7bdba63b26a2dd2
380] 
381[Unicode fixes for platforms with non-native-Unicode filesystems.
382david-sarah@jacaranda.org**20100607043238
383 Ignore-this: 2134dc1793c4f8e50350bd749c4c98c2
384] 
385[Unicode fixes.
386david-sarah@jacaranda.org**20100607010215
387 Ignore-this: d58727b5cd2ce00e6b6dae3166030138
388] 
389[quickstart.html: link to snapshots page, sorted with most recent first.
390david-sarah@jacaranda.org**20100606221127
391 Ignore-this: 93ea7e6ee47acc66f6daac9cabffed2d
392] 
393[setup: loosen the Desert Island test to allow it to check the network for new packages as long as it doesn't actually download any
394zooko@zooko.com**20100606175717
395 Ignore-this: e438a8eb3c1b0e68080711ec6ff93ffa
396 (You can look but don't touch.)
397] 
398[setup: have the buildbots print out locale.getpreferredencoding(), locale.getdefaultlocale(), locale.getlocale(), and os.path.supports_unicode_filenames
399zooko@zooko.com**20100605162932
400 Ignore-this: 85e31e0e0e1364e9215420e272d58116
401 Even though that latter one is completely useless, I'm curious.
402] 
403[quickstart.html: We haven't released 1.7beta yet.
404david-sarah@jacaranda.org**20100606220301
405 Ignore-this: 4e18898cfdb08cc3ddd1ff94d43fdda7
406] 
407[Raise Python version requirement to 2.4.4 for non-UCS-2 builds, to avoid a critical Python security bug.
408david-sarah@jacaranda.org**20100605031713
409 Ignore-this: 2df2b6d620c5d8191c79eefe655059e2
410] 
411[unicode tests: fix missing import
412zooko@zooko.com**20100604142630
413 Ignore-this: db437fe8009971882aaea9de05e2bc3
414] 
415[unicode: make test_cli test a non-ascii argument, and make the fallback term encoding be locale.getpreferredencoding()
416zooko@zooko.com**20100604141251
417 Ignore-this: b2bfc07942f69141811e59891842bd8c
418] 
419[unicode: always decode json manifest as utf-8 then encode for stdout
420zooko@zooko.com**20100604084840
421 Ignore-this: ac481692315fae870a0f3562bd7db48e
422 pyflakes pointed out that the exception handler fallback called an un-imported function, showing that the fallback wasn't being exercised.
423 I'm not 100% sure that this patch is right and would appreciate François or someone reviewing it.
424] 
425[fix flakes
426zooko@zooko.com**20100604075845
427 Ignore-this: 3e6a84b78771b0ad519e771a13605f0
428] 
429[fix syntax of assertion handling that isn't portable to older versions of Python
430zooko@zooko.com**20100604075805
431 Ignore-this: 3a12b293aad25883fb17230266eb04ec
432] 
433[test_stringutils.py: Skip test test_listdir_unicode_good if filesystem supports only ASCII filenames
434Francois Deppierraz <francois@ctrlaltdel.ch>**20100521160839
435 Ignore-this: f2ccdbd04c8d9f42f1efb0eb80018257
436] 
437[test_stringutils.py: Skip test_listdir_unicode on mocked platform which cannot store non-ASCII filenames
438Francois Deppierraz <francois@ctrlaltdel.ch>**20100521160559
439 Ignore-this: b93fde736a8904712b506e799250a600
440] 
441[test_stringutils.py: Add a test class for OpenBSD 4.1 with LANG=C
442Francois Deppierraz <francois@ctrlaltdel.ch>**20100521140053
443 Ignore-this: 63f568aec259cef0e807752fc8150b73
444] 
445[test_stringutils.py: Mock the open() call in test_open_unicode
446Francois Deppierraz <francois@ctrlaltdel.ch>**20100521135817
447 Ignore-this: d8be4e56a6eefe7d60f97f01ea20ac67
448 
449 This test ensure that open(a_unicode_string) is used on Unicode platforms
450 (Windows or MacOS X) and that open(a_correctly_encoded_bytestring) on other
451 platforms such as Unix.
452 
453] 
454[test_stringutils.py: Fix a trivial Python 2.4 syntax incompatibility
455Francois Deppierraz <francois@ctrlaltdel.ch>**20100521093345
456 Ignore-this: 9297e3d14a0dd37d0c1a4c6954fd59d3
457] 
458[test_cli.py: Fix tests when sys.stdout.encoding=None and refactor this code into functions
459Francois Deppierraz <francois@ctrlaltdel.ch>**20100520084447
460 Ignore-this: cf2286e225aaa4d7b1927c78c901477f
461] 
462[Fix handling of correctly encoded unicode filenames (#534)
463Francois Deppierraz <francois@ctrlaltdel.ch>**20100520004356
464 Ignore-this: 8a3a7df214a855f5a12dc0eeab6f2e39
465 
466 Tahoe CLI commands working on local files, for instance 'tahoe cp' or 'tahoe
467 backup', have been improved to correctly handle filenames containing non-ASCII
468 characters.
469   
470 In the case where Tahoe encounters a filename which cannot be decoded using the
471 system encoding, an error will be returned and the operation will fail.  Under
472 Linux, this typically happens when the filesystem contains filenames encoded
473 with another encoding, for instance latin1, than the system locale, for
474 instance UTF-8.  In such case, you'll need to fix your system with tools such
475 as 'convmv' before using Tahoe CLI.
476   
477 All CLI commands have been improved to support non-ASCII parameters such as
478 filenames and aliases on all supported Operating Systems except Windows as of
479 now.
480] 
481[stringutils.py: Unicode helper functions + associated tests
482Francois Deppierraz <francois@ctrlaltdel.ch>**20100520004105
483 Ignore-this: 7a73fc31de2fd39d437d6abd278bfa9a
484 
485 This file contains a bunch of helper functions which converts
486 unicode string from and to argv, filenames and stdout.
487] 
488[Add dependency on Michael Foord's mock library
489Francois Deppierraz <francois@ctrlaltdel.ch>**20100519233325
490 Ignore-this: 9bb01bf1e4780f6b98ed394c3b772a80
491] 
492[setup: adjust make clean target to ignore our bundled build tools
493zooko@zooko.com**20100604051250
494 Ignore-this: d24d2a3b849000790cfbfab69237454e
495] 
496[setup: bundle a copy of setuptools_trial as an unzipped egg in the base dir of the Tahoe-LAFS source tree
497zooko@zooko.com**20100604044648
498 Ignore-this: a4736e9812b4dab2d5a2bc4bfc5c3b28
499 This is to work-around this Distribute issue:
500 http://bitbucket.org/tarek/distribute/issue/55/revision-control-plugin-automatically-installed-as-a-build-dependency-is-not-present-when-another-build-dependency-is-being
501] 
502[setup: bundle a copy of darcsver in unzipped egg form in the root of the Tahoe-LAFS source tree
503zooko@zooko.com**20100604044146
504 Ignore-this: a51a52e82dd3a39225657ffa27decae2
505 This is to work-around this Distribute issue:
506 http://bitbucket.org/tarek/distribute/issue/55/revision-control-plugin-automatically-installed-as-a-build-dependency-is-not-present-when-another-build-dependency-is-being
507] 
508[setup: undo the previous patch to quote the executable in scripts
509zooko@zooko.com**20100604025204
510 Ignore-this: beda3b951c49d1111478618b8cabe005
511 The problem isn't in the script, it is in the cli.exe script that is built by setuptools. This might be related to
512 http://bugs.python.org/issue6792
513 and
514 http://bugs.python.org/setuptools/issue2
515 Or it might be a separate issue involving the launcher.c code e.g. http://tahoe-lafs.org/trac/zetuptoolz/browser/launcher.c?rev=576#L210 and its handling of the interpreter name.
516] 
517[quickstart.html: warn against installing Python at a path containing spaces.
518david-sarah@jacaranda.org**20100604032413
519 Ignore-this: c7118332573abd7762d9a897e650bc6a
520] 
521[setup: put quotes around the path to executable in case it has spaces in it, when building a tahoe.exe for win32
522zooko@zooko.com**20100604020836
523 Ignore-this: 478684843169c94a9c14726fedeeed7d
524] 
525[misc/show-tool-versions.py: Display additional Python interpreter encoding informations (stdout, stdin and filesystem)
526Francois Deppierraz <francois@ctrlaltdel.ch>**20100521094313
527 Ignore-this: 3ae9b0b07fd1d53fb632ef169f7c5d26
528] 
529[Fix test failures in test_web caused by changes to web page titles in #1062. Also, change a 'target' field to '_blank' instead of 'blank' in welcome.xhtml.
530david-sarah@jacaranda.org**20100603232105
531 Ignore-this: 6e2cc63f42b07e2a3b2d1a857abc50a6
532] 
533[Resolve merge conflict for sftpd.py
534david-sarah@jacaranda.org**20100603182537
535 Ignore-this: ba8b543e51312ac949798eb8f5bd9d9c
536] 
537[SFTP: possible fix for metadata times being shown as the epoch.
538david-sarah@jacaranda.org**20100602234514
539 Ignore-this: bdd7dfccf34eff818ff88aa4f3d28790
540] 
541[SFTP: further improvements to test coverage.
542david-sarah@jacaranda.org**20100602234422
543 Ignore-this: 87eeee567e8d7562659442ea491e187c
544] 
545[SFTP: improve test coverage. Also make creating a directory fail when permissions are read-only (rather than ignoring the permissions).
546david-sarah@jacaranda.org**20100602041934
547 Ignore-this: a5e9d9081677bc7f3ddb18ca7a1f531f
548] 
549[dirnode.py: fix a bug in the no-write change for Adder, and improve test coverage. Add a 'metadata' argument to create_subdirectory, with documentation. Also update some comments in test_dirnode.py made stale by the ctime/mtime change.
550david-sarah@jacaranda.org**20100602032641
551 Ignore-this: 48817b54cd63f5422cb88214c053b03b
552] 
553[dirnode.py: Fix bug that caused 'tahoe' fields, 'ctime' and 'mtime' not to be updated when new metadata is present.
554david-sarah@jacaranda.org**20100602014644
555 Ignore-this: 5bac95aa897b68f2785d481e49b6a66
556] 
557[SFTP: fix a bug that caused the temporary files underlying EncryptedTemporaryFiles not to be closed.
558david-sarah@jacaranda.org**20100601055310
559 Ignore-this: 44fee4cfe222b2b1690f4c5e75083a52
560] 
561[SFTP: changes for #1063 ('no-write' field) including comment:1 (clearing owner write permission diminishes to a read cap). Includes documentation changes, but not tests for the new behaviour.
562david-sarah@jacaranda.org**20100601051139
563 Ignore-this: eff7c08bd47fd52bfe2b844dabf02558
564] 
565[dirnode.py: Fix #1034 (MetadataSetter does not enforce restriction on setting 'tahoe' subkeys), and expose the metadata updater for use by SFTP. Also, support diminishing a child cap to read-only if 'no-write' is set in the metadata.
566david-sarah@jacaranda.org**20100601045428
567 Ignore-this: 14f26e17e58db97fad0dcfd350b38e95
568] 
569[SFTP: the same bug as in _sync_heisenfiles also occurred in two other places.
570david-sarah@jacaranda.org**20100530060127
571 Ignore-this: 8d137658fc6e4596fa42697476c39aa3
572] 
573[SFTP: another try at fixing the _sync_heisenfiles bug.
574david-sarah@jacaranda.org**20100530055254
575 Ignore-this: c15f76f32a60083a6b7de6ca0e917934
576] 
577[SFTP: fix silly bug in _sync_heisenfiles ('f is not ignore' vs 'not (f is ignore)').
578david-sarah@jacaranda.org**20100530053807
579 Ignore-this: 71c4bc62613bf8fef835886d8eb61c27
580] 
581[SFTP: log when a sync completes.
582david-sarah@jacaranda.org**20100530051840
583 Ignore-this: d99765663ceb673c8a693dfcf88c25ea
584] 
585[SFTP: fix bug in previous logging patch.
586david-sarah@jacaranda.org**20100530050000
587 Ignore-this: 613e4c115f03fe2d04c621b510340817
588] 
589[SFTP: more logging to track down OpenOffice hang.
590david-sarah@jacaranda.org**20100530040809
591 Ignore-this: 6c11f2d1eac9f62e2d0f04f006476a03
592] 
593[SFTP: avoid blocking close on a heisenfile that has been abandoned or never changed. Also, improve the logging to help track down a case where OpenOffice hangs on opening a file with FXF_READ|FXF_WRITE.
594david-sarah@jacaranda.org**20100530025544
595 Ignore-this: 9919dddd446fff64de4031ad51490d1c
596] 
597[Move suppression of DeprecationWarning about BaseException.message from sftpd.py to main __init__.py. Also, remove the global suppression of the 'integer argument expected, got float' warning, which turned out to be a bug.
598david-sarah@jacaranda.org**20100529050537
599 Ignore-this: 87648afa0dec0d2e73614007de102a16
600] 
601[SFTP: cater to clients that assume a file is created as soon as they have made an open request; also, fix some race conditions associated with closing a file at about the same time as renaming or removing it.
602david-sarah@jacaranda.org**20100529045253
603 Ignore-this: 2404076b2154ff2659e2b10e0b9e813c
604] 
605[Change doc comments in interfaces.py to take into account unknown nodes.
606david-sarah@jacaranda.org**20100528171922
607 Ignore-this: d2fde6890b3bca9c7275775f64fbff56
608] 
609[Add must_exist, must_be_directory, and must_be_file arguments to DirectoryNode.delete. This will be used to fixes a minor condition in the SFTP frontend.
610david-sarah@jacaranda.org**20100527194529
611 Ignore-this: 6d8114cef4450c52c57639f82852716f
612] 
613[Trivial whitespace changes.
614david-sarah@jacaranda.org**20100527194114
615 Ignore-this: 98d611bc54ee20b01a5f6b334ff61b2d
616] 
617[SFTP: 'sync' any open files at a direntry before opening any new file at that direntry. This works around the sshfs misbehaviour of returning success to clients immediately on close.
618david-sarah@jacaranda.org**20100525230257
619 Ignore-this: 63245d6d864f8f591c86170864d7c57f
620] 
621[SFTP: handle removing a file while it is open. Also some simplifications of the logout handling.
622david-sarah@jacaranda.org**20100525184210
623 Ignore-this: 660ee80be6ecab783c60452a9da896de
624] 
625[SFTP: a posix-rename response should actually return an FXP_STATUS reply, not an FXP_EXTENDED_REPLY as Twisted Conch assumes. Work around this by raising an SFTPError with code FX_OK.
626david-sarah@jacaranda.org**20100525033323
627 Ignore-this: fe2914d3ef7f5194bbeaf3f2dda2ad7d
628] 
629[SFTP: fix problem with posix-rename code returning a Deferred for the renamed filenode, not for the result of the request (an empty string).
630david-sarah@jacaranda.org**20100525020209
631 Ignore-this: 69f7491df2a8f7ea92d999a6d9f0581d
632] 
633[SFTP: fix time handling to make sure floats are not passed into twisted.conch, and to print times in the future less ambiguously in directory listings.
634david-sarah@jacaranda.org**20100524230412
635 Ignore-this: eb1a3fb72492fa2fb19667b6e4300440
636] 
637[SFTP: name of the POSIX rename extension should be 'posix-rename@openssh.com', not 'extposix-rename@openssh.com'.
638david-sarah@jacaranda.org**20100524021156
639 Ignore-this: f90eb1ff9560176635386ee797a3fdc7
640] 
641[SFTP: avoid race condition where .write could be called on an OverwriteableFileConsumer after it had been closed.
642david-sarah@jacaranda.org**20100523233830
643 Ignore-this: 55d381064a15bd64381163341df4d09f
644] 
645[SFTP: log tracebacks for RAISEd exceptions.
646david-sarah@jacaranda.org**20100523221535
647 Ignore-this: c76a7852df099b358642f0631237cc89
648] 
649[Suppress 'integer argument expected, got float' DeprecationWarning everywhere
650david-sarah@jacaranda.org**20100523221157
651 Ignore-this: 80efd7e27798f5d2ad66c7a53e7048e5
652] 
653[SFTP: more logging to investigate behaviour of getAttrs(path).
654david-sarah@jacaranda.org**20100523204236
655 Ignore-this: e58fd35dc9015316e16a9f49f19bb469
656] 
657[SFTP: fix pyflakes warnings; drop 'noisy' versions of eventually_callback and eventually_errback; robustify conversion of exception messages to UTF-8.
658david-sarah@jacaranda.org**20100523140905
659 Ignore-this: 420196fc58646b05bbc9c3732b6eb314
660] 
661[SFTP: fixes and test cases for renaming of open files.
662david-sarah@jacaranda.org**20100523032549
663 Ignore-this: 32e0726be0fc89335f3035157e202c68
664] 
665[SFTP: Increase test_sftp timeout to cater for francois' ARM buildslave.
666david-sarah@jacaranda.org**20100522191639
667 Ignore-this: a5acf9660d304677048ab4dd72908ad8
668] 
669[SFTP: Fix error in support for getAttrs on an open file, to index open files by directory entry rather than path. Extend that support to renaming open files. Also, implement the extposix-rename@openssh.org extension, and some other minor refactoring.
670david-sarah@jacaranda.org**20100522035836
671 Ignore-this: 8ef93a828e927cce2c23b805250b81a4
672] 
673[SFTP: relax pyasn1 version dependency to >= 0.0.8a.
674david-sarah@jacaranda.org**20100520181437
675 Ignore-this: 2c7b3dee7b7e14ba121d3118193a386a
676] 
677[SFTP tests: fix test_openDirectory_and_attrs that was failing in timezones west of UTC.
678david-sarah@jacaranda.org**20100520181027
679 Ignore-this: 9beaf602beef437c11c7e97f54ce2599
680] 
681[SFTP: allow getAttrs to succeed on a file that has been opened for creation but not yet uploaded or linked (part of #1050).
682david-sarah@jacaranda.org**20100520035613
683 Ignore-this: 2f59107d60d5476edac19361ccf6cf94
684] 
685[SFTP: improve logging so that results of requests are (usually) logged.
686david-sarah@jacaranda.org**20100520003652
687 Ignore-this: 3f59eeee374a3eba71db9be31d5a95
688] 
689[SFTP: add tests for more combinations of open flags.
690david-sarah@jacaranda.org**20100519053933
691 Ignore-this: b97ee351b1e8ecfecabac70698060665
692] 
693[SFTP: allow FXF_WRITE | FXF_TRUNC (#1050).
694david-sarah@jacaranda.org**20100519043240
695 Ignore-this: bd70009f11d07ac6e9fd0d1e3fa87a9b
696] 
697[SFTP: remove another case where we were logging data.
698david-sarah@jacaranda.org**20100519012713
699 Ignore-this: 83115daf3a90278fed0e3fc267607584
700] 
701[SFTP: avoid logging all data passed to callbacks.
702david-sarah@jacaranda.org**20100519000651
703 Ignore-this: ade6d69a473ada50acef6389fc7fdf69
704] 
705[SFTP: fixes related to reporting of permissions (needed for sshfs).
706david-sarah@jacaranda.org**20100518054521
707 Ignore-this: c51f8a5d0dc76b80d33ffef9b0541325
708] 
709[SFTP: change error code returned for ExistingChildError to FX_FAILURE (fixes gvfs with some picky programs such as gedit).
710david-sarah@jacaranda.org**20100518004205
711 Ignore-this: c194c2c9aaf3edba7af84b7413cec375
712] 
713[SFTP: fixed bugs that caused hangs during write (#1037).
714david-sarah@jacaranda.org**20100517044228
715 Ignore-this: b8b95e82c4057367388a1e6baada993b
716] 
717[SFTP: work around a probable bug in twisted.conch.ssh.session:loseConnection(). Also some minor error handling cleanups.
718david-sarah@jacaranda.org**20100517012606
719 Ignore-this: 5d3da7c4219cb0c14547e7fd70c74204
720] 
721[SFTP: add pyasn1 as dependency, needed if we are using Twisted >= 9.0.0.
722david-sarah@jacaranda.org**20100516193710
723 Ignore-this: 76fd92e8a950bb1983a90a09e89c54d3
724] 
725[SFTP: Support statvfs extensions, avoid logging actual data, and decline shell sessions politely.
726david-sarah@jacaranda.org**20100516154347
727 Ignore-this: 9d05d23ba77693c03a61accd348ccbe5
728] 
729[SFTP: fix error in SFTPUserHandler arguments introduced by execCommand patch.
730david-sarah@jacaranda.org**20100516014045
731 Ignore-this: f5ee494dc6ad6aa536cc8144bd2e3d19
732] 
733[SFTP: implement execCommand to interoperate with clients that issue a 'df -P -k /' command. Also eliminate use of Zope adaptation.
734david-sarah@jacaranda.org**20100516012754
735 Ignore-this: 2d0ed28b759f67f83875b1eaf5778992
736] 
737[sftpd.py: 'log.OPERATIONAL' should be just 'OPERATIONAL'.
738david-sarah@jacaranda.org**20100515155533
739 Ignore-this: f2347cb3301bbccc086356f6edc685
740] 
741[Attempt to fix #1040 by making SFTPUser implement ISession.
742david-sarah@jacaranda.org**20100515005719
743 Ignore-this: b3baaf088ba567e861e61e347195dfc4
744] 
745[Eliminate Windows newlines from sftpd.py.
746david-sarah@jacaranda.org**20100515005656
747 Ignore-this: cd54fd25beb957887514ae76e08c277
748] 
749[Update SFTP implementation and tests: fix #1038 and switch to foolscap logging; also some code reorganization.
750david-sarah@jacaranda.org**20100514043113
751 Ignore-this: 262f76d953dcd4317210789f2b2bf5da
752] 
753[Change shouldFail to avoid Unicode errors when converting Failure to str
754david-sarah@jacaranda.org**20100512060754
755 Ignore-this: 86ed419d332d9c33090aae2cde1dc5df
756] 
757[Tests for new SFTP implementation
758david-sarah@jacaranda.org**20100512060552
759 Ignore-this: 20308d4a59b3ebc868aad55ae0a7a981
760] 
761[New SFTP implementation: mutable files, read/write support, streaming download, Unicode filenames, and more
762david-sarah@jacaranda.org**20100512055407
763 Ignore-this: 906f51c48d974ba9cf360c27845c55eb
764] 
765[allmydata.org -> tahoe-lafs.org in __init__.py
766david-sarah@jacaranda.org**20100603063530
767 Ignore-this: f7d82331d5b4a3c4c0938023409335af
768] 
769[small change to CREDITS
770david-sarah@jacaranda.org**20100603062421
771 Ignore-this: 2909cdbedc19da5573dec810fc23243
772] 
773[Resolve conflict in patch to change imports to absolute.
774david-sarah@jacaranda.org**20100603054608
775 Ignore-this: 15aa1caa88e688ffa6dc53bed7dcca7d
776] 
777[Minor documentation tweaks.
778david-sarah@jacaranda.org**20100603054458
779 Ignore-this: e30ae407b0039dfa5b341d8f88e7f959
780] 
781[title_rename_xhtml.dpatch.txt
782freestorm77@gmail.com**20100529172542
783 Ignore-this: d2846afcc9ea72ac443a62ecc23d121b
784 
785 - Renamed xhtml Title from "Allmydata - Tahoe" to "Tahoe-LAFS"
786 - Renamed Tahoe to Tahoe-LAFS in page content
787 - Changed Tahoe-LAFS home page link to http://tahoe-lafs.org (added target="blank")
788 - Deleted commented css script in info.xhtml
789 
790 
791] 
792[tests: refactor test_web.py to have less duplication of literal caps-from-the-future
793zooko@zooko.com**20100519055146
794 Ignore-this: 49e5412e6cc4566ca67f069ffd850af6
795 This is a prelude to a patch which will add tests of caps from the future which have non-ascii chars in them.
796] 
797[doc_reformat_stats.txt
798freestorm77@gmail.com**20100424114615
799 Ignore-this: af315db5f7e3a17219ff8fb39bcfcd60
800 
801 
802    - Added heading format begining and ending by "=="
803    - Added Index
804    - Added Title
805           
806    Note: No change are made in paragraphs content
807 
808 
809 **END OF DESCRIPTION***
810 
811 Place the long patch description above the ***END OF DESCRIPTION*** marker.
812 The first line of this file will be the patch name.
813 
814 
815 This patch contains the following changes:
816 
817 M ./docs/stats.txt -2 +2
818] 
819[doc_reformat_performance.txt
820freestorm77@gmail.com**20100424114444
821 Ignore-this: 55295ff5cd8a5b67034eb661a5b0699d
822 
823    - Added heading format begining and ending by "=="
824    - Added Index
825    - Added Title
826         
827    Note: No change are made in paragraphs content
828 
829 
830] 
831[doc_refomat_logging.txt
832freestorm77@gmail.com**20100424114316
833 Ignore-this: 593f0f9914516bf1924dfa6eee74e35f
834 
835    - Added heading format begining and ending by "=="
836    - Added Index
837    - Added Title
838         
839    Note: No change are made in paragraphs content
840 
841] 
842[doc_reformat_known_issues.txt
843freestorm77@gmail.com**20100424114118
844 Ignore-this: 9577c3965d77b7ac18698988cfa06049
845 
846     - Added heading format begining and ending by "=="
847     - Added Index
848     - Added Title
849           
850     Note: No change are made in paragraphs content
851   
852 
853] 
854[doc_reformat_helper.txt
855freestorm77@gmail.com**20100424120649
856 Ignore-this: de2080d6152ae813b20514b9908e37fb
857 
858 
859    - Added heading format begining and ending by "=="
860    - Added Index
861    - Added Title
862             
863    Note: No change are made in paragraphs content
864 
865] 
866[doc_reformat_garbage-collection.txt
867freestorm77@gmail.com**20100424120830
868 Ignore-this: aad3e4c99670871b66467062483c977d
869 
870 
871    - Added heading format begining and ending by "=="
872    - Added Index
873    - Added Title
874             
875    Note: No change are made in paragraphs content
876 
877] 
878[doc_reformat_FTP-and-SFTP.txt
879freestorm77@gmail.com**20100424121334
880 Ignore-this: 3736b3d8f9a542a3521fbb566d44c7cf
881 
882 
883    - Added heading format begining and ending by "=="
884    - Added Index
885    - Added Title
886           
887    Note: No change are made in paragraphs content
888 
889] 
890[doc_reformat_debian.txt
891freestorm77@gmail.com**20100424120537
892 Ignore-this: 45fe4355bb869e55e683405070f47eff
893 
894 
895    - Added heading format begining and ending by "=="
896    - Added Index
897    - Added Title
898             
899    Note: No change are made in paragraphs content
900 
901] 
902[doc_reformat_configuration.txt
903freestorm77@gmail.com**20100424104903
904 Ignore-this: 4fbabc51b8122fec69ce5ad1672e79f2
905 
906 
907 - Added heading format begining and ending by "=="
908 - Added Index
909 - Added Title
910 
911 Note: No change are made in paragraphs content
912 
913] 
914[doc_reformat_CLI.txt
915freestorm77@gmail.com**20100424121512
916 Ignore-this: 2d3a59326810adcb20ea232cea405645
917 
918      - Added heading format begining and ending by "=="
919      - Added Index
920      - Added Title
921           
922      Note: No change are made in paragraphs content
923 
924] 
925[doc_reformat_backupdb.txt
926freestorm77@gmail.com**20100424120416
927 Ignore-this: fed696530e9d2215b6f5058acbedc3ab
928 
929 
930    - Added heading format begining and ending by "=="
931    - Added Index
932    - Added Title
933             
934    Note: No change are made in paragraphs content
935 
936] 
937[doc_reformat_architecture.txt
938freestorm77@gmail.com**20100424120133
939 Ignore-this: 6e2cab4635080369f2b8cadf7b2f58e
940 
941 
942     - Added heading format begining and ending by "=="
943     - Added Index
944     - Added Title
945             
946     Note: No change are made in paragraphs content
947 
948 
949] 
950[Correct harmless indentation errors found by pylint
951david-sarah@jacaranda.org**20100226052151
952 Ignore-this: 41335bce830700b18b80b6e00b45aef5
953] 
954[Change relative imports to absolute
955david-sarah@jacaranda.org**20100226071433
956 Ignore-this: 32e6ce1a86e2ffaaba1a37d9a1a5de0e
957] 
958[Document reason for the trialcoverage version requirement being 0.3.3.
959david-sarah@jacaranda.org**20100525004444
960 Ignore-this: 2f9f1df6882838b000c063068f258aec
961] 
962[Downgrade version requirement for trialcoverage to 0.3.3 (from 0.3.10), to avoid needing to compile coveragepy on Windows.
963david-sarah@jacaranda.org**20100524233707
964 Ignore-this: 9c397a374c8b8017e2244b8a686432a8
965] 
966[Suppress deprecation warning for twisted.web.error.NoResource when using Twisted >= 9.0.0.
967david-sarah@jacaranda.org**20100516205625
968 Ignore-this: 2361a3023cd3db86bde5e1af759ed01
969] 
970[docs: CREDITS for Jeremy Visser
971zooko@zooko.com**20100524081829
972 Ignore-this: d7c1465fd8d4e25b8d46d38a1793465b
973] 
974[test: show stdout and stderr in case of non-zero exit code from "tahoe" command
975zooko@zooko.com**20100524073348
976 Ignore-this: 695e81cd6683f4520229d108846cd551
977] 
978[setup: upgrade bundled zetuptoolz to zetuptoolz-0.6c15dev and make it unpacked and directly loaded by setup.py
979zooko@zooko.com**20100523205228
980 Ignore-this: 24fb32aaee3904115a93d1762f132c7
981 Also fix the relevant "make clean" target behavior.
982] 
983[setup: remove bundled zipfile egg of setuptools
984zooko@zooko.com**20100523205120
985 Ignore-this: c68b5f2635bb93d1c1fa7b613a026f9e
986 We're about to replace it with bundled unpacked source code of setuptools, which is much nicer for debugging and evolving under revision control.
987] 
988[setup: remove bundled copy of setuptools_trial-0.5.2.tar
989zooko@zooko.com**20100522221539
990 Ignore-this: 140f90eb8fb751a509029c4b24afe647
991 Hopefully it will get installed automatically as needed and we won't bundle it anymore.
992] 
993[setup: remove bundled setuptools_darcs-1.2.8.tar
994zooko@zooko.com**20100522015333
995 Ignore-this: 378b1964b513ae7fe22bae2d3478285d
996 This version of setuptools_darcs had a bug when used on Windows which has been fixed in setuptools_darcs-1.2.9. Hopefully we will not need to bundle a copy of setuptools_darcs-1.2.9 in with Tahoe-LAFS and can instead rely on it to be downloaded from PyPI or bundled in the "tahoe deps" separate tarball.
997] 
998[tests: fix pyflakes warnings in bench_dirnode.py
999zooko@zooko.com**20100521202511
1000 Ignore-this: f23d55b4ed05e52865032c65a15753c4
1001] 
1002[setup: if the string '--reporter=bwverbose-coverage' appears on sys.argv then you need trialcoverage
1003zooko@zooko.com**20100521122226
1004 Ignore-this: e760c45dcfb5a43c1dc1e8a27346bdc2
1005] 
1006[tests: don't let bench_dirnode.py do stuff and have side-effects at import time (unless __name__ == '__main__')
1007zooko@zooko.com**20100521122052
1008 Ignore-this: 96144a412250d9bbb5fccbf83b8753b8
1009] 
1010[tests: increase timeout to give François's ARM buildslave a chance to complete the tests
1011zooko@zooko.com**20100520134526
1012 Ignore-this: 3dd399fdc8b91149c82b52f955b50833
1013] 
1014[run_trial.darcspath
1015freestorm77@gmail.com**20100510232829
1016 Ignore-this: 5ebb4df74e9ea8a4bdb22b65373d1ff2
1017] 
1018[docs: line-wrap README.txt
1019zooko@zooko.com**20100518174240
1020 Ignore-this: 670a02d360df7de51ebdcf4fae752577
1021] 
1022[Hush pyflakes warnings
1023Kevan Carstensen <kevan@isnotajoke.com>**20100515184344
1024 Ignore-this: fd602c3bba115057770715c36a87b400
1025] 
1026[setup: new improved misc/show-tool-versions.py
1027zooko@zooko.com**20100516050122
1028 Ignore-this: ce9b1de1b35b07d733e6cf823b66335a
1029] 
1030[Improve code coverage of the Tahoe2PeerSelector tests.
1031Kevan Carstensen <kevan@isnotajoke.com>**20100515032913
1032 Ignore-this: 793151b63ffa65fdae6915db22d9924a
1033] 
1034[Remove a comment that no longer makes sense.
1035Kevan Carstensen <kevan@isnotajoke.com>**20100514203516
1036 Ignore-this: 956983c7e7c7e4477215494dfce8f058
1037] 
1038[docs: update docs/architecture.txt to more fully and correctly explain the upload procedure
1039zooko@zooko.com**20100514043458
1040 Ignore-this: 538b6ea256a49fed837500342092efa3
1041] 
1042[Fix up the behavior of #778, per reviewers' comments
1043Kevan Carstensen <kevan@isnotajoke.com>**20100514004917
1044 Ignore-this: 9c20b60716125278b5456e8feb396bff
1045 
1046   - Make some important utility functions clearer and more thoroughly
1047     documented.
1048   - Assert in upload.servers_of_happiness that the buckets attributes
1049     of PeerTrackers passed to it are mutually disjoint.
1050   - Get rid of some silly non-Pythonisms that I didn't see when I first
1051     wrote these patches.
1052   - Make sure that should_add_server returns true when queried about a
1053     shnum that it doesn't know about yet.
1054   - Change Tahoe2PeerSelector.preexisting_shares to map a shareid to a set
1055     of peerids, alter dependencies to deal with that.
1056   - Remove upload.should_add_servers, because it is no longer necessary
1057   - Move upload.shares_of_happiness and upload.shares_by_server to a utility
1058     file.
1059   - Change some points in Tahoe2PeerSelector.
1060   - Compute servers_of_happiness using a bipartite matching algorithm that
1061     we know is optimal instead of an ad-hoc greedy algorithm that isn't.
1062   - Change servers_of_happiness to just take a sharemap as an argument,
1063     change its callers to merge existing_shares and used_peers before
1064     calling it.
1065   - Change an error message in the encoder to be more appropriate for
1066     servers of happiness.
1067   - Clarify the wording of an error message in immutable/upload.py
1068   - Refactor a happiness failure message to happinessutil.py, and make
1069     immutable/upload.py and immutable/encode.py use it.
1070   - Move the word "only" as far to the right as possible in failure
1071     messages.
1072   - Use a better definition of progress during peer selection.
1073   - Do read-only peer share detection queries in parallel, not sequentially.
1074   - Clean up logging semantics; print the query statistics whenever an
1075     upload is unsuccessful, not just in one case.
1076 
1077] 
1078[Alter the error message when an upload fails, per some comments in #778.
1079Kevan Carstensen <kevan@isnotajoke.com>**20091230210344
1080 Ignore-this: ba97422b2f9737c46abeb828727beb1
1081 
1082 When I first implemented #778, I just altered the error messages to refer to
1083 servers where they referred to shares. The resulting error messages weren't
1084 very good. These are a bit better.
1085] 
1086[Change "UploadHappinessError" to "UploadUnhappinessError"
1087Kevan Carstensen <kevan@isnotajoke.com>**20091205043037
1088 Ignore-this: 236b64ab19836854af4993bb5c1b221a
1089] 
1090[Alter the error message returned when peer selection fails
1091Kevan Carstensen <kevan@isnotajoke.com>**20091123002405
1092 Ignore-this: b2a7dc163edcab8d9613bfd6907e5166
1093 
1094 The Tahoe2PeerSelector returned either NoSharesError or NotEnoughSharesError
1095 for a variety of error conditions that weren't informatively described by them.
1096 This patch creates a new error, UploadHappinessError, replaces uses of
1097 NoSharesError and NotEnoughSharesError with it, and alters the error message
1098 raised with the errors to be more in line with the new servers_of_happiness
1099 behavior. See ticket #834 for more information.
1100] 
1101[Eliminate overcounting iof servers_of_happiness in Tahoe2PeerSelector; also reorganize some things.
1102Kevan Carstensen <kevan@isnotajoke.com>**20091118014542
1103 Ignore-this: a6cb032cbff74f4f9d4238faebd99868
1104] 
1105[Change stray "shares_of_happiness" to "servers_of_happiness"
1106Kevan Carstensen <kevan@isnotajoke.com>**20091116212459
1107 Ignore-this: 1c971ba8c3c4d2e7ba9f020577b28b73
1108] 
1109[Alter Tahoe2PeerSelector to make sure that it recognizes existing shares on readonly servers, fixing an issue in #778
1110Kevan Carstensen <kevan@isnotajoke.com>**20091116192805
1111 Ignore-this: 15289f4d709e03851ed0587b286fd955
1112] 
1113[Alter 'immutable/encode.py' and 'immutable/upload.py' to use servers_of_happiness instead of shares_of_happiness.
1114Kevan Carstensen <kevan@isnotajoke.com>**20091104111222
1115 Ignore-this: abb3283314820a8bbf9b5d0cbfbb57c8
1116] 
1117[Alter the signature of set_shareholders in IEncoder to add a 'servermap' parameter, which gives IEncoders enough information to perform a sane check for servers_of_happiness.
1118Kevan Carstensen <kevan@isnotajoke.com>**20091104033241
1119 Ignore-this: b3a6649a8ac66431beca1026a31fed94
1120] 
1121[Alter CiphertextDownloader to work with servers_of_happiness
1122Kevan Carstensen <kevan@isnotajoke.com>**20090924041932
1123 Ignore-this: e81edccf0308c2d3bedbc4cf217da197
1124] 
1125[Revisions of the #778 tests, per reviewers' comments
1126Kevan Carstensen <kevan@isnotajoke.com>**20100514012542
1127 Ignore-this: 735bbc7f663dce633caeb3b66a53cf6e
1128 
1129 - Fix comments and confusing naming.
1130 - Add tests for the new error messages suggested by David-Sarah
1131   and Zooko.
1132 - Alter existing tests for new error messages.
1133 - Make sure that the tests continue to work with the trunk.
1134 - Add a test for a mutual disjointedness assertion that I added to
1135   upload.servers_of_happiness.
1136 - Fix the comments to correctly reflect read-onlyness
1137 - Add a test for an edge case in should_add_server
1138 - Add an assertion to make sure that share redistribution works as it
1139   should
1140 - Alter tests to work with revised servers_of_happiness semantics
1141 - Remove tests for should_add_server, since that function no longer exists.
1142 - Alter tests to know about merge_peers, and to use it before calling
1143   servers_of_happiness.
1144 - Add tests for merge_peers.
1145 - Add Zooko's puzzles to the tests.
1146 - Edit encoding tests to expect the new kind of failure message.
1147 - Edit tests to expect error messages with the word "only" moved as far
1148   to the right as possible.
1149 - Extended and cleaned up some helper functions.
1150 - Changed some tests to call more appropriate helper functions.
1151 - Added a test for the failing redistribution algorithm
1152 - Added a test for the progress message
1153 - Added a test for the upper bound on readonly peer share discovery.
1154 
1155] 
1156[Alter various unit tests to work with the new happy behavior
1157Kevan Carstensen <kevan@isnotajoke.com>**20100107181325
1158 Ignore-this: 132032bbf865e63a079f869b663be34a
1159] 
1160[Replace "UploadHappinessError" with "UploadUnhappinessError" in tests.
1161Kevan Carstensen <kevan@isnotajoke.com>**20091205043453
1162 Ignore-this: 83f4bc50c697d21b5f4e2a4cd91862ca
1163] 
1164[Add tests for the behavior described in #834.
1165Kevan Carstensen <kevan@isnotajoke.com>**20091123012008
1166 Ignore-this: d8e0aa0f3f7965ce9b5cea843c6d6f9f
1167] 
1168[Re-work 'test_upload.py' to be more readable; add more tests for #778
1169Kevan Carstensen <kevan@isnotajoke.com>**20091116192334
1170 Ignore-this: 7e8565f92fe51dece5ae28daf442d659
1171] 
1172[Test Tahoe2PeerSelector to make sure that it recognizeses existing shares on readonly servers
1173Kevan Carstensen <kevan@isnotajoke.com>**20091109003735
1174 Ignore-this: 12f9b4cff5752fca7ed32a6ebcff6446
1175] 
1176[Add more tests for comment:53 in ticket #778
1177Kevan Carstensen <kevan@isnotajoke.com>**20091104112849
1178 Ignore-this: 3bb2edd299a944cc9586e14d5d83ec8c
1179] 
1180[Add a test for upload.shares_by_server
1181Kevan Carstensen <kevan@isnotajoke.com>**20091104111324
1182 Ignore-this: f9802e82d6982a93e00f92e0b276f018
1183] 
1184[Minor tweak to an existing test -- make the first server read-write, instead of read-only
1185Kevan Carstensen <kevan@isnotajoke.com>**20091104034232
1186 Ignore-this: a951a46c93f7f58dd44d93d8623b2aee
1187] 
1188[Alter tests to use the new form of set_shareholders
1189Kevan Carstensen <kevan@isnotajoke.com>**20091104033602
1190 Ignore-this: 3deac11fc831618d11441317463ef830
1191] 
1192[Refactor some behavior into a mixin, and add tests for the behavior described in #778
1193"Kevan Carstensen" <kevan@isnotajoke.com>**20091030091908
1194 Ignore-this: a6f9797057ca135579b249af3b2b66ac
1195] 
1196[Alter NoNetworkGrid to allow the creation of readonly servers for testing purposes.
1197Kevan Carstensen <kevan@isnotajoke.com>**20091018013013
1198 Ignore-this: e12cd7c4ddeb65305c5a7e08df57c754
1199] 
1200[Update 'docs/architecture.txt' to reflect readonly share discovery
1201kevan@isnotajoke.com**20100514003852
1202 Ignore-this: 7ead71b34df3b1ecfdcfd3cb2882e4f9
1203] 
1204[Alter the wording in docs/architecture.txt to more accurately describe the servers_of_happiness behavior.
1205Kevan Carstensen <kevan@isnotajoke.com>**20100428002455
1206 Ignore-this: 6eff7fa756858a1c6f73728d989544cc
1207] 
1208[Alter wording in 'interfaces.py' to be correct wrt #778
1209"Kevan Carstensen" <kevan@isnotajoke.com>**20091205034005
1210 Ignore-this: c9913c700ac14e7a63569458b06980e0
1211] 
1212[Update 'docs/configuration.txt' to reflect the servers_of_happiness behavior.
1213Kevan Carstensen <kevan@isnotajoke.com>**20091205033813
1214 Ignore-this: 5e1cb171f8239bfb5b565d73c75ac2b8
1215] 
1216[Clarify quickstart instructions for installing pywin32
1217david-sarah@jacaranda.org**20100511180300
1218 Ignore-this: d4668359673600d2acbc7cd8dd44b93c
1219] 
1220[web: add a simple test that you can load directory.xhtml
1221zooko@zooko.com**20100510063729
1222 Ignore-this: e49b25fa3c67b3c7a56c8b1ae01bb463
1223] 
1224[setup: fix typos in misc/show-tool-versions.py
1225zooko@zooko.com**20100510063615
1226 Ignore-this: 2181b1303a0e288e7a9ebd4c4855628
1227] 
1228[setup: show code-coverage tool versions in show-tools-versions.py
1229zooko@zooko.com**20100510062955
1230 Ignore-this: 4b4c68eb3780b762c8dbbd22b39df7cf
1231] 
1232[docs: update README, mv it to README.txt, update setup.py
1233zooko@zooko.com**20100504094340
1234 Ignore-this: 40e28ca36c299ea1fd12d3b91e5b421c
1235] 
1236[Dependency on Windmill test framework is not needed yet.
1237david-sarah@jacaranda.org**20100504161043
1238 Ignore-this: be088712bec650d4ef24766c0026ebc8
1239] 
1240[tests: pass z to tar so that BSD tar will know to ungzip
1241zooko@zooko.com**20100504090628
1242 Ignore-this: 1339e493f255e8fc0b01b70478f23a09
1243] 
1244[setup: update comments and URLs in setup.cfg
1245zooko@zooko.com**20100504061653
1246 Ignore-this: f97692807c74bcab56d33100c899f829
1247] 
1248[setup: reorder and extend the show-tool-versions script, the better to glean information about our new buildslaves
1249zooko@zooko.com**20100504045643
1250 Ignore-this: 836084b56b8d4ee8f1de1f4efb706d36
1251] 
1252[CLI: Support for https url in option --node-url
1253Francois Deppierraz <francois@ctrlaltdel.ch>**20100430185609
1254 Ignore-this: 1717176b4d27c877e6bc67a944d9bf34
1255 
1256 This patch modifies the regular expression used for verifying of '--node-url'
1257 parameter.  Support for accessing a Tahoe gateway over HTTPS was already
1258 present, thanks to Python's urllib.
1259 
1260] 
1261[backupdb.did_create_directory: use REPLACE INTO, not INSERT INTO + ignore error
1262Brian Warner <warner@lothar.com>**20100428050803
1263 Ignore-this: 1fca7b8f364a21ae413be8767161e32f
1264 
1265 This handles the case where we upload a new tahoe directory for a
1266 previously-processed local directory, possibly creating a new dircap (if the
1267 metadata had changed). Now we replace the old dirhash->dircap record. The
1268 previous behavior left the old record in place (with the old dircap and
1269 timestamps), so we'd never stop creating new directories and never converge
1270 on a null backup.
1271] 
1272["tahoe webopen": add --info flag, to get ?t=info
1273Brian Warner <warner@lothar.com>**20100424233003
1274 Ignore-this: 126b0bb6db340fabacb623d295eb45fa
1275 
1276 Also fix some trailing whitespace.
1277] 
1278[docs: install.html http-equiv refresh to quickstart.html
1279zooko@zooko.com**20100421165708
1280 Ignore-this: 52b4b619f9dde5886ae2cd7f1f3b734b
1281] 
1282[docs: install.html -> quickstart.html
1283zooko@zooko.com**20100421155757
1284 Ignore-this: 6084e203909306bed93efb09d0e6181d
1285 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".
1286] 
1287[Fix another typo in tahoe_storagespace munin plugin
1288david-sarah@jacaranda.org**20100416220935
1289 Ignore-this: ad1f7aa66b554174f91dfb2b7a3ea5f3
1290] 
1291[Add dependency on windmill >= 1.3
1292david-sarah@jacaranda.org**20100416190404
1293 Ignore-this: 4437a7a464e92d6c9012926b18676211
1294] 
1295[licensing: phrase the OpenSSL-exemption in the vocabulary of copyright instead of computer technology, and replicate the exemption from the GPL to the TGPPL
1296zooko@zooko.com**20100414232521
1297 Ignore-this: a5494b2f582a295544c6cad3f245e91
1298] 
1299[munin-tahoe_storagespace
1300freestorm77@gmail.com**20100221203626
1301 Ignore-this: 14d6d6a587afe1f8883152bf2e46b4aa
1302 
1303 Plugin configuration rename
1304 
1305] 
1306[setup: add licensing declaration for setuptools (noticed by the FSF compliance folks)
1307zooko@zooko.com**20100309184415
1308 Ignore-this: 2dfa7d812d65fec7c72ddbf0de609ccb
1309] 
1310[setup: fix error in licensing declaration from Shawn Willden, as noted by the FSF compliance division
1311zooko@zooko.com**20100309163736
1312 Ignore-this: c0623d27e469799d86cabf67921a13f8
1313] 
1314[CREDITS to Jacob Appelbaum
1315zooko@zooko.com**20100304015616
1316 Ignore-this: 70db493abbc23968fcc8db93f386ea54
1317] 
1318[desert-island-build-with-proper-versions
1319jacob@appelbaum.net**20100304013858] 
1320[docs: a few small edits to try to guide newcomers through the docs
1321zooko@zooko.com**20100303231902
1322 Ignore-this: a6aab44f5bf5ad97ea73e6976bc4042d
1323 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.
1324] 
1325[TAG allmydata-tahoe-1.6.1
1326david-sarah@jacaranda.org**20100228062314
1327 Ignore-this: eb5f03ada8ea953ee7780e7fe068539
1328] 
1329Patch bundle hash:
13302ad95e06c4401a9824ad5438562599dcbdf80c11