1 | 2 patches for repository http://tahoe-lafs.org/source/tahoe/trunk: |
---|
2 | |
---|
3 | Fri Oct 7 04:29:58 BST 2011 david-sarah@jacaranda.org |
---|
4 | * Makefile: include misc/ directories other than misc/build_helpers in SOURCES. refs #1557 |
---|
5 | |
---|
6 | Fri Oct 7 04:30:31 BST 2011 david-sarah@jacaranda.org |
---|
7 | * Fix pyflakes warnings in misc/ directories other than misc/build_helpers. refs #1557 |
---|
8 | |
---|
9 | New patches: |
---|
10 | |
---|
11 | [Makefile: include misc/ directories other than misc/build_helpers in SOURCES. refs #1557 |
---|
12 | david-sarah@jacaranda.org**20111007032958 |
---|
13 | Ignore-this: 31376ec01401df7972e83341dc65aa05 |
---|
14 | ] hunk ./Makefile 13 |
---|
15 | # itself. It will also create it in the beginning of the 'develop' command. |
---|
16 | |
---|
17 | TAHOE=$(PYTHON) bin/tahoe |
---|
18 | -SOURCES=src/allmydata src/buildtest static misc/build_helpers bin/tahoe-script.template twisted setup.py |
---|
19 | +SOURCES=src/allmydata src/buildtest static misc bin/tahoe-script.template twisted setup.py |
---|
20 | |
---|
21 | .PHONY: make-version build |
---|
22 | |
---|
23 | [Fix pyflakes warnings in misc/ directories other than misc/build_helpers. refs #1557 |
---|
24 | david-sarah@jacaranda.org**20111007033031 |
---|
25 | Ignore-this: 7daf5862469732d8cabc355266622b74 |
---|
26 | ] { |
---|
27 | hunk ./misc/coding_tools/check-interfaces.py 104 |
---|
28 | |
---|
29 | $Id$ |
---|
30 | """ |
---|
31 | -from zope.interface.exceptions import BrokenImplementation, DoesNotImplement |
---|
32 | +from zope.interface.exceptions import DoesNotImplement |
---|
33 | from zope.interface.exceptions import BrokenMethodImplementation |
---|
34 | from types import FunctionType, MethodType |
---|
35 | from zope.interface.interface import fromMethod, fromFunction, Method |
---|
36 | hunk ./misc/operations_helpers/spacetime/diskwatcher.py 23 |
---|
37 | avail = integer() |
---|
38 | |
---|
39 | def upgradeSample1to2(old): |
---|
40 | - total = 0 |
---|
41 | return old.upgradeVersion("diskwatcher_sample", 1, 2, |
---|
42 | url=old.url, |
---|
43 | when=old.when, |
---|
44 | hunk ./misc/simulators/ringsim.py 5 |
---|
45 | |
---|
46 | # used to discuss ticket #302: "stop permuting peerlist?" |
---|
47 | |
---|
48 | -import time |
---|
49 | +# import time |
---|
50 | import math |
---|
51 | hunk ./misc/simulators/ringsim.py 7 |
---|
52 | -from hashlib import sha1, md5, sha256 |
---|
53 | +from hashlib import md5 # sha1, sha256 |
---|
54 | myhash = md5 |
---|
55 | # md5: 1520 "uploads" per second |
---|
56 | # sha1: 1350 ups |
---|
57 | hunk ./misc/simulators/ringsim.py 171 |
---|
58 | def do_run(ring, opts): |
---|
59 | avg_space_per_file = avg_filesize * opts["N"] / opts["k"] |
---|
60 | fileseed = opts["fileseed"] |
---|
61 | - start = time.time() |
---|
62 | all_servers_have_room = True |
---|
63 | no_files_have_wrapped = True |
---|
64 | for filenum in count(0): |
---|
65 | hunk ./misc/simulators/ringsim.py 230 |
---|
66 | seed = opts["seed"] |
---|
67 | |
---|
68 | ring = Ring(opts["servers"], seed, opts["permute"]) |
---|
69 | - num_files = do_run(ring, opts) |
---|
70 | + do_run(ring, opts) |
---|
71 | |
---|
72 | def run(opts): |
---|
73 | do_ring(opts) |
---|
74 | hunk ./misc/simulators/simulator.py 57 |
---|
75 | return (True, tried) |
---|
76 | |
---|
77 | def accept_share(self, fileid, sharesize): |
---|
78 | - accept = False |
---|
79 | if self.utilization < self.capacity: |
---|
80 | # we have room! yay! |
---|
81 | self.shares[fileid] = sharesize |
---|
82 | hunk ./misc/simulators/simulator.py 246 |
---|
83 | def do_event(self): |
---|
84 | time, etype = self.next.pop(0) |
---|
85 | assert time > self.time |
---|
86 | - current_time = self.time |
---|
87 | + # current_time = self.time |
---|
88 | self.time = time |
---|
89 | self._add_event(etype) |
---|
90 | if etype == "ADDFILE": |
---|
91 | } |
---|
92 | |
---|
93 | Context: |
---|
94 | |
---|
95 | [no_network.py: Clean up whitespace around code changed by previous patch. |
---|
96 | david-sarah@jacaranda.org**20111004010407 |
---|
97 | Ignore-this: 647ec8a9346dca1a41212ab250619b72 |
---|
98 | ] |
---|
99 | [no_network.py: Fix potential bugs in some tests due to capture of slots in for loops. |
---|
100 | david-sarah@jacaranda.org**20111004010231 |
---|
101 | Ignore-this: 9c496877613a3befd54979e5de6e63d2 |
---|
102 | ] |
---|
103 | [docs: fix the rst formatting of COPYING.TGPPL.rst |
---|
104 | zooko@zooko.com**20111003043333 |
---|
105 | Ignore-this: c5fbc83f4a3db81a0c95b27053c463c5 |
---|
106 | Now it renders correctly both on trac and with rst2html --verbose from docutils v0.8.1. |
---|
107 | ] |
---|
108 | [MDMF: remove extension fields from caps, tolerate arbitrary ones. Fixes #1526 |
---|
109 | Brian Warner <warner@lothar.com>**20111001233553 |
---|
110 | Ignore-this: 335e1690aef1146a2c0b8d8c18c1cb21 |
---|
111 | |
---|
112 | The filecaps used to be produced with hints for 'k' and segsize, but they |
---|
113 | weren't actually used, and doing so had the potential to limit how we change |
---|
114 | those filecaps in the future. Also the parsing code had some problems dealing |
---|
115 | with other numbers of extensions. Removing the existing fields and making the |
---|
116 | parser tolerate (and ignore) extra ones makes MDMF more future-proof. |
---|
117 | ] |
---|
118 | [test/test_runner.py: BinTahoe.test_path has rare nondeterministic failures; this patch probably fixes a problem where the actual cause of failure is masked by a string conversion error. |
---|
119 | david-sarah@jacaranda.org**20110927225336 |
---|
120 | Ignore-this: 6f1ad68004194cc9cea55ace3745e4af |
---|
121 | ] |
---|
122 | [docs/configuration.rst: add section about the types of node, and clarify when setting web.port enables web-API service. fixes #1444 |
---|
123 | zooko@zooko.com**20110926203801 |
---|
124 | Ignore-this: ab94d470c68e720101a7ff3c207a719e |
---|
125 | ] |
---|
126 | [TAG allmydata-tahoe-1.9.0a2 |
---|
127 | warner@lothar.com**20110925234811 |
---|
128 | Ignore-this: e9649c58f9c9017a7d55008938dba64f |
---|
129 | ] |
---|
130 | Patch bundle hash: |
---|
131 | 24a97aa01065ec06036423d39199eef763dea121 |
---|