1 | 1 patch for repository davidsarah@dev.allmydata.org:/home/darcs/tahoe/trunk: |
---|
2 | |
---|
3 | Thu May 12 15:05:59 BST 2011 david-sarah@jacaranda.org |
---|
4 | * docs: remove out-of-date docs/testgrid/introducer.furl and containing directory. fixes #1404 |
---|
5 | |
---|
6 | New patches: |
---|
7 | |
---|
8 | [docs: remove out-of-date docs/testgrid/introducer.furl and containing directory. fixes #1404 |
---|
9 | david-sarah@jacaranda.org**20110512140559 |
---|
10 | Ignore-this: 784548fc5367fac5450df1c46890876d |
---|
11 | ] { |
---|
12 | hunk ./docs/testgrid/introducer.furl 1 |
---|
13 | -pb://todjw7qkb4dgq4fkeo7cqydcu5vneioh@tahoecs2.allmydata.com:52106/introducer |
---|
14 | rmfile ./docs/testgrid/introducer.furl |
---|
15 | rmdir ./docs/testgrid |
---|
16 | } |
---|
17 | |
---|
18 | Context: |
---|
19 | |
---|
20 | [scripts/common.py: don't assume that the default alias is always 'tahoe' (it is, but the API of get_alias doesn't say so). refs #1342 |
---|
21 | david-sarah@jacaranda.org**20110130164923 |
---|
22 | Ignore-this: a271e77ce81d84bb4c43645b891d92eb |
---|
23 | ] |
---|
24 | [setup: don't catch all Exception from check_requirement(), but only PackagingError and ImportError |
---|
25 | zooko@zooko.com**20110128142006 |
---|
26 | Ignore-this: 57d4bc9298b711e4bc9dc832c75295de |
---|
27 | I noticed this because I had accidentally inserted a bug which caused AssertionError to be raised from check_requirement(). |
---|
28 | ] |
---|
29 | [M-x whitespace-cleanup |
---|
30 | zooko@zooko.com**20110510193653 |
---|
31 | Ignore-this: dea02f831298c0f65ad096960e7df5c7 |
---|
32 | ] |
---|
33 | [docs: fix typo in running.rst, thanks to arch_o_median |
---|
34 | zooko@zooko.com**20110510193633 |
---|
35 | Ignore-this: ca06de166a46abbc61140513918e79e8 |
---|
36 | ] |
---|
37 | [relnotes.txt: don't claim to work on Cygwin (which has been untested for some time). refs #1342 |
---|
38 | david-sarah@jacaranda.org**20110204204902 |
---|
39 | Ignore-this: 85ef118a48453d93fa4cddc32d65b25b |
---|
40 | ] |
---|
41 | [relnotes.txt: forseeable -> foreseeable. refs #1342 |
---|
42 | david-sarah@jacaranda.org**20110204204116 |
---|
43 | Ignore-this: 746debc4d82f4031ebf75ab4031b3a9 |
---|
44 | ] |
---|
45 | [replace remaining .html docs with .rst docs |
---|
46 | zooko@zooko.com**20110510191650 |
---|
47 | Ignore-this: d557d960a986d4ac8216d1677d236399 |
---|
48 | Remove install.html (long since deprecated). |
---|
49 | Also replace some obsolete references to install.html with references to quickstart.rst. |
---|
50 | Fix some broken internal references within docs/historical/historical_known_issues.txt. |
---|
51 | Thanks to Ravi Pinjala and Patrick McDonald. |
---|
52 | refs #1227 |
---|
53 | ] |
---|
54 | [docs: FTP-and-SFTP.rst: fix a minor error and update the information about which version of Twisted fixes #1297 |
---|
55 | zooko@zooko.com**20110428055232 |
---|
56 | Ignore-this: b63cfb4ebdbe32fb3b5f885255db4d39 |
---|
57 | ] |
---|
58 | [munin tahoe_files plugin: fix incorrect file count |
---|
59 | francois@ctrlaltdel.ch**20110428055312 |
---|
60 | Ignore-this: 334ba49a0bbd93b4a7b06a25697aba34 |
---|
61 | fixes #1391 |
---|
62 | ] |
---|
63 | [Fix a test failure in test_package_initialization on Python 2.4.x due to exceptions being stringified differently than in later versions of Python. refs #1389 |
---|
64 | david-sarah@jacaranda.org**20110411190738 |
---|
65 | Ignore-this: 7847d26bc117c328c679f08a7baee519 |
---|
66 | ] |
---|
67 | [tests: add test for including the ImportError message and traceback entry in the summary of errors from importing dependencies. refs #1389 |
---|
68 | david-sarah@jacaranda.org**20110410155844 |
---|
69 | Ignore-this: fbecdbeb0d06a0f875fe8d4030aabafa |
---|
70 | ] |
---|
71 | [allmydata/__init__.py: preserve the message and last traceback entry (file, line number, function, and source line) of ImportErrors in the package versions string. fixes #1389 |
---|
72 | david-sarah@jacaranda.org**20110410155705 |
---|
73 | Ignore-this: 2f87b8b327906cf8bfca9440a0904900 |
---|
74 | ] |
---|
75 | [remove unused variable detected by pyflakes |
---|
76 | zooko@zooko.com**20110407172231 |
---|
77 | Ignore-this: 7344652d5e0720af822070d91f03daf9 |
---|
78 | ] |
---|
79 | [allmydata/__init__.py: Nicer reporting of unparseable version numbers in dependencies. fixes #1388 |
---|
80 | david-sarah@jacaranda.org**20110401202750 |
---|
81 | Ignore-this: 9c6bd599259d2405e1caadbb3e0d8c7f |
---|
82 | ] |
---|
83 | [update FTP-and-SFTP.rst: the necessary patch is included in Twisted-10.1 |
---|
84 | Brian Warner <warner@lothar.com>**20110325232511 |
---|
85 | Ignore-this: d5307faa6900f143193bfbe14e0f01a |
---|
86 | ] |
---|
87 | [control.py: remove all uses of s.get_serverid() |
---|
88 | warner@lothar.com**20110227011203 |
---|
89 | Ignore-this: f80a787953bd7fa3d40e828bde00e855 |
---|
90 | ] |
---|
91 | [web: remove some uses of s.get_serverid(), not all |
---|
92 | warner@lothar.com**20110227011159 |
---|
93 | Ignore-this: a9347d9cf6436537a47edc6efde9f8be |
---|
94 | ] |
---|
95 | [immutable/downloader/fetcher.py: remove all get_serverid() calls |
---|
96 | warner@lothar.com**20110227011156 |
---|
97 | Ignore-this: fb5ef018ade1749348b546ec24f7f09a |
---|
98 | ] |
---|
99 | [immutable/downloader/fetcher.py: fix diversity bug in server-response handling |
---|
100 | warner@lothar.com**20110227011153 |
---|
101 | Ignore-this: bcd62232c9159371ae8a16ff63d22c1b |
---|
102 | |
---|
103 | When blocks terminate (either COMPLETE or CORRUPT/DEAD/BADSEGNUM), the |
---|
104 | _shares_from_server dict was being popped incorrectly (using shnum as the |
---|
105 | index instead of serverid). I'm still thinking through the consequences of |
---|
106 | this bug. It was probably benign and really hard to detect. I think it would |
---|
107 | cause us to incorrectly believe that we're pulling too many shares from a |
---|
108 | server, and thus prefer a different server rather than asking for a second |
---|
109 | share from the first server. The diversity code is intended to spread out the |
---|
110 | number of shares simultaneously being requested from each server, but with |
---|
111 | this bug, it might be spreading out the total number of shares requested at |
---|
112 | all, not just simultaneously. (note that SegmentFetcher is scoped to a single |
---|
113 | segment, so the effect doesn't last very long). |
---|
114 | ] |
---|
115 | [immutable/downloader/share.py: reduce get_serverid(), one left, update ext deps |
---|
116 | warner@lothar.com**20110227011150 |
---|
117 | Ignore-this: d8d56dd8e7b280792b40105e13664554 |
---|
118 | |
---|
119 | test_download.py: create+check MyShare instances better, make sure they share |
---|
120 | Server objects, now that finder.py cares |
---|
121 | ] |
---|
122 | [immutable/downloader/finder.py: reduce use of get_serverid(), one left |
---|
123 | warner@lothar.com**20110227011146 |
---|
124 | Ignore-this: 5785be173b491ae8a78faf5142892020 |
---|
125 | ] |
---|
126 | [immutable/offloaded.py: reduce use of get_serverid() a bit more |
---|
127 | warner@lothar.com**20110227011142 |
---|
128 | Ignore-this: b48acc1b2ae1b311da7f3ba4ffba38f |
---|
129 | ] |
---|
130 | [immutable/upload.py: reduce use of get_serverid() |
---|
131 | warner@lothar.com**20110227011138 |
---|
132 | Ignore-this: ffdd7ff32bca890782119a6e9f1495f6 |
---|
133 | ] |
---|
134 | [immutable/checker.py: remove some uses of s.get_serverid(), not all |
---|
135 | warner@lothar.com**20110227011134 |
---|
136 | Ignore-this: e480a37efa9e94e8016d826c492f626e |
---|
137 | ] |
---|
138 | [add remaining get_* methods to storage_client.Server, NoNetworkServer, and |
---|
139 | warner@lothar.com**20110227011132 |
---|
140 | Ignore-this: 6078279ddf42b179996a4b53bee8c421 |
---|
141 | MockIServer stubs |
---|
142 | ] |
---|
143 | [upload.py: rearrange _make_trackers a bit, no behavior changes |
---|
144 | warner@lothar.com**20110227011128 |
---|
145 | Ignore-this: 296d4819e2af452b107177aef6ebb40f |
---|
146 | ] |
---|
147 | [happinessutil.py: finally rename merge_peers to merge_servers |
---|
148 | warner@lothar.com**20110227011124 |
---|
149 | Ignore-this: c8cd381fea1dd888899cb71e4f86de6e |
---|
150 | ] |
---|
151 | [test_upload.py: factor out FakeServerTracker |
---|
152 | warner@lothar.com**20110227011120 |
---|
153 | Ignore-this: 6c182cba90e908221099472cc159325b |
---|
154 | ] |
---|
155 | [test_upload.py: server-vs-tracker cleanup |
---|
156 | warner@lothar.com**20110227011115 |
---|
157 | Ignore-this: 2915133be1a3ba456e8603885437e03 |
---|
158 | ] |
---|
159 | [happinessutil.py: server-vs-tracker cleanup |
---|
160 | warner@lothar.com**20110227011111 |
---|
161 | Ignore-this: b856c84033562d7d718cae7cb01085a9 |
---|
162 | ] |
---|
163 | [upload.py: more tracker-vs-server cleanup |
---|
164 | warner@lothar.com**20110227011107 |
---|
165 | Ignore-this: bb75ed2afef55e47c085b35def2de315 |
---|
166 | ] |
---|
167 | [upload.py: fix var names to avoid confusion between 'trackers' and 'servers' |
---|
168 | warner@lothar.com**20110227011103 |
---|
169 | Ignore-this: 5d5e3415b7d2732d92f42413c25d205d |
---|
170 | ] |
---|
171 | [refactor: s/peer/server/ in immutable/upload, happinessutil.py, test_upload |
---|
172 | warner@lothar.com**20110227011100 |
---|
173 | Ignore-this: 7ea858755cbe5896ac212a925840fe68 |
---|
174 | |
---|
175 | No behavioral changes, just updating variable/method names and log messages. |
---|
176 | The effects outside these three files should be minimal: some exception |
---|
177 | messages changed (to say "server" instead of "peer"), and some internal class |
---|
178 | names were changed. A few things still use "peer" to minimize external |
---|
179 | changes, like UploadResults.timings["peer_selection"] and |
---|
180 | happinessutil.merge_peers, which can be changed later. |
---|
181 | ] |
---|
182 | [storage_client.py: clean up test_add_server/test_add_descriptor, remove .test_servers |
---|
183 | warner@lothar.com**20110227011056 |
---|
184 | Ignore-this: efad933e78179d3d5fdcd6d1ef2b19cc |
---|
185 | ] |
---|
186 | [test_client.py, upload.py:: remove KiB/MiB/etc constants, and other dead code |
---|
187 | warner@lothar.com**20110227011051 |
---|
188 | Ignore-this: dc83c5794c2afc4f81e592f689c0dc2d |
---|
189 | ] |
---|
190 | [test: increase timeout on a network test because Francois's ARM machine hit that timeout |
---|
191 | zooko@zooko.com**20110317165909 |
---|
192 | Ignore-this: 380c345cdcbd196268ca5b65664ac85b |
---|
193 | I'm skeptical that the test was proceeding correctly but ran out of time. It seems more likely that it had gotten hung. But if we raise the timeout to an even more extravagant number then we can be even more certain that the test was never going to finish. |
---|
194 | ] |
---|
195 | [docs/configuration.rst: add a "Frontend Configuration" section |
---|
196 | Brian Warner <warner@lothar.com>**20110222014323 |
---|
197 | Ignore-this: 657018aa501fe4f0efef9851628444ca |
---|
198 | |
---|
199 | this points to docs/frontends/*.rst, which were previously underlinked |
---|
200 | ] |
---|
201 | [web/filenode.py: avoid calling req.finish() on closed HTTP connections. Closes #1366 |
---|
202 | "Brian Warner <warner@lothar.com>"**20110221061544 |
---|
203 | Ignore-this: 799d4de19933f2309b3c0c19a63bb888 |
---|
204 | ] |
---|
205 | [Add unit tests for cross_check_pkg_resources_versus_import, and a regression test for ref #1355. This requires a little refactoring to make it testable. |
---|
206 | david-sarah@jacaranda.org**20110221015817 |
---|
207 | Ignore-this: 51d181698f8c20d3aca58b057e9c475a |
---|
208 | ] |
---|
209 | [allmydata/__init__.py: .name was used in place of the correct .__name__ when printing an exception. Also, robustify string formatting by using %r instead of %s in some places. fixes #1355. |
---|
210 | david-sarah@jacaranda.org**20110221020125 |
---|
211 | Ignore-this: b0744ed58f161bf188e037bad077fc48 |
---|
212 | ] |
---|
213 | [Refactor StorageFarmBroker handling of servers |
---|
214 | Brian Warner <warner@lothar.com>**20110221015804 |
---|
215 | Ignore-this: 842144ed92f5717699b8f580eab32a51 |
---|
216 | |
---|
217 | Pass around IServer instance instead of (peerid, rref) tuple. Replace |
---|
218 | "descriptor" with "server". Other replacements: |
---|
219 | |
---|
220 | get_all_servers -> get_connected_servers/get_known_servers |
---|
221 | get_servers_for_index -> get_servers_for_psi (now returns IServers) |
---|
222 | |
---|
223 | This change still needs to be pushed further down: lots of code is now |
---|
224 | getting the IServer and then distributing (peerid, rref) internally. |
---|
225 | Instead, it ought to distribute the IServer internally and delay |
---|
226 | extracting a serverid or rref until the last moment. |
---|
227 | |
---|
228 | no_network.py was updated to retain parallelism. |
---|
229 | ] |
---|
230 | [TAG allmydata-tahoe-1.8.2 |
---|
231 | warner@lothar.com**20110131020101] |
---|
232 | Patch bundle hash: |
---|
233 | 1c085d56883602145add72f98fb15760be31c1d4 |
---|