Ticket #924: sftp-ctime.dpatch

File sftp-ctime.dpatch, 49.8 KB (added by davidsarah, at 2010-06-18T04:15:48Z)

This patch changes the SFTP frontend to set its POSIXish 'ctime' attribute from tahoe:linkmotime, not from any 'ctime' field in the metadata

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