Ticket #1076: nfc-normalization-2.dpatch

File nfc-normalization-2.dpatch, 86.6 KB (added by davidsarah, at 2010-06-17T04:31:09Z)

Patch bundle for normalization changes including tests. Also work around a bug in locale.getpreferredencoding, and add support for Unicode 'exclude' patterns in 'tahoe backup'.

Line 
1Wed Jun 16 04:14:50 GMT Daylight Time 2010  david-sarah@jacaranda.org
2  * Provisional patch to NFC-normalize filenames going in and out of Tahoe directories.
3
4Wed Jun 16 05:20:12 GMT Daylight Time 2010  david-sarah@jacaranda.org
5  * stringutils.py: Add encoding argument to quote_output. Also work around a bug in locale.getpreferredencoding on older Pythons.
6
7Thu Jun 17 02:55:37 GMT Daylight Time 2010  david-sarah@jacaranda.org
8  * stringutils.py: don't NFC-normalize the output of listdir_unicode.
9
10Thu Jun 17 04:39:01 GMT Daylight Time 2010  david-sarah@jacaranda.org
11  * CLI: allow Unicode patterns in exclude option to 'tahoe backup'.
12
13Thu Jun 17 04:40:25 GMT Daylight Time 2010  david-sarah@jacaranda.org
14  * test_dirnode.py: partial tests for normalization changes.
15
16Thu Jun 17 04:44:09 GMT Daylight Time 2010  david-sarah@jacaranda.org
17  * test_stringutils.py: take account of the output of listdir_unicode no longer being normalized. Also use Unicode escapes, not UTF-8.
18
19Thu Jun 17 04:44:40 GMT Daylight Time 2010  david-sarah@jacaranda.org
20  * stringutils.py: remove unused import.
21
22Thu Jun 17 05:14:11 GMT Daylight Time 2010  david-sarah@jacaranda.org
23  * dirnode.py: comments about normalization changes.
24
25New patches:
26
27[Provisional patch to NFC-normalize filenames going in and out of Tahoe directories.
28david-sarah@jacaranda.org**20100616031450
29 Ignore-this: ed08c9d8df37ef0b7cca42bb562c996b
30] {
31hunk ./src/allmydata/dirnode.py 2
32 
33-import time, math
34+import time, math, unicodedata
35 
36 from zope.interface import implements
37 from twisted.internet import defer
38hunk ./src/allmydata/dirnode.py 19
39      DeepCheckAndRepairResults
40 from allmydata.monitor import Monitor
41 from allmydata.util import hashutil, mathutil, base32, log
42+from allmydata.util.stringutils import quote_output
43 from allmydata.util.assertutil import precondition
44 from allmydata.util.netstring import netstring, split_netstring
45 from allmydata.util.consumer import download_to_data
46hunk ./src/allmydata/dirnode.py 79
47 
48     return metadata
49 
50+def normalize(namex):
51+    return unicodedata.normalize('NFC', namex)
52 
53 # TODO: {Deleter,MetadataSetter,Adder}.modify all start by unpacking the
54 # contents and end by repacking them. It might be better to apply them to
55hunk ./src/allmydata/dirnode.py 87
56 # the unpacked contents.
57 
58 class Deleter:
59-    def __init__(self, node, name, must_exist=True, must_be_directory=False, must_be_file=False):
60+    def __init__(self, node, namex, must_exist=True, must_be_directory=False, must_be_file=False):
61         self.node = node
62hunk ./src/allmydata/dirnode.py 89
63-        self.name = name
64+        self.name = normalize(namex)
65         self.must_exist = must_exist
66         self.must_be_directory = must_be_directory
67         self.must_be_file = must_be_file
68hunk ./src/allmydata/dirnode.py 115
69 
70 
71 class MetadataSetter:
72-    def __init__(self, node, name, metadata, create_readonly_node=None):
73+    def __init__(self, node, namex, metadata, create_readonly_node=None):
74         self.node = node
75hunk ./src/allmydata/dirnode.py 117
76-        self.name = name
77+        self.name = normalize(namex)
78         self.metadata = metadata
79         self.create_readonly_node = create_readonly_node
80 
81hunk ./src/allmydata/dirnode.py 145
82         if entries is None:
83             entries = {}
84         precondition(isinstance(entries, dict), entries)
85+        # keys of 'entries' may not be normalized.
86         self.entries = entries
87         self.overwrite = overwrite
88         self.create_readonly_node = create_readonly_node
89hunk ./src/allmydata/dirnode.py 150
90 
91-    def set_node(self, name, node, metadata):
92-        precondition(isinstance(name, unicode), name)
93+    def set_node(self, namex, node, metadata):
94         precondition(IFilesystemNode.providedBy(node), node)
95hunk ./src/allmydata/dirnode.py 152
96-        self.entries[name] = (node, metadata)
97+        self.entries[namex] = (node, metadata)
98 
99     def modify(self, old_contents, servermap, first_time):
100         children = self.node._unpack_contents(old_contents)
101hunk ./src/allmydata/dirnode.py 157
102         now = time.time()
103-        for (name, (child, new_metadata)) in self.entries.iteritems():
104-            precondition(isinstance(name, unicode), name)
105+        for (namex, (child, new_metadata)) in self.entries.iteritems():
106+            name = normalize(namex)
107             precondition(IFilesystemNode.providedBy(child), child)
108 
109             # Strictly speaking this is redundant because we would raise the
110hunk ./src/allmydata/dirnode.py 168
111             metadata = None
112             if name in children:
113                 if not self.overwrite:
114-                    raise ExistingChildError("child '%s' already exists" % name)
115+                    raise ExistingChildError("child %s already exists" % quote_output(name, encoding='utf-8'))
116 
117                 if self.overwrite == "only-files" and IDirectoryNode.providedBy(children[name][0]):
118hunk ./src/allmydata/dirnode.py 171
119-                    raise ExistingChildError("child '%s' already exists" % name)
120+                    raise ExistingChildError("child %s already exists" % quote_output(name, encoding='utf-8'))
121                 metadata = children[name][1].copy()
122 
123             metadata = update_metadata(metadata, new_metadata, now)
124hunk ./src/allmydata/dirnode.py 182
125         new_contents = self.node._pack_contents(children)
126         return new_contents
127 
128+
129 def _encrypt_rw_uri(filenode, rw_uri):
130     assert isinstance(rw_uri, str)
131     writekey = filenode.get_writekey()
132hunk ./src/allmydata/dirnode.py 219
133         (child, metadata) = children[name]
134         child.raise_error()
135         if deep_immutable and not child.is_allowed_in_immutable_directory():
136-            raise MustBeDeepImmutableError("child '%s' is not allowed in an immutable directory" % (name,), name)
137+            raise MustBeDeepImmutableError("child %s is not allowed in an immutable directory" %
138+                                           quote_output(name, encoding='utf-8'), name)
139         if has_aux:
140             entry = children.get_aux(name)
141         if not entry:
142hunk ./src/allmydata/dirnode.py 292
143         return plaintext
144 
145     def _create_and_validate_node(self, rw_uri, ro_uri, name):
146+        # name is just for error reporting
147         node = self._nodemaker.create_from_cap(rw_uri, ro_uri,
148                                                deep_immutable=not self.is_mutable(),
149                                                name=name)
150hunk ./src/allmydata/dirnode.py 300
151         return node
152 
153     def _create_readonly_node(self, node, name):
154+        # name is just for error reporting
155         if not node.is_unknown() and node.is_readonly():
156             return node
157         return self._create_and_validate_node(None, node.get_readonly_uri(), name=name)
158hunk ./src/allmydata/dirnode.py 309
159         # the directory is serialized as a list of netstrings, one per child.
160         # Each child is serialized as a list of four netstrings: (name, ro_uri,
161         # rwcapdata, metadata), in which the name, ro_uri, metadata are in
162-        # cleartext. The 'name' is UTF-8 encoded. The rwcapdata is formatted as:
163+        # cleartext. The 'name' is UTF-8 encoded, and should be normalized to NFC.
164+        # The rwcapdata is formatted as:
165         # pack("16ss32s", iv, AES(H(writekey+iv), plaintext_rw_uri), mac)
166         assert isinstance(data, str), (repr(data), type(data))
167         # an empty directory is serialized as an empty string
168hunk ./src/allmydata/dirnode.py 323
169         while position < len(data):
170             entries, position = split_netstring(data, 1, position)
171             entry = entries[0]
172-            (name_utf8, ro_uri, rwcapdata, metadata_s), subpos = split_netstring(entry, 4)
173+            (namex_utf8, ro_uri, rwcapdata, metadata_s), subpos = split_netstring(entry, 4)
174             if not mutable and len(rwcapdata) > 0:
175                 raise ValueError("the rwcapdata field of a dirnode in an immutable directory was not empty")
176hunk ./src/allmydata/dirnode.py 326
177-            name = name_utf8.decode("utf-8")
178+
179+            # A name containing characters that are unassigned in one version of Unicode might
180+            # not be normalized wrt a later version. Therefore we normalize names going both in
181+            # and out of directories.
182+            name = normalize(namex_utf8.decode("utf-8"))
183+
184             rw_uri = ""
185             if writeable:
186                 rw_uri = self._decrypt_rwcapdata(rwcapdata)
187hunk ./src/allmydata/dirnode.py 354
188                     children[name] = (child, metadata)
189                     children.set_with_aux(name, (child, metadata), auxilliary=entry)
190                 else:
191-                    log.msg(format="mutable cap for child '%(name)s' unpacked from an immutable directory",
192-                                   name=name_utf8,
193+                    log.msg(format="mutable cap for child %(name)s unpacked from an immutable directory",
194+                                   name=quote_output(name, encoding='utf-8'),
195                                    facility="tahoe.webish", level=log.UNUSUAL)
196             except CapConstraintError, e:
197hunk ./src/allmydata/dirnode.py 358
198-                log.msg(format="unmet constraint on cap for child '%(name)s' unpacked from a directory:\n"
199-                               "%(message)s", message=e.args[0], name=name_utf8,
200+                log.msg(format="unmet constraint on cap for child %(name)s unpacked from a directory:\n"
201+                               "%(message)s", message=e.args[0], name=quote_output(name, encoding='utf-8'),
202                                facility="tahoe.webish", level=log.UNUSUAL)
203 
204         return children
205hunk ./src/allmydata/dirnode.py 422
206         name to a tuple of (IFilesystemNode, metadata)."""
207         return self._read()
208 
209-    def has_child(self, name):
210+    def has_child(self, namex):
211         """I return a Deferred that fires with a boolean, True if there
212         exists a child of the given name, False if not."""
213hunk ./src/allmydata/dirnode.py 425
214-        assert isinstance(name, unicode)
215+        name = normalize(namex)
216         d = self._read()
217         d.addCallback(lambda children: children.has_key(name))
218         return d
219hunk ./src/allmydata/dirnode.py 442
220             raise NoSuchChildError(name)
221         return child
222 
223-    def get(self, name):
224+    def get(self, namex):
225         """I return a Deferred that fires with the named child node,
226         which is an IFilesystemNode."""
227hunk ./src/allmydata/dirnode.py 445
228-        assert isinstance(name, unicode)
229+        name = normalize(namex)
230         d = self._read()
231         d.addCallback(self._get, name)
232         return d
233hunk ./src/allmydata/dirnode.py 450
234 
235-    def get_child_and_metadata(self, name):
236+    def get_child_and_metadata(self, namex):
237         """I return a Deferred that fires with the (node, metadata) pair for
238         the named child. The node is an IFilesystemNode, and the metadata
239         is a dictionary."""
240hunk ./src/allmydata/dirnode.py 454
241-        assert isinstance(name, unicode)
242+        name = normalize(namex)
243         d = self._read()
244         d.addCallback(self._get_with_metadata, name)
245         return d
246hunk ./src/allmydata/dirnode.py 459
247 
248-    def get_metadata_for(self, name):
249-        assert isinstance(name, unicode)
250+    def get_metadata_for(self, namex):
251+        name = normalize(namex)
252         d = self._read()
253         d.addCallback(lambda children: children[name][1])
254         return d
255hunk ./src/allmydata/dirnode.py 465
256 
257-    def set_metadata_for(self, name, metadata):
258-        assert isinstance(name, unicode)
259+    def set_metadata_for(self, namex, metadata):
260+        name = normalize(namex)
261         if self.is_readonly():
262             return defer.fail(NotWriteableError())
263         assert isinstance(metadata, dict)
264hunk ./src/allmydata/dirnode.py 476
265         d.addCallback(lambda res: self)
266         return d
267 
268-    def get_child_at_path(self, path):
269+    def get_child_at_path(self, pathx):
270         """Transform a child path into an IFilesystemNode.
271 
272         I perform a recursive series of 'get' operations to find the named
273hunk ./src/allmydata/dirnode.py 486
274         The path can be either a single string (slash-separated) or a list of
275         path-name elements.
276         """
277-        d = self.get_child_and_metadata_at_path(path)
278+        d = self.get_child_and_metadata_at_path(pathx)
279         d.addCallback(lambda (node, metadata): node)
280         return d
281 
282hunk ./src/allmydata/dirnode.py 490
283-    def get_child_and_metadata_at_path(self, path):
284+    def get_child_and_metadata_at_path(self, pathx):
285         """Transform a child path into an IFilesystemNode and
286         a metadata dictionary from the last edge that was traversed.
287         """
288hunk ./src/allmydata/dirnode.py 495
289 
290-        if not path:
291+        if not pathx:
292             return defer.succeed((self, {}))
293hunk ./src/allmydata/dirnode.py 497
294-        if isinstance(path, (list, tuple)):
295+        if isinstance(pathx, (list, tuple)):
296             pass
297         else:
298hunk ./src/allmydata/dirnode.py 500
299-            path = path.split("/")
300-        for p in path:
301-            assert isinstance(p, unicode)
302-        childname = path[0]
303-        remaining_path = path[1:]
304-        if remaining_path:
305-            d = self.get(childname)
306+            pathx = pathx.split("/")
307+        for p in pathx:
308+            assert isinstance(p, unicode), p
309+        childnamex = pathx[0]
310+        remaining_pathx = pathx[1:]
311+        if remaining_pathx:
312+            d = self.get(childnamex)
313             d.addCallback(lambda node:
314hunk ./src/allmydata/dirnode.py 508
315-                          node.get_child_and_metadata_at_path(remaining_path))
316+                          node.get_child_and_metadata_at_path(remaining_pathx))
317             return d
318hunk ./src/allmydata/dirnode.py 510
319-        d = self.get_child_and_metadata(childname)
320+        d = self.get_child_and_metadata(childnamex)
321         return d
322 
323hunk ./src/allmydata/dirnode.py 513
324-    def set_uri(self, name, writecap, readcap, metadata=None, overwrite=True):
325-        precondition(isinstance(name, unicode), name)
326+    def set_uri(self, namex, writecap, readcap, metadata=None, overwrite=True):
327         precondition(isinstance(writecap, (str,type(None))), writecap)
328         precondition(isinstance(readcap, (str,type(None))), readcap)
329 
330hunk ./src/allmydata/dirnode.py 519
331         # We now allow packing unknown nodes, provided they are valid
332         # for this type of directory.
333-        child_node = self._create_and_validate_node(writecap, readcap, name)
334-        d = self.set_node(name, child_node, metadata, overwrite)
335+        child_node = self._create_and_validate_node(writecap, readcap, namex)
336+        d = self.set_node(namex, child_node, metadata, overwrite)
337         d.addCallback(lambda res: child_node)
338         return d
339 
340hunk ./src/allmydata/dirnode.py 528
341         # this takes URIs
342         a = Adder(self, overwrite=overwrite,
343                   create_readonly_node=self._create_readonly_node)
344-        for (name, e) in entries.iteritems():
345-            assert isinstance(name, unicode)
346+        for (namex, e) in entries.iteritems():
347+            assert isinstance(namex, unicode), namex
348             if len(e) == 2:
349                 writecap, readcap = e
350                 metadata = None
351hunk ./src/allmydata/dirnode.py 541
352             
353             # We now allow packing unknown nodes, provided they are valid
354             # for this type of directory.
355-            child_node = self._create_and_validate_node(writecap, readcap, name)
356-            a.set_node(name, child_node, metadata)
357+            child_node = self._create_and_validate_node(writecap, readcap, namex)
358+            a.set_node(namex, child_node, metadata)
359         d = self._node.modify(a.modify)
360         d.addCallback(lambda ign: self)
361         return d
362hunk ./src/allmydata/dirnode.py 547
363 
364-    def set_node(self, name, child, metadata=None, overwrite=True):
365+    def set_node(self, namex, child, metadata=None, overwrite=True):
366         """I add a child at the specific name. I return a Deferred that fires
367         when the operation finishes. This Deferred will fire with the child
368         node that was just added. I will replace any existing child of the
369hunk ./src/allmydata/dirnode.py 560
370 
371         if self.is_readonly():
372             return defer.fail(NotWriteableError())
373-        assert isinstance(name, unicode)
374         assert IFilesystemNode.providedBy(child), child
375         a = Adder(self, overwrite=overwrite,
376                   create_readonly_node=self._create_readonly_node)
377hunk ./src/allmydata/dirnode.py 563
378-        a.set_node(name, child, metadata)
379+        a.set_node(namex, child, metadata)
380         d = self._node.modify(a.modify)
381         d.addCallback(lambda res: child)
382         return d
383hunk ./src/allmydata/dirnode.py 579
384         return d
385 
386 
387-    def add_file(self, name, uploadable, metadata=None, overwrite=True):
388+    def add_file(self, namex, uploadable, metadata=None, overwrite=True):
389         """I upload a file (using the given IUploadable), then attach the
390         resulting FileNode to the directory at the given name. I return a
391         Deferred that fires (with the IFileNode of the uploaded file) when
392hunk ./src/allmydata/dirnode.py 584
393         the operation completes."""
394-        assert isinstance(name, unicode)
395+        name = normalize(namex)
396         if self.is_readonly():
397             return defer.fail(NotWriteableError())
398         d = self._uploader.upload(uploadable)
399hunk ./src/allmydata/dirnode.py 594
400                       self.set_node(name, node, metadata, overwrite))
401         return d
402 
403-    def delete(self, name, must_exist=True, must_be_directory=False, must_be_file=False):
404+    def delete(self, namex, must_exist=True, must_be_directory=False, must_be_file=False):
405         """I remove the child at the specific name. I return a Deferred that
406         fires (with the node just removed) when the operation finishes."""
407hunk ./src/allmydata/dirnode.py 597
408-        assert isinstance(name, unicode)
409         if self.is_readonly():
410             return defer.fail(NotWriteableError())
411hunk ./src/allmydata/dirnode.py 599
412-        deleter = Deleter(self, name, must_exist=must_exist,
413+        deleter = Deleter(self, namex, must_exist=must_exist,
414                           must_be_directory=must_be_directory, must_be_file=must_be_file)
415         d = self._node.modify(deleter.modify)
416         d.addCallback(lambda res: deleter.old_child)
417hunk ./src/allmydata/dirnode.py 605
418         return d
419 
420-    def create_subdirectory(self, name, initial_children={}, overwrite=True,
421+    def create_subdirectory(self, namex, initial_children={}, overwrite=True,
422                             mutable=True, metadata=None):
423hunk ./src/allmydata/dirnode.py 607
424-        assert isinstance(name, unicode)
425+        name = normalize(namex)
426         if self.is_readonly():
427             return defer.fail(NotWriteableError())
428         if mutable:
429hunk ./src/allmydata/dirnode.py 624
430         d.addCallback(_created)
431         return d
432 
433-    def move_child_to(self, current_child_name, new_parent,
434-                      new_child_name=None, overwrite=True):
435+    def move_child_to(self, current_child_namex, new_parent,
436+                      new_child_namex=None, overwrite=True):
437         """I take one of my children and move them to a new parent. The child
438         is referenced by name. On the new parent, the child will live under
439         'new_child_name', which defaults to 'current_child_name'. I return a
440hunk ./src/allmydata/dirnode.py 630
441         Deferred that fires when the operation finishes."""
442-        assert isinstance(current_child_name, unicode)
443+
444         if self.is_readonly() or new_parent.is_readonly():
445             return defer.fail(NotWriteableError())
446hunk ./src/allmydata/dirnode.py 633
447-        if new_child_name is None:
448-            new_child_name = current_child_name
449-        assert isinstance(new_child_name, unicode)
450+
451+        current_child_name = normalize(current_child_namex)
452+        if new_child_namex is None:
453+            new_child_namex = current_child_name
454         d = self.get(current_child_name)
455         def sn(child):
456hunk ./src/allmydata/dirnode.py 639
457-            return new_parent.set_node(new_child_name, child,
458+            return new_parent.set_node(new_child_namex, child,
459                                        overwrite=overwrite)
460         d.addCallback(sn)
461         d.addCallback(lambda child: self.delete(current_child_name))
462}
463[stringutils.py: Add encoding argument to quote_output. Also work around a bug in locale.getpreferredencoding on older Pythons.
464david-sarah@jacaranda.org**20100616042012
465 Ignore-this: 48174c37ad95205997e4d3cdd81f1e28
466] {
467hunk ./src/allmydata/util/stringutils.py 13
468 from allmydata.util.assertutil import precondition
469 from twisted.python import usage
470 import locale
471+from allmydata.util import log
472 
473 
474 def _canonical_encoding(encoding):
475hunk ./src/allmydata/util/stringutils.py 18
476     if encoding is None:
477+        log.msg("Warning: falling back to UTF-8 encoding.", level=log.WEIRD)
478         encoding = 'utf-8'
479     encoding = encoding.lower()
480     if encoding == "cp65001":
481hunk ./src/allmydata/util/stringutils.py 23
482         encoding = 'utf-8'
483-    elif encoding == "us-ascii" or encoding == "646":
484+    elif encoding == "us-ascii" or encoding == "646" or encoding == "ansi_x3.4-1968":
485         encoding = 'ascii'
486 
487     # sometimes Python returns an encoding name that it doesn't support for conversion
488hunk ./src/allmydata/util/stringutils.py 44
489     global filesystem_encoding, output_encoding, argv_encoding, is_unicode_platform
490 
491     filesystem_encoding = _canonical_encoding(sys.getfilesystemencoding())
492-    output_encoding = _canonical_encoding(sys.stdout.encoding or locale.getpreferredencoding())
493+
494+    outenc = sys.stdout.encoding
495+    if outenc is None:
496+        try:
497+            outenc = locale.getpreferredencoding()
498+        except Exception:
499+            pass  # work around <http://bugs.python.org/issue1443504>
500+    output_encoding = _canonical_encoding(outenc)
501+
502     if sys.platform == 'win32':
503         # Unicode arguments are not supported on Windows yet; see #565 and #1074.
504         argv_encoding = 'ascii'
505hunk ./src/allmydata/util/stringutils.py 139
506                                  (output_encoding, repr(s)))
507     return out
508 
509-def quote_output(s, quotemarks=True):
510+def quote_output(s, quotemarks=True, encoding=None):
511     """
512     Encode either a Unicode string or a UTF-8-encoded bytestring for representation
513     on stdout or stderr, tolerating errors. If 'quotemarks' is True, the string is
514hunk ./src/allmydata/util/stringutils.py 155
515             return 'b' + repr(s)
516 
517     try:
518-        out = s.encode(output_encoding)
519+        out = s.encode(encoding or output_encoding)
520     except (UnicodeEncodeError, UnicodeDecodeError):
521         return repr(s)
522 
523}
524[stringutils.py: don't NFC-normalize the output of listdir_unicode.
525david-sarah@jacaranda.org**20100617015537
526 Ignore-this: 93c9b6f3d7c6812a0afa8d9e1b0b4faa
527] {
528hunk ./src/allmydata/util/stringutils.py 214
529     # On other platforms (ie. Unix systems), the byte-level API is used
530 
531     if is_unicode_platform:
532-        dirlist = os.listdir(path)
533+        return os.listdir(path)
534     else:
535hunk ./src/allmydata/util/stringutils.py 216
536-        dirlist = listdir_unicode_fallback(path)
537-
538-    # Normalize the resulting unicode filenames
539-    #
540-    # This prevents different OSes from generating non-equal unicode strings for
541-    # the same filename representation
542-    return [unicodedata.normalize('NFC', fname) for fname in dirlist]
543+        return listdir_unicode_fallback(path)
544 
545 def open_unicode(path, mode):
546     """
547}
548[CLI: allow Unicode patterns in exclude option to 'tahoe backup'.
549david-sarah@jacaranda.org**20100617033901
550 Ignore-this: 9d971129e1c8bae3c1cc3220993d592e
551] {
552hunk ./src/allmydata/scripts/cli.py 298
553     def opt_exclude(self, pattern):
554         """Ignore files matching a glob pattern. You may give multiple
555         '--exclude' options."""
556-        g = pattern.strip()
557+        g = argv_to_unicode(pattern).strip()
558         if g:
559             exclude = self['exclude']
560             exclude.add(g)
561hunk ./src/allmydata/scripts/cli.py 305
562 
563     def opt_exclude_from(self, filepath):
564         """Ignore file matching glob patterns listed in file, one per
565-        line."""
566+        line. The file is assumed to be in the argv encoding."""
567         try:
568             exclude_file = file(filepath)
569         except:
570hunk ./src/allmydata/scripts/tahoe_backup.py 176
571             children = []
572 
573         for child in self.options.filter_listdir(children):
574+            assert isinstance(child, unicode), child
575             childpath = os.path.join(localpath, child)
576hunk ./src/allmydata/scripts/tahoe_backup.py 178
577-            child = unicode(child)
578             # note: symlinks to directories are both islink() and isdir()
579             if os.path.isdir(childpath) and not os.path.islink(childpath):
580                 metadata = get_local_metadata(childpath)
581}
582[test_dirnode.py: partial tests for normalization changes.
583david-sarah@jacaranda.org**20100617034025
584 Ignore-this: 2e3169dd8b120d42dff35bd267dcb417
585] {
586hunk ./src/allmydata/test/test_dirnode.py 49
587 future_write_uri = "x-tahoe-crazy://I_am_from_the_future."
588 future_read_uri = "x-tahoe-crazy-readonly://I_am_from_the_future."
589 
590+# 'o' 'n' 'e-macron'
591+one_nfc = u"on\u0113"
592+one_nfd = u"one\u0304"
593+
594 class Dirnode(GridTestMixin, unittest.TestCase,
595               testutil.ShouldFailMixin, testutil.StallMixin, ErrorMixin):
596     timeout = 240 # It takes longer than 120 seconds on Francois's arm box.
597hunk ./src/allmydata/test/test_dirnode.py 80
598         c = self.g.clients[0]
599         nm = c.nodemaker
600 
601-        kids = {u"one": (nm.create_from_cap(one_uri), {}),
602+        kids = {one_nfd: (nm.create_from_cap(one_uri), {}),
603                 u"two": (nm.create_from_cap(setup_py_uri),
604                          {"metakey": "metavalue"}),
605                 u"mut": (nm.create_from_cap(mut_write_uri, mut_read_uri), {}),
606hunk ./src/allmydata/test/test_dirnode.py 105
607         
608         def _check_kids(children):
609             self.failUnlessEqual(set(children.keys()),
610-                                 set([u"one", u"two", u"mut", u"fut", u"fro", u"empty_litdir", u"tiny_litdir"]))
611-            one_node, one_metadata = children[u"one"]
612+                                 set([one_nfc, u"two", u"mut", u"fut", u"fro", u"empty_litdir", u"tiny_litdir"]))
613+            one_node, one_metadata = children[one_nfc]
614             two_node, two_metadata = children[u"two"]
615             mut_node, mut_metadata = children[u"mut"]
616             fut_node, fut_metadata = children[u"fut"]
617hunk ./src/allmydata/test/test_dirnode.py 161
618         d.addCallback(_check_kids)
619 
620         bad_future_node = UnknownNode(future_write_uri, None)
621-        bad_kids1 = {u"one": (bad_future_node, {})}
622+        bad_kids1 = {one_nfd: (bad_future_node, {})}
623         # This should fail because we don't know how to diminish the future_write_uri
624         # cap (given in a write slot and not prefixed with "ro." or "imm.") to a readcap.
625         d.addCallback(lambda ign:
626hunk ./src/allmydata/test/test_dirnode.py 169
627                                       "cannot attach unknown",
628                                       nm.create_new_mutable_directory,
629                                       bad_kids1))
630-        bad_kids2 = {u"one": (nm.create_from_cap(one_uri), None)}
631+        bad_kids2 = {one_nfd: (nm.create_from_cap(one_uri), None)}
632         d.addCallback(lambda ign:
633                       self.shouldFail(AssertionError, "bad_kids2",
634                                       "requires metadata to be a dict",
635hunk ./src/allmydata/test/test_dirnode.py 183
636         c = self.g.clients[0]
637         nm = c.nodemaker
638 
639-        kids = {u"one": (nm.create_from_cap(one_uri), {}),
640+        kids = {one_nfd: (nm.create_from_cap(one_uri), {}),
641                 u"two": (nm.create_from_cap(setup_py_uri),
642                          {"metakey": "metavalue"}),
643                 u"fut": (nm.create_from_cap(None, future_read_uri), {}),
644hunk ./src/allmydata/test/test_dirnode.py 209
645         
646         def _check_kids(children):
647             self.failUnlessEqual(set(children.keys()),
648-                                 set([u"one", u"two", u"fut", u"empty_litdir", u"tiny_litdir"]))
649-            one_node, one_metadata = children[u"one"]
650+                                 set([one_nfc, u"two", u"fut", u"empty_litdir", u"tiny_litdir"]))
651+            one_node, one_metadata = children[one_nfc]
652             two_node, two_metadata = children[u"two"]
653             fut_node, fut_metadata = children[u"fut"]
654             emptylit_node, emptylit_metadata = children[u"empty_litdir"]
655hunk ./src/allmydata/test/test_dirnode.py 254
656         d.addCallback(_check_kids)
657 
658         bad_future_node1 = UnknownNode(future_write_uri, None)
659-        bad_kids1 = {u"one": (bad_future_node1, {})}
660+        bad_kids1 = {one_nfd: (bad_future_node1, {})}
661         d.addCallback(lambda ign:
662                       self.shouldFail(MustNotBeUnknownRWError, "bad_kids1",
663                                       "cannot attach unknown",
664hunk ./src/allmydata/test/test_dirnode.py 261
665                                       c.create_immutable_dirnode,
666                                       bad_kids1))
667         bad_future_node2 = UnknownNode(future_write_uri, future_read_uri)
668-        bad_kids2 = {u"one": (bad_future_node2, {})}
669+        bad_kids2 = {one_nfd: (bad_future_node2, {})}
670         d.addCallback(lambda ign:
671                       self.shouldFail(MustBeDeepImmutableError, "bad_kids2",
672                                       "is not immutable",
673hunk ./src/allmydata/test/test_dirnode.py 267
674                                       c.create_immutable_dirnode,
675                                       bad_kids2))
676-        bad_kids3 = {u"one": (nm.create_from_cap(one_uri), None)}
677+        bad_kids3 = {one_nfd: (nm.create_from_cap(one_uri), None)}
678         d.addCallback(lambda ign:
679                       self.shouldFail(AssertionError, "bad_kids3",
680                                       "requires metadata to be a dict",
681hunk ./src/allmydata/test/test_dirnode.py 273
682                                       c.create_immutable_dirnode,
683                                       bad_kids3))
684-        bad_kids4 = {u"one": (nm.create_from_cap(mut_write_uri), {})}
685+        bad_kids4 = {one_nfd: (nm.create_from_cap(mut_write_uri), {})}
686         d.addCallback(lambda ign:
687                       self.shouldFail(MustBeDeepImmutableError, "bad_kids4",
688                                       "is not immutable",
689hunk ./src/allmydata/test/test_dirnode.py 279
690                                       c.create_immutable_dirnode,
691                                       bad_kids4))
692-        bad_kids5 = {u"one": (nm.create_from_cap(mut_read_uri), {})}
693+        bad_kids5 = {one_nfd: (nm.create_from_cap(mut_read_uri), {})}
694         d.addCallback(lambda ign:
695                       self.shouldFail(MustBeDeepImmutableError, "bad_kids5",
696                                       "is not immutable",
697hunk ./src/allmydata/test/test_dirnode.py 336
698             d.addCallback(_check_kids)
699             d.addCallback(lambda ign: n.get(u"subdir"))
700             d.addCallback(lambda sd: self.failIf(sd.is_mutable()))
701-            bad_kids = {u"one": (nm.create_from_cap(mut_write_uri), {})}
702+            bad_kids = {one_nfd: (nm.create_from_cap(mut_write_uri), {})}
703             d.addCallback(lambda ign:
704                           self.shouldFail(MustBeDeepImmutableError, "YZ",
705                                           "is not immutable",
706}
707[test_stringutils.py: take account of the output of listdir_unicode no longer being normalized. Also use Unicode escapes, not UTF-8.
708david-sarah@jacaranda.org**20100617034409
709 Ignore-this: 47f3f072f0e2efea0abeac130f84c56f
710] {
711hunk ./src/allmydata/test/test_stringutils.py 1
712-# coding=utf-8
713+
714+lumiere_nfc = u"lumi\u00E8re"
715+Artonwall_nfc = u"\u00C4rtonwall.mp3"
716+Artonwall_nfd = u"A\u0308rtonwall.mp3"
717 
718 TEST_FILENAMES = (
719hunk ./src/allmydata/test/test_stringutils.py 7
720-  u'Ärtonwall.mp3',
721+  Artonwall_nfc,
722   u'test_file',
723   u'Blah blah.txt',
724 )
725hunk ./src/allmydata/test/test_stringutils.py 22
726     import platform
727 
728     if len(sys.argv) != 2:
729-        print "Usage: %s lumière" % sys.argv[0]
730+        print "Usage: %s lumi<e-grave>re" % sys.argv[0]
731         sys.exit(1)
732     
733     print
734hunk ./src/allmydata/test/test_stringutils.py 62
735 from allmydata.util.stringutils import argv_to_unicode, unicode_to_url, \
736     unicode_to_output, unicode_platform, listdir_unicode, open_unicode, \
737     FilenameEncodingError, get_output_encoding, _reload
738+from allmydata.dirnode import normalize
739 
740 from twisted.python import usage
741 
742hunk ./src/allmydata/test/test_stringutils.py 96
743 
744         self.failUnlessRaises(usage.UsageError,
745                               argv_to_unicode,
746-                              u'lumière'.encode('latin1'))
747+                              lumiere_nfc.encode('latin1'))
748 
749     @patch('sys.stdout')
750     def test_unicode_to_output(self, mock):
751hunk ./src/allmydata/test/test_stringutils.py 100
752-        # Encoding koi8-r cannot represent 'è'
753+        # Encoding koi8-r cannot represent e-grave
754         mock.encoding = 'koi8-r'
755         _reload()
756hunk ./src/allmydata/test/test_stringutils.py 103
757-        self.failUnlessRaises(UnicodeEncodeError, unicode_to_output, u'lumière')
758+        self.failUnlessRaises(UnicodeEncodeError, unicode_to_output, lumiere_nfc)
759 
760     @patch('os.listdir')
761hunk ./src/allmydata/test/test_stringutils.py 106
762-    def test_unicode_normalization(self, mock):
763-        # Pretend to run on an Unicode platform
764+    def test_no_unicode_normalization(self, mock):
765+        # Pretend to run on a Unicode platform.
766+        # We normalized to NFC in 1.7beta, but we now don't.
767         orig_platform = sys.platform
768         try:
769             sys.platform = 'darwin'
770hunk ./src/allmydata/test/test_stringutils.py 112
771-            mock.return_value = [u'A\u0308rtonwall.mp3']
772+            mock.return_value = [Artonwall_nfd]
773             _reload()
774hunk ./src/allmydata/test/test_stringutils.py 114
775-            self.failUnlessReallyEqual(listdir_unicode(u'/dummy'), [u'\xc4rtonwall.mp3'])
776+            self.failUnlessReallyEqual(listdir_unicode(u'/dummy'), [Artonwall_nfd])
777         finally:
778             sys.platform = orig_platform
779 
780hunk ./src/allmydata/test/test_stringutils.py 136
781         # What happens if latin1-encoded filenames are encountered on an UTF-8
782         # filesystem?
783         mock_listdir.return_value = [
784-            u'lumière'.encode('utf-8'),
785-            u'lumière'.encode('latin1')]
786+            lumiere_nfc.encode('utf-8'),
787+            lumiere_nfc.encode('latin1')]
788 
789         mock_getfilesystemencoding.return_value = 'utf-8'
790         _reload()
791hunk ./src/allmydata/test/test_stringutils.py 151
792         _reload()
793         self.failUnlessRaises(FilenameEncodingError,
794                               listdir_unicode,
795-                              u'/lumière')
796+                              u'/' + lumiere_nfc)
797 
798     @patch('sys.getfilesystemencoding')
799     def test_open_unicode(self, mock):
800hunk ./src/allmydata/test/test_stringutils.py 159
801         _reload()
802         self.failUnlessRaises(FilenameEncodingError,
803                               open_unicode,
804-                              u'lumière', 'rb')
805+                              lumiere_nfc, 'rb')
806 
807 class StringUtils(ReallyEqualMixin):
808     def setUp(self):
809hunk ./src/allmydata/test/test_stringutils.py 177
810             return
811 
812         mock.encoding = self.output_encoding
813-        argu = u'lumière'
814+        argu = lumiere_nfc
815         argv = self.argv
816         _reload()
817         self.failUnlessReallyEqual(argv_to_unicode(argv), argu)
818hunk ./src/allmydata/test/test_stringutils.py 183
819 
820     def test_unicode_to_url(self):
821-        self.failUnless(unicode_to_url(u'lumière'), "lumi\xc3\xa8re")
822+        self.failUnless(unicode_to_url(lumiere_nfc), "lumi\xc3\xa8re")
823 
824     @patch('sys.stdout')
825     def test_unicode_to_output(self, mock):
826hunk ./src/allmydata/test/test_stringutils.py 192
827 
828         mock.encoding = self.output_encoding
829         _reload()
830-        self.failUnlessReallyEqual(unicode_to_output(u'lumière'), self.output)
831+        self.failUnlessReallyEqual(unicode_to_output(lumiere_nfc), self.output)
832 
833     def test_unicode_platform(self):
834         matrix = {
835hunk ./src/allmydata/test/test_stringutils.py 224
836         _reload()
837         filenames = listdir_unicode(u'/dummy')
838 
839-        for fname in TEST_FILENAMES:
840-            self.failUnless(isinstance(fname, unicode))
841-            self.failUnlessIn(fname, filenames)
842+        self.failUnlessEqual(set([normalize(fname) for fname in filenames]),
843+                             set(TEST_FILENAMES))
844 
845     @patch('sys.getfilesystemencoding')
846     @patch('__builtin__.open')
847hunk ./src/allmydata/test/test_stringutils.py 231
848     def test_open_unicode(self, mock_open, mock_getfilesystemencoding):
849         mock_getfilesystemencoding.return_value = self.filesystem_encoding
850-        fn = u'/dummy_directory/lumière.txt'
851+        fn = u'/dummy_directory/" + lumiere_nfc + ".txt'
852 
853         try:
854             u"test".encode(self.filesystem_encoding)
855}
856[stringutils.py: remove unused import.
857david-sarah@jacaranda.org**20100617034440
858 Ignore-this: 16ec7d737c34665156c2ac486acd545a
859] hunk ./src/allmydata/util/stringutils.py 9
860 import sys
861 import os
862 import re
863-import unicodedata
864 from allmydata.util.assertutil import precondition
865 from twisted.python import usage
866 import locale
867[dirnode.py: comments about normalization changes.
868david-sarah@jacaranda.org**20100617041411
869 Ignore-this: 9040c4854e73a71dbbb55b50ea3b41b2
870] {
871hunk ./src/allmydata/dirnode.py 79
872 
873     return metadata
874 
875+
876+# 'x' at the end of a variable name indicates that it holds a Unicode string that may not
877+# be NFC-normalized.
878+
879 def normalize(namex):
880     return unicodedata.normalize('NFC', namex)
881 
882hunk ./src/allmydata/dirnode.py 332
883                 raise ValueError("the rwcapdata field of a dirnode in an immutable directory was not empty")
884 
885             # A name containing characters that are unassigned in one version of Unicode might
886-            # not be normalized wrt a later version. Therefore we normalize names going both in
887-            # and out of directories.
888+            # not be normalized wrt a later version. See the note in section 'Normalization Stability'
889+            # at <http://unicode.org/policies/stability_policy.html>.
890+            # Therefore we normalize names going both in and out of directories.
891             name = normalize(namex_utf8.decode("utf-8"))
892 
893             rw_uri = ""
894}
895
896Context:
897
898[running.html: fix overeager replacement of 'tahoe' with 'Tahoe-LAFS', and some simplifications.
899david-sarah@jacaranda.org**20100617000952
900 Ignore-this: 472b4b531c866574ed79f076b58495b5
901] 
902[Add a specification for servers of happiness.
903Kevan Carstensen <kevan@isnotajoke.com>**20100524003508
904 Ignore-this: 982e2be8a411be5beaf3582bdfde6151
905] 
906[Note that servers of happiness only applies to immutable files for the moment
907Kevan Carstensen <kevan@isnotajoke.com>**20100524042836
908 Ignore-this: cf83cac7a2b3ed347ae278c1a7d9a176
909] 
910[Add a note about running Tahoe-LAFS on a small grid to running.html
911zooko@zooko.com**20100616140227
912 Ignore-this: 14dfbff0d47144f7c2375108c6055dc2
913 also Change "tahoe" and "Tahoe" to "Tahoe-LAFS" in running.html
914 author: Kevan Carstensen
915] 
916[CLI.txt: introduce 'create-alias' before 'add-alias', document Unicode argument support, and other minor updates.
917david-sarah@jacaranda.org**20100610225547
918 Ignore-this: de7326e98d79291cdc15aed86ae61fe8
919] 
920[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
921david-sarah@jacaranda.org**20100616001648
922 Ignore-this: 9c78092ab7bfdc909acae3a144ddd1f8
923] 
924[SFTP: remove a dubious use of 'pragma: no cover'.
925david-sarah@jacaranda.org**20100613164356
926 Ignore-this: 8f96a81b1196017ed6cfa1d914e56fa5
927] 
928[SFTP: test that renaming onto a just-opened file fails.
929david-sarah@jacaranda.org**20100612033709
930 Ignore-this: 9b14147ad78b16a5ab0e0e4813491414
931] 
932[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.
933david-sarah@jacaranda.org**20100612030737
934 Ignore-this: 4ec1dd3d7542be42007987a2f51508e7
935] 
936[SFTP: further improve test coverage (paths containing '.', bad data for posix-rename extension, and error in test of openShell).
937david-sarah@jacaranda.org**20100611213142
938 Ignore-this: 956f9df7f9e8a66b506ca58dd9a5dbe7
939] 
940[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.
941david-sarah@jacaranda.org**20100611205752
942 Ignore-this: 88be1cf323c10dd534a4b8fdac121e31
943] 
944[SFTP: add test for extension of file opened with FXF_APPEND.
945david-sarah@jacaranda.org**20100610182647
946 Ignore-this: c0216d26453ce3cb4b92eef37d218fb4
947] 
948[NEWS: add UTF-8 coding declaration.
949david-sarah@jacaranda.org**20100609234851
950 Ignore-this: 3e6ef125b278e0a982c88d23180a78ae
951] 
952[tests: bump up the timeout on this iputil test from 2s to 4s
953zooko@zooko.com**20100609143017
954 Ignore-this: 786b7f7bbc85d45cdf727a6293750798
955] 
956[docs: a few tweaks to NEWS and CREDITS and make quickstart.html point to 1.7.0β!
957zooko@zooko.com**20100609142927
958 Ignore-this: f8097d3062f41f06c4420a7c84a56481
959] 
960[docs: Update NEWS file with new features and bugfixes in 1.7.0
961francois@ctrlaltdel.ch**20100609091120
962 Ignore-this: 8c1014e4469ef530e5ff48d7d6ae71c5
963] 
964[docs: wording fix, thanks to Jeremy Visser, fix #987
965francois@ctrlaltdel.ch**20100609081103
966 Ignore-this: 6d2e627e0f1cd58c0e1394e193287a4b
967] 
968[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).
969david-sarah@jacaranda.org**20100609080003
970 Ignore-this: 490b4c14207f6725d0dd32c395fbcefa
971] 
972[test_stringutils.py: Fix test failure on CentOS builder, possibly Python 2.4.3-related.
973david-sarah@jacaranda.org**20100609065056
974 Ignore-this: 503b561b213baf1b92ae641f2fdf080a
975] 
976[docs: update relnote.txt for Tahoe-LAFS v1.7.0β
977zooko@zooko.com**20100609054602
978 Ignore-this: 52e1bf86a91d45315960fb8806b7a479
979] 
980[setup: move the mock library from install_requires to tests_require (re: #1016)
981zooko@zooko.com**20100609050542
982 Ignore-this: c51a4ff3e19ed630755be752d2233db4
983] 
984[setup: show-tool-versions.py: print out the output from the unix command "locale" and re-arrange encoding data a little bit
985zooko@zooko.com**20100609040714
986 Ignore-this: 69382719b462d13ff940fcd980776004
987] 
988[setup: add zope.interface to the packages described by show-tool-versions.py
989zooko@zooko.com**20100609034915
990 Ignore-this: b5262b2af5c953a5f68a60bd48dcaa75
991] 
992[Fix for Unicode-related test failures on Zooko's OS X 10.6 machine.
993david-sarah@jacaranda.org**20100609055448
994 Ignore-this: 395ad16429e56623edfa74457a121190
995] 
996[stringutils.py, sftpd.py: Portability fixes for Python <= 2.5.
997david-sarah@jacaranda.org**20100609013302
998 Ignore-this: 9d9ce476ee1b96796e0f48cc5338f852
999] 
1000[_auto_deps.py: allow Python 2.4.3 on Redhat-based distributions.
1001david-sarah@jacaranda.org**20100609003646
1002 Ignore-this: ad3cafdff200caf963024873d0ebff3c
1003] 
1004[CREDITS: update François's Description
1005zooko@zooko.com**20100608155513
1006 Ignore-this: a266b438d25ca2cb28eafff75aa4b2a
1007] 
1008[CREDITS: jsgf
1009zooko@zooko.com**20100608143052
1010 Ignore-this: 10abe06d40b88e22a9107d30f1b84810
1011] 
1012[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
1013zooko@zooko.com**20100608041607
1014 Ignore-this: 64fe386d2e5fba0ab441116e74dad5a3
1015] 
1016[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
1017zooko@zooko.com**20100608041534
1018 Ignore-this: 53f925f160256409cf01b76d2583f83f
1019] 
1020[Back out Windows-specific Unicode argument support for v1.7.
1021david-sarah@jacaranda.org**20100609000803
1022 Ignore-this: b230ffe6fdaf9a0d85dfe745b37b42fb
1023] 
1024[SFTP: suppress NoSuchChildError if heisenfile attributes have been updated in setAttrs, in the case where the parent is available.
1025david-sarah@jacaranda.org**20100608063753
1026 Ignore-this: 8c72a5a9c15934f8fe4594ba3ee50ddd
1027] 
1028[SFTP: ignore permissions when opening a file (needed for sshfs interoperability).
1029david-sarah@jacaranda.org**20100608055700
1030 Ignore-this: f87f6a430f629326a324ddd94426c797
1031] 
1032[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.
1033zooko@zooko.com**20100608033754
1034 Ignore-this: 98dc27692c5ace1e4b0650b6680629d7
1035] 
1036[test_web.py: fix pyflakes warnings introduced by byterange patch.
1037david-sarah@jacaranda.org**20100608042012
1038 Ignore-this: a7612724893b51d1154dec4372e0508
1039] 
1040[Improve HTTP/1.1 byterange handling
1041Jeremy Fitzhardinge <jeremy@goop.org>**20100310025913
1042 Ignore-this: 6d69e694973d618f0dc65983735cd9be
1043 
1044 Fix parsing of a Range: header to support:
1045  - multiple ranges (parsed, but not returned)
1046  - suffix byte ranges ("-2139")
1047  - correct handling of incorrectly formatted range headers
1048    (correct behaviour is to ignore the header and return the full
1049     file)
1050  - return appropriate error for ranges outside the file
1051 
1052 Multiple ranges are parsed, but only the first range is returned.
1053 Returning multiple ranges requires using the multipart/byterange
1054 content type.
1055 
1056] 
1057[test_cli.py: remove invalid 'test_listdir_unicode_bad' test.
1058david-sarah@jacaranda.org**20100607183730
1059 Ignore-this: fadfe87980dc1862f349bfcc21b2145f
1060] 
1061[check_memory.py: adapt to servers-of-happiness changes.
1062david-sarah@jacaranda.org**20100608013528
1063 Ignore-this: c6b28411c543d1aea2f148a955f7998
1064] 
1065[show-tool-versions.py: platform.linux_distribution() is not always available
1066david-sarah@jacaranda.org**20100608004523
1067 Ignore-this: 793fb4050086723af05d06bed8b1b92a
1068] 
1069[show-tool-versions.py: show platform.linux_distribution()
1070david-sarah@jacaranda.org**20100608003829
1071 Ignore-this: 81cb5e5fc6324044f0fc6d82903c8223
1072] 
1073[Remove the 'tahoe debug consolidate' subcommand.
1074david-sarah@jacaranda.org**20100607183757
1075 Ignore-this: 4b14daa3ae557cea07d6e119d25dafe9
1076] 
1077[tests: drastically increase timeout of this very time-consuming test in honor of François's ARM box
1078zooko@zooko.com**20100607115929
1079 Ignore-this: bf1bb52ffb6b5ccae71d4dde14621bc8
1080] 
1081[setup: update authorship, datestamp, licensing, and add special exceptions to allow combination with Eclipse- and QPL- licensed code
1082zooko@zooko.com**20100607062329
1083 Ignore-this: 5a1d7b12dfafd61283ea65a245416381
1084] 
1085[common_http.py, tahoe_cp.py: Fix an error in calling the superclass constructor in HTTPError and MissingSourceError (introduced by the Unicode fixes).
1086david-sarah@jacaranda.org**20100607174714
1087 Ignore-this: 1a118d593d81c918a4717c887f033aec
1088] 
1089[FTP-and-SFTP.txt: minor technical correction to doc for 'no-write' flag.
1090david-sarah@jacaranda.org**20100607061600
1091 Ignore-this: 66aee0c1b6c00538602d08631225e114
1092] 
1093[test_stringutils.py: trivial error in exception message for skipped test.
1094david-sarah@jacaranda.org**20100607061455
1095 Ignore-this: f261a5d4e2b8fe3bcc37e02539ba1ae2
1096] 
1097[setup: organize misc/ scripts and tools and remove obsolete ones
1098zooko@zooko.com**20100607051618
1099 Ignore-this: 161db1158c6b7be8365b0b3dee2e0b28
1100 This is for ticket #1068.
1101] 
1102[More Unicode test fixes.
1103david-sarah@jacaranda.org**20100607053358
1104 Ignore-this: 6a271fb77c31f28cb7bdba63b26a2dd2
1105] 
1106[Unicode fixes for platforms with non-native-Unicode filesystems.
1107david-sarah@jacaranda.org**20100607043238
1108 Ignore-this: 2134dc1793c4f8e50350bd749c4c98c2
1109] 
1110[Unicode fixes.
1111david-sarah@jacaranda.org**20100607010215
1112 Ignore-this: d58727b5cd2ce00e6b6dae3166030138
1113] 
1114[quickstart.html: link to snapshots page, sorted with most recent first.
1115david-sarah@jacaranda.org**20100606221127
1116 Ignore-this: 93ea7e6ee47acc66f6daac9cabffed2d
1117] 
1118[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
1119zooko@zooko.com**20100606175717
1120 Ignore-this: e438a8eb3c1b0e68080711ec6ff93ffa
1121 (You can look but don't touch.)
1122] 
1123[setup: have the buildbots print out locale.getpreferredencoding(), locale.getdefaultlocale(), locale.getlocale(), and os.path.supports_unicode_filenames
1124zooko@zooko.com**20100605162932
1125 Ignore-this: 85e31e0e0e1364e9215420e272d58116
1126 Even though that latter one is completely useless, I'm curious.
1127] 
1128[quickstart.html: We haven't released 1.7beta yet.
1129david-sarah@jacaranda.org**20100606220301
1130 Ignore-this: 4e18898cfdb08cc3ddd1ff94d43fdda7
1131] 
1132[Raise Python version requirement to 2.4.4 for non-UCS-2 builds, to avoid a critical Python security bug.
1133david-sarah@jacaranda.org**20100605031713
1134 Ignore-this: 2df2b6d620c5d8191c79eefe655059e2
1135] 
1136[unicode tests: fix missing import
1137zooko@zooko.com**20100604142630
1138 Ignore-this: db437fe8009971882aaea9de05e2bc3
1139] 
1140[unicode: make test_cli test a non-ascii argument, and make the fallback term encoding be locale.getpreferredencoding()
1141zooko@zooko.com**20100604141251
1142 Ignore-this: b2bfc07942f69141811e59891842bd8c
1143] 
1144[unicode: always decode json manifest as utf-8 then encode for stdout
1145zooko@zooko.com**20100604084840
1146 Ignore-this: ac481692315fae870a0f3562bd7db48e
1147 pyflakes pointed out that the exception handler fallback called an un-imported function, showing that the fallback wasn't being exercised.
1148 I'm not 100% sure that this patch is right and would appreciate François or someone reviewing it.
1149] 
1150[fix flakes
1151zooko@zooko.com**20100604075845
1152 Ignore-this: 3e6a84b78771b0ad519e771a13605f0
1153] 
1154[fix syntax of assertion handling that isn't portable to older versions of Python
1155zooko@zooko.com**20100604075805
1156 Ignore-this: 3a12b293aad25883fb17230266eb04ec
1157] 
1158[test_stringutils.py: Skip test test_listdir_unicode_good if filesystem supports only ASCII filenames
1159Francois Deppierraz <francois@ctrlaltdel.ch>**20100521160839
1160 Ignore-this: f2ccdbd04c8d9f42f1efb0eb80018257
1161] 
1162[test_stringutils.py: Skip test_listdir_unicode on mocked platform which cannot store non-ASCII filenames
1163Francois Deppierraz <francois@ctrlaltdel.ch>**20100521160559
1164 Ignore-this: b93fde736a8904712b506e799250a600
1165] 
1166[test_stringutils.py: Add a test class for OpenBSD 4.1 with LANG=C
1167Francois Deppierraz <francois@ctrlaltdel.ch>**20100521140053
1168 Ignore-this: 63f568aec259cef0e807752fc8150b73
1169] 
1170[test_stringutils.py: Mock the open() call in test_open_unicode
1171Francois Deppierraz <francois@ctrlaltdel.ch>**20100521135817
1172 Ignore-this: d8be4e56a6eefe7d60f97f01ea20ac67
1173 
1174 This test ensure that open(a_unicode_string) is used on Unicode platforms
1175 (Windows or MacOS X) and that open(a_correctly_encoded_bytestring) on other
1176 platforms such as Unix.
1177 
1178] 
1179[test_stringutils.py: Fix a trivial Python 2.4 syntax incompatibility
1180Francois Deppierraz <francois@ctrlaltdel.ch>**20100521093345
1181 Ignore-this: 9297e3d14a0dd37d0c1a4c6954fd59d3
1182] 
1183[test_cli.py: Fix tests when sys.stdout.encoding=None and refactor this code into functions
1184Francois Deppierraz <francois@ctrlaltdel.ch>**20100520084447
1185 Ignore-this: cf2286e225aaa4d7b1927c78c901477f
1186] 
1187[Fix handling of correctly encoded unicode filenames (#534)
1188Francois Deppierraz <francois@ctrlaltdel.ch>**20100520004356
1189 Ignore-this: 8a3a7df214a855f5a12dc0eeab6f2e39
1190 
1191 Tahoe CLI commands working on local files, for instance 'tahoe cp' or 'tahoe
1192 backup', have been improved to correctly handle filenames containing non-ASCII
1193 characters.
1194   
1195 In the case where Tahoe encounters a filename which cannot be decoded using the
1196 system encoding, an error will be returned and the operation will fail.  Under
1197 Linux, this typically happens when the filesystem contains filenames encoded
1198 with another encoding, for instance latin1, than the system locale, for
1199 instance UTF-8.  In such case, you'll need to fix your system with tools such
1200 as 'convmv' before using Tahoe CLI.
1201   
1202 All CLI commands have been improved to support non-ASCII parameters such as
1203 filenames and aliases on all supported Operating Systems except Windows as of
1204 now.
1205] 
1206[stringutils.py: Unicode helper functions + associated tests
1207Francois Deppierraz <francois@ctrlaltdel.ch>**20100520004105
1208 Ignore-this: 7a73fc31de2fd39d437d6abd278bfa9a
1209 
1210 This file contains a bunch of helper functions which converts
1211 unicode string from and to argv, filenames and stdout.
1212] 
1213[Add dependency on Michael Foord's mock library
1214Francois Deppierraz <francois@ctrlaltdel.ch>**20100519233325
1215 Ignore-this: 9bb01bf1e4780f6b98ed394c3b772a80
1216] 
1217[setup: adjust make clean target to ignore our bundled build tools
1218zooko@zooko.com**20100604051250
1219 Ignore-this: d24d2a3b849000790cfbfab69237454e
1220] 
1221[setup: bundle a copy of setuptools_trial as an unzipped egg in the base dir of the Tahoe-LAFS source tree
1222zooko@zooko.com**20100604044648
1223 Ignore-this: a4736e9812b4dab2d5a2bc4bfc5c3b28
1224 This is to work-around this Distribute issue:
1225 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
1226] 
1227[setup: bundle a copy of darcsver in unzipped egg form in the root of the Tahoe-LAFS source tree
1228zooko@zooko.com**20100604044146
1229 Ignore-this: a51a52e82dd3a39225657ffa27decae2
1230 This is to work-around this Distribute issue:
1231 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
1232] 
1233[setup: undo the previous patch to quote the executable in scripts
1234zooko@zooko.com**20100604025204
1235 Ignore-this: beda3b951c49d1111478618b8cabe005
1236 The problem isn't in the script, it is in the cli.exe script that is built by setuptools. This might be related to
1237 http://bugs.python.org/issue6792
1238 and
1239 http://bugs.python.org/setuptools/issue2
1240 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.
1241] 
1242[quickstart.html: warn against installing Python at a path containing spaces.
1243david-sarah@jacaranda.org**20100604032413
1244 Ignore-this: c7118332573abd7762d9a897e650bc6a
1245] 
1246[setup: put quotes around the path to executable in case it has spaces in it, when building a tahoe.exe for win32
1247zooko@zooko.com**20100604020836
1248 Ignore-this: 478684843169c94a9c14726fedeeed7d
1249] 
1250[misc/show-tool-versions.py: Display additional Python interpreter encoding informations (stdout, stdin and filesystem)
1251Francois Deppierraz <francois@ctrlaltdel.ch>**20100521094313
1252 Ignore-this: 3ae9b0b07fd1d53fb632ef169f7c5d26
1253] 
1254[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.
1255david-sarah@jacaranda.org**20100603232105
1256 Ignore-this: 6e2cc63f42b07e2a3b2d1a857abc50a6
1257] 
1258[Resolve merge conflict for sftpd.py
1259david-sarah@jacaranda.org**20100603182537
1260 Ignore-this: ba8b543e51312ac949798eb8f5bd9d9c
1261] 
1262[SFTP: possible fix for metadata times being shown as the epoch.
1263david-sarah@jacaranda.org**20100602234514
1264 Ignore-this: bdd7dfccf34eff818ff88aa4f3d28790
1265] 
1266[SFTP: further improvements to test coverage.
1267david-sarah@jacaranda.org**20100602234422
1268 Ignore-this: 87eeee567e8d7562659442ea491e187c
1269] 
1270[SFTP: improve test coverage. Also make creating a directory fail when permissions are read-only (rather than ignoring the permissions).
1271david-sarah@jacaranda.org**20100602041934
1272 Ignore-this: a5e9d9081677bc7f3ddb18ca7a1f531f
1273] 
1274[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.
1275david-sarah@jacaranda.org**20100602032641
1276 Ignore-this: 48817b54cd63f5422cb88214c053b03b
1277] 
1278[dirnode.py: Fix bug that caused 'tahoe' fields, 'ctime' and 'mtime' not to be updated when new metadata is present.
1279david-sarah@jacaranda.org**20100602014644
1280 Ignore-this: 5bac95aa897b68f2785d481e49b6a66
1281] 
1282[SFTP: fix a bug that caused the temporary files underlying EncryptedTemporaryFiles not to be closed.
1283david-sarah@jacaranda.org**20100601055310
1284 Ignore-this: 44fee4cfe222b2b1690f4c5e75083a52
1285] 
1286[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.
1287david-sarah@jacaranda.org**20100601051139
1288 Ignore-this: eff7c08bd47fd52bfe2b844dabf02558
1289] 
1290[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.
1291david-sarah@jacaranda.org**20100601045428
1292 Ignore-this: 14f26e17e58db97fad0dcfd350b38e95
1293] 
1294[SFTP: the same bug as in _sync_heisenfiles also occurred in two other places.
1295david-sarah@jacaranda.org**20100530060127
1296 Ignore-this: 8d137658fc6e4596fa42697476c39aa3
1297] 
1298[SFTP: another try at fixing the _sync_heisenfiles bug.
1299david-sarah@jacaranda.org**20100530055254
1300 Ignore-this: c15f76f32a60083a6b7de6ca0e917934
1301] 
1302[SFTP: fix silly bug in _sync_heisenfiles ('f is not ignore' vs 'not (f is ignore)').
1303david-sarah@jacaranda.org**20100530053807
1304 Ignore-this: 71c4bc62613bf8fef835886d8eb61c27
1305] 
1306[SFTP: log when a sync completes.
1307david-sarah@jacaranda.org**20100530051840
1308 Ignore-this: d99765663ceb673c8a693dfcf88c25ea
1309] 
1310[SFTP: fix bug in previous logging patch.
1311david-sarah@jacaranda.org**20100530050000
1312 Ignore-this: 613e4c115f03fe2d04c621b510340817
1313] 
1314[SFTP: more logging to track down OpenOffice hang.
1315david-sarah@jacaranda.org**20100530040809
1316 Ignore-this: 6c11f2d1eac9f62e2d0f04f006476a03
1317] 
1318[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.
1319david-sarah@jacaranda.org**20100530025544
1320 Ignore-this: 9919dddd446fff64de4031ad51490d1c
1321] 
1322[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.
1323david-sarah@jacaranda.org**20100529050537
1324 Ignore-this: 87648afa0dec0d2e73614007de102a16
1325] 
1326[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.
1327david-sarah@jacaranda.org**20100529045253
1328 Ignore-this: 2404076b2154ff2659e2b10e0b9e813c
1329] 
1330[Change doc comments in interfaces.py to take into account unknown nodes.
1331david-sarah@jacaranda.org**20100528171922
1332 Ignore-this: d2fde6890b3bca9c7275775f64fbff56
1333] 
1334[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.
1335david-sarah@jacaranda.org**20100527194529
1336 Ignore-this: 6d8114cef4450c52c57639f82852716f
1337] 
1338[Trivial whitespace changes.
1339david-sarah@jacaranda.org**20100527194114
1340 Ignore-this: 98d611bc54ee20b01a5f6b334ff61b2d
1341] 
1342[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.
1343david-sarah@jacaranda.org**20100525230257
1344 Ignore-this: 63245d6d864f8f591c86170864d7c57f
1345] 
1346[SFTP: handle removing a file while it is open. Also some simplifications of the logout handling.
1347david-sarah@jacaranda.org**20100525184210
1348 Ignore-this: 660ee80be6ecab783c60452a9da896de
1349] 
1350[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.
1351david-sarah@jacaranda.org**20100525033323
1352 Ignore-this: fe2914d3ef7f5194bbeaf3f2dda2ad7d
1353] 
1354[SFTP: fix problem with posix-rename code returning a Deferred for the renamed filenode, not for the result of the request (an empty string).
1355david-sarah@jacaranda.org**20100525020209
1356 Ignore-this: 69f7491df2a8f7ea92d999a6d9f0581d
1357] 
1358[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.
1359david-sarah@jacaranda.org**20100524230412
1360 Ignore-this: eb1a3fb72492fa2fb19667b6e4300440
1361] 
1362[SFTP: name of the POSIX rename extension should be 'posix-rename@openssh.com', not 'extposix-rename@openssh.com'.
1363david-sarah@jacaranda.org**20100524021156
1364 Ignore-this: f90eb1ff9560176635386ee797a3fdc7
1365] 
1366[SFTP: avoid race condition where .write could be called on an OverwriteableFileConsumer after it had been closed.
1367david-sarah@jacaranda.org**20100523233830
1368 Ignore-this: 55d381064a15bd64381163341df4d09f
1369] 
1370[SFTP: log tracebacks for RAISEd exceptions.
1371david-sarah@jacaranda.org**20100523221535
1372 Ignore-this: c76a7852df099b358642f0631237cc89
1373] 
1374[Suppress 'integer argument expected, got float' DeprecationWarning everywhere
1375david-sarah@jacaranda.org**20100523221157
1376 Ignore-this: 80efd7e27798f5d2ad66c7a53e7048e5
1377] 
1378[SFTP: more logging to investigate behaviour of getAttrs(path).
1379david-sarah@jacaranda.org**20100523204236
1380 Ignore-this: e58fd35dc9015316e16a9f49f19bb469
1381] 
1382[SFTP: fix pyflakes warnings; drop 'noisy' versions of eventually_callback and eventually_errback; robustify conversion of exception messages to UTF-8.
1383david-sarah@jacaranda.org**20100523140905
1384 Ignore-this: 420196fc58646b05bbc9c3732b6eb314
1385] 
1386[SFTP: fixes and test cases for renaming of open files.
1387david-sarah@jacaranda.org**20100523032549
1388 Ignore-this: 32e0726be0fc89335f3035157e202c68
1389] 
1390[SFTP: Increase test_sftp timeout to cater for francois' ARM buildslave.
1391david-sarah@jacaranda.org**20100522191639
1392 Ignore-this: a5acf9660d304677048ab4dd72908ad8
1393] 
1394[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.
1395david-sarah@jacaranda.org**20100522035836
1396 Ignore-this: 8ef93a828e927cce2c23b805250b81a4
1397] 
1398[SFTP: relax pyasn1 version dependency to >= 0.0.8a.
1399david-sarah@jacaranda.org**20100520181437
1400 Ignore-this: 2c7b3dee7b7e14ba121d3118193a386a
1401] 
1402[SFTP tests: fix test_openDirectory_and_attrs that was failing in timezones west of UTC.
1403david-sarah@jacaranda.org**20100520181027
1404 Ignore-this: 9beaf602beef437c11c7e97f54ce2599
1405] 
1406[SFTP: allow getAttrs to succeed on a file that has been opened for creation but not yet uploaded or linked (part of #1050).
1407david-sarah@jacaranda.org**20100520035613
1408 Ignore-this: 2f59107d60d5476edac19361ccf6cf94
1409] 
1410[SFTP: improve logging so that results of requests are (usually) logged.
1411david-sarah@jacaranda.org**20100520003652
1412 Ignore-this: 3f59eeee374a3eba71db9be31d5a95
1413] 
1414[SFTP: add tests for more combinations of open flags.
1415david-sarah@jacaranda.org**20100519053933
1416 Ignore-this: b97ee351b1e8ecfecabac70698060665
1417] 
1418[SFTP: allow FXF_WRITE | FXF_TRUNC (#1050).
1419david-sarah@jacaranda.org**20100519043240
1420 Ignore-this: bd70009f11d07ac6e9fd0d1e3fa87a9b
1421] 
1422[SFTP: remove another case where we were logging data.
1423david-sarah@jacaranda.org**20100519012713
1424 Ignore-this: 83115daf3a90278fed0e3fc267607584
1425] 
1426[SFTP: avoid logging all data passed to callbacks.
1427david-sarah@jacaranda.org**20100519000651
1428 Ignore-this: ade6d69a473ada50acef6389fc7fdf69
1429] 
1430[SFTP: fixes related to reporting of permissions (needed for sshfs).
1431david-sarah@jacaranda.org**20100518054521
1432 Ignore-this: c51f8a5d0dc76b80d33ffef9b0541325
1433] 
1434[SFTP: change error code returned for ExistingChildError to FX_FAILURE (fixes gvfs with some picky programs such as gedit).
1435david-sarah@jacaranda.org**20100518004205
1436 Ignore-this: c194c2c9aaf3edba7af84b7413cec375
1437] 
1438[SFTP: fixed bugs that caused hangs during write (#1037).
1439david-sarah@jacaranda.org**20100517044228
1440 Ignore-this: b8b95e82c4057367388a1e6baada993b
1441] 
1442[SFTP: work around a probable bug in twisted.conch.ssh.session:loseConnection(). Also some minor error handling cleanups.
1443david-sarah@jacaranda.org**20100517012606
1444 Ignore-this: 5d3da7c4219cb0c14547e7fd70c74204
1445] 
1446[SFTP: add pyasn1 as dependency, needed if we are using Twisted >= 9.0.0.
1447david-sarah@jacaranda.org**20100516193710
1448 Ignore-this: 76fd92e8a950bb1983a90a09e89c54d3
1449] 
1450[SFTP: Support statvfs extensions, avoid logging actual data, and decline shell sessions politely.
1451david-sarah@jacaranda.org**20100516154347
1452 Ignore-this: 9d05d23ba77693c03a61accd348ccbe5
1453] 
1454[SFTP: fix error in SFTPUserHandler arguments introduced by execCommand patch.
1455david-sarah@jacaranda.org**20100516014045
1456 Ignore-this: f5ee494dc6ad6aa536cc8144bd2e3d19
1457] 
1458[SFTP: implement execCommand to interoperate with clients that issue a 'df -P -k /' command. Also eliminate use of Zope adaptation.
1459david-sarah@jacaranda.org**20100516012754
1460 Ignore-this: 2d0ed28b759f67f83875b1eaf5778992
1461] 
1462[sftpd.py: 'log.OPERATIONAL' should be just 'OPERATIONAL'.
1463david-sarah@jacaranda.org**20100515155533
1464 Ignore-this: f2347cb3301bbccc086356f6edc685
1465] 
1466[Attempt to fix #1040 by making SFTPUser implement ISession.
1467david-sarah@jacaranda.org**20100515005719
1468 Ignore-this: b3baaf088ba567e861e61e347195dfc4
1469] 
1470[Eliminate Windows newlines from sftpd.py.
1471david-sarah@jacaranda.org**20100515005656
1472 Ignore-this: cd54fd25beb957887514ae76e08c277
1473] 
1474[Update SFTP implementation and tests: fix #1038 and switch to foolscap logging; also some code reorganization.
1475david-sarah@jacaranda.org**20100514043113
1476 Ignore-this: 262f76d953dcd4317210789f2b2bf5da
1477] 
1478[Change shouldFail to avoid Unicode errors when converting Failure to str
1479david-sarah@jacaranda.org**20100512060754
1480 Ignore-this: 86ed419d332d9c33090aae2cde1dc5df
1481] 
1482[Tests for new SFTP implementation
1483david-sarah@jacaranda.org**20100512060552
1484 Ignore-this: 20308d4a59b3ebc868aad55ae0a7a981
1485] 
1486[New SFTP implementation: mutable files, read/write support, streaming download, Unicode filenames, and more
1487david-sarah@jacaranda.org**20100512055407
1488 Ignore-this: 906f51c48d974ba9cf360c27845c55eb
1489] 
1490[allmydata.org -> tahoe-lafs.org in __init__.py
1491david-sarah@jacaranda.org**20100603063530
1492 Ignore-this: f7d82331d5b4a3c4c0938023409335af
1493] 
1494[small change to CREDITS
1495david-sarah@jacaranda.org**20100603062421
1496 Ignore-this: 2909cdbedc19da5573dec810fc23243
1497] 
1498[Resolve conflict in patch to change imports to absolute.
1499david-sarah@jacaranda.org**20100603054608
1500 Ignore-this: 15aa1caa88e688ffa6dc53bed7dcca7d
1501] 
1502[Minor documentation tweaks.
1503david-sarah@jacaranda.org**20100603054458
1504 Ignore-this: e30ae407b0039dfa5b341d8f88e7f959
1505] 
1506[title_rename_xhtml.dpatch.txt
1507freestorm77@gmail.com**20100529172542
1508 Ignore-this: d2846afcc9ea72ac443a62ecc23d121b
1509 
1510 - Renamed xhtml Title from "Allmydata - Tahoe" to "Tahoe-LAFS"
1511 - Renamed Tahoe to Tahoe-LAFS in page content
1512 - Changed Tahoe-LAFS home page link to http://tahoe-lafs.org (added target="blank")
1513 - Deleted commented css script in info.xhtml
1514 
1515 
1516] 
1517[tests: refactor test_web.py to have less duplication of literal caps-from-the-future
1518zooko@zooko.com**20100519055146
1519 Ignore-this: 49e5412e6cc4566ca67f069ffd850af6
1520 This is a prelude to a patch which will add tests of caps from the future which have non-ascii chars in them.
1521] 
1522[doc_reformat_stats.txt
1523freestorm77@gmail.com**20100424114615
1524 Ignore-this: af315db5f7e3a17219ff8fb39bcfcd60
1525 
1526 
1527    - Added heading format begining and ending by "=="
1528    - Added Index
1529    - Added Title
1530           
1531    Note: No change are made in paragraphs content
1532 
1533 
1534 **END OF DESCRIPTION***
1535 
1536 Place the long patch description above the ***END OF DESCRIPTION*** marker.
1537 The first line of this file will be the patch name.
1538 
1539 
1540 This patch contains the following changes:
1541 
1542 M ./docs/stats.txt -2 +2
1543] 
1544[doc_reformat_performance.txt
1545freestorm77@gmail.com**20100424114444
1546 Ignore-this: 55295ff5cd8a5b67034eb661a5b0699d
1547 
1548    - Added heading format begining and ending by "=="
1549    - Added Index
1550    - Added Title
1551         
1552    Note: No change are made in paragraphs content
1553 
1554 
1555] 
1556[doc_refomat_logging.txt
1557freestorm77@gmail.com**20100424114316
1558 Ignore-this: 593f0f9914516bf1924dfa6eee74e35f
1559 
1560    - Added heading format begining and ending by "=="
1561    - Added Index
1562    - Added Title
1563         
1564    Note: No change are made in paragraphs content
1565 
1566] 
1567[doc_reformat_known_issues.txt
1568freestorm77@gmail.com**20100424114118
1569 Ignore-this: 9577c3965d77b7ac18698988cfa06049
1570 
1571     - Added heading format begining and ending by "=="
1572     - Added Index
1573     - Added Title
1574           
1575     Note: No change are made in paragraphs content
1576   
1577 
1578] 
1579[doc_reformat_helper.txt
1580freestorm77@gmail.com**20100424120649
1581 Ignore-this: de2080d6152ae813b20514b9908e37fb
1582 
1583 
1584    - Added heading format begining and ending by "=="
1585    - Added Index
1586    - Added Title
1587             
1588    Note: No change are made in paragraphs content
1589 
1590] 
1591[doc_reformat_garbage-collection.txt
1592freestorm77@gmail.com**20100424120830
1593 Ignore-this: aad3e4c99670871b66467062483c977d
1594 
1595 
1596    - Added heading format begining and ending by "=="
1597    - Added Index
1598    - Added Title
1599             
1600    Note: No change are made in paragraphs content
1601 
1602] 
1603[doc_reformat_FTP-and-SFTP.txt
1604freestorm77@gmail.com**20100424121334
1605 Ignore-this: 3736b3d8f9a542a3521fbb566d44c7cf
1606 
1607 
1608    - Added heading format begining and ending by "=="
1609    - Added Index
1610    - Added Title
1611           
1612    Note: No change are made in paragraphs content
1613 
1614] 
1615[doc_reformat_debian.txt
1616freestorm77@gmail.com**20100424120537
1617 Ignore-this: 45fe4355bb869e55e683405070f47eff
1618 
1619 
1620    - Added heading format begining and ending by "=="
1621    - Added Index
1622    - Added Title
1623             
1624    Note: No change are made in paragraphs content
1625 
1626] 
1627[doc_reformat_configuration.txt
1628freestorm77@gmail.com**20100424104903
1629 Ignore-this: 4fbabc51b8122fec69ce5ad1672e79f2
1630 
1631 
1632 - Added heading format begining and ending by "=="
1633 - Added Index
1634 - Added Title
1635 
1636 Note: No change are made in paragraphs content
1637 
1638] 
1639[doc_reformat_CLI.txt
1640freestorm77@gmail.com**20100424121512
1641 Ignore-this: 2d3a59326810adcb20ea232cea405645
1642 
1643      - Added heading format begining and ending by "=="
1644      - Added Index
1645      - Added Title
1646           
1647      Note: No change are made in paragraphs content
1648 
1649] 
1650[doc_reformat_backupdb.txt
1651freestorm77@gmail.com**20100424120416
1652 Ignore-this: fed696530e9d2215b6f5058acbedc3ab
1653 
1654 
1655    - Added heading format begining and ending by "=="
1656    - Added Index
1657    - Added Title
1658             
1659    Note: No change are made in paragraphs content
1660 
1661] 
1662[doc_reformat_architecture.txt
1663freestorm77@gmail.com**20100424120133
1664 Ignore-this: 6e2cab4635080369f2b8cadf7b2f58e
1665 
1666 
1667     - Added heading format begining and ending by "=="
1668     - Added Index
1669     - Added Title
1670             
1671     Note: No change are made in paragraphs content
1672 
1673 
1674] 
1675[Correct harmless indentation errors found by pylint
1676david-sarah@jacaranda.org**20100226052151
1677 Ignore-this: 41335bce830700b18b80b6e00b45aef5
1678] 
1679[Change relative imports to absolute
1680david-sarah@jacaranda.org**20100226071433
1681 Ignore-this: 32e6ce1a86e2ffaaba1a37d9a1a5de0e
1682] 
1683[Document reason for the trialcoverage version requirement being 0.3.3.
1684david-sarah@jacaranda.org**20100525004444
1685 Ignore-this: 2f9f1df6882838b000c063068f258aec
1686] 
1687[Downgrade version requirement for trialcoverage to 0.3.3 (from 0.3.10), to avoid needing to compile coveragepy on Windows.
1688david-sarah@jacaranda.org**20100524233707
1689 Ignore-this: 9c397a374c8b8017e2244b8a686432a8
1690] 
1691[Suppress deprecation warning for twisted.web.error.NoResource when using Twisted >= 9.0.0.
1692david-sarah@jacaranda.org**20100516205625
1693 Ignore-this: 2361a3023cd3db86bde5e1af759ed01
1694] 
1695[docs: CREDITS for Jeremy Visser
1696zooko@zooko.com**20100524081829
1697 Ignore-this: d7c1465fd8d4e25b8d46d38a1793465b
1698] 
1699[test: show stdout and stderr in case of non-zero exit code from "tahoe" command
1700zooko@zooko.com**20100524073348
1701 Ignore-this: 695e81cd6683f4520229d108846cd551
1702] 
1703[setup: upgrade bundled zetuptoolz to zetuptoolz-0.6c15dev and make it unpacked and directly loaded by setup.py
1704zooko@zooko.com**20100523205228
1705 Ignore-this: 24fb32aaee3904115a93d1762f132c7
1706 Also fix the relevant "make clean" target behavior.
1707] 
1708[setup: remove bundled zipfile egg of setuptools
1709zooko@zooko.com**20100523205120
1710 Ignore-this: c68b5f2635bb93d1c1fa7b613a026f9e
1711 We're about to replace it with bundled unpacked source code of setuptools, which is much nicer for debugging and evolving under revision control.
1712] 
1713[setup: remove bundled copy of setuptools_trial-0.5.2.tar
1714zooko@zooko.com**20100522221539
1715 Ignore-this: 140f90eb8fb751a509029c4b24afe647
1716 Hopefully it will get installed automatically as needed and we won't bundle it anymore.
1717] 
1718[setup: remove bundled setuptools_darcs-1.2.8.tar
1719zooko@zooko.com**20100522015333
1720 Ignore-this: 378b1964b513ae7fe22bae2d3478285d
1721 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.
1722] 
1723[tests: fix pyflakes warnings in bench_dirnode.py
1724zooko@zooko.com**20100521202511
1725 Ignore-this: f23d55b4ed05e52865032c65a15753c4
1726] 
1727[setup: if the string '--reporter=bwverbose-coverage' appears on sys.argv then you need trialcoverage
1728zooko@zooko.com**20100521122226
1729 Ignore-this: e760c45dcfb5a43c1dc1e8a27346bdc2
1730] 
1731[tests: don't let bench_dirnode.py do stuff and have side-effects at import time (unless __name__ == '__main__')
1732zooko@zooko.com**20100521122052
1733 Ignore-this: 96144a412250d9bbb5fccbf83b8753b8
1734] 
1735[tests: increase timeout to give François's ARM buildslave a chance to complete the tests
1736zooko@zooko.com**20100520134526
1737 Ignore-this: 3dd399fdc8b91149c82b52f955b50833
1738] 
1739[run_trial.darcspath
1740freestorm77@gmail.com**20100510232829
1741 Ignore-this: 5ebb4df74e9ea8a4bdb22b65373d1ff2
1742] 
1743[docs: line-wrap README.txt
1744zooko@zooko.com**20100518174240
1745 Ignore-this: 670a02d360df7de51ebdcf4fae752577
1746] 
1747[Hush pyflakes warnings
1748Kevan Carstensen <kevan@isnotajoke.com>**20100515184344
1749 Ignore-this: fd602c3bba115057770715c36a87b400
1750] 
1751[setup: new improved misc/show-tool-versions.py
1752zooko@zooko.com**20100516050122
1753 Ignore-this: ce9b1de1b35b07d733e6cf823b66335a
1754] 
1755[Improve code coverage of the Tahoe2PeerSelector tests.
1756Kevan Carstensen <kevan@isnotajoke.com>**20100515032913
1757 Ignore-this: 793151b63ffa65fdae6915db22d9924a
1758] 
1759[Remove a comment that no longer makes sense.
1760Kevan Carstensen <kevan@isnotajoke.com>**20100514203516
1761 Ignore-this: 956983c7e7c7e4477215494dfce8f058
1762] 
1763[docs: update docs/architecture.txt to more fully and correctly explain the upload procedure
1764zooko@zooko.com**20100514043458
1765 Ignore-this: 538b6ea256a49fed837500342092efa3
1766] 
1767[Fix up the behavior of #778, per reviewers' comments
1768Kevan Carstensen <kevan@isnotajoke.com>**20100514004917
1769 Ignore-this: 9c20b60716125278b5456e8feb396bff
1770 
1771   - Make some important utility functions clearer and more thoroughly
1772     documented.
1773   - Assert in upload.servers_of_happiness that the buckets attributes
1774     of PeerTrackers passed to it are mutually disjoint.
1775   - Get rid of some silly non-Pythonisms that I didn't see when I first
1776     wrote these patches.
1777   - Make sure that should_add_server returns true when queried about a
1778     shnum that it doesn't know about yet.
1779   - Change Tahoe2PeerSelector.preexisting_shares to map a shareid to a set
1780     of peerids, alter dependencies to deal with that.
1781   - Remove upload.should_add_servers, because it is no longer necessary
1782   - Move upload.shares_of_happiness and upload.shares_by_server to a utility
1783     file.
1784   - Change some points in Tahoe2PeerSelector.
1785   - Compute servers_of_happiness using a bipartite matching algorithm that
1786     we know is optimal instead of an ad-hoc greedy algorithm that isn't.
1787   - Change servers_of_happiness to just take a sharemap as an argument,
1788     change its callers to merge existing_shares and used_peers before
1789     calling it.
1790   - Change an error message in the encoder to be more appropriate for
1791     servers of happiness.
1792   - Clarify the wording of an error message in immutable/upload.py
1793   - Refactor a happiness failure message to happinessutil.py, and make
1794     immutable/upload.py and immutable/encode.py use it.
1795   - Move the word "only" as far to the right as possible in failure
1796     messages.
1797   - Use a better definition of progress during peer selection.
1798   - Do read-only peer share detection queries in parallel, not sequentially.
1799   - Clean up logging semantics; print the query statistics whenever an
1800     upload is unsuccessful, not just in one case.
1801 
1802] 
1803[Alter the error message when an upload fails, per some comments in #778.
1804Kevan Carstensen <kevan@isnotajoke.com>**20091230210344
1805 Ignore-this: ba97422b2f9737c46abeb828727beb1
1806 
1807 When I first implemented #778, I just altered the error messages to refer to
1808 servers where they referred to shares. The resulting error messages weren't
1809 very good. These are a bit better.
1810] 
1811[Change "UploadHappinessError" to "UploadUnhappinessError"
1812Kevan Carstensen <kevan@isnotajoke.com>**20091205043037
1813 Ignore-this: 236b64ab19836854af4993bb5c1b221a
1814] 
1815[Alter the error message returned when peer selection fails
1816Kevan Carstensen <kevan@isnotajoke.com>**20091123002405
1817 Ignore-this: b2a7dc163edcab8d9613bfd6907e5166
1818 
1819 The Tahoe2PeerSelector returned either NoSharesError or NotEnoughSharesError
1820 for a variety of error conditions that weren't informatively described by them.
1821 This patch creates a new error, UploadHappinessError, replaces uses of
1822 NoSharesError and NotEnoughSharesError with it, and alters the error message
1823 raised with the errors to be more in line with the new servers_of_happiness
1824 behavior. See ticket #834 for more information.
1825] 
1826[Eliminate overcounting iof servers_of_happiness in Tahoe2PeerSelector; also reorganize some things.
1827Kevan Carstensen <kevan@isnotajoke.com>**20091118014542
1828 Ignore-this: a6cb032cbff74f4f9d4238faebd99868
1829] 
1830[Change stray "shares_of_happiness" to "servers_of_happiness"
1831Kevan Carstensen <kevan@isnotajoke.com>**20091116212459
1832 Ignore-this: 1c971ba8c3c4d2e7ba9f020577b28b73
1833] 
1834[Alter Tahoe2PeerSelector to make sure that it recognizes existing shares on readonly servers, fixing an issue in #778
1835Kevan Carstensen <kevan@isnotajoke.com>**20091116192805
1836 Ignore-this: 15289f4d709e03851ed0587b286fd955
1837] 
1838[Alter 'immutable/encode.py' and 'immutable/upload.py' to use servers_of_happiness instead of shares_of_happiness.
1839Kevan Carstensen <kevan@isnotajoke.com>**20091104111222
1840 Ignore-this: abb3283314820a8bbf9b5d0cbfbb57c8
1841] 
1842[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.
1843Kevan Carstensen <kevan@isnotajoke.com>**20091104033241
1844 Ignore-this: b3a6649a8ac66431beca1026a31fed94
1845] 
1846[Alter CiphertextDownloader to work with servers_of_happiness
1847Kevan Carstensen <kevan@isnotajoke.com>**20090924041932
1848 Ignore-this: e81edccf0308c2d3bedbc4cf217da197
1849] 
1850[Revisions of the #778 tests, per reviewers' comments
1851Kevan Carstensen <kevan@isnotajoke.com>**20100514012542
1852 Ignore-this: 735bbc7f663dce633caeb3b66a53cf6e
1853 
1854 - Fix comments and confusing naming.
1855 - Add tests for the new error messages suggested by David-Sarah
1856   and Zooko.
1857 - Alter existing tests for new error messages.
1858 - Make sure that the tests continue to work with the trunk.
1859 - Add a test for a mutual disjointedness assertion that I added to
1860   upload.servers_of_happiness.
1861 - Fix the comments to correctly reflect read-onlyness
1862 - Add a test for an edge case in should_add_server
1863 - Add an assertion to make sure that share redistribution works as it
1864   should
1865 - Alter tests to work with revised servers_of_happiness semantics
1866 - Remove tests for should_add_server, since that function no longer exists.
1867 - Alter tests to know about merge_peers, and to use it before calling
1868   servers_of_happiness.
1869 - Add tests for merge_peers.
1870 - Add Zooko's puzzles to the tests.
1871 - Edit encoding tests to expect the new kind of failure message.
1872 - Edit tests to expect error messages with the word "only" moved as far
1873   to the right as possible.
1874 - Extended and cleaned up some helper functions.
1875 - Changed some tests to call more appropriate helper functions.
1876 - Added a test for the failing redistribution algorithm
1877 - Added a test for the progress message
1878 - Added a test for the upper bound on readonly peer share discovery.
1879 
1880] 
1881[Alter various unit tests to work with the new happy behavior
1882Kevan Carstensen <kevan@isnotajoke.com>**20100107181325
1883 Ignore-this: 132032bbf865e63a079f869b663be34a
1884] 
1885[Replace "UploadHappinessError" with "UploadUnhappinessError" in tests.
1886Kevan Carstensen <kevan@isnotajoke.com>**20091205043453
1887 Ignore-this: 83f4bc50c697d21b5f4e2a4cd91862ca
1888] 
1889[Add tests for the behavior described in #834.
1890Kevan Carstensen <kevan@isnotajoke.com>**20091123012008
1891 Ignore-this: d8e0aa0f3f7965ce9b5cea843c6d6f9f
1892] 
1893[Re-work 'test_upload.py' to be more readable; add more tests for #778
1894Kevan Carstensen <kevan@isnotajoke.com>**20091116192334
1895 Ignore-this: 7e8565f92fe51dece5ae28daf442d659
1896] 
1897[Test Tahoe2PeerSelector to make sure that it recognizeses existing shares on readonly servers
1898Kevan Carstensen <kevan@isnotajoke.com>**20091109003735
1899 Ignore-this: 12f9b4cff5752fca7ed32a6ebcff6446
1900] 
1901[Add more tests for comment:53 in ticket #778
1902Kevan Carstensen <kevan@isnotajoke.com>**20091104112849
1903 Ignore-this: 3bb2edd299a944cc9586e14d5d83ec8c
1904] 
1905[Add a test for upload.shares_by_server
1906Kevan Carstensen <kevan@isnotajoke.com>**20091104111324
1907 Ignore-this: f9802e82d6982a93e00f92e0b276f018
1908] 
1909[Minor tweak to an existing test -- make the first server read-write, instead of read-only
1910Kevan Carstensen <kevan@isnotajoke.com>**20091104034232
1911 Ignore-this: a951a46c93f7f58dd44d93d8623b2aee
1912] 
1913[Alter tests to use the new form of set_shareholders
1914Kevan Carstensen <kevan@isnotajoke.com>**20091104033602
1915 Ignore-this: 3deac11fc831618d11441317463ef830
1916] 
1917[Refactor some behavior into a mixin, and add tests for the behavior described in #778
1918"Kevan Carstensen" <kevan@isnotajoke.com>**20091030091908
1919 Ignore-this: a6f9797057ca135579b249af3b2b66ac
1920] 
1921[Alter NoNetworkGrid to allow the creation of readonly servers for testing purposes.
1922Kevan Carstensen <kevan@isnotajoke.com>**20091018013013
1923 Ignore-this: e12cd7c4ddeb65305c5a7e08df57c754
1924] 
1925[Update 'docs/architecture.txt' to reflect readonly share discovery
1926kevan@isnotajoke.com**20100514003852
1927 Ignore-this: 7ead71b34df3b1ecfdcfd3cb2882e4f9
1928] 
1929[Alter the wording in docs/architecture.txt to more accurately describe the servers_of_happiness behavior.
1930Kevan Carstensen <kevan@isnotajoke.com>**20100428002455
1931 Ignore-this: 6eff7fa756858a1c6f73728d989544cc
1932] 
1933[Alter wording in 'interfaces.py' to be correct wrt #778
1934"Kevan Carstensen" <kevan@isnotajoke.com>**20091205034005
1935 Ignore-this: c9913c700ac14e7a63569458b06980e0
1936] 
1937[Update 'docs/configuration.txt' to reflect the servers_of_happiness behavior.
1938Kevan Carstensen <kevan@isnotajoke.com>**20091205033813
1939 Ignore-this: 5e1cb171f8239bfb5b565d73c75ac2b8
1940] 
1941[Clarify quickstart instructions for installing pywin32
1942david-sarah@jacaranda.org**20100511180300
1943 Ignore-this: d4668359673600d2acbc7cd8dd44b93c
1944] 
1945[web: add a simple test that you can load directory.xhtml
1946zooko@zooko.com**20100510063729
1947 Ignore-this: e49b25fa3c67b3c7a56c8b1ae01bb463
1948] 
1949[setup: fix typos in misc/show-tool-versions.py
1950zooko@zooko.com**20100510063615
1951 Ignore-this: 2181b1303a0e288e7a9ebd4c4855628
1952] 
1953[setup: show code-coverage tool versions in show-tools-versions.py
1954zooko@zooko.com**20100510062955
1955 Ignore-this: 4b4c68eb3780b762c8dbbd22b39df7cf
1956] 
1957[docs: update README, mv it to README.txt, update setup.py
1958zooko@zooko.com**20100504094340
1959 Ignore-this: 40e28ca36c299ea1fd12d3b91e5b421c
1960] 
1961[Dependency on Windmill test framework is not needed yet.
1962david-sarah@jacaranda.org**20100504161043
1963 Ignore-this: be088712bec650d4ef24766c0026ebc8
1964] 
1965[tests: pass z to tar so that BSD tar will know to ungzip
1966zooko@zooko.com**20100504090628
1967 Ignore-this: 1339e493f255e8fc0b01b70478f23a09
1968] 
1969[setup: update comments and URLs in setup.cfg
1970zooko@zooko.com**20100504061653
1971 Ignore-this: f97692807c74bcab56d33100c899f829
1972] 
1973[setup: reorder and extend the show-tool-versions script, the better to glean information about our new buildslaves
1974zooko@zooko.com**20100504045643
1975 Ignore-this: 836084b56b8d4ee8f1de1f4efb706d36
1976] 
1977[CLI: Support for https url in option --node-url
1978Francois Deppierraz <francois@ctrlaltdel.ch>**20100430185609
1979 Ignore-this: 1717176b4d27c877e6bc67a944d9bf34
1980 
1981 This patch modifies the regular expression used for verifying of '--node-url'
1982 parameter.  Support for accessing a Tahoe gateway over HTTPS was already
1983 present, thanks to Python's urllib.
1984 
1985] 
1986[backupdb.did_create_directory: use REPLACE INTO, not INSERT INTO + ignore error
1987Brian Warner <warner@lothar.com>**20100428050803
1988 Ignore-this: 1fca7b8f364a21ae413be8767161e32f
1989 
1990 This handles the case where we upload a new tahoe directory for a
1991 previously-processed local directory, possibly creating a new dircap (if the
1992 metadata had changed). Now we replace the old dirhash->dircap record. The
1993 previous behavior left the old record in place (with the old dircap and
1994 timestamps), so we'd never stop creating new directories and never converge
1995 on a null backup.
1996] 
1997["tahoe webopen": add --info flag, to get ?t=info
1998Brian Warner <warner@lothar.com>**20100424233003
1999 Ignore-this: 126b0bb6db340fabacb623d295eb45fa
2000 
2001 Also fix some trailing whitespace.
2002] 
2003[docs: install.html http-equiv refresh to quickstart.html
2004zooko@zooko.com**20100421165708
2005 Ignore-this: 52b4b619f9dde5886ae2cd7f1f3b734b
2006] 
2007[docs: install.html -> quickstart.html
2008zooko@zooko.com**20100421155757
2009 Ignore-this: 6084e203909306bed93efb09d0e6181d
2010 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".
2011] 
2012[Fix another typo in tahoe_storagespace munin plugin
2013david-sarah@jacaranda.org**20100416220935
2014 Ignore-this: ad1f7aa66b554174f91dfb2b7a3ea5f3
2015] 
2016[Add dependency on windmill >= 1.3
2017david-sarah@jacaranda.org**20100416190404
2018 Ignore-this: 4437a7a464e92d6c9012926b18676211
2019] 
2020[licensing: phrase the OpenSSL-exemption in the vocabulary of copyright instead of computer technology, and replicate the exemption from the GPL to the TGPPL
2021zooko@zooko.com**20100414232521
2022 Ignore-this: a5494b2f582a295544c6cad3f245e91
2023] 
2024[munin-tahoe_storagespace
2025freestorm77@gmail.com**20100221203626
2026 Ignore-this: 14d6d6a587afe1f8883152bf2e46b4aa
2027 
2028 Plugin configuration rename
2029 
2030] 
2031[setup: add licensing declaration for setuptools (noticed by the FSF compliance folks)
2032zooko@zooko.com**20100309184415
2033 Ignore-this: 2dfa7d812d65fec7c72ddbf0de609ccb
2034] 
2035[setup: fix error in licensing declaration from Shawn Willden, as noted by the FSF compliance division
2036zooko@zooko.com**20100309163736
2037 Ignore-this: c0623d27e469799d86cabf67921a13f8
2038] 
2039[CREDITS to Jacob Appelbaum
2040zooko@zooko.com**20100304015616
2041 Ignore-this: 70db493abbc23968fcc8db93f386ea54
2042] 
2043[desert-island-build-with-proper-versions
2044jacob@appelbaum.net**20100304013858] 
2045[docs: a few small edits to try to guide newcomers through the docs
2046zooko@zooko.com**20100303231902
2047 Ignore-this: a6aab44f5bf5ad97ea73e6976bc4042d
2048 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.
2049] 
2050[TAG allmydata-tahoe-1.6.1
2051david-sarah@jacaranda.org**20100228062314
2052 Ignore-this: eb5f03ada8ea953ee7780e7fe068539
2053] 
2054Patch bundle hash:
2055a00268ff3d42035ddef8cc426ca34c3ea9537115