1 | 1 patch for repository https://tahoe-lafs.org/source/tahoe-lafs/trunk: |
---|
2 | |
---|
3 | Fri Apr 6 00:57:23 BST 2012 david-sarah@jacaranda.org |
---|
4 | * Change capitalization of WUI and introducer welcome page headings; add test for introducer welcome page. Also fix a typo in a CSS class name. fixes #1708 |
---|
5 | |
---|
6 | New patches: |
---|
7 | |
---|
8 | [Change capitalization of WUI and introducer welcome page headings; add test for introducer welcome page. Also fix a typo in a CSS class name. fixes #1708 |
---|
9 | david-sarah@jacaranda.org**20120405235723 |
---|
10 | Ignore-this: 9b0055847a793528a028679847ab493c |
---|
11 | ] { |
---|
12 | hunk ./src/allmydata/test/test_web.py 4 |
---|
13 | import os.path, re, urllib, time |
---|
14 | import simplejson |
---|
15 | from StringIO import StringIO |
---|
16 | + |
---|
17 | from twisted.application import service |
---|
18 | from twisted.trial import unittest |
---|
19 | from twisted.internet import defer, reactor |
---|
20 | hunk ./src/allmydata/test/test_web.py 11 |
---|
21 | from twisted.internet.task import Clock |
---|
22 | from twisted.web import client, error, http |
---|
23 | from twisted.python import failure, log |
---|
24 | + |
---|
25 | +from foolscap.api import fireEventually, flushEventualQueue |
---|
26 | + |
---|
27 | from nevow import rend |
---|
28 | hunk ./src/allmydata/test/test_web.py 15 |
---|
29 | + |
---|
30 | from allmydata import interfaces, uri, webish, dirnode |
---|
31 | from allmydata.storage.shares import get_share_file |
---|
32 | from allmydata.storage_client import StorageFarmBroker |
---|
33 | hunk ./src/allmydata/test/test_web.py 40 |
---|
34 | from allmydata.test.common_web import HTTPClientGETFactory, \ |
---|
35 | HTTPClientHEADFactory |
---|
36 | from allmydata.client import Client, SecretHolder |
---|
37 | +from allmydata.introducer import IntroducerNode |
---|
38 | |
---|
39 | # create a fake uploader/downloader, and a couple of fake dirnodes, then |
---|
40 | # create a webserver that works against them |
---|
41 | hunk ./src/allmydata/test/test_web.py 511 |
---|
42 | def test_welcome(self): |
---|
43 | d = self.GET("/") |
---|
44 | def _check(res): |
---|
45 | - self.failUnlessIn('Welcome To Tahoe-LAFS', res) |
---|
46 | + self.failUnlessIn('Welcome to Tahoe-LAFS', res) |
---|
47 | self.failUnlessIn(FAVICON_MARKUP, res) |
---|
48 | self.failUnlessIn('href="https://tahoe-lafs.org/"', res) |
---|
49 | |
---|
50 | hunk ./src/allmydata/test/test_web.py 3823 |
---|
51 | return d |
---|
52 | |
---|
53 | |
---|
54 | +class IntroducerWeb(unittest.TestCase): |
---|
55 | + def setUp(self): |
---|
56 | + self.node = None |
---|
57 | + |
---|
58 | + def tearDown(self): |
---|
59 | + d = defer.succeed(None) |
---|
60 | + if self.node: |
---|
61 | + d.addCallback(lambda ign: self.node.stopService()) |
---|
62 | + d.addCallback(flushEventualQueue) |
---|
63 | + return d |
---|
64 | + |
---|
65 | + def test_welcome(self): |
---|
66 | + basedir = "web.IntroducerWeb.test_welcome" |
---|
67 | + os.mkdir(basedir) |
---|
68 | + fileutil.write(os.path.join(basedir, "tahoe.cfg"), "[node]\nweb.port = tcp:0\n") |
---|
69 | + self.node = IntroducerNode(basedir) |
---|
70 | + self.ws = self.node.getServiceNamed("webish") |
---|
71 | + |
---|
72 | + d = fireEventually(None) |
---|
73 | + d.addCallback(lambda ign: self.node.startService()) |
---|
74 | + d.addCallback(lambda ign: self.node.when_tub_ready()) |
---|
75 | + |
---|
76 | + d.addCallback(lambda ign: self.GET("/")) |
---|
77 | + def _check(res): |
---|
78 | + self.failUnlessIn('Welcome to the Tahoe-LAFS Introducer', res) |
---|
79 | + self.failUnlessIn(FAVICON_MARKUP, res) |
---|
80 | + d.addCallback(_check) |
---|
81 | + return d |
---|
82 | + |
---|
83 | + def GET(self, urlpath, followRedirect=False, return_response=False, |
---|
84 | + **kwargs): |
---|
85 | + # if return_response=True, this fires with (data, statuscode, |
---|
86 | + # respheaders) instead of just data. |
---|
87 | + assert not isinstance(urlpath, unicode) |
---|
88 | + url = self.ws.getURL().rstrip('/') + urlpath |
---|
89 | + factory = HTTPClientGETFactory(url, method="GET", |
---|
90 | + followRedirect=followRedirect, **kwargs) |
---|
91 | + reactor.connectTCP("localhost", self.ws.getPortnum(), factory) |
---|
92 | + d = factory.deferred |
---|
93 | + def _got_data(data): |
---|
94 | + return (data, factory.status, factory.response_headers) |
---|
95 | + if return_response: |
---|
96 | + d.addCallback(_got_data) |
---|
97 | + return factory.deferred |
---|
98 | + |
---|
99 | + |
---|
100 | class Util(ShouldFailMixin, testutil.ReallyEqualMixin, unittest.TestCase): |
---|
101 | def test_load_file(self): |
---|
102 | # This will raise an exception unless a well-formed XML file is found under that name. |
---|
103 | hunk ./src/allmydata/web/introducer.xhtml 8 |
---|
104 | <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> |
---|
105 | </head><body> |
---|
106 | |
---|
107 | -<h1>Welcome To The Tahoe-LAFS Introducer</h1> |
---|
108 | +<h1>Welcome to the Tahoe-LAFS Introducer</h1> |
---|
109 | |
---|
110 | <div class="section" id="this-client"> |
---|
111 | <h2>This Introducer</h2> |
---|
112 | hunk ./src/allmydata/web/introducer.xhtml 14 |
---|
113 | |
---|
114 | <table class="node-info table-headings-left"> |
---|
115 | - <tr><th>My nodeid:</th> <td class="nideid mine data-chars" n:render="string" n:data="my_nodeid" /></tr> |
---|
116 | + <tr><th>My nodeid:</th> <td class="nodeid mine data-chars" n:render="string" n:data="my_nodeid" /></tr> |
---|
117 | <tr><th>My versions:</th> <td n:render="string" n:data="version" /></tr> |
---|
118 | <tr><th>Tahoe-LAFS code imported from:</th> <td n:render="string" n:data="import_path" /></tr> |
---|
119 | </table> |
---|
120 | hunk ./src/allmydata/web/welcome.xhtml 8 |
---|
121 | <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> |
---|
122 | </head><body> |
---|
123 | |
---|
124 | -<h1>Welcome To Tahoe-LAFS!</h1> |
---|
125 | +<h1>Welcome to Tahoe-LAFS!</h1> |
---|
126 | |
---|
127 | <div class="section" id="this-client"> |
---|
128 | <h2>This Client</h2> |
---|
129 | } |
---|
130 | |
---|
131 | Context: |
---|
132 | |
---|
133 | [Rename web CheckResults to -Renderer, to avoid confusion. Closes #1705. |
---|
134 | Brian Warner <warner@lothar.com>**20120403030451 |
---|
135 | Ignore-this: 4c3e20d804e70a27d2464f770aec0c2c |
---|
136 | |
---|
137 | This avoids the name collision between the actual results |
---|
138 | objects (defined in allmydata.check_results) and the code that renders |
---|
139 | these objects into HTML (defined in allmydata.web.check_results). Only |
---|
140 | the web-side objects were renamed. |
---|
141 | ] |
---|
142 | [webapi.rst: de-tabify |
---|
143 | Brian Warner <warner@lothar.com>**20120402233205 |
---|
144 | Ignore-this: 6436168d9073b12e95ff410239bf133f |
---|
145 | ] |
---|
146 | [servermap.py: oops, fix _done() condition, good catch by davidsarah |
---|
147 | Brian Warner <warner@lothar.com>**20120401221034 |
---|
148 | Ignore-this: a5b0f61d83606ebf3493917e69ad4edf |
---|
149 | ] |
---|
150 | [doc: cross-link known_issues.rst and cautions.rst with one another |
---|
151 | zooko@zooko.com**20120401214039 |
---|
152 | Ignore-this: 3873f8807826cb21761cfe65a93955f8 |
---|
153 | ] |
---|
154 | [docs: FTP-and-SFTP.rst: recommend SFTP |
---|
155 | zooko@zooko.com**20120401212002 |
---|
156 | Ignore-this: 6459edd6dd0a62a82d3adc62c5656c63 |
---|
157 | |
---|
158 | Add an explicit recommendation of SFTP over FTP. Separate the known issues of |
---|
159 | FTP from SFTP. List "SFTP" first in all lists of the two. Use unicode bullet |
---|
160 | points and prepend a utf-8 BOM. Use out-of-line rst hyperlinks. |
---|
161 | |
---|
162 | ] |
---|
163 | [interfaces.py: ensure that NoSuchChildError can be converted to str even when it is for a non-ASCII name. fixes #1483 |
---|
164 | david-sarah@jacaranda.org**20110814225959 |
---|
165 | Ignore-this: d0069952ac7f5a13bdf5e957c7ae78a8 |
---|
166 | ] |
---|
167 | [misc/build_helpers/show-tool-versions.py: s/print_stderr/print_stdout/ |
---|
168 | david-sarah@jacaranda.org**20120401022826 |
---|
169 | Ignore-this: c69d01081308a8144c9fdb34c4ab40b0 |
---|
170 | ] |
---|
171 | [bin/tahoe-script.template: fix the error message that is displayed when a runner script cannot be found. fixes #1488 |
---|
172 | david-sarah@jacaranda.org**20110817222651 |
---|
173 | Ignore-this: b92c562e4da9adf63e642512c96eee89 |
---|
174 | ] |
---|
175 | [docs: quickstart: edits |
---|
176 | zooko@zooko.com**20120401015717 |
---|
177 | Ignore-this: cb56a1ffedb20d687133ad2ecfd7f8f7 |
---|
178 | |
---|
179 | • use out-of-line links to avoid a warning from rst2html --verbose (fixes #1704) |
---|
180 | • reflow to 77 fill-column and prepend utf-8 BOM (fixes #1703) |
---|
181 | • recommend Python 2.7 (fixes #1702) |
---|
182 | • remove link to wiki:AdvancedInstall (fixes #1701) |
---|
183 | |
---|
184 | ] |
---|
185 | [Spelling error in a comment. |
---|
186 | david-sarah@jacaranda.org**20120401013655 |
---|
187 | Ignore-this: 3a5a30be4be27bcfb1fecfd22ccf5327 |
---|
188 | ] |
---|
189 | [test_node.py: test that we tolerate a UTF-8 BOM at the start of tahoe.cfg, and can read UTF-8 option values. refs #1470 |
---|
190 | david-sarah@jacaranda.org**20110808180552 |
---|
191 | Ignore-this: b4dd630857d192c02acaa6d8b163d5ca |
---|
192 | ] |
---|
193 | [node.py: tolerate a UTF-8 BOM at the start of tahoe.cfg. fixes #1470 |
---|
194 | david-sarah@jacaranda.org**20110808180204 |
---|
195 | Ignore-this: 9c859adce5668d7315d0d6e2ed9ddca7 |
---|
196 | ] |
---|
197 | [mutable/layout.py: improve confusing documentation of layout. fixes #1534 |
---|
198 | david-sarah@jacaranda.org**20110914143947 |
---|
199 | Ignore-this: c5fbd3809ee3f7fc2b46cd23dad6b1c0 |
---|
200 | ] |
---|
201 | [setup: show-tool-versions: report cl only on windows, report buildslave, git, openssl, and lzip, but not 7za |
---|
202 | zooko@zooko.com**20120401005925 |
---|
203 | Ignore-this: 2f8d90893271d2f1c2d1185f95d95e86 |
---|
204 | ] |
---|
205 | [Document PYTHONPATH problem when running flogtool. refs #1693 |
---|
206 | david-sarah@jacaranda.org**20120331223934 |
---|
207 | Ignore-this: 3edb13077119aaee76c1dcc46370e62 |
---|
208 | ] |
---|
209 | [Mutable repair: use new MODE_REPAIR to query all servers *and* get privkey |
---|
210 | Brian Warner <warner@lothar.com>**20120331183902 |
---|
211 | Ignore-this: e518c5372afe27331e09f8d70c63764d |
---|
212 | |
---|
213 | This fixes bug #1689. Repair was using MODE_READ to build the servermap, |
---|
214 | which doesn't try hard enough to grab the privkey, and also doesn't guarantee |
---|
215 | sending queries to all servers. This patch adds a new MODE_REPAIR which does |
---|
216 | both, and does a separate, distinct mapupdate to start wth repair cycle, |
---|
217 | instead of relying upon the (MODE_CHECK) mapupdate leftover from the |
---|
218 | filecheck that triggered the repair. |
---|
219 | ] |
---|
220 | [Add test for bug #1689: repairing empty file hits no-privkey assertion |
---|
221 | Brian Warner <warner@lothar.com>**20120331183902 |
---|
222 | Ignore-this: e84ead8eb2bfee9c65285b7f9a3a9237 |
---|
223 | ] |
---|
224 | [FTP-and-SFTP.rst: there were two more instances of 'rootcap'. Also made the wording tweak from ticket:1487#comment:4 . fixes #1487 |
---|
225 | david-sarah@jacaranda.org**20120331023247 |
---|
226 | Ignore-this: 9ce9c37d9aa2b9629b14a001989d51b0 |
---|
227 | ] |
---|
228 | [test_ftp.py: fix a couple of unused imports. refs #1668 |
---|
229 | david-sarah@jacaranda.org**20120331021725 |
---|
230 | Ignore-this: fc4f24fbc707efe86de9f35b782384ce |
---|
231 | ] |
---|
232 | [FTP-and-SFTP.rst: directories containing mutable files should now be listable via FTP. refs #680 |
---|
233 | david-sarah@jacaranda.org**20120331013730 |
---|
234 | Ignore-this: 78e507bd857623e78b32dd0e4da3c59 |
---|
235 | ] |
---|
236 | [ftpd file `size' attribute must be an integer |
---|
237 | Peter Le Bek <peter@hyperplex.net>**20120322131806 |
---|
238 | Ignore-this: bcf0047f19226e8dc00cb4995584761a |
---|
239 | ] |
---|
240 | [unit test for ftpd LIST |
---|
241 | Peter Le Bek <peter@hyperplex.net>**20120330234139 |
---|
242 | Ignore-this: dfbb45a030be9840858df6047f21666c |
---|
243 | ] |
---|
244 | [fix ftpd mtime retrieval |
---|
245 | Peter Le Bek <peter@hyperplex.net>**20120330234119 |
---|
246 | Ignore-this: 873cf8d1c28817d7e64565dda43a2ecb |
---|
247 | ] |
---|
248 | [test_introducer.SystemTest: fix race condition |
---|
249 | Brian Warner <warner@lothar.com>**20120331002906 |
---|
250 | Ignore-this: d5cec29c09aca766634b6332c798436f |
---|
251 | |
---|
252 | SystemTest has a couple of different phases, separated by a poller which |
---|
253 | waits for everything to be idle (all messages delivered, none in flight). It |
---|
254 | does this by watching some internal "_debug_outstanding" counters in the |
---|
255 | server and in each client, and waiting for them to hit zero. |
---|
256 | |
---|
257 | Just before the last phase, we replace the server with a new one (to make |
---|
258 | sure clients re-send their messages properly). Unfortunately, the polling |
---|
259 | function closed over the variable holding the original server, and didn't see |
---|
260 | the replacement. It kept polling the old server, and failed to notice the |
---|
261 | outstanding messages for the new server. The last phase of the test (check3) |
---|
262 | was started too early, which failed (since some messages had not yet been |
---|
263 | delivered), and then exploded in a flurry of dirty-reactor errors (because |
---|
264 | some messages were delivered after test shutdown). |
---|
265 | |
---|
266 | This replaces the closed-over-variable with a "self.the_introducer", which |
---|
267 | seems to fix the race. |
---|
268 | |
---|
269 | One additional place to look at in the future: the client |
---|
270 | announcement-receive path (remote_announce) uses an eventually(). If the |
---|
271 | message has been received and the eventual-send posted (but not yet executed) |
---|
272 | when the poller sees it, the poller might erroneously conclude that the |
---|
273 | client is idle and cause the same problem as above. To fix this, the poller |
---|
274 | (probably all pollers) could be enhanced to do a flushEventualQueue before |
---|
275 | querying the are-we-done-yet predicate function. |
---|
276 | ] |
---|
277 | [Cosmetic formatting in docs. |
---|
278 | david-sarah@jacaranda.org**20120322220534 |
---|
279 | Ignore-this: 2e3ddb170f45035c4655ce25aaa09977 |
---|
280 | ] |
---|
281 | [Put SFTP before FTP in various docs. fixes #1692 |
---|
282 | david-sarah@jacaranda.org**20120322220453 |
---|
283 | Ignore-this: 6759fbe5d58a965120b55cf3c1578970 |
---|
284 | ] |
---|
285 | [Correct a link to frontends/drop-upload.rst. fixes #1690 |
---|
286 | david-sarah@jacaranda.org**20120322220118 |
---|
287 | Ignore-this: dafc6205151545e8095f908dd57c213 |
---|
288 | ] |
---|
289 | [Fix mutable status (mapupdate/retrieve/publish) to use serverids, not tubids |
---|
290 | Brian Warner <warner@lothar.com>**20120318000135 |
---|
291 | Ignore-this: 79354457b77fe2d8534fc0b792b6eb0c |
---|
292 | |
---|
293 | This still leaves immutable-publish results incorrectly using tubids instead |
---|
294 | of serverids. That will need some more work, since it might change the Helper |
---|
295 | interface. |
---|
296 | ] |
---|
297 | [IServer.get_name(): remove v0- prefix from displayed server names |
---|
298 | Brian Warner <warner@lothar.com>**20120318000135 |
---|
299 | Ignore-this: f3dc25be3ecca5935a4320ca53b70cad |
---|
300 | |
---|
301 | Don't remove the prefix if it isn't there: that avoids the need to fix tests |
---|
302 | which use a bogus key (usually all-zeros). |
---|
303 | ] |
---|
304 | [Fix a missing comma in the last patch. refs #1295 |
---|
305 | david-sarah@jacaranda.org**20120314235040 |
---|
306 | Ignore-this: 34327ffeabed65759ad511760f925e47 |
---|
307 | ] |
---|
308 | [Temporarily suppress the DeprecationWarning about IFinishableConsumer; it's irritating, but not in a way that is likely to make me fix the underlying issue (#1525) any sooner :-). refs #1295 |
---|
309 | david-sarah@jacaranda.org**20120314234729 |
---|
310 | Ignore-this: 2ab43c7893ed305a9d40023ec176d179 |
---|
311 | ] |
---|
312 | [minor: hush pyflakes, move pycryptopp dep to unconditional section |
---|
313 | Brian Warner <warner@lothar.com>**20120314062035 |
---|
314 | Ignore-this: 786fae44ad106c7924f8c9644ee0e48d |
---|
315 | |
---|
316 | Also change Makefile's "pyflakes" rule to emit less output, so buildbot will |
---|
317 | count errors properly. |
---|
318 | ] |
---|
319 | [Update find_links URLs in setup.cfg to https://tahoe-lafs.org. This is not just a doc change; look out for compatibility problems. |
---|
320 | david-sarah@jacaranda.org**20120313203041 |
---|
321 | Ignore-this: fd18113695c2a524972c389e8b52e2e8 |
---|
322 | ] |
---|
323 | [Minor updates to URLs. |
---|
324 | david-sarah@jacaranda.org**20120313202853 |
---|
325 | Ignore-this: 2e5719e8cf19d7be73fbcba98dc1e5dd |
---|
326 | ] |
---|
327 | [Update more links from http: to https: in documentation and comments. |
---|
328 | david-sarah@jacaranda.org**20120313202654 |
---|
329 | Ignore-this: 2c11cef35639b101412c024896256529 |
---|
330 | ] |
---|
331 | [new introducer: signed extensible dictionary-based messages! refs #466 |
---|
332 | Brian Warner <warner@lothar.com>**20120314012432 |
---|
333 | Ignore-this: e87de488a26c11711cf6978c9fb1175c |
---|
334 | |
---|
335 | This introduces new client and server halves to the Introducer (renaming the |
---|
336 | old one with a _V1 suffix). Both have fallbacks to accomodate talking to a |
---|
337 | different version: the publishing client switches on whether the server's |
---|
338 | .get_version() advertises V2 support, the server switches on which |
---|
339 | subscription method was invoked by the subscribing client. |
---|
340 | |
---|
341 | The V2 protocol sends a three-tuple of (serialized announcement dictionary, |
---|
342 | signature, pubkey) for each announcement. The V2 server dispatches messages |
---|
343 | to subscribers according to the service-name, and throws errors for invalid |
---|
344 | signatures, but does not otherwise examine the messages. The V2 receiver's |
---|
345 | subscription callback will receive a (serverid, ann_dict) pair. The |
---|
346 | 'serverid' will be equal to the pubkey if all of the following are true: |
---|
347 | |
---|
348 | the originating client is V2, and was told a privkey to use |
---|
349 | the announcement went through a V2 server |
---|
350 | the signature is valid |
---|
351 | |
---|
352 | If not, 'serverid' will be equal to the tubid portion of the announced FURL, |
---|
353 | as was the case for V1 receivers. |
---|
354 | |
---|
355 | Servers will create a keypair if one does not exist yet, stored in |
---|
356 | private/server.privkey . |
---|
357 | |
---|
358 | The signed announcement dictionary puts the server FURL in a key named |
---|
359 | "anonymous-storage-FURL", which anticipates upcoming Accounting-related |
---|
360 | changes in the server advertisements. It also provides a key named |
---|
361 | "permutation-seed-base32" to tell clients what permutation seed to use. This |
---|
362 | is computed at startup, using tubid if there are existing shares, otherwise |
---|
363 | the pubkey, to retain share-order compatibility for existing servers. |
---|
364 | ] |
---|
365 | ['tahoe admin generate-keypair/derive-pubkey': add Ed25519 keypair commands |
---|
366 | Brian Warner <warner@lothar.com>**20120314012432 |
---|
367 | Ignore-this: 6dff9c61d97f746de338027b72cf1912 |
---|
368 | |
---|
369 | Also add parse_privkey/parse_pubkey tools to util.keyutil |
---|
370 | ] |
---|
371 | [bump pycryptopp dependency to >=0.6.0, to get ed25519 signatures |
---|
372 | Brian Warner <warner@lothar.com>**20120314012432 |
---|
373 | Ignore-this: 6c1cf12a30567880ab2cc53c4282be11 |
---|
374 | |
---|
375 | This is for the upcoming #466 signed-introducer code. |
---|
376 | ] |
---|
377 | [Update copyright notices. refs #1686 |
---|
378 | david-sarah@jacaranda.org**20120313205057 |
---|
379 | Ignore-this: a6a4904001412248c4164f002b52f79a |
---|
380 | ] |
---|
381 | [Make the link on the Welcome page to 'https://tahoe-lafs.org/', not 'http:'. Includes a test. fixes #1682 |
---|
382 | david-sarah@jacaranda.org**20120308231758 |
---|
383 | Ignore-this: b639c3da453b95ee7edca8090ea1b9aa |
---|
384 | ] |
---|
385 | [Update various references to allmydata.org or http://tahoe-lafs.org in comments, to https://tahoe-lafs.org. refs #1682 |
---|
386 | david-sarah@jacaranda.org**20120308231719 |
---|
387 | Ignore-this: a71d00ea46af0a44e5c957df56d02adf |
---|
388 | ] |
---|
389 | [Suppress a warning from win32eventreactor on Windows (patch v2). fixes #1681 |
---|
390 | david-sarah@jacaranda.org**20120227190317 |
---|
391 | Ignore-this: c7efe1065d45a00caf182a1de812f4bb |
---|
392 | ] |
---|
393 | [Add nickname/nodeid to storage-status web page. Closes #1204. |
---|
394 | Brian Warner <warner@lothar.com>**20120313025736 |
---|
395 | Ignore-this: 78e533e06c390221edd66c45ec96e34a |
---|
396 | |
---|
397 | Also add tahoe.css to the page, to make it look slightly prettier. |
---|
398 | ] |
---|
399 | [add some quick tests of the introducer/web improvements |
---|
400 | Brian Warner <warner@lothar.com>**20120312193536 |
---|
401 | Ignore-this: 9e31f368b1dfa586ab6e3f17707d9ec |
---|
402 | ] |
---|
403 | [introducer web page: add CSS styling, roughly match client Welcome page |
---|
404 | Brian Warner <warner@lothar.com>**20120307022505 |
---|
405 | Ignore-this: bfc450f394578a3463f31acc1019862 |
---|
406 | |
---|
407 | Also add /static and the top-level /tahoe.css -type stuff to the introducer's |
---|
408 | web server. |
---|
409 | ] |
---|
410 | [tahoe.css: fix #section typo, update welcome.xhtml to match |
---|
411 | Brian Warner <warner@lothar.com>**20120307022241 |
---|
412 | Ignore-this: 4e8a8382234aad017b093f8896b329d6 |
---|
413 | |
---|
414 | The "#section" declaration (which matches id="section") should have been |
---|
415 | ".section" (which matches class="section"). |
---|
416 | |
---|
417 | The welcome page has a feature that I actually liked: the little "This |
---|
418 | Client" sidebar sits just to the right of the start of the Controls block. |
---|
419 | Fixing .section broke that (the clear:both introduces a gap, forcing the |
---|
420 | Controls block to start strictly below the bottom of the This Client block). |
---|
421 | So I also removed class="section" from the Controls block to allow them to |
---|
422 | share the horizontal space again. |
---|
423 | ] |
---|
424 | [make provisioning/reliability work in the new location, fix tests |
---|
425 | Brian Warner <warner@lothar.com>**20120216222905 |
---|
426 | Ignore-this: 8a2923a54ca224fe69fe404e819aaaac |
---|
427 | ] |
---|
428 | [remove 'provisioning'/'reliability' from WUI, add to misc/operations_helpers |
---|
429 | Brian Warner <warner@lothar.com>**20120216222905 |
---|
430 | Ignore-this: 4090c8ac99f139393d9573b65cbbfe0c |
---|
431 | |
---|
432 | Also remove docs related to reliability/provisioning pages |
---|
433 | ] |
---|
434 | [provisioning.py: update disk sizes and usage numbers |
---|
435 | Brian Warner <warner@lothar.com>**20120213155708 |
---|
436 | Ignore-this: e47ee282bfba4beb2598b227add5250a |
---|
437 | ] |
---|
438 | [configuration.rst: another attempt to fix formatting of sample tahoe.cfg. |
---|
439 | david-sarah@jacaranda.org**20120131000949 |
---|
440 | Ignore-this: bb67b6c9bb191a1335eaadfe9594fa4f |
---|
441 | ] |
---|
442 | [configuration.rst: remove the obsolete sizelimit option from the sample tahoe.cfg. Also fix the RST formatting of blank lines in the file. |
---|
443 | david-sarah@jacaranda.org**20120131000643 |
---|
444 | Ignore-this: 9c5327edf031d8578c19383d950b17b9 |
---|
445 | ] |
---|
446 | [Add a Python 3 blocker to setup.py, to display a better error message when it is run under Python 3. |
---|
447 | david-sarah@jacaranda.org**20120127015525 |
---|
448 | Ignore-this: 5f032794ecc8cd6c512a7ab9efffed2 |
---|
449 | ] |
---|
450 | [Ensure that verification proceeds and stops when appropriate. |
---|
451 | Brian Warner <warner@lothar.com>**20120124205209 |
---|
452 | Ignore-this: 88278bbd6a3b33cf3b286feaa162ad02 |
---|
453 | |
---|
454 | The removed assertions are appropriate for a download that seeks to |
---|
455 | return plaintext to a caller; if we don't have at least k active remote |
---|
456 | shares, then we can't hope to do that. They're not appropriate for a |
---|
457 | verification operation; a user can try to verify a file that has fewer |
---|
458 | than k shares available, so that shouldn't be treated as an error. |
---|
459 | Instead, we proceed with fewer than k shares, and ensure that we |
---|
460 | terminate the download if we have no shares at all and we're verifying. |
---|
461 | ] |
---|
462 | [Add test_verify_mdmf_all_bad_sharedata |
---|
463 | Brian Warner <warner@lothar.com>**20120124205209 |
---|
464 | Ignore-this: 52acb4f0256af764acb038f7c8344367 |
---|
465 | |
---|
466 | test_verify_mdmf_all_bad_sharedata tests for the regression described |
---|
467 | in ticket 1648. In particular, it will trigger the misplaced assertion |
---|
468 | in the share activation code. It also tests to make sure that |
---|
469 | verification continues with fewer than k shares. |
---|
470 | ] |
---|
471 | [Added clarification on how interface= works |
---|
472 | Brian Warner <warner@lothar.com>**20120124203821 |
---|
473 | Ignore-this: 57f86d178c8e4f3c62d15bf99dec7d0d |
---|
474 | ] |
---|
475 | [FTP-and-SFTP.rst: minor edits |
---|
476 | Brian Warner <warner@lothar.com>**20120124203654 |
---|
477 | Ignore-this: ec21fadb85cf7b3192d32b02c03c3656 |
---|
478 | ] |
---|
479 | [Updated accounts.url directive per warner's suggestions |
---|
480 | Brian Warner <warner@lothar.com>**20120124203126 |
---|
481 | Ignore-this: 9297ec6406e11d4e1fe24ba3a06725e3 |
---|
482 | ] |
---|
483 | [Added information on accounts.url directive |
---|
484 | Brian Warner <warner@lothar.com>**20120124203126 |
---|
485 | Ignore-this: 6d6142418eabdad789a2fc68f26b3ba1 |
---|
486 | ] |
---|
487 | [docs: an extra newline to separate utf-8 BOF from comment for the sake of trac's rst renderer |
---|
488 | zooko@zooko.com**20120122212002 |
---|
489 | Ignore-this: 5c6d0dbfa1430681fa00494937537956 |
---|
490 | ] |
---|
491 | [docs: a newline between the utf-8 BOF and the comment in order to prevent trac from misrendering the comment |
---|
492 | zooko@zooko.com**20120122211856 |
---|
493 | Ignore-this: 5e92cb88ba46b82227338522b834b90d |
---|
494 | sheesh |
---|
495 | ] |
---|
496 | [docs: a comment to inform the (human) reader about encoding and to prevent someone from moving the title up to where it will interact with the utf-8 BOM and cause trac to mis-render the title |
---|
497 | zooko@zooko.com**20120122211731 |
---|
498 | Ignore-this: f7912a13ffba60408ec901a9586ce8a4 |
---|
499 | ] |
---|
500 | [docs: insert another newline between utf-8 BOF and title |
---|
501 | zooko@zooko.com**20120122211427 |
---|
502 | Ignore-this: 1b3861ef7d4531acfa61fac31e14fe98 |
---|
503 | ] |
---|
504 | [docs: insert newline after utf-8 BOF and before restructuredtext title |
---|
505 | zooko@zooko.com**20120122182127 |
---|
506 | Ignore-this: f947afe5bdfc9f44ba9bf7f0e585da7c |
---|
507 | ] |
---|
508 | [docs: remove utf-8 "BOM" which confuses trac's rst renderer |
---|
509 | zooko@zooko.com**20120122140052 |
---|
510 | Ignore-this: ba58c59a314f23c65de5443bd7b6ffcb |
---|
511 | ] |
---|
512 | [docs: try again to change RestructuredText titles to a format that trac will render |
---|
513 | zooko@zooko.com**20120122135613 |
---|
514 | Ignore-this: 588bbb627a95cd8317c809567cfa3e78 |
---|
515 | ] |
---|
516 | [docs: backdoors.rst: fix title formatting |
---|
517 | zooko@zooko.com**20120122135125 |
---|
518 | Ignore-this: 5bf980c1a8703ee353cd747ae343176a |
---|
519 | ] |
---|
520 | [docs: backdoors.rst: stop using embedded URIs and tweak title so that trac will render it correctly; reflow to fill-column 77; M-x whitespace-cleanup |
---|
521 | zooko@zooko.com**20120122134319 |
---|
522 | Ignore-this: e1b5b3d2809040cfd7f13bb88ee8313d |
---|
523 | ] |
---|
524 | [update release process: git, not darcs, etc |
---|
525 | Brian Warner <warner@lothar.com>**20120113071257 |
---|
526 | Ignore-this: 2eaa1f0e93dc545989bb1e62b2446e1e |
---|
527 | ] |
---|
528 | [prepare to Org-ify how_to_make_a_tahoe-lafs_release: rename the file |
---|
529 | Brian Warner <warner@lothar.com>**20120113070153 |
---|
530 | Ignore-this: d9bb83dfd6c3b4c0ca0efd2adacdf63c |
---|
531 | ] |
---|
532 | [.gitignore: ignore generated test-coverage files too |
---|
533 | Brian Warner <warner@lothar.com>**20120113065629 |
---|
534 | Ignore-this: 4411c7d620f5865b8c4dedef7e5a8c33 |
---|
535 | ] |
---|
536 | [merge relnotes, quickstart.rst from 1.9.1 release |
---|
537 | Brian Warner <warner@lothar.com>**20120112232420 |
---|
538 | Ignore-this: 6b535bb1a3bd5ea87ee12cc6b17eeb5c |
---|
539 | ] |
---|
540 | [retrieve.py: unconditionally check share-hash-tree. Fixes #1654. |
---|
541 | Brian Warner <warner@lothar.com>**20120112213553 |
---|
542 | Ignore-this: 7ddc903a382b52bc014262b3b4099165 |
---|
543 | |
---|
544 | Add Kevan's unit test, update known_issues.rst |
---|
545 | ] |
---|
546 | [.gitignore: also ignore tahoe-deps and .tgz, to fix 'make tarballs' |
---|
547 | Brian Warner <warner@lothar.com>**20120112210925 |
---|
548 | Ignore-this: e8a7d942f123ee6bf4f2966ddc2742a3 |
---|
549 | |
---|
550 | Otherwise, the get-version-from-git code thinks the tree is dirty, and |
---|
551 | creates SUMO tarballs with -dirty in the name. |
---|
552 | ] |
---|
553 | [Makefile: fix 'make-version' to use git-or-darcs, not just darcs |
---|
554 | Brian Warner <warner@lothar.com>**20120112210654 |
---|
555 | Ignore-this: ae32660458b5ab036ab98f0d1cf4e414 |
---|
556 | ] |
---|
557 | [_auto_deps.py: don't allow pycrypto 2.0.1. fixes #1631 |
---|
558 | david-sarah@jacaranda.org**20120110195758 |
---|
559 | Ignore-this: de409a745c93a78b095dc72edd13a15d |
---|
560 | ] |
---|
561 | [MANIFEST.in: make git-based 'setup.py sdist' match darcs |
---|
562 | Brian Warner <warner@lothar.com>**20120109234637 |
---|
563 | Ignore-this: 92bf7d679e9d5696994efe39c40ae216 |
---|
564 | |
---|
565 | Previously, tarballs generated from a git tree were lacking a lot of |
---|
566 | important non-code files, like docs/ |
---|
567 | ] |
---|
568 | [restore .gitignore, stop .darcs-boringfile it |
---|
569 | warner@lothar.com**20120109025243 |
---|
570 | Ignore-this: b37efcdab8662fe85660d68e3662b4b9 |
---|
571 | ] |
---|
572 | [remove setuptools_darcs.egg |
---|
573 | warner@lothar.com**20120108225545 |
---|
574 | Ignore-this: 39711cf7a9856acd5a136038d58ca5ff |
---|
575 | ] |
---|
576 | [fix bundled data under git, remove setuptools_darcs |
---|
577 | Brian Warner <warner@lothar.com>**20120108221250 |
---|
578 | Ignore-this: ebfc0b267961523edd7e26c761b2554f |
---|
579 | |
---|
580 | This uses explicitly enumerated packages= and package_data= arguments to |
---|
581 | setup(), rather than relying upon the convenient (but darcs-specific) |
---|
582 | functions which would determine these values by asking the revision-control |
---|
583 | system. |
---|
584 | |
---|
585 | Note that darcsver is still used, when building from a darcs tree. |
---|
586 | ] |
---|
587 | [mutable/retrieve.py: clean up control flow to avoid dropping errors |
---|
588 | Brian Warner <warner@lothar.com>**20120108221248 |
---|
589 | Ignore-this: 4e991bdf6399439d2cee3d743814a327 |
---|
590 | |
---|
591 | * replace DeferredList with gatherResults, simplify result handling |
---|
592 | * use BadShareError to signal recoverable problems in either fetch or |
---|
593 | validate, catch after _validate_block |
---|
594 | * _validate_block is thus not responsible for noticing fetch problems |
---|
595 | * rename _validation_or_decoding_failed() to _handle_bad_share() |
---|
596 | * _get_needed_hashes() returns two Deferreds, instead of a hard-to-unpack |
---|
597 | DeferredList |
---|
598 | ] |
---|
599 | [mutable/layout.py: raise BadShareError instead of assert() |
---|
600 | Brian Warner <warner@lothar.com>**20120108221247 |
---|
601 | Ignore-this: 129891a807315f657b80576025135df8 |
---|
602 | ] |
---|
603 | [mutable: don't tell server about corruption unless it's really CorruptShareError |
---|
604 | Brian Warner <warner@lothar.com>**20120108221245 |
---|
605 | Ignore-this: 90da01af1008477c45d333a0f74f1c5b |
---|
606 | ] |
---|
607 | [mutable: simplify Retrieve._process_segment() to use a gatherDeferred |
---|
608 | Brian Warner <warner@lothar.com>**20120108221244 |
---|
609 | Ignore-this: cfc7a56414889d02bffd747f1abad8ef |
---|
610 | ] |
---|
611 | [Retrieve.decode(): simplify setup of DeferredList-like argument |
---|
612 | Brian Warner <warner@lothar.com>**20120108221240 |
---|
613 | Ignore-this: c92d377bf4d65251240e59c8db5452af |
---|
614 | |
---|
615 | make it more obviously match the expectations of _decode_blocks() and |
---|
616 | _maybe_decode_and_decrypt_segment() |
---|
617 | ] |
---|
618 | [mutable: add comments about the tricky DeferredList structures in retrieve |
---|
619 | Brian Warner <warner@lothar.com>**20120108221238 |
---|
620 | Ignore-this: da47db692fbdf11a3ce01a952a60d1a0 |
---|
621 | ] |
---|
622 | [add test-git-ignore.py, to port the 'clean' buildbot test to git |
---|
623 | Brian Warner <warner@lothar.com>**20120108221232 |
---|
624 | Ignore-this: 442efa1eacc27b7ae2690645ed997894 |
---|
625 | |
---|
626 | add .gitignore to match .darcs-boringfile, mostly |
---|
627 | ] |
---|
628 | [Use a private/drop_upload_dircap file instead of the [drop_upload]upload.dircap option in tahoe.cfg. Fail if the upload.dircap option is used, or options are missing. Also updates tests and docs. fixes #1593 |
---|
629 | david-sarah@jacaranda.org**20111120232426 |
---|
630 | Ignore-this: d4ea9154e98902c5de055b6de23c48f9 |
---|
631 | ] |
---|
632 | [test_mutable: don't use 75 shares (slow), now that the bug is fixed |
---|
633 | Brian Warner <warner@lothar.com>**20111228223819 |
---|
634 | Ignore-this: 930f1a24ebe9ed2ab25e4b2a16e36352 |
---|
635 | |
---|
636 | I missed this part of Kevan's fix-1628.darcs.2.patch . |
---|
637 | ] |
---|
638 | [mutable publish: fix not-enough-shares detection. Refs #1628. |
---|
639 | Brian Warner <warner@lothar.com>**20111228055018 |
---|
640 | Ignore-this: 23db08d8d630268e208e1755509adf92 |
---|
641 | |
---|
642 | This should match the "fix-1628.darcs.2.patch" attachment on that ticket. |
---|
643 | ] |
---|
644 | [mutable publish: track multiple servers-per-share. Fixes some of #1628. |
---|
645 | Brian Warner <warner@lothar.com>**20111228053358 |
---|
646 | Ignore-this: 6e8cb92e70273b81098f73ebf23164bd |
---|
647 | |
---|
648 | The remaining work is to write additional tests. |
---|
649 | |
---|
650 | src/allmydata/test/no_network.py: |
---|
651 | |
---|
652 | This supports tests in which servers leave the grid only to return with |
---|
653 | their shares intact at a later time. |
---|
654 | |
---|
655 | src/allmydata/test/test_mutable.py: |
---|
656 | |
---|
657 | The UCWEs in the incident reports associated with #1628 all seem to be |
---|
658 | associated with shares that the servermap knows about, but which aren't |
---|
659 | accounted for during the publish process for whatever reason. Specifically, |
---|
660 | it looks like the publisher is only capable of keeping track of a single |
---|
661 | storage server for a given share. This makes the repair process worse than |
---|
662 | it was pre-MDMF at updating all of the shares of a particular file to the |
---|
663 | newest version, and can also cause spurious UCWEs. This test simulates such |
---|
664 | a layout and fails if an UCWE is thrown. We need to write another test to |
---|
665 | ensure that all copies of a share are updated to the latest version (or |
---|
666 | alter this test to do that), so that the test suite doesn't pass unless both |
---|
667 | regressions are fixed. |
---|
668 | |
---|
669 | We want the publisher to follow the existing share placement when uploading |
---|
670 | a new version of a mutable file, and we don't want this test to pass unless |
---|
671 | it does. |
---|
672 | |
---|
673 | src/allmydata/mutable/publish.py: |
---|
674 | |
---|
675 | Before this commit, the publisher only kept track of a single writer for |
---|
676 | each share. This is insufficient to handle updates in which a single share |
---|
677 | may live on multiple servers. In the best case, an update will only update |
---|
678 | one of the existing shares instead of all of them. In some cases, the update |
---|
679 | will encounter the existing shares when publishing some other share, |
---|
680 | interpret it as a sign of an uncoordinated update, and fail. Keeping track |
---|
681 | of all of the writers helps ensure that all existing shares are updated, and |
---|
682 | helps avoid spurious uncoordinated write errors. |
---|
683 | ] |
---|
684 | [docs: how_to_make_a_tahoe-lafs_release.rst add Google+ page to publicity list, change to cute unicode checkboxes |
---|
685 | zooko@zooko.com**20111226151905 |
---|
686 | Ignore-this: c7c1e67761df48fa11c0dad1847c2d8 |
---|
687 | ] |
---|
688 | [doc: about.rst: use unicode emdash, use non-embedded URIs, add clarificaiton of when a file gets its mutable-or-immutable nature |
---|
689 | zooko@zooko.com**20111206171908 |
---|
690 | Ignore-this: 61bc3f1582c68dcc9867da964fc9bb3a |
---|
691 | embedded URIs, although documented here: |
---|
692 | http://docutils.sourceforge.net/docs/ref/rst/restructuredtext.html#embedded-uris |
---|
693 | generate messages like this from rst2html --verbose: |
---|
694 | |
---|
695 | quickstart.rst:3: (INFO/1) Duplicate explicit target name: "the tahoe-dev mailing list". |
---|
696 | |
---|
697 | Also this patch prepends a "utf-8 BOM" to the beginning of the file. |
---|
698 | ] |
---|
699 | [minor cleanup: remove trailing spaces in misc/ |
---|
700 | Brian Warner <warner@lothar.com>**20111218201841 |
---|
701 | Ignore-this: 69a8904c17d8fd930442d00e24b7b188 |
---|
702 | ] |
---|
703 | [Tests for ref #1592. |
---|
704 | david-sarah@jacaranda.org**20111217043130 |
---|
705 | Ignore-this: a6713500ebe2d686581c6743b8a88f60 |
---|
706 | ] |
---|
707 | [test_web.py cleanup: use failUnlessIn/failIfIn in preference to 'in' operator. |
---|
708 | david-sarah@jacaranda.org**20111217042710 |
---|
709 | Ignore-this: c351f4b1d162eca545ba657dc3c70c19 |
---|
710 | ] |
---|
711 | [Marcus Wanner's favicon patch. fixes #1592 |
---|
712 | david-sarah@jacaranda.org**20111217033201 |
---|
713 | Ignore-this: 3528c920379fe0d157441dafe9a7c5a8 |
---|
714 | ] |
---|
715 | [setup.py: stop putting pyutil.version_class/etc in _version.py |
---|
716 | Brian Warner <warner@lothar.com>**20111205055049 |
---|
717 | Ignore-this: 926fa9a8a34a04f24ee6e006423e9c1 |
---|
718 | |
---|
719 | allmydata.__version__ can just be a string, it doesn't need to be an instance |
---|
720 | of some fancy NormalizedVersion class. Everything inside Tahoe uses |
---|
721 | str(__version__) anyways. |
---|
722 | |
---|
723 | Also add .dev0 when a git tree is dirty. |
---|
724 | |
---|
725 | Closes #1466 |
---|
726 | ] |
---|
727 | [setup.py: get version from git or darcs |
---|
728 | Brian Warner <warner@lothar.com>**20111205044001 |
---|
729 | Ignore-this: 5a406b33000446d85edc722298391220 |
---|
730 | |
---|
731 | This replaces the setup.cfg aliases that run "darcsver" before each major |
---|
732 | command with the new "update_version". update_version is defined in setup.py, |
---|
733 | and tries to get a version string from either darcs or git (or leaves the |
---|
734 | existing _version.py alone if neither VC metadata is available). |
---|
735 | |
---|
736 | Also clean up a tiny typo in verlib.py that messed up syntax hilighting. |
---|
737 | ] |
---|
738 | [docs/known_issues.rst: describe when the unauthorized access attack is known to be possible, and fix a link. |
---|
739 | david-sarah@jacaranda.org**20111118002013 |
---|
740 | Ignore-this: d89b1f1040a0a7ee0bde893d23612049 |
---|
741 | ] |
---|
742 | [more tiny buildbot-testing whitespace changes |
---|
743 | warner@lothar.com**20111118002041 |
---|
744 | Ignore-this: e816e2a5ab939e2f7a89ef12b8a157d8 |
---|
745 | ] |
---|
746 | [more tiny buildbot-testing whitespace changes |
---|
747 | warner@lothar.com**20111118001828 |
---|
748 | Ignore-this: 57bb52cba83ea9a19728ba0a8ffadb69 |
---|
749 | ] |
---|
750 | [tiny change to exercise the buildbot hook |
---|
751 | warner@lothar.com**20111118001511 |
---|
752 | Ignore-this: 7220b7790b39f19f9721d9e93b755030 |
---|
753 | ] |
---|
754 | [Strengthen description of unauthorized access attack in known_issues.rst. |
---|
755 | david-sarah@jacaranda.org**20111118000030 |
---|
756 | Ignore-this: e2f68f621fe666b6201542623aa4d182 |
---|
757 | ] |
---|
758 | [remove remaining uses of nevow's "formless" module |
---|
759 | Brian Warner <warner@lothar.com>**20111117225423 |
---|
760 | Ignore-this: a128dea91a1c63b3bbefa34729344d69 |
---|
761 | |
---|
762 | We're slowly moving away from Nevow, and marcusw's previous patch removed |
---|
763 | uses of the formless CSS file, so now we can stop testing that nevow can find |
---|
764 | that file, and remove the lingering unused "import formless" call. |
---|
765 | ] |
---|
766 | [1585-webui.darcs.patch |
---|
767 | Marcus Wanner <marcus@wanners.net>**20111117214923 |
---|
768 | Ignore-this: 23cf2a06c545be5f821c071d652178ee |
---|
769 | ] |
---|
770 | [Remove duplicate tahoe_css links from manifest.xhtml and rename-form.xhtml |
---|
771 | Brian Warner <warner@lothar.com>**20111116224225 |
---|
772 | Ignore-this: 12024fff17964607799928928b9aadf3 |
---|
773 | |
---|
774 | They were probably meant to be links to webform_css, but we aren't really |
---|
775 | using Nevow's form-generation code anyways, so they can just be removed. |
---|
776 | Thanks to 'marcusw' for the catch. |
---|
777 | ] |
---|
778 | [iputil: handle openbsd5 (just like openbsd4) |
---|
779 | Brian Warner <warner@lothar.com>**20111115220423 |
---|
780 | Ignore-this: 64b28bd2fd06eb5230ea41d91540dd05 |
---|
781 | |
---|
782 | Patch by 'sickness'. Closes #1584 |
---|
783 | ] |
---|
784 | [Makefile count-lines: let it work on OS-X (-l not --lines), add XXX |
---|
785 | Brian Warner <warner@lothar.com>**20111109184227 |
---|
786 | Ignore-this: 204ace1dadc9ed27543c62965b4e6757 |
---|
787 | |
---|
788 | OS-X's simple-minded /usr/bin/wc doesn't understand --lines, but everyone |
---|
789 | understands -l . |
---|
790 | ] |
---|
791 | [setup.py: umask=022 for 'sdist', to avoid depending on environment |
---|
792 | Brian Warner <warner@lothar.com>**20111109183632 |
---|
793 | Ignore-this: acd5db88ba8f1972d618b14f9e5b803c |
---|
794 | |
---|
795 | The new tarball-building buildslave had a bogus umask set, causing the 1.9.0 |
---|
796 | tarballs to be non-other-user-readable (go-rwx), which is a hassle for |
---|
797 | packaging. (The umask was correct on the old buildslave, but it was moved to |
---|
798 | a new host shortly before the release). This should make sure tarballs are |
---|
799 | correct despite the host's setting. |
---|
800 | |
---|
801 | Note to others: processes run under twistd get umask=077 unless you arrange |
---|
802 | otherwise. |
---|
803 | ] |
---|
804 | [_auto_deps.py: blacklist PyCrypto 2.4. |
---|
805 | david-sarah@jacaranda.org**20111105022457 |
---|
806 | Ignore-this: 876cb24bc71589e735f48bf449cad81e |
---|
807 | ] |
---|
808 | [check-miscaptures.py: report the number of files that were not analysed due to syntax errors (and don't count them in the number of suspicious captures). refs #1555 |
---|
809 | david-sarah@jacaranda.org**20111009050301 |
---|
810 | Ignore-this: 62ee03f4b8a96c292e75c097ad87d52e |
---|
811 | ] |
---|
812 | [check-miscaptures.py: handle corner cases around default arguments correctly. Also make a minor optimization when there are no assigned variables to consider. refs #1555 |
---|
813 | david-sarah@jacaranda.org**20111009045023 |
---|
814 | Ignore-this: f49ece515620081da1d745ae6da19d21 |
---|
815 | ] |
---|
816 | [check-miscaptures.py: Python doesn't really have declarations; report the topmost assignment. refs #1555 |
---|
817 | david-sarah@jacaranda.org**20111009044800 |
---|
818 | Ignore-this: 4905c9dfe7726f433333e216a6760a4b |
---|
819 | ] |
---|
820 | [check-miscaptures.py: handle destructuring function arguments correctly. refs #1555 |
---|
821 | david-sarah@jacaranda.org**20111009044710 |
---|
822 | Ignore-this: f9de7d95e94446507a206c88d3f98a23 |
---|
823 | ] |
---|
824 | [check-miscaptures.py: check while loops and list comprehensions as well as for loops. Also fix a pyflakes warning. refs #1555 |
---|
825 | david-sarah@jacaranda.org**20111009044022 |
---|
826 | Ignore-this: 6526e4e315ca6461b1fbc2da5568e444 |
---|
827 | ] |
---|
828 | [Add misc/coding_tools/check-miscaptures.py to detect incorrect captures of variables declared in a for loop, and a 'make check-miscaptures' Makefile target to run it. (It is also run by 'make code-checks'.) This is a rewritten version that reports much fewer false positives, by determining captured variables more accurately. fixes #1555 |
---|
829 | david-sarah@jacaranda.org**20111007074121 |
---|
830 | Ignore-this: 51318e9678d132c374ea557ab955e79e |
---|
831 | ] |
---|
832 | [Fix pyflakes warnings in misc/ directories other than misc/build_helpers. refs #1557 |
---|
833 | david-sarah@jacaranda.org**20111007033031 |
---|
834 | Ignore-this: 7daf5862469732d8cabc355266622b74 |
---|
835 | ] |
---|
836 | [Makefile: include misc/ directories other than misc/build_helpers in SOURCES. refs #1557 |
---|
837 | david-sarah@jacaranda.org**20111007032958 |
---|
838 | Ignore-this: 31376ec01401df7972e83341dc65aa05 |
---|
839 | ] |
---|
840 | [show-tool-versions: tolerate missing setuptools |
---|
841 | Brian Warner <warner@lothar.com>**20111101080010 |
---|
842 | Ignore-this: 72d4e440565273992beb4f010cbca699 |
---|
843 | ] |
---|
844 | [show-tool-versions.py: condense output, hide file-not-found exceptions |
---|
845 | Brian Warner <warner@lothar.com>**20111101074532 |
---|
846 | Ignore-this: a15381a76077ef46a74a4ac40c9ae956 |
---|
847 | ] |
---|
848 | [relnotes.txt: fix footnotes |
---|
849 | Brian Warner <warner@lothar.com>**20111101071935 |
---|
850 | Ignore-this: 668c1bd8618e21beed9bc6b23f048189 |
---|
851 | ] |
---|
852 | [Rewrite download-status-timeline visualizer ('viz') with d3.js |
---|
853 | Brian Warner <warner@lothar.com>**20111101061821 |
---|
854 | Ignore-this: 6149b027bbae52c559ef5a8167240cab |
---|
855 | |
---|
856 | * use d3.js v2.4.6 |
---|
857 | * add a "toggle misc events" button, to get hash/bitmap-checking details |
---|
858 | * only draw data that's on screen, for speed |
---|
859 | * add fragment-arg to fetch timeline data.json from somewhere else |
---|
860 | ] |
---|
861 | [IServer refactoring: pass IServer instances around, instead of peerids |
---|
862 | Brian Warner <warner@lothar.com>**20111101040319 |
---|
863 | Ignore-this: 35e4698a0273a0311fe0ccedcc7881b5 |
---|
864 | |
---|
865 | refs #1363 |
---|
866 | |
---|
867 | This collapses 88 small incremental changes (each of which passes all tests) |
---|
868 | into one big patch. The development process for the long path started with |
---|
869 | adding some temporary scaffolding, changing one method at a time, then |
---|
870 | removing the scaffolding. The individual pieces are as follows, in reverse |
---|
871 | chronological order (the first patch is at the end of this comment): |
---|
872 | |
---|
873 | commit 9bbe4174fd0d98a6cf47a8ef96e85d9ef34b2f9a |
---|
874 | Author: Brian Warner <warner@lothar.com> |
---|
875 | Date: Tue Oct 4 16:05:00 2011 -0400 |
---|
876 | |
---|
877 | immutable/downloader/status.py: correct comment |
---|
878 | |
---|
879 | src/allmydata/immutable/downloader/status.py | 2 +- |
---|
880 | 1 files changed, 1 insertions(+), 1 deletions(-) |
---|
881 | |
---|
882 | commit 72146a7c7c91eac2f7c3ceb801eb7a1721376889 |
---|
883 | Author: Brian Warner <warner@lothar.com> |
---|
884 | Date: Tue Oct 4 15:46:20 2011 -0400 |
---|
885 | |
---|
886 | remove temporary ServerMap._storage_broker |
---|
887 | |
---|
888 | src/allmydata/mutable/checker.py | 2 +- |
---|
889 | src/allmydata/mutable/filenode.py | 2 +- |
---|
890 | src/allmydata/mutable/publish.py | 2 +- |
---|
891 | src/allmydata/mutable/servermap.py | 5 ++--- |
---|
892 | src/allmydata/test/test_mutable.py | 8 ++++---- |
---|
893 | 5 files changed, 9 insertions(+), 10 deletions(-) |
---|
894 | |
---|
895 | commit d703096b41632c47d76414b12672e076a422ff5c |
---|
896 | Author: Brian Warner <warner@lothar.com> |
---|
897 | Date: Tue Oct 4 15:37:05 2011 -0400 |
---|
898 | |
---|
899 | remove temporary storage_broker.get_server_for_id() |
---|
900 | |
---|
901 | src/allmydata/storage_client.py | 3 --- |
---|
902 | src/allmydata/test/no_network.py | 13 ------------- |
---|
903 | 2 files changed, 0 insertions(+), 16 deletions(-) |
---|
904 | |
---|
905 | commit 620cc5d80882ef6f7decfd26af8a6c7c1ddf80d1 |
---|
906 | Author: Brian Warner <warner@lothar.com> |
---|
907 | Date: Tue Oct 4 12:50:06 2011 -0400 |
---|
908 | |
---|
909 | API of Retrieve._try_to_validate_privkey(), trying to remove reader.server |
---|
910 | |
---|
911 | src/allmydata/mutable/retrieve.py | 10 +++++----- |
---|
912 | 1 files changed, 5 insertions(+), 5 deletions(-) |
---|
913 | |
---|
914 | commit 92f43f856f4a8b36c207d1b190ed8699b5a4ecb4 |
---|
915 | Author: Brian Warner <warner@lothar.com> |
---|
916 | Date: Tue Oct 4 12:48:08 2011 -0400 |
---|
917 | |
---|
918 | API of Retrieve._validate_block(), trying to remove reader.server |
---|
919 | |
---|
920 | src/allmydata/mutable/retrieve.py | 14 +++++++------- |
---|
921 | 1 files changed, 7 insertions(+), 7 deletions(-) |
---|
922 | |
---|
923 | commit 572d5070761861a2190349d1ed8d85dbc25698a5 |
---|
924 | Author: Brian Warner <warner@lothar.com> |
---|
925 | Date: Tue Oct 4 12:36:58 2011 -0400 |
---|
926 | |
---|
927 | API of Retrieve._mark_bad_share(), trying to remove reader.server |
---|
928 | |
---|
929 | src/allmydata/mutable/retrieve.py | 21 +++++++++------------ |
---|
930 | 1 files changed, 9 insertions(+), 12 deletions(-) |
---|
931 | |
---|
932 | commit a793ff00c0de1e2eec7b46288fdf388c7a2bec89 |
---|
933 | Author: Brian Warner <warner@lothar.com> |
---|
934 | Date: Tue Oct 4 12:06:13 2011 -0400 |
---|
935 | |
---|
936 | remove now-unused get_rref_for_serverid() |
---|
937 | |
---|
938 | src/allmydata/mutable/servermap.py | 3 --- |
---|
939 | 1 files changed, 0 insertions(+), 3 deletions(-) |
---|
940 | |
---|
941 | commit 1b9827cc9366bf90b93297fdd6832f2ad0480ce7 |
---|
942 | Author: Brian Warner <warner@lothar.com> |
---|
943 | Date: Tue Oct 4 12:03:09 2011 -0400 |
---|
944 | |
---|
945 | Retrieve: stop adding .serverid attributes to readers |
---|
946 | |
---|
947 | src/allmydata/mutable/retrieve.py | 1 - |
---|
948 | 1 files changed, 0 insertions(+), 1 deletions(-) |
---|
949 | |
---|
950 | commit 5d4e9d491b19e49d2e443a1dfff2c672842c36ef |
---|
951 | Author: Brian Warner <warner@lothar.com> |
---|
952 | Date: Tue Oct 4 12:03:34 2011 -0400 |
---|
953 | |
---|
954 | return value of Retrieve(verify=True) |
---|
955 | |
---|
956 | src/allmydata/mutable/checker.py | 11 ++++++----- |
---|
957 | src/allmydata/mutable/retrieve.py | 3 +-- |
---|
958 | 2 files changed, 7 insertions(+), 7 deletions(-) |
---|
959 | |
---|
960 | commit e9ab7978c384e1f677cb7779dc449b1044face82 |
---|
961 | Author: Brian Warner <warner@lothar.com> |
---|
962 | Date: Tue Oct 4 11:54:23 2011 -0400 |
---|
963 | |
---|
964 | Retrieve._bad_shares (but not return value, used by Verifier) |
---|
965 | |
---|
966 | src/allmydata/mutable/retrieve.py | 7 ++++--- |
---|
967 | 1 files changed, 4 insertions(+), 3 deletions(-) |
---|
968 | |
---|
969 | commit 2d91926de233ec5c881f30e36b4a30ad92ab42a9 |
---|
970 | Author: Brian Warner <warner@lothar.com> |
---|
971 | Date: Tue Oct 4 11:51:23 2011 -0400 |
---|
972 | |
---|
973 | Publish: stop adding .serverid attributes to writers |
---|
974 | |
---|
975 | src/allmydata/mutable/publish.py | 9 ++------- |
---|
976 | 1 files changed, 2 insertions(+), 7 deletions(-) |
---|
977 | |
---|
978 | commit 47c7a0105dec7cbf4f7e0a3ce800bbb85b15df4a |
---|
979 | Author: Brian Warner <warner@lothar.com> |
---|
980 | Date: Tue Oct 4 11:56:33 2011 -0400 |
---|
981 | |
---|
982 | API of get_write_enabler() |
---|
983 | |
---|
984 | src/allmydata/mutable/filenode.py | 7 ++++--- |
---|
985 | src/allmydata/mutable/publish.py | 4 ++-- |
---|
986 | src/allmydata/test/no_network.py | 3 +++ |
---|
987 | 3 files changed, 9 insertions(+), 5 deletions(-) |
---|
988 | |
---|
989 | commit 9196a5c6590fdbfd660325ea8358b345887d3db0 |
---|
990 | Author: Brian Warner <warner@lothar.com> |
---|
991 | Date: Tue Oct 4 11:46:24 2011 -0400 |
---|
992 | |
---|
993 | API of get_(renewal|cancel)_secret() |
---|
994 | |
---|
995 | src/allmydata/mutable/filenode.py | 14 ++++++++------ |
---|
996 | src/allmydata/mutable/publish.py | 8 ++++---- |
---|
997 | src/allmydata/mutable/servermap.py | 5 ++--- |
---|
998 | 3 files changed, 14 insertions(+), 13 deletions(-) |
---|
999 | |
---|
1000 | commit de7c1552f8c163eff5b6d820b5fb3b21c1b47cb5 |
---|
1001 | Author: Brian Warner <warner@lothar.com> |
---|
1002 | Date: Tue Oct 4 11:41:52 2011 -0400 |
---|
1003 | |
---|
1004 | API of CorruptShareError. Also comment out some related+unused test_web.py code |
---|
1005 | |
---|
1006 | src/allmydata/mutable/common.py | 13 +++++-------- |
---|
1007 | src/allmydata/mutable/retrieve.py | 10 +++++----- |
---|
1008 | src/allmydata/mutable/servermap.py | 8 +++----- |
---|
1009 | src/allmydata/test/common.py | 13 ++++++++----- |
---|
1010 | 4 files changed, 21 insertions(+), 23 deletions(-) |
---|
1011 | |
---|
1012 | commit 2c1c314046b620c16f1e66d030c150d768b7d01e |
---|
1013 | Author: Brian Warner <warner@lothar.com> |
---|
1014 | Date: Tue Oct 4 12:01:46 2011 -0400 |
---|
1015 | |
---|
1016 | API of ServerMap.mark_bad_share() |
---|
1017 | |
---|
1018 | src/allmydata/mutable/publish.py | 2 +- |
---|
1019 | src/allmydata/mutable/retrieve.py | 6 +++--- |
---|
1020 | src/allmydata/mutable/servermap.py | 6 ++---- |
---|
1021 | src/allmydata/test/test_mutable.py | 3 +-- |
---|
1022 | 4 files changed, 7 insertions(+), 10 deletions(-) |
---|
1023 | |
---|
1024 | commit 1bed349030779fd0c378ae4e821384f953c6f6ff |
---|
1025 | Author: Brian Warner <warner@lothar.com> |
---|
1026 | Date: Tue Oct 4 11:11:17 2011 -0400 |
---|
1027 | |
---|
1028 | API+name of ServerMap.shares_on_server() : only for tests, so debug_ prefix |
---|
1029 | |
---|
1030 | src/allmydata/mutable/servermap.py | 7 ++----- |
---|
1031 | src/allmydata/test/test_mutable.py | 6 +++--- |
---|
1032 | 2 files changed, 5 insertions(+), 8 deletions(-) |
---|
1033 | |
---|
1034 | commit 2d32e448677d6b818692e801045d4115b29abf21 |
---|
1035 | Author: Brian Warner <warner@lothar.com> |
---|
1036 | Date: Tue Oct 4 11:07:10 2011 -0400 |
---|
1037 | |
---|
1038 | API of ServerMap.all_servers_for_version() |
---|
1039 | |
---|
1040 | src/allmydata/mutable/servermap.py | 4 ++-- |
---|
1041 | 1 files changed, 2 insertions(+), 2 deletions(-) |
---|
1042 | |
---|
1043 | commit 48f3204d1889c3e7179578125c4bdef515af3d6a |
---|
1044 | Author: Brian Warner <warner@lothar.com> |
---|
1045 | Date: Tue Oct 4 11:04:50 2011 -0400 |
---|
1046 | |
---|
1047 | internals of ServerMap methods that use make_versionmap(), remove temp copy |
---|
1048 | |
---|
1049 | src/allmydata/mutable/servermap.py | 28 +++++++++---------------- |
---|
1050 | 1 files changed, 10 insertions(+), 18 deletions(-) |
---|
1051 | |
---|
1052 | commit 5c3da77b6c777a145bd5ddfaa4db849dc9495548 |
---|
1053 | Author: Brian Warner <warner@lothar.com> |
---|
1054 | Date: Tue Oct 4 11:01:28 2011 -0400 |
---|
1055 | |
---|
1056 | API of ServerMap.make_versionmap() |
---|
1057 | |
---|
1058 | src/allmydata/mutable/checker.py | 4 ++-- |
---|
1059 | src/allmydata/mutable/retrieve.py | 5 ++--- |
---|
1060 | src/allmydata/mutable/servermap.py | 4 ++-- |
---|
1061 | src/allmydata/test/test_mutable.py | 7 ++++--- |
---|
1062 | 4 files changed, 10 insertions(+), 10 deletions(-) |
---|
1063 | |
---|
1064 | commit b6882ece49afb4c507d118af2db346fa329209dc |
---|
1065 | Author: Brian Warner <warner@lothar.com> |
---|
1066 | Date: Tue Oct 4 10:53:38 2011 -0400 |
---|
1067 | |
---|
1068 | make a copy of ServerMap.make_versionmap() (_make_versionmap2) for internal use |
---|
1069 | |
---|
1070 | src/allmydata/mutable/servermap.py | 18 +++++++++++++----- |
---|
1071 | 1 files changed, 13 insertions(+), 5 deletions(-) |
---|
1072 | |
---|
1073 | commit 963f8e63faf32b950eb1b8103cd2ff16fe8f0151 |
---|
1074 | Author: Brian Warner <warner@lothar.com> |
---|
1075 | Date: Tue Oct 4 00:45:58 2011 -0400 |
---|
1076 | |
---|
1077 | API of RetrieveStatus.add_problem() |
---|
1078 | |
---|
1079 | src/allmydata/mutable/retrieve.py | 5 +++-- |
---|
1080 | 1 files changed, 3 insertions(+), 2 deletions(-) |
---|
1081 | |
---|
1082 | commit 4976d29ffae565a048851601c29013bbae2976d8 |
---|
1083 | Author: Brian Warner <warner@lothar.com> |
---|
1084 | Date: Tue Oct 4 00:45:05 2011 -0400 |
---|
1085 | |
---|
1086 | API of RetrieveStatus.add_fetch_timing() |
---|
1087 | |
---|
1088 | src/allmydata/mutable/retrieve.py | 5 +++-- |
---|
1089 | 1 files changed, 3 insertions(+), 2 deletions(-) |
---|
1090 | |
---|
1091 | commit d057d3bbba72663ee148a8b916bc2d52be2e3982 |
---|
1092 | Author: Brian Warner <warner@lothar.com> |
---|
1093 | Date: Tue Oct 4 00:44:04 2011 -0400 |
---|
1094 | |
---|
1095 | API of Retrieve.notify_server_corruption() |
---|
1096 | |
---|
1097 | src/allmydata/mutable/retrieve.py | 6 +++--- |
---|
1098 | 1 files changed, 3 insertions(+), 3 deletions(-) |
---|
1099 | |
---|
1100 | commit 8a2a81e46671c860610e0e96d6add1a57551f22d |
---|
1101 | Author: Brian Warner <warner@lothar.com> |
---|
1102 | Date: Tue Oct 4 00:42:32 2011 -0400 |
---|
1103 | |
---|
1104 | remove unused _outstanding_queries |
---|
1105 | |
---|
1106 | src/allmydata/mutable/retrieve.py | 1 - |
---|
1107 | 1 files changed, 0 insertions(+), 1 deletions(-) |
---|
1108 | |
---|
1109 | commit 56d12cc9968d03ccd53764455c671122c4f391d1 |
---|
1110 | Author: Brian Warner <warner@lothar.com> |
---|
1111 | Date: Tue Oct 4 00:40:57 2011 -0400 |
---|
1112 | |
---|
1113 | change Retrieve.remaining_sharemap |
---|
1114 | |
---|
1115 | src/allmydata/mutable/retrieve.py | 4 ++-- |
---|
1116 | 1 files changed, 2 insertions(+), 2 deletions(-) |
---|
1117 | |
---|
1118 | commit 4f0b7af4821f43290bfc70f2b1fc30149ad81281 |
---|
1119 | Author: Brian Warner <warner@lothar.com> |
---|
1120 | Date: Tue Oct 4 10:40:18 2011 -0400 |
---|
1121 | |
---|
1122 | accessor for PublishStatus._problems |
---|
1123 | |
---|
1124 | src/allmydata/mutable/publish.py | 4 +++- |
---|
1125 | src/allmydata/web/status.py | 2 +- |
---|
1126 | 2 files changed, 4 insertions(+), 2 deletions(-) |
---|
1127 | |
---|
1128 | commit 627087cf66d0b8cc519f4d551a967a7bd9b6a741 |
---|
1129 | Author: Brian Warner <warner@lothar.com> |
---|
1130 | Date: Tue Oct 4 10:36:39 2011 -0400 |
---|
1131 | |
---|
1132 | accessor for RetrieveStatus._problems |
---|
1133 | |
---|
1134 | src/allmydata/mutable/retrieve.py | 8 ++++++-- |
---|
1135 | src/allmydata/web/status.py | 2 +- |
---|
1136 | 2 files changed, 7 insertions(+), 3 deletions(-) |
---|
1137 | |
---|
1138 | commit ca7dea81f03801b1c7353fc00ecba689268109cf |
---|
1139 | Author: Brian Warner <warner@lothar.com> |
---|
1140 | Date: Tue Oct 4 00:35:32 2011 -0400 |
---|
1141 | |
---|
1142 | add .server to "reader", so we can get at it later |
---|
1143 | |
---|
1144 | src/allmydata/mutable/retrieve.py | 5 +++-- |
---|
1145 | 1 files changed, 3 insertions(+), 2 deletions(-) |
---|
1146 | |
---|
1147 | commit 6ef516e24908ec195af084a7550d1921a5e983b0 |
---|
1148 | Author: Brian Warner <warner@lothar.com> |
---|
1149 | Date: Tue Oct 4 00:32:32 2011 -0400 |
---|
1150 | |
---|
1151 | temporarily give Retrieve a _storage_broker, so it can map serverids to servers |
---|
1152 | |
---|
1153 | src/allmydata/mutable/checker.py | 3 ++- |
---|
1154 | src/allmydata/mutable/filenode.py | 6 ++++-- |
---|
1155 | src/allmydata/mutable/retrieve.py | 5 +++-- |
---|
1156 | src/allmydata/test/test_mutable.py | 4 ++-- |
---|
1157 | 4 files changed, 11 insertions(+), 7 deletions(-) |
---|
1158 | |
---|
1159 | commit afe08e4dd3f4ff9ff7e8a2a8d28b181e3625bcc9 |
---|
1160 | Author: Brian Warner <warner@lothar.com> |
---|
1161 | Date: Tue Oct 4 00:21:51 2011 -0400 |
---|
1162 | |
---|
1163 | mutable/retrieve.py: s/peer/server/ |
---|
1164 | |
---|
1165 | src/allmydata/mutable/retrieve.py | 82 +++++++++++++------------- |
---|
1166 | src/allmydata/test/test_mutable.py | 6 +- |
---|
1167 | 2 files changed, 44 insertions(+), 44 deletions(-) |
---|
1168 | |
---|
1169 | commit 910afcb5d7f274880f68dd6cdb5b05f2bbc29adc |
---|
1170 | Author: Brian Warner <warner@lothar.com> |
---|
1171 | Date: Tue Oct 4 00:16:01 2011 -0400 |
---|
1172 | |
---|
1173 | web.status.PublishStatusPage: add comment, I think .problems isn't exercised |
---|
1174 | |
---|
1175 | src/allmydata/web/status.py | 2 ++ |
---|
1176 | 1 files changed, 2 insertions(+), 0 deletions(-) |
---|
1177 | |
---|
1178 | commit 311466dd8c931bbba40d590ade867704282e7f1a |
---|
1179 | Author: Brian Warner <warner@lothar.com> |
---|
1180 | Date: Mon Oct 3 23:48:16 2011 -0400 |
---|
1181 | |
---|
1182 | API of PublishStatus.add_per_server_time() |
---|
1183 | |
---|
1184 | src/allmydata/mutable/publish.py | 5 +++-- |
---|
1185 | 1 files changed, 3 insertions(+), 2 deletions(-) |
---|
1186 | |
---|
1187 | commit 2df5faa1b6cbfbaded520d2320305a62fe961118 |
---|
1188 | Author: Brian Warner <warner@lothar.com> |
---|
1189 | Date: Mon Oct 3 23:46:37 2011 -0400 |
---|
1190 | |
---|
1191 | more simplifications |
---|
1192 | |
---|
1193 | src/allmydata/mutable/publish.py | 4 +--- |
---|
1194 | 1 files changed, 1 insertions(+), 3 deletions(-) |
---|
1195 | |
---|
1196 | commit 6ac4544a3da385f2aad9392f906b90192f4f919a |
---|
1197 | Author: Brian Warner <warner@lothar.com> |
---|
1198 | Date: Mon Oct 3 23:44:08 2011 -0400 |
---|
1199 | |
---|
1200 | API of ServerMap.version_on_server() |
---|
1201 | |
---|
1202 | src/allmydata/mutable/publish.py | 2 +- |
---|
1203 | src/allmydata/mutable/servermap.py | 4 ++-- |
---|
1204 | src/allmydata/test/test_mutable.py | 5 ++--- |
---|
1205 | 3 files changed, 5 insertions(+), 6 deletions(-) |
---|
1206 | |
---|
1207 | commit 3e187e322511072e4683329df6b2c6c733a66dba |
---|
1208 | Author: Brian Warner <warner@lothar.com> |
---|
1209 | Date: Tue Oct 4 00:16:32 2011 -0400 |
---|
1210 | |
---|
1211 | API of ServerMap.make_sharemap() |
---|
1212 | |
---|
1213 | src/allmydata/mutable/servermap.py | 4 ++-- |
---|
1214 | src/allmydata/test/test_mutable.py | 7 ++++--- |
---|
1215 | src/allmydata/web/status.py | 4 ++-- |
---|
1216 | 3 files changed, 8 insertions(+), 7 deletions(-) |
---|
1217 | |
---|
1218 | commit 318feed8437bdd8d4943c6569d38f7b54b6313cc |
---|
1219 | Author: Brian Warner <warner@lothar.com> |
---|
1220 | Date: Mon Oct 3 23:36:19 2011 -0400 |
---|
1221 | |
---|
1222 | small cleanups |
---|
1223 | |
---|
1224 | src/allmydata/mutable/publish.py | 4 ++-- |
---|
1225 | 1 files changed, 2 insertions(+), 2 deletions(-) |
---|
1226 | |
---|
1227 | commit bd459ed5714e1db5a7163935c54b7b0b56db8349 |
---|
1228 | Author: Brian Warner <warner@lothar.com> |
---|
1229 | Date: Mon Oct 3 23:33:39 2011 -0400 |
---|
1230 | |
---|
1231 | API of ServerMap.add_new_share() |
---|
1232 | |
---|
1233 | src/allmydata/mutable/publish.py | 4 ++-- |
---|
1234 | src/allmydata/mutable/servermap.py | 6 ++---- |
---|
1235 | 2 files changed, 4 insertions(+), 6 deletions(-) |
---|
1236 | |
---|
1237 | commit f2804fb6ed11d80088e0da8ed48e6c2922f2ffef |
---|
1238 | Author: Brian Warner <warner@lothar.com> |
---|
1239 | Date: Mon Oct 3 23:30:26 2011 -0400 |
---|
1240 | |
---|
1241 | API of ServerMap.get_bad_shares() |
---|
1242 | |
---|
1243 | src/allmydata/mutable/publish.py | 3 +-- |
---|
1244 | src/allmydata/mutable/servermap.py | 9 ++++----- |
---|
1245 | 2 files changed, 5 insertions(+), 7 deletions(-) |
---|
1246 | |
---|
1247 | commit 965074a47b3ce1431cb46d9a233840afcf9105f5 |
---|
1248 | Author: Brian Warner <warner@lothar.com> |
---|
1249 | Date: Mon Oct 3 23:26:58 2011 -0400 |
---|
1250 | |
---|
1251 | more small cleanups |
---|
1252 | |
---|
1253 | src/allmydata/mutable/publish.py | 6 +++--- |
---|
1254 | 1 files changed, 3 insertions(+), 3 deletions(-) |
---|
1255 | |
---|
1256 | commit 38020da34f034f8889947dd3dc05e087ffff7106 |
---|
1257 | Author: Brian Warner <warner@lothar.com> |
---|
1258 | Date: Mon Oct 3 23:18:47 2011 -0400 |
---|
1259 | |
---|
1260 | change Publish.bad_share_checkstrings |
---|
1261 | |
---|
1262 | src/allmydata/mutable/publish.py | 6 +++--- |
---|
1263 | 1 files changed, 3 insertions(+), 3 deletions(-) |
---|
1264 | |
---|
1265 | commit 5efebcbd2ee0c2f299ea86f7591d856c0f265304 |
---|
1266 | Author: Brian Warner <warner@lothar.com> |
---|
1267 | Date: Mon Oct 3 23:16:31 2011 -0400 |
---|
1268 | |
---|
1269 | change internals of Publish.update_goal() |
---|
1270 | |
---|
1271 | src/allmydata/mutable/publish.py | 8 +++----- |
---|
1272 | 1 files changed, 3 insertions(+), 5 deletions(-) |
---|
1273 | |
---|
1274 | commit e91b55ff4c2a69165b71f2c7b217ac319ff4c527 |
---|
1275 | Author: Brian Warner <warner@lothar.com> |
---|
1276 | Date: Mon Oct 3 23:11:42 2011 -0400 |
---|
1277 | |
---|
1278 | get rid of Publish.connections |
---|
1279 | |
---|
1280 | src/allmydata/mutable/publish.py | 27 +++++---------------------- |
---|
1281 | 1 files changed, 5 insertions(+), 22 deletions(-) |
---|
1282 | |
---|
1283 | commit 64e9a53b3229ebe2f9ebf7ed502d539311d0e037 |
---|
1284 | Author: Brian Warner <warner@lothar.com> |
---|
1285 | Date: Mon Oct 3 23:05:32 2011 -0400 |
---|
1286 | |
---|
1287 | change Publish.bad_servers |
---|
1288 | |
---|
1289 | src/allmydata/mutable/publish.py | 10 +++++----- |
---|
1290 | 1 files changed, 5 insertions(+), 5 deletions(-) |
---|
1291 | |
---|
1292 | commit b85a934bef315a06bcfe00c9c12a3627fed2b918 |
---|
1293 | Author: Brian Warner <warner@lothar.com> |
---|
1294 | Date: Mon Oct 3 23:03:07 2011 -0400 |
---|
1295 | |
---|
1296 | Publish.bad_servers: fix bug, this should be a set of serverids, not writers |
---|
1297 | |
---|
1298 | src/allmydata/mutable/publish.py | 2 +- |
---|
1299 | 1 files changed, 1 insertions(+), 1 deletions(-) |
---|
1300 | |
---|
1301 | commit 605ea15ec15ed671513819003ccd211cdb9761e0 |
---|
1302 | Author: Brian Warner <warner@lothar.com> |
---|
1303 | Date: Mon Oct 3 23:00:21 2011 -0400 |
---|
1304 | |
---|
1305 | change .placed |
---|
1306 | |
---|
1307 | src/allmydata/mutable/publish.py | 6 +++--- |
---|
1308 | 1 files changed, 3 insertions(+), 3 deletions(-) |
---|
1309 | |
---|
1310 | commit f7aba37b1b345d5b6d5cb16e3b3f6f3c1afb658e |
---|
1311 | Author: Brian Warner <warner@lothar.com> |
---|
1312 | Date: Mon Oct 3 22:59:22 2011 -0400 |
---|
1313 | |
---|
1314 | temporarily stash IServer as .server on the "writer" object |
---|
1315 | |
---|
1316 | src/allmydata/mutable/publish.py | 2 ++ |
---|
1317 | 1 files changed, 2 insertions(+), 0 deletions(-) |
---|
1318 | |
---|
1319 | commit f9b551d788e7db1f187fce5ab98ab5d5fe4e1c36 |
---|
1320 | Author: Brian Warner <warner@lothar.com> |
---|
1321 | Date: Mon Oct 3 22:48:18 2011 -0400 |
---|
1322 | |
---|
1323 | change Publish.goal and API of log_goal() to use IServer, not serverid |
---|
1324 | |
---|
1325 | src/allmydata/mutable/publish.py | 48 ++++++++++++++-------------- |
---|
1326 | 1 files changed, 24 insertions(+), 24 deletions(-) |
---|
1327 | |
---|
1328 | commit 75f20616558e4900b8b1f685dd99aa838de6d452 |
---|
1329 | Author: Brian Warner <warner@lothar.com> |
---|
1330 | Date: Mon Oct 3 15:27:02 2011 -0400 |
---|
1331 | |
---|
1332 | API of ServerMap.get_known_shares() |
---|
1333 | |
---|
1334 | src/allmydata/mutable/publish.py | 16 ++++++++++------ |
---|
1335 | src/allmydata/mutable/servermap.py | 7 ++----- |
---|
1336 | 2 files changed, 12 insertions(+), 11 deletions(-) |
---|
1337 | |
---|
1338 | commit 1c38c9d37bb08221b4418762234b1a62397b3b4b |
---|
1339 | Author: Brian Warner <warner@lothar.com> |
---|
1340 | Date: Mon Oct 3 15:20:29 2011 -0400 |
---|
1341 | |
---|
1342 | Publish.full_serverlist |
---|
1343 | |
---|
1344 | src/allmydata/mutable/publish.py | 10 +++++----- |
---|
1345 | 1 files changed, 5 insertions(+), 5 deletions(-) |
---|
1346 | |
---|
1347 | commit b6cbd215a04b9cde31a7d92a97a7f048622b16f1 |
---|
1348 | Author: Brian Warner <warner@lothar.com> |
---|
1349 | Date: Mon Oct 3 15:12:31 2011 -0400 |
---|
1350 | |
---|
1351 | API of ServerMap.all_servers() |
---|
1352 | |
---|
1353 | src/allmydata/mutable/servermap.py | 19 ++++++------------- |
---|
1354 | 1 files changed, 6 insertions(+), 13 deletions(-) |
---|
1355 | |
---|
1356 | commit e63cd0315fae65357b1727ec6d5ff3c6e0d27c98 |
---|
1357 | Author: Brian Warner <warner@lothar.com> |
---|
1358 | Date: Mon Oct 3 15:10:18 2011 -0400 |
---|
1359 | |
---|
1360 | remove ServerMap.connections, set_rref_for_serverid() |
---|
1361 | |
---|
1362 | src/allmydata/mutable/servermap.py | 11 +---------- |
---|
1363 | 1 files changed, 1 insertions(+), 10 deletions(-) |
---|
1364 | |
---|
1365 | commit 4df52db2f80eb12eefa5d57103c24893cde89553 |
---|
1366 | Author: Brian Warner <warner@lothar.com> |
---|
1367 | Date: Mon Oct 3 15:04:06 2011 -0400 |
---|
1368 | |
---|
1369 | API of ServerMap.mark_server_reachable() |
---|
1370 | |
---|
1371 | src/allmydata/mutable/servermap.py | 7 ++----- |
---|
1372 | 1 files changed, 2 insertions(+), 5 deletions(-) |
---|
1373 | |
---|
1374 | commit 69c715bde77944dc25181b3dbbeb042c816f9a1b |
---|
1375 | Author: Brian Warner <warner@lothar.com> |
---|
1376 | Date: Mon Oct 3 15:03:21 2011 -0400 |
---|
1377 | |
---|
1378 | API of ServerMap.mark_server_unreachable() |
---|
1379 | |
---|
1380 | src/allmydata/mutable/servermap.py | 9 +++------ |
---|
1381 | 1 files changed, 3 insertions(+), 6 deletions(-) |
---|
1382 | |
---|
1383 | commit 3d784d60eec1c508858e3a617e4411ffbcc3c1fa |
---|
1384 | Author: Brian Warner <warner@lothar.com> |
---|
1385 | Date: Mon Oct 3 15:02:03 2011 -0400 |
---|
1386 | |
---|
1387 | API of status.set_privkey_from() |
---|
1388 | |
---|
1389 | src/allmydata/mutable/servermap.py | 7 +++---- |
---|
1390 | 1 files changed, 3 insertions(+), 4 deletions(-) |
---|
1391 | |
---|
1392 | commit 544ed3ea29bed7e66da7fd29ca3f6f076f27a9e6 |
---|
1393 | Author: Brian Warner <warner@lothar.com> |
---|
1394 | Date: Mon Oct 3 15:01:15 2011 -0400 |
---|
1395 | |
---|
1396 | API of status.add_per_server_time() |
---|
1397 | |
---|
1398 | src/allmydata/mutable/servermap.py | 7 ++++--- |
---|
1399 | 1 files changed, 4 insertions(+), 3 deletions(-) |
---|
1400 | |
---|
1401 | commit fffe5008b6320bd1e04c3c68389a2bf2ee383fa8 |
---|
1402 | Author: Brian Warner <warner@lothar.com> |
---|
1403 | Date: Mon Oct 3 14:59:02 2011 -0400 |
---|
1404 | |
---|
1405 | remove unused .versionmap |
---|
1406 | |
---|
1407 | src/allmydata/mutable/servermap.py | 7 ------- |
---|
1408 | 1 files changed, 0 insertions(+), 7 deletions(-) |
---|
1409 | |
---|
1410 | commit 2816562e090d2294179db3588dafcca18de1bc2b |
---|
1411 | Author: Brian Warner <warner@lothar.com> |
---|
1412 | Date: Mon Oct 3 14:57:51 2011 -0400 |
---|
1413 | |
---|
1414 | remove serverid from all log messages. Also one unused lambda. |
---|
1415 | |
---|
1416 | src/allmydata/mutable/servermap.py | 30 +++++++++++++------------- |
---|
1417 | 1 files changed, 15 insertions(+), 15 deletions(-) |
---|
1418 | |
---|
1419 | commit 28fa6b1a2738fa98c1f1dbd3d0e01ae98912d11f |
---|
1420 | Author: Brian Warner <warner@lothar.com> |
---|
1421 | Date: Mon Oct 3 14:54:30 2011 -0400 |
---|
1422 | |
---|
1423 | removed unused _readers |
---|
1424 | |
---|
1425 | src/allmydata/mutable/servermap.py | 3 --- |
---|
1426 | 1 files changed, 0 insertions(+), 3 deletions(-) |
---|
1427 | |
---|
1428 | commit a8e4ed3d645ab592d1add6a1e69b6d1ebfb77817 |
---|
1429 | Author: Brian Warner <warner@lothar.com> |
---|
1430 | Date: Mon Oct 3 14:54:16 2011 -0400 |
---|
1431 | |
---|
1432 | remove unused _sharemap |
---|
1433 | |
---|
1434 | src/allmydata/mutable/servermap.py | 1 - |
---|
1435 | 1 files changed, 0 insertions(+), 1 deletions(-) |
---|
1436 | |
---|
1437 | commit 3f072e55cf1d0700f9fffe23f8f3a475725df588 |
---|
1438 | Author: Brian Warner <warner@lothar.com> |
---|
1439 | Date: Mon Oct 3 14:49:03 2011 -0400 |
---|
1440 | |
---|
1441 | _must_query |
---|
1442 | |
---|
1443 | src/allmydata/mutable/servermap.py | 8 ++++---- |
---|
1444 | 1 files changed, 4 insertions(+), 4 deletions(-) |
---|
1445 | |
---|
1446 | commit c599a059b8df3f5785e4bf89fb6ecc6d8dcd708b |
---|
1447 | Author: Brian Warner <warner@lothar.com> |
---|
1448 | Date: Mon Oct 3 14:48:05 2011 -0400 |
---|
1449 | |
---|
1450 | _queries_outstanding |
---|
1451 | |
---|
1452 | src/allmydata/mutable/servermap.py | 16 +++++++--------- |
---|
1453 | 1 files changed, 7 insertions(+), 9 deletions(-) |
---|
1454 | |
---|
1455 | commit 7743759f98ac2c07926b2fdbd80bf52dfab33085 |
---|
1456 | Author: Brian Warner <warner@lothar.com> |
---|
1457 | Date: Mon Oct 3 14:46:17 2011 -0400 |
---|
1458 | |
---|
1459 | _empty_servers |
---|
1460 | |
---|
1461 | src/allmydata/mutable/servermap.py | 5 ++--- |
---|
1462 | 1 files changed, 2 insertions(+), 3 deletions(-) |
---|
1463 | |
---|
1464 | commit 6bb1825916828a713a32cdf7f7411fa3ea2e1e5d |
---|
1465 | Author: Brian Warner <warner@lothar.com> |
---|
1466 | Date: Mon Oct 3 14:45:39 2011 -0400 |
---|
1467 | |
---|
1468 | _good_servers |
---|
1469 | |
---|
1470 | src/allmydata/mutable/servermap.py | 4 ++-- |
---|
1471 | 1 files changed, 2 insertions(+), 2 deletions(-) |
---|
1472 | |
---|
1473 | commit 1768fab1b51d8dd93ecabbaaabfadfa20cf6c3d4 |
---|
1474 | Author: Brian Warner <warner@lothar.com> |
---|
1475 | Date: Mon Oct 3 14:44:59 2011 -0400 |
---|
1476 | |
---|
1477 | _bad_servers |
---|
1478 | |
---|
1479 | src/allmydata/mutable/servermap.py | 14 +++++++------- |
---|
1480 | 1 files changed, 7 insertions(+), 7 deletions(-) |
---|
1481 | |
---|
1482 | commit dccbaef30f0ba714c746bf6d4a1a803c36e17b65 |
---|
1483 | Author: Brian Warner <warner@lothar.com> |
---|
1484 | Date: Mon Oct 3 14:41:54 2011 -0400 |
---|
1485 | |
---|
1486 | API of _try_to_set_pubkey() |
---|
1487 | |
---|
1488 | src/allmydata/mutable/servermap.py | 7 ++++--- |
---|
1489 | 1 files changed, 4 insertions(+), 3 deletions(-) |
---|
1490 | |
---|
1491 | commit 0481ea70042ba3575f15eac7fd0780f8ece580cc |
---|
1492 | Author: Brian Warner <warner@lothar.com> |
---|
1493 | Date: Mon Oct 3 14:35:02 2011 -0400 |
---|
1494 | |
---|
1495 | API of notify_server_corruption() |
---|
1496 | |
---|
1497 | src/allmydata/mutable/servermap.py | 6 +++--- |
---|
1498 | 1 files changed, 3 insertions(+), 3 deletions(-) |
---|
1499 | |
---|
1500 | commit bea9cba18fb3b9c11bb22f18356a263ecec7351e |
---|
1501 | Author: Brian Warner <warner@lothar.com> |
---|
1502 | Date: Mon Oct 3 14:34:09 2011 -0400 |
---|
1503 | |
---|
1504 | API of _got_signature_one_share() |
---|
1505 | |
---|
1506 | src/allmydata/mutable/servermap.py | 9 +++++---- |
---|
1507 | 1 files changed, 5 insertions(+), 4 deletions(-) |
---|
1508 | |
---|
1509 | commit 1520123583cf78650706e114b15bb5b0ac1f4a14 |
---|
1510 | Author: Brian Warner <warner@lothar.com> |
---|
1511 | Date: Mon Oct 3 14:32:33 2011 -0400 |
---|
1512 | |
---|
1513 | API of _try_to_validate_privkey() |
---|
1514 | |
---|
1515 | src/allmydata/mutable/servermap.py | 9 +++++---- |
---|
1516 | 1 files changed, 5 insertions(+), 4 deletions(-) |
---|
1517 | |
---|
1518 | commit 938852c9c8519c7a078f58a9b1f4dd8ec8b6715e |
---|
1519 | Author: Brian Warner <warner@lothar.com> |
---|
1520 | Date: Mon Oct 3 14:31:48 2011 -0400 |
---|
1521 | |
---|
1522 | API and internals of _add_lease_failed() |
---|
1523 | |
---|
1524 | src/allmydata/mutable/servermap.py | 8 ++++---- |
---|
1525 | 1 files changed, 4 insertions(+), 4 deletions(-) |
---|
1526 | |
---|
1527 | commit 3843dba367e3c19e176a622ab853cb51d2472ddf |
---|
1528 | Author: Brian Warner <warner@lothar.com> |
---|
1529 | Date: Mon Oct 3 14:30:37 2011 -0400 |
---|
1530 | |
---|
1531 | API of _privkey_query_failed() |
---|
1532 | |
---|
1533 | src/allmydata/mutable/servermap.py | 5 +++-- |
---|
1534 | 1 files changed, 3 insertions(+), 2 deletions(-) |
---|
1535 | |
---|
1536 | commit 2219a710e1633cd57d0ca0786490de87b3e19ba7 |
---|
1537 | Author: Brian Warner <warner@lothar.com> |
---|
1538 | Date: Mon Oct 3 14:29:43 2011 -0400 |
---|
1539 | |
---|
1540 | fix bug in call to _privkey_query_failed, unrelated to refactoring |
---|
1541 | |
---|
1542 | src/allmydata/mutable/servermap.py | 2 +- |
---|
1543 | 1 files changed, 1 insertions(+), 1 deletions(-) |
---|
1544 | |
---|
1545 | commit ae615bec7d0d1b269710b6902797b12f9592ad62 |
---|
1546 | Author: Brian Warner <warner@lothar.com> |
---|
1547 | Date: Mon Oct 3 14:27:17 2011 -0400 |
---|
1548 | |
---|
1549 | API of _got_corrupt_share() |
---|
1550 | |
---|
1551 | src/allmydata/mutable/servermap.py | 17 +++++++++-------- |
---|
1552 | 1 files changed, 9 insertions(+), 8 deletions(-) |
---|
1553 | |
---|
1554 | commit cb51c95a6f4e077278157a77dab060c8c1ad7a81 |
---|
1555 | Author: Brian Warner <warner@lothar.com> |
---|
1556 | Date: Mon Oct 3 14:23:16 2011 -0400 |
---|
1557 | |
---|
1558 | API of _got_results() |
---|
1559 | |
---|
1560 | src/allmydata/mutable/servermap.py | 9 +++++---- |
---|
1561 | 1 files changed, 5 insertions(+), 4 deletions(-) |
---|
1562 | |
---|
1563 | commit bac9154fe0af18f226999a58ffc2362d8cf4b802 |
---|
1564 | Author: Brian Warner <warner@lothar.com> |
---|
1565 | Date: Mon Oct 3 14:19:19 2011 -0400 |
---|
1566 | |
---|
1567 | API of _query_failed() |
---|
1568 | |
---|
1569 | src/allmydata/mutable/servermap.py | 5 +++-- |
---|
1570 | 1 files changed, 3 insertions(+), 2 deletions(-) |
---|
1571 | |
---|
1572 | commit fdc29a8ca95d4b5c503e5382b9e5d4d02141ba12 |
---|
1573 | Author: Brian Warner <warner@lothar.com> |
---|
1574 | Date: Mon Oct 3 14:17:20 2011 -0400 |
---|
1575 | |
---|
1576 | API of _do_read() |
---|
1577 | |
---|
1578 | src/allmydata/mutable/servermap.py | 6 ++++-- |
---|
1579 | 1 files changed, 4 insertions(+), 2 deletions(-) |
---|
1580 | |
---|
1581 | commit e7e9e338f28d004aa4d423d11c65f1e271ac7322 |
---|
1582 | Author: Brian Warner <warner@lothar.com> |
---|
1583 | Date: Mon Oct 3 14:20:21 2011 -0400 |
---|
1584 | |
---|
1585 | API of _do_query() |
---|
1586 | |
---|
1587 | src/allmydata/mutable/servermap.py | 15 +++++++-------- |
---|
1588 | 1 files changed, 7 insertions(+), 8 deletions(-) |
---|
1589 | |
---|
1590 | commit 330625b9dac4cdbe72a11464a893065b9aeed453 |
---|
1591 | Author: Brian Warner <warner@lothar.com> |
---|
1592 | Date: Mon Oct 3 14:43:05 2011 -0400 |
---|
1593 | |
---|
1594 | next step: first batch of updates to ServermapUpdater |
---|
1595 | |
---|
1596 | updates: |
---|
1597 | most method-local variables in update() |
---|
1598 | API of _build_initial_querylist() |
---|
1599 | API of _send_initial_requests() |
---|
1600 | .full_serverlist |
---|
1601 | .extra_servers |
---|
1602 | |
---|
1603 | src/allmydata/mutable/servermap.py | 39 ++++++++++++++------------ |
---|
1604 | 1 files changed, 21 insertions(+), 18 deletions(-) |
---|
1605 | |
---|
1606 | commit 4aadc584fa7dcb2daa86b048c81dee0049ba26d9 |
---|
1607 | Author: Brian Warner <warner@lothar.com> |
---|
1608 | Date: Mon Oct 3 15:07:00 2011 -0400 |
---|
1609 | |
---|
1610 | internal change: index _bad_shares with IServer |
---|
1611 | |
---|
1612 | src/allmydata/mutable/servermap.py | 20 ++++++++++---------- |
---|
1613 | 1 files changed, 10 insertions(+), 10 deletions(-) |
---|
1614 | |
---|
1615 | commit 16d4e6fa82a9907dbdc92094213387c6a4164e41 |
---|
1616 | Author: Brian Warner <warner@lothar.com> |
---|
1617 | Date: Mon Oct 3 18:20:47 2011 +0100 |
---|
1618 | |
---|
1619 | internal change: index _known_shares with IServer instead of serverid |
---|
1620 | |
---|
1621 | callers are unchanged |
---|
1622 | |
---|
1623 | src/allmydata/mutable/servermap.py | 42 +++++++++++++++---------- |
---|
1624 | 1 files changed, 25 insertions(+), 17 deletions(-) |
---|
1625 | |
---|
1626 | commit ceeb5f4938cc814a0c75d1b8f4018aed965c2176 |
---|
1627 | Author: Brian Warner <warner@lothar.com> |
---|
1628 | Date: Mon Oct 3 18:11:43 2011 +0100 |
---|
1629 | |
---|
1630 | accessors and name cleanup for servermap.Servermap.last_update_mode/time |
---|
1631 | |
---|
1632 | src/allmydata/mutable/filenode.py | 6 +++--- |
---|
1633 | src/allmydata/mutable/publish.py | 4 ++-- |
---|
1634 | src/allmydata/mutable/servermap.py | 17 +++++++++++------ |
---|
1635 | 3 files changed, 16 insertions(+), 11 deletions(-) |
---|
1636 | |
---|
1637 | commit 8d3cbda82661c0a7e5c3d3b65cf7a5d5ab7e32c0 |
---|
1638 | Author: Brian Warner <warner@lothar.com> |
---|
1639 | Date: Mon Oct 3 18:11:14 2011 +0100 |
---|
1640 | |
---|
1641 | accessors and name cleanup for servermap.Servermap.problems |
---|
1642 | |
---|
1643 | src/allmydata/mutable/servermap.py | 21 +++++++++++++-------- |
---|
1644 | src/allmydata/test/test_mutable.py | 6 +++--- |
---|
1645 | 2 files changed, 16 insertions(+), 11 deletions(-) |
---|
1646 | |
---|
1647 | commit 348f57988f79389db0aab7672e6eaa9a6d8e3219 |
---|
1648 | Author: Brian Warner <warner@lothar.com> |
---|
1649 | Date: Mon Oct 3 18:10:41 2011 +0100 |
---|
1650 | |
---|
1651 | accessors and name cleanup for servermap.Servermap.bad_shares |
---|
1652 | |
---|
1653 | src/allmydata/mutable/publish.py | 2 +- |
---|
1654 | src/allmydata/mutable/servermap.py | 30 ++++++++++++++----------- |
---|
1655 | 2 files changed, 18 insertions(+), 14 deletions(-) |
---|
1656 | |
---|
1657 | commit 520c9368134673cdf76c653c5e1bb91c2ab5d51e |
---|
1658 | Author: Brian Warner <warner@lothar.com> |
---|
1659 | Date: Mon Oct 3 18:10:05 2011 +0100 |
---|
1660 | |
---|
1661 | accessors and name cleanup for servermap.Servermap.servermap . |
---|
1662 | |
---|
1663 | src/allmydata/mutable/publish.py | 14 +++++---- |
---|
1664 | src/allmydata/mutable/servermap.py | 38 ++++++++++++++----------- |
---|
1665 | 2 files changed, 29 insertions(+), 23 deletions(-) |
---|
1666 | |
---|
1667 | commit b8b8dc38287a91dbdf494426ac801d9381ce5841 |
---|
1668 | Author: Brian Warner <warner@lothar.com> |
---|
1669 | Date: Mon Oct 3 18:08:02 2011 +0100 |
---|
1670 | |
---|
1671 | fix reachable_servers |
---|
1672 | |
---|
1673 | src/allmydata/mutable/checker.py | 3 ++- |
---|
1674 | src/allmydata/mutable/publish.py | 4 +++- |
---|
1675 | src/allmydata/mutable/servermap.py | 12 ++++++++++-- |
---|
1676 | 3 files changed, 15 insertions(+), 4 deletions(-) |
---|
1677 | |
---|
1678 | commit cb0cfd1adfefad357c187aaaf690c3df68b622bc |
---|
1679 | Author: Brian Warner <warner@lothar.com> |
---|
1680 | Date: Mon Oct 3 18:06:03 2011 +0100 |
---|
1681 | |
---|
1682 | fix Servermap.unreachable_servers |
---|
1683 | |
---|
1684 | src/allmydata/mutable/servermap.py | 11 ++++++++--- |
---|
1685 | 1 files changed, 8 insertions(+), 3 deletions(-) |
---|
1686 | |
---|
1687 | commit 2d9ea79b94bd4db674d40386fda90825785ac495 |
---|
1688 | Author: Brian Warner <warner@lothar.com> |
---|
1689 | Date: Mon Oct 3 18:03:48 2011 +0100 |
---|
1690 | |
---|
1691 | give ServerMap a StorageFarmBroker, temporary |
---|
1692 | |
---|
1693 | this makes it possible for the ServerMap to accept bare serverids and still |
---|
1694 | build data structures with IServers |
---|
1695 | |
---|
1696 | src/allmydata/mutable/checker.py | 2 +- |
---|
1697 | src/allmydata/mutable/filenode.py | 2 +- |
---|
1698 | src/allmydata/mutable/publish.py | 2 +- |
---|
1699 | src/allmydata/mutable/servermap.py | 5 +++-- |
---|
1700 | src/allmydata/test/test_mutable.py | 8 ++++---- |
---|
1701 | 5 files changed, 10 insertions(+), 9 deletions(-) |
---|
1702 | |
---|
1703 | commit 718d1aeff6fded893f65397806d22ece928b0dd4 |
---|
1704 | Author: Brian Warner <warner@lothar.com> |
---|
1705 | Date: Mon Oct 3 13:43:30 2011 -0400 |
---|
1706 | |
---|
1707 | add StorageFarmBroker.get_server_for_id(), temporary helper |
---|
1708 | |
---|
1709 | This will go away once we're passing IServers everywhere. |
---|
1710 | |
---|
1711 | src/allmydata/storage_client.py | 2 ++ |
---|
1712 | src/allmydata/test/no_network.py | 13 +++++++++++++ |
---|
1713 | 2 files changed, 15 insertions(+), 0 deletions(-) |
---|
1714 | |
---|
1715 | commit ece20231d7fda0d503704842a4aa068dfbc2e54e |
---|
1716 | Author: Brian Warner <warner@lothar.com> |
---|
1717 | Date: Sun Oct 2 01:11:50 2011 +0100 |
---|
1718 | |
---|
1719 | add proper accessors for Servermap.connections, to make refactoring easier |
---|
1720 | |
---|
1721 | src/allmydata/mutable/publish.py | 6 +++--- |
---|
1722 | src/allmydata/mutable/retrieve.py | 10 +++++----- |
---|
1723 | src/allmydata/mutable/servermap.py | 17 +++++++++++------ |
---|
1724 | 3 files changed, 19 insertions(+), 14 deletions(-) |
---|
1725 | |
---|
1726 | commit 3b943d6bf302ff702668081a612fc4fe2604cf9c |
---|
1727 | Author: Brian Warner <warner@lothar.com> |
---|
1728 | Date: Fri Sep 23 10:34:30 2011 -0700 |
---|
1729 | |
---|
1730 | mutable/servermap.py and neighbors: s/peer/server/ |
---|
1731 | |
---|
1732 | src/allmydata/mutable/checker.py | 22 +- |
---|
1733 | src/allmydata/mutable/publish.py | 204 +++++++------- |
---|
1734 | src/allmydata/mutable/servermap.py | 402 +++++++++++++------------- |
---|
1735 | src/allmydata/test/test_mutable.py | 18 +- |
---|
1736 | 4 files changed, 323 insertions(+), 323 deletions(-) |
---|
1737 | IServer refactoring: pass IServer instances around, instead of peerids |
---|
1738 | |
---|
1739 | refs #1363 |
---|
1740 | |
---|
1741 | This collapses 88 small incremental changes (each of which passes all tests) |
---|
1742 | into one big patch. The development process for the long path started with |
---|
1743 | adding some temporary scaffolding, changing one method at a time, then |
---|
1744 | removing the scaffolding. The individual pieces are as follows, in reverse |
---|
1745 | chronological order (the first patch is at the end of this comment): |
---|
1746 | |
---|
1747 | commit 9bbe4174fd0d98a6cf47a8ef96e85d9ef34b2f9a |
---|
1748 | Author: Brian Warner <warner@lothar.com> |
---|
1749 | Date: Tue Oct 4 16:05:00 2011 -0400 |
---|
1750 | |
---|
1751 | immutable/downloader/status.py: correct comment |
---|
1752 | |
---|
1753 | src/allmydata/immutable/downloader/status.py | 2 +- |
---|
1754 | 1 files changed, 1 insertions(+), 1 deletions(-) |
---|
1755 | |
---|
1756 | commit 72146a7c7c91eac2f7c3ceb801eb7a1721376889 |
---|
1757 | Author: Brian Warner <warner@lothar.com> |
---|
1758 | Date: Tue Oct 4 15:46:20 2011 -0400 |
---|
1759 | |
---|
1760 | remove temporary ServerMap._storage_broker |
---|
1761 | |
---|
1762 | src/allmydata/mutable/checker.py | 2 +- |
---|
1763 | src/allmydata/mutable/filenode.py | 2 +- |
---|
1764 | src/allmydata/mutable/publish.py | 2 +- |
---|
1765 | src/allmydata/mutable/servermap.py | 5 ++--- |
---|
1766 | src/allmydata/test/test_mutable.py | 8 ++++---- |
---|
1767 | 5 files changed, 9 insertions(+), 10 deletions(-) |
---|
1768 | |
---|
1769 | commit d703096b41632c47d76414b12672e076a422ff5c |
---|
1770 | Author: Brian Warner <warner@lothar.com> |
---|
1771 | Date: Tue Oct 4 15:37:05 2011 -0400 |
---|
1772 | |
---|
1773 | remove temporary storage_broker.get_server_for_id() |
---|
1774 | |
---|
1775 | src/allmydata/storage_client.py | 3 --- |
---|
1776 | src/allmydata/test/no_network.py | 13 ------------- |
---|
1777 | 2 files changed, 0 insertions(+), 16 deletions(-) |
---|
1778 | |
---|
1779 | commit 620cc5d80882ef6f7decfd26af8a6c7c1ddf80d1 |
---|
1780 | Author: Brian Warner <warner@lothar.com> |
---|
1781 | Date: Tue Oct 4 12:50:06 2011 -0400 |
---|
1782 | |
---|
1783 | API of Retrieve._try_to_validate_privkey(), trying to remove reader.server |
---|
1784 | |
---|
1785 | src/allmydata/mutable/retrieve.py | 10 +++++----- |
---|
1786 | 1 files changed, 5 insertions(+), 5 deletions(-) |
---|
1787 | |
---|
1788 | commit 92f43f856f4a8b36c207d1b190ed8699b5a4ecb4 |
---|
1789 | Author: Brian Warner <warner@lothar.com> |
---|
1790 | Date: Tue Oct 4 12:48:08 2011 -0400 |
---|
1791 | |
---|
1792 | API of Retrieve._validate_block(), trying to remove reader.server |
---|
1793 | |
---|
1794 | src/allmydata/mutable/retrieve.py | 14 +++++++------- |
---|
1795 | 1 files changed, 7 insertions(+), 7 deletions(-) |
---|
1796 | |
---|
1797 | commit 572d5070761861a2190349d1ed8d85dbc25698a5 |
---|
1798 | Author: Brian Warner <warner@lothar.com> |
---|
1799 | Date: Tue Oct 4 12:36:58 2011 -0400 |
---|
1800 | |
---|
1801 | API of Retrieve._mark_bad_share(), trying to remove reader.server |
---|
1802 | |
---|
1803 | src/allmydata/mutable/retrieve.py | 21 +++++++++------------ |
---|
1804 | 1 files changed, 9 insertions(+), 12 deletions(-) |
---|
1805 | |
---|
1806 | commit a793ff00c0de1e2eec7b46288fdf388c7a2bec89 |
---|
1807 | Author: Brian Warner <warner@lothar.com> |
---|
1808 | Date: Tue Oct 4 12:06:13 2011 -0400 |
---|
1809 | |
---|
1810 | remove now-unused get_rref_for_serverid() |
---|
1811 | |
---|
1812 | src/allmydata/mutable/servermap.py | 3 --- |
---|
1813 | 1 files changed, 0 insertions(+), 3 deletions(-) |
---|
1814 | |
---|
1815 | commit 1b9827cc9366bf90b93297fdd6832f2ad0480ce7 |
---|
1816 | Author: Brian Warner <warner@lothar.com> |
---|
1817 | Date: Tue Oct 4 12:03:09 2011 -0400 |
---|
1818 | |
---|
1819 | Retrieve: stop adding .serverid attributes to readers |
---|
1820 | |
---|
1821 | src/allmydata/mutable/retrieve.py | 1 - |
---|
1822 | 1 files changed, 0 insertions(+), 1 deletions(-) |
---|
1823 | |
---|
1824 | commit 5d4e9d491b19e49d2e443a1dfff2c672842c36ef |
---|
1825 | Author: Brian Warner <warner@lothar.com> |
---|
1826 | Date: Tue Oct 4 12:03:34 2011 -0400 |
---|
1827 | |
---|
1828 | return value of Retrieve(verify=True) |
---|
1829 | |
---|
1830 | src/allmydata/mutable/checker.py | 11 ++++++----- |
---|
1831 | src/allmydata/mutable/retrieve.py | 3 +-- |
---|
1832 | 2 files changed, 7 insertions(+), 7 deletions(-) |
---|
1833 | |
---|
1834 | commit e9ab7978c384e1f677cb7779dc449b1044face82 |
---|
1835 | Author: Brian Warner <warner@lothar.com> |
---|
1836 | Date: Tue Oct 4 11:54:23 2011 -0400 |
---|
1837 | |
---|
1838 | Retrieve._bad_shares (but not return value, used by Verifier) |
---|
1839 | |
---|
1840 | src/allmydata/mutable/retrieve.py | 7 ++++--- |
---|
1841 | 1 files changed, 4 insertions(+), 3 deletions(-) |
---|
1842 | |
---|
1843 | commit 2d91926de233ec5c881f30e36b4a30ad92ab42a9 |
---|
1844 | Author: Brian Warner <warner@lothar.com> |
---|
1845 | Date: Tue Oct 4 11:51:23 2011 -0400 |
---|
1846 | |
---|
1847 | Publish: stop adding .serverid attributes to writers |
---|
1848 | |
---|
1849 | src/allmydata/mutable/publish.py | 9 ++------- |
---|
1850 | 1 files changed, 2 insertions(+), 7 deletions(-) |
---|
1851 | |
---|
1852 | commit 47c7a0105dec7cbf4f7e0a3ce800bbb85b15df4a |
---|
1853 | Author: Brian Warner <warner@lothar.com> |
---|
1854 | Date: Tue Oct 4 11:56:33 2011 -0400 |
---|
1855 | |
---|
1856 | API of get_write_enabler() |
---|
1857 | |
---|
1858 | src/allmydata/mutable/filenode.py | 7 ++++--- |
---|
1859 | src/allmydata/mutable/publish.py | 4 ++-- |
---|
1860 | src/allmydata/test/no_network.py | 3 +++ |
---|
1861 | 3 files changed, 9 insertions(+), 5 deletions(-) |
---|
1862 | |
---|
1863 | commit 9196a5c6590fdbfd660325ea8358b345887d3db0 |
---|
1864 | Author: Brian Warner <warner@lothar.com> |
---|
1865 | Date: Tue Oct 4 11:46:24 2011 -0400 |
---|
1866 | |
---|
1867 | API of get_(renewal|cancel)_secret() |
---|
1868 | |
---|
1869 | src/allmydata/mutable/filenode.py | 14 ++++++++------ |
---|
1870 | src/allmydata/mutable/publish.py | 8 ++++---- |
---|
1871 | src/allmydata/mutable/servermap.py | 5 ++--- |
---|
1872 | 3 files changed, 14 insertions(+), 13 deletions(-) |
---|
1873 | |
---|
1874 | commit de7c1552f8c163eff5b6d820b5fb3b21c1b47cb5 |
---|
1875 | Author: Brian Warner <warner@lothar.com> |
---|
1876 | Date: Tue Oct 4 11:41:52 2011 -0400 |
---|
1877 | |
---|
1878 | API of CorruptShareError. Also comment out some related+unused test_web.py code |
---|
1879 | |
---|
1880 | src/allmydata/mutable/common.py | 13 +++++-------- |
---|
1881 | src/allmydata/mutable/retrieve.py | 10 +++++----- |
---|
1882 | src/allmydata/mutable/servermap.py | 8 +++----- |
---|
1883 | src/allmydata/test/common.py | 13 ++++++++----- |
---|
1884 | 4 files changed, 21 insertions(+), 23 deletions(-) |
---|
1885 | |
---|
1886 | commit 2c1c314046b620c16f1e66d030c150d768b7d01e |
---|
1887 | Author: Brian Warner <warner@lothar.com> |
---|
1888 | Date: Tue Oct 4 12:01:46 2011 -0400 |
---|
1889 | |
---|
1890 | API of ServerMap.mark_bad_share() |
---|
1891 | |
---|
1892 | src/allmydata/mutable/publish.py | 2 +- |
---|
1893 | src/allmydata/mutable/retrieve.py | 6 +++--- |
---|
1894 | src/allmydata/mutable/servermap.py | 6 ++---- |
---|
1895 | src/allmydata/test/test_mutable.py | 3 +-- |
---|
1896 | 4 files changed, 7 insertions(+), 10 deletions(-) |
---|
1897 | |
---|
1898 | commit 1bed349030779fd0c378ae4e821384f953c6f6ff |
---|
1899 | Author: Brian Warner <warner@lothar.com> |
---|
1900 | Date: Tue Oct 4 11:11:17 2011 -0400 |
---|
1901 | |
---|
1902 | API+name of ServerMap.shares_on_server() : only for tests, so debug_ prefix |
---|
1903 | |
---|
1904 | src/allmydata/mutable/servermap.py | 7 ++----- |
---|
1905 | src/allmydata/test/test_mutable.py | 6 +++--- |
---|
1906 | 2 files changed, 5 insertions(+), 8 deletions(-) |
---|
1907 | |
---|
1908 | commit 2d32e448677d6b818692e801045d4115b29abf21 |
---|
1909 | Author: Brian Warner <warner@lothar.com> |
---|
1910 | Date: Tue Oct 4 11:07:10 2011 -0400 |
---|
1911 | |
---|
1912 | API of ServerMap.all_servers_for_version() |
---|
1913 | |
---|
1914 | src/allmydata/mutable/servermap.py | 4 ++-- |
---|
1915 | 1 files changed, 2 insertions(+), 2 deletions(-) |
---|
1916 | |
---|
1917 | commit 48f3204d1889c3e7179578125c4bdef515af3d6a |
---|
1918 | Author: Brian Warner <warner@lothar.com> |
---|
1919 | Date: Tue Oct 4 11:04:50 2011 -0400 |
---|
1920 | |
---|
1921 | internals of ServerMap methods that use make_versionmap(), remove temp copy |
---|
1922 | |
---|
1923 | src/allmydata/mutable/servermap.py | 28 +++++++++---------------- |
---|
1924 | 1 files changed, 10 insertions(+), 18 deletions(-) |
---|
1925 | |
---|
1926 | commit 5c3da77b6c777a145bd5ddfaa4db849dc9495548 |
---|
1927 | Author: Brian Warner <warner@lothar.com> |
---|
1928 | Date: Tue Oct 4 11:01:28 2011 -0400 |
---|
1929 | |
---|
1930 | API of ServerMap.make_versionmap() |
---|
1931 | |
---|
1932 | src/allmydata/mutable/checker.py | 4 ++-- |
---|
1933 | src/allmydata/mutable/retrieve.py | 5 ++--- |
---|
1934 | src/allmydata/mutable/servermap.py | 4 ++-- |
---|
1935 | src/allmydata/test/test_mutable.py | 7 ++++--- |
---|
1936 | 4 files changed, 10 insertions(+), 10 deletions(-) |
---|
1937 | |
---|
1938 | commit b6882ece49afb4c507d118af2db346fa329209dc |
---|
1939 | Author: Brian Warner <warner@lothar.com> |
---|
1940 | Date: Tue Oct 4 10:53:38 2011 -0400 |
---|
1941 | |
---|
1942 | make a copy of ServerMap.make_versionmap() (_make_versionmap2) for internal use |
---|
1943 | |
---|
1944 | src/allmydata/mutable/servermap.py | 18 +++++++++++++----- |
---|
1945 | 1 files changed, 13 insertions(+), 5 deletions(-) |
---|
1946 | |
---|
1947 | commit 963f8e63faf32b950eb1b8103cd2ff16fe8f0151 |
---|
1948 | Author: Brian Warner <warner@lothar.com> |
---|
1949 | Date: Tue Oct 4 00:45:58 2011 -0400 |
---|
1950 | |
---|
1951 | API of RetrieveStatus.add_problem() |
---|
1952 | |
---|
1953 | src/allmydata/mutable/retrieve.py | 5 +++-- |
---|
1954 | 1 files changed, 3 insertions(+), 2 deletions(-) |
---|
1955 | |
---|
1956 | commit 4976d29ffae565a048851601c29013bbae2976d8 |
---|
1957 | Author: Brian Warner <warner@lothar.com> |
---|
1958 | Date: Tue Oct 4 00:45:05 2011 -0400 |
---|
1959 | |
---|
1960 | API of RetrieveStatus.add_fetch_timing() |
---|
1961 | |
---|
1962 | src/allmydata/mutable/retrieve.py | 5 +++-- |
---|
1963 | 1 files changed, 3 insertions(+), 2 deletions(-) |
---|
1964 | |
---|
1965 | commit d057d3bbba72663ee148a8b916bc2d52be2e3982 |
---|
1966 | Author: Brian Warner <warner@lothar.com> |
---|
1967 | Date: Tue Oct 4 00:44:04 2011 -0400 |
---|
1968 | |
---|
1969 | API of Retrieve.notify_server_corruption() |
---|
1970 | |
---|
1971 | src/allmydata/mutable/retrieve.py | 6 +++--- |
---|
1972 | 1 files changed, 3 insertions(+), 3 deletions(-) |
---|
1973 | |
---|
1974 | commit 8a2a81e46671c860610e0e96d6add1a57551f22d |
---|
1975 | Author: Brian Warner <warner@lothar.com> |
---|
1976 | Date: Tue Oct 4 00:42:32 2011 -0400 |
---|
1977 | |
---|
1978 | remove unused _outstanding_queries |
---|
1979 | |
---|
1980 | src/allmydata/mutable/retrieve.py | 1 - |
---|
1981 | 1 files changed, 0 insertions(+), 1 deletions(-) |
---|
1982 | |
---|
1983 | commit 56d12cc9968d03ccd53764455c671122c4f391d1 |
---|
1984 | Author: Brian Warner <warner@lothar.com> |
---|
1985 | Date: Tue Oct 4 00:40:57 2011 -0400 |
---|
1986 | |
---|
1987 | change Retrieve.remaining_sharemap |
---|
1988 | |
---|
1989 | src/allmydata/mutable/retrieve.py | 4 ++-- |
---|
1990 | 1 files changed, 2 insertions(+), 2 deletions(-) |
---|
1991 | |
---|
1992 | commit 4f0b7af4821f43290bfc70f2b1fc30149ad81281 |
---|
1993 | Author: Brian Warner <warner@lothar.com> |
---|
1994 | Date: Tue Oct 4 10:40:18 2011 -0400 |
---|
1995 | |
---|
1996 | accessor for PublishStatus._problems |
---|
1997 | |
---|
1998 | src/allmydata/mutable/publish.py | 4 +++- |
---|
1999 | src/allmydata/web/status.py | 2 +- |
---|
2000 | 2 files changed, 4 insertions(+), 2 deletions(-) |
---|
2001 | |
---|
2002 | commit 627087cf66d0b8cc519f4d551a967a7bd9b6a741 |
---|
2003 | Author: Brian Warner <warner@lothar.com> |
---|
2004 | Date: Tue Oct 4 10:36:39 2011 -0400 |
---|
2005 | |
---|
2006 | accessor for RetrieveStatus._problems |
---|
2007 | |
---|
2008 | src/allmydata/mutable/retrieve.py | 8 ++++++-- |
---|
2009 | src/allmydata/web/status.py | 2 +- |
---|
2010 | 2 files changed, 7 insertions(+), 3 deletions(-) |
---|
2011 | |
---|
2012 | commit ca7dea81f03801b1c7353fc00ecba689268109cf |
---|
2013 | Author: Brian Warner <warner@lothar.com> |
---|
2014 | Date: Tue Oct 4 00:35:32 2011 -0400 |
---|
2015 | |
---|
2016 | add .server to "reader", so we can get at it later |
---|
2017 | |
---|
2018 | src/allmydata/mutable/retrieve.py | 5 +++-- |
---|
2019 | 1 files changed, 3 insertions(+), 2 deletions(-) |
---|
2020 | |
---|
2021 | commit 6ef516e24908ec195af084a7550d1921a5e983b0 |
---|
2022 | Author: Brian Warner <warner@lothar.com> |
---|
2023 | Date: Tue Oct 4 00:32:32 2011 -0400 |
---|
2024 | |
---|
2025 | temporarily give Retrieve a _storage_broker, so it can map serverids to servers |
---|
2026 | |
---|
2027 | src/allmydata/mutable/checker.py | 3 ++- |
---|
2028 | src/allmydata/mutable/filenode.py | 6 ++++-- |
---|
2029 | src/allmydata/mutable/retrieve.py | 5 +++-- |
---|
2030 | src/allmydata/test/test_mutable.py | 4 ++-- |
---|
2031 | 4 files changed, 11 insertions(+), 7 deletions(-) |
---|
2032 | |
---|
2033 | commit afe08e4dd3f4ff9ff7e8a2a8d28b181e3625bcc9 |
---|
2034 | Author: Brian Warner <warner@lothar.com> |
---|
2035 | Date: Tue Oct 4 00:21:51 2011 -0400 |
---|
2036 | |
---|
2037 | mutable/retrieve.py: s/peer/server/ |
---|
2038 | |
---|
2039 | src/allmydata/mutable/retrieve.py | 82 +++++++++++++------------- |
---|
2040 | src/allmydata/test/test_mutable.py | 6 +- |
---|
2041 | 2 files changed, 44 insertions(+), 44 deletions(-) |
---|
2042 | |
---|
2043 | commit 910afcb5d7f274880f68dd6cdb5b05f2bbc29adc |
---|
2044 | Author: Brian Warner <warner@lothar.com> |
---|
2045 | Date: Tue Oct 4 00:16:01 2011 -0400 |
---|
2046 | |
---|
2047 | web.status.PublishStatusPage: add comment, I think .problems isn't exercised |
---|
2048 | |
---|
2049 | src/allmydata/web/status.py | 2 ++ |
---|
2050 | 1 files changed, 2 insertions(+), 0 deletions(-) |
---|
2051 | |
---|
2052 | commit 311466dd8c931bbba40d590ade867704282e7f1a |
---|
2053 | Author: Brian Warner <warner@lothar.com> |
---|
2054 | Date: Mon Oct 3 23:48:16 2011 -0400 |
---|
2055 | |
---|
2056 | API of PublishStatus.add_per_server_time() |
---|
2057 | |
---|
2058 | src/allmydata/mutable/publish.py | 5 +++-- |
---|
2059 | 1 files changed, 3 insertions(+), 2 deletions(-) |
---|
2060 | |
---|
2061 | commit 2df5faa1b6cbfbaded520d2320305a62fe961118 |
---|
2062 | Author: Brian Warner <warner@lothar.com> |
---|
2063 | Date: Mon Oct 3 23:46:37 2011 -0400 |
---|
2064 | |
---|
2065 | more simplifications |
---|
2066 | |
---|
2067 | src/allmydata/mutable/publish.py | 4 +--- |
---|
2068 | 1 files changed, 1 insertions(+), 3 deletions(-) |
---|
2069 | |
---|
2070 | commit 6ac4544a3da385f2aad9392f906b90192f4f919a |
---|
2071 | Author: Brian Warner <warner@lothar.com> |
---|
2072 | Date: Mon Oct 3 23:44:08 2011 -0400 |
---|
2073 | |
---|
2074 | API of ServerMap.version_on_server() |
---|
2075 | |
---|
2076 | src/allmydata/mutable/publish.py | 2 +- |
---|
2077 | src/allmydata/mutable/servermap.py | 4 ++-- |
---|
2078 | src/allmydata/test/test_mutable.py | 5 ++--- |
---|
2079 | 3 files changed, 5 insertions(+), 6 deletions(-) |
---|
2080 | |
---|
2081 | commit 3e187e322511072e4683329df6b2c6c733a66dba |
---|
2082 | Author: Brian Warner <warner@lothar.com> |
---|
2083 | Date: Tue Oct 4 00:16:32 2011 -0400 |
---|
2084 | |
---|
2085 | API of ServerMap.make_sharemap() |
---|
2086 | |
---|
2087 | src/allmydata/mutable/servermap.py | 4 ++-- |
---|
2088 | src/allmydata/test/test_mutable.py | 7 ++++--- |
---|
2089 | src/allmydata/web/status.py | 4 ++-- |
---|
2090 | 3 files changed, 8 insertions(+), 7 deletions(-) |
---|
2091 | |
---|
2092 | commit 318feed8437bdd8d4943c6569d38f7b54b6313cc |
---|
2093 | Author: Brian Warner <warner@lothar.com> |
---|
2094 | Date: Mon Oct 3 23:36:19 2011 -0400 |
---|
2095 | |
---|
2096 | small cleanups |
---|
2097 | |
---|
2098 | src/allmydata/mutable/publish.py | 4 ++-- |
---|
2099 | 1 files changed, 2 insertions(+), 2 deletions(-) |
---|
2100 | |
---|
2101 | commit bd459ed5714e1db5a7163935c54b7b0b56db8349 |
---|
2102 | Author: Brian Warner <warner@lothar.com> |
---|
2103 | Date: Mon Oct 3 23:33:39 2011 -0400 |
---|
2104 | |
---|
2105 | API of ServerMap.add_new_share() |
---|
2106 | |
---|
2107 | src/allmydata/mutable/publish.py | 4 ++-- |
---|
2108 | src/allmydata/mutable/servermap.py | 6 ++---- |
---|
2109 | 2 files changed, 4 insertions(+), 6 deletions(-) |
---|
2110 | |
---|
2111 | commit f2804fb6ed11d80088e0da8ed48e6c2922f2ffef |
---|
2112 | Author: Brian Warner <warner@lothar.com> |
---|
2113 | Date: Mon Oct 3 23:30:26 2011 -0400 |
---|
2114 | |
---|
2115 | API of ServerMap.get_bad_shares() |
---|
2116 | |
---|
2117 | src/allmydata/mutable/publish.py | 3 +-- |
---|
2118 | src/allmydata/mutable/servermap.py | 9 ++++----- |
---|
2119 | 2 files changed, 5 insertions(+), 7 deletions(-) |
---|
2120 | |
---|
2121 | commit 965074a47b3ce1431cb46d9a233840afcf9105f5 |
---|
2122 | Author: Brian Warner <warner@lothar.com> |
---|
2123 | Date: Mon Oct 3 23:26:58 2011 -0400 |
---|
2124 | |
---|
2125 | more small cleanups |
---|
2126 | |
---|
2127 | src/allmydata/mutable/publish.py | 6 +++--- |
---|
2128 | 1 files changed, 3 insertions(+), 3 deletions(-) |
---|
2129 | |
---|
2130 | commit 38020da34f034f8889947dd3dc05e087ffff7106 |
---|
2131 | Author: Brian Warner <warner@lothar.com> |
---|
2132 | Date: Mon Oct 3 23:18:47 2011 -0400 |
---|
2133 | |
---|
2134 | change Publish.bad_share_checkstrings |
---|
2135 | |
---|
2136 | src/allmydata/mutable/publish.py | 6 +++--- |
---|
2137 | 1 files changed, 3 insertions(+), 3 deletions(-) |
---|
2138 | |
---|
2139 | commit 5efebcbd2ee0c2f299ea86f7591d856c0f265304 |
---|
2140 | Author: Brian Warner <warner@lothar.com> |
---|
2141 | Date: Mon Oct 3 23:16:31 2011 -0400 |
---|
2142 | |
---|
2143 | change internals of Publish.update_goal() |
---|
2144 | |
---|
2145 | src/allmydata/mutable/publish.py | 8 +++----- |
---|
2146 | 1 files changed, 3 insertions(+), 5 deletions(-) |
---|
2147 | |
---|
2148 | commit e91b55ff4c2a69165b71f2c7b217ac319ff4c527 |
---|
2149 | Author: Brian Warner <warner@lothar.com> |
---|
2150 | Date: Mon Oct 3 23:11:42 2011 -0400 |
---|
2151 | |
---|
2152 | get rid of Publish.connections |
---|
2153 | |
---|
2154 | src/allmydata/mutable/publish.py | 27 +++++---------------------- |
---|
2155 | 1 files changed, 5 insertions(+), 22 deletions(-) |
---|
2156 | |
---|
2157 | commit 64e9a53b3229ebe2f9ebf7ed502d539311d0e037 |
---|
2158 | Author: Brian Warner <warner@lothar.com> |
---|
2159 | Date: Mon Oct 3 23:05:32 2011 -0400 |
---|
2160 | |
---|
2161 | change Publish.bad_servers |
---|
2162 | |
---|
2163 | src/allmydata/mutable/publish.py | 10 +++++----- |
---|
2164 | 1 files changed, 5 insertions(+), 5 deletions(-) |
---|
2165 | |
---|
2166 | commit b85a934bef315a06bcfe00c9c12a3627fed2b918 |
---|
2167 | Author: Brian Warner <warner@lothar.com> |
---|
2168 | Date: Mon Oct 3 23:03:07 2011 -0400 |
---|
2169 | |
---|
2170 | Publish.bad_servers: fix bug, this should be a set of serverids, not writers |
---|
2171 | |
---|
2172 | src/allmydata/mutable/publish.py | 2 +- |
---|
2173 | 1 files changed, 1 insertions(+), 1 deletions(-) |
---|
2174 | |
---|
2175 | commit 605ea15ec15ed671513819003ccd211cdb9761e0 |
---|
2176 | Author: Brian Warner <warner@lothar.com> |
---|
2177 | Date: Mon Oct 3 23:00:21 2011 -0400 |
---|
2178 | |
---|
2179 | change .placed |
---|
2180 | |
---|
2181 | src/allmydata/mutable/publish.py | 6 +++--- |
---|
2182 | 1 files changed, 3 insertions(+), 3 deletions(-) |
---|
2183 | |
---|
2184 | commit f7aba37b1b345d5b6d5cb16e3b3f6f3c1afb658e |
---|
2185 | Author: Brian Warner <warner@lothar.com> |
---|
2186 | Date: Mon Oct 3 22:59:22 2011 -0400 |
---|
2187 | |
---|
2188 | temporarily stash IServer as .server on the "writer" object |
---|
2189 | |
---|
2190 | src/allmydata/mutable/publish.py | 2 ++ |
---|
2191 | 1 files changed, 2 insertions(+), 0 deletions(-) |
---|
2192 | |
---|
2193 | commit f9b551d788e7db1f187fce5ab98ab5d5fe4e1c36 |
---|
2194 | Author: Brian Warner <warner@lothar.com> |
---|
2195 | Date: Mon Oct 3 22:48:18 2011 -0400 |
---|
2196 | |
---|
2197 | change Publish.goal and API of log_goal() to use IServer, not serverid |
---|
2198 | |
---|
2199 | src/allmydata/mutable/publish.py | 48 ++++++++++++++-------------- |
---|
2200 | 1 files changed, 24 insertions(+), 24 deletions(-) |
---|
2201 | |
---|
2202 | commit 75f20616558e4900b8b1f685dd99aa838de6d452 |
---|
2203 | Author: Brian Warner <warner@lothar.com> |
---|
2204 | Date: Mon Oct 3 15:27:02 2011 -0400 |
---|
2205 | |
---|
2206 | API of ServerMap.get_known_shares() |
---|
2207 | |
---|
2208 | src/allmydata/mutable/publish.py | 16 ++++++++++------ |
---|
2209 | src/allmydata/mutable/servermap.py | 7 ++----- |
---|
2210 | 2 files changed, 12 insertions(+), 11 deletions(-) |
---|
2211 | |
---|
2212 | commit 1c38c9d37bb08221b4418762234b1a62397b3b4b |
---|
2213 | Author: Brian Warner <warner@lothar.com> |
---|
2214 | Date: Mon Oct 3 15:20:29 2011 -0400 |
---|
2215 | |
---|
2216 | Publish.full_serverlist |
---|
2217 | |
---|
2218 | src/allmydata/mutable/publish.py | 10 +++++----- |
---|
2219 | 1 files changed, 5 insertions(+), 5 deletions(-) |
---|
2220 | |
---|
2221 | commit b6cbd215a04b9cde31a7d92a97a7f048622b16f1 |
---|
2222 | Author: Brian Warner <warner@lothar.com> |
---|
2223 | Date: Mon Oct 3 15:12:31 2011 -0400 |
---|
2224 | |
---|
2225 | API of ServerMap.all_servers() |
---|
2226 | |
---|
2227 | src/allmydata/mutable/servermap.py | 19 ++++++------------- |
---|
2228 | 1 files changed, 6 insertions(+), 13 deletions(-) |
---|
2229 | |
---|
2230 | commit e63cd0315fae65357b1727ec6d5ff3c6e0d27c98 |
---|
2231 | Author: Brian Warner <warner@lothar.com> |
---|
2232 | Date: Mon Oct 3 15:10:18 2011 -0400 |
---|
2233 | |
---|
2234 | remove ServerMap.connections, set_rref_for_serverid() |
---|
2235 | |
---|
2236 | src/allmydata/mutable/servermap.py | 11 +---------- |
---|
2237 | 1 files changed, 1 insertions(+), 10 deletions(-) |
---|
2238 | |
---|
2239 | commit 4df52db2f80eb12eefa5d57103c24893cde89553 |
---|
2240 | Author: Brian Warner <warner@lothar.com> |
---|
2241 | Date: Mon Oct 3 15:04:06 2011 -0400 |
---|
2242 | |
---|
2243 | API of ServerMap.mark_server_reachable() |
---|
2244 | |
---|
2245 | src/allmydata/mutable/servermap.py | 7 ++----- |
---|
2246 | 1 files changed, 2 insertions(+), 5 deletions(-) |
---|
2247 | |
---|
2248 | commit 69c715bde77944dc25181b3dbbeb042c816f9a1b |
---|
2249 | Author: Brian Warner <warner@lothar.com> |
---|
2250 | Date: Mon Oct 3 15:03:21 2011 -0400 |
---|
2251 | |
---|
2252 | API of ServerMap.mark_server_unreachable() |
---|
2253 | |
---|
2254 | src/allmydata/mutable/servermap.py | 9 +++------ |
---|
2255 | 1 files changed, 3 insertions(+), 6 deletions(-) |
---|
2256 | |
---|
2257 | commit 3d784d60eec1c508858e3a617e4411ffbcc3c1fa |
---|
2258 | Author: Brian Warner <warner@lothar.com> |
---|
2259 | Date: Mon Oct 3 15:02:03 2011 -0400 |
---|
2260 | |
---|
2261 | API of status.set_privkey_from() |
---|
2262 | |
---|
2263 | src/allmydata/mutable/servermap.py | 7 +++---- |
---|
2264 | 1 files changed, 3 insertions(+), 4 deletions(-) |
---|
2265 | |
---|
2266 | commit 544ed3ea29bed7e66da7fd29ca3f6f076f27a9e6 |
---|
2267 | Author: Brian Warner <warner@lothar.com> |
---|
2268 | Date: Mon Oct 3 15:01:15 2011 -0400 |
---|
2269 | |
---|
2270 | API of status.add_per_server_time() |
---|
2271 | |
---|
2272 | src/allmydata/mutable/servermap.py | 7 ++++--- |
---|
2273 | 1 files changed, 4 insertions(+), 3 deletions(-) |
---|
2274 | |
---|
2275 | commit fffe5008b6320bd1e04c3c68389a2bf2ee383fa8 |
---|
2276 | Author: Brian Warner <warner@lothar.com> |
---|
2277 | Date: Mon Oct 3 14:59:02 2011 -0400 |
---|
2278 | |
---|
2279 | remove unused .versionmap |
---|
2280 | |
---|
2281 | src/allmydata/mutable/servermap.py | 7 ------- |
---|
2282 | 1 files changed, 0 insertions(+), 7 deletions(-) |
---|
2283 | |
---|
2284 | commit 2816562e090d2294179db3588dafcca18de1bc2b |
---|
2285 | Author: Brian Warner <warner@lothar.com> |
---|
2286 | Date: Mon Oct 3 14:57:51 2011 -0400 |
---|
2287 | |
---|
2288 | remove serverid from all log messages. Also one unused lambda. |
---|
2289 | |
---|
2290 | src/allmydata/mutable/servermap.py | 30 +++++++++++++------------- |
---|
2291 | 1 files changed, 15 insertions(+), 15 deletions(-) |
---|
2292 | |
---|
2293 | commit 28fa6b1a2738fa98c1f1dbd3d0e01ae98912d11f |
---|
2294 | Author: Brian Warner <warner@lothar.com> |
---|
2295 | Date: Mon Oct 3 14:54:30 2011 -0400 |
---|
2296 | |
---|
2297 | removed unused _readers |
---|
2298 | |
---|
2299 | src/allmydata/mutable/servermap.py | 3 --- |
---|
2300 | 1 files changed, 0 insertions(+), 3 deletions(-) |
---|
2301 | |
---|
2302 | commit a8e4ed3d645ab592d1add6a1e69b6d1ebfb77817 |
---|
2303 | Author: Brian Warner <warner@lothar.com> |
---|
2304 | Date: Mon Oct 3 14:54:16 2011 -0400 |
---|
2305 | |
---|
2306 | remove unused _sharemap |
---|
2307 | |
---|
2308 | src/allmydata/mutable/servermap.py | 1 - |
---|
2309 | 1 files changed, 0 insertions(+), 1 deletions(-) |
---|
2310 | |
---|
2311 | commit 3f072e55cf1d0700f9fffe23f8f3a475725df588 |
---|
2312 | Author: Brian Warner <warner@lothar.com> |
---|
2313 | Date: Mon Oct 3 14:49:03 2011 -0400 |
---|
2314 | |
---|
2315 | _must_query |
---|
2316 | |
---|
2317 | src/allmydata/mutable/servermap.py | 8 ++++---- |
---|
2318 | 1 files changed, 4 insertions(+), 4 deletions(-) |
---|
2319 | |
---|
2320 | commit c599a059b8df3f5785e4bf89fb6ecc6d8dcd708b |
---|
2321 | Author: Brian Warner <warner@lothar.com> |
---|
2322 | Date: Mon Oct 3 14:48:05 2011 -0400 |
---|
2323 | |
---|
2324 | _queries_outstanding |
---|
2325 | |
---|
2326 | src/allmydata/mutable/servermap.py | 16 +++++++--------- |
---|
2327 | 1 files changed, 7 insertions(+), 9 deletions(-) |
---|
2328 | |
---|
2329 | commit 7743759f98ac2c07926b2fdbd80bf52dfab33085 |
---|
2330 | Author: Brian Warner <warner@lothar.com> |
---|
2331 | Date: Mon Oct 3 14:46:17 2011 -0400 |
---|
2332 | |
---|
2333 | _empty_servers |
---|
2334 | |
---|
2335 | src/allmydata/mutable/servermap.py | 5 ++--- |
---|
2336 | 1 files changed, 2 insertions(+), 3 deletions(-) |
---|
2337 | |
---|
2338 | commit 6bb1825916828a713a32cdf7f7411fa3ea2e1e5d |
---|
2339 | Author: Brian Warner <warner@lothar.com> |
---|
2340 | Date: Mon Oct 3 14:45:39 2011 -0400 |
---|
2341 | |
---|
2342 | _good_servers |
---|
2343 | |
---|
2344 | src/allmydata/mutable/servermap.py | 4 ++-- |
---|
2345 | 1 files changed, 2 insertions(+), 2 deletions(-) |
---|
2346 | |
---|
2347 | commit 1768fab1b51d8dd93ecabbaaabfadfa20cf6c3d4 |
---|
2348 | Author: Brian Warner <warner@lothar.com> |
---|
2349 | Date: Mon Oct 3 14:44:59 2011 -0400 |
---|
2350 | |
---|
2351 | _bad_servers |
---|
2352 | |
---|
2353 | src/allmydata/mutable/servermap.py | 14 +++++++------- |
---|
2354 | 1 files changed, 7 insertions(+), 7 deletions(-) |
---|
2355 | |
---|
2356 | commit dccbaef30f0ba714c746bf6d4a1a803c36e17b65 |
---|
2357 | Author: Brian Warner <warner@lothar.com> |
---|
2358 | Date: Mon Oct 3 14:41:54 2011 -0400 |
---|
2359 | |
---|
2360 | API of _try_to_set_pubkey() |
---|
2361 | |
---|
2362 | src/allmydata/mutable/servermap.py | 7 ++++--- |
---|
2363 | 1 files changed, 4 insertions(+), 3 deletions(-) |
---|
2364 | |
---|
2365 | commit 0481ea70042ba3575f15eac7fd0780f8ece580cc |
---|
2366 | Author: Brian Warner <warner@lothar.com> |
---|
2367 | Date: Mon Oct 3 14:35:02 2011 -0400 |
---|
2368 | |
---|
2369 | API of notify_server_corruption() |
---|
2370 | |
---|
2371 | src/allmydata/mutable/servermap.py | 6 +++--- |
---|
2372 | 1 files changed, 3 insertions(+), 3 deletions(-) |
---|
2373 | |
---|
2374 | commit bea9cba18fb3b9c11bb22f18356a263ecec7351e |
---|
2375 | Author: Brian Warner <warner@lothar.com> |
---|
2376 | Date: Mon Oct 3 14:34:09 2011 -0400 |
---|
2377 | |
---|
2378 | API of _got_signature_one_share() |
---|
2379 | |
---|
2380 | src/allmydata/mutable/servermap.py | 9 +++++---- |
---|
2381 | 1 files changed, 5 insertions(+), 4 deletions(-) |
---|
2382 | |
---|
2383 | commit 1520123583cf78650706e114b15bb5b0ac1f4a14 |
---|
2384 | Author: Brian Warner <warner@lothar.com> |
---|
2385 | Date: Mon Oct 3 14:32:33 2011 -0400 |
---|
2386 | |
---|
2387 | API of _try_to_validate_privkey() |
---|
2388 | |
---|
2389 | src/allmydata/mutable/servermap.py | 9 +++++---- |
---|
2390 | 1 files changed, 5 insertions(+), 4 deletions(-) |
---|
2391 | |
---|
2392 | commit 938852c9c8519c7a078f58a9b1f4dd8ec8b6715e |
---|
2393 | Author: Brian Warner <warner@lothar.com> |
---|
2394 | Date: Mon Oct 3 14:31:48 2011 -0400 |
---|
2395 | |
---|
2396 | API and internals of _add_lease_failed() |
---|
2397 | |
---|
2398 | src/allmydata/mutable/servermap.py | 8 ++++---- |
---|
2399 | 1 files changed, 4 insertions(+), 4 deletions(-) |
---|
2400 | |
---|
2401 | commit 3843dba367e3c19e176a622ab853cb51d2472ddf |
---|
2402 | Author: Brian Warner <warner@lothar.com> |
---|
2403 | Date: Mon Oct 3 14:30:37 2011 -0400 |
---|
2404 | |
---|
2405 | API of _privkey_query_failed() |
---|
2406 | |
---|
2407 | src/allmydata/mutable/servermap.py | 5 +++-- |
---|
2408 | 1 files changed, 3 insertions(+), 2 deletions(-) |
---|
2409 | |
---|
2410 | commit 2219a710e1633cd57d0ca0786490de87b3e19ba7 |
---|
2411 | Author: Brian Warner <warner@lothar.com> |
---|
2412 | Date: Mon Oct 3 14:29:43 2011 -0400 |
---|
2413 | |
---|
2414 | fix bug in call to _privkey_query_failed, unrelated to refactoring |
---|
2415 | |
---|
2416 | src/allmydata/mutable/servermap.py | 2 +- |
---|
2417 | 1 files changed, 1 insertions(+), 1 deletions(-) |
---|
2418 | |
---|
2419 | commit ae615bec7d0d1b269710b6902797b12f9592ad62 |
---|
2420 | Author: Brian Warner <warner@lothar.com> |
---|
2421 | Date: Mon Oct 3 14:27:17 2011 -0400 |
---|
2422 | |
---|
2423 | API of _got_corrupt_share() |
---|
2424 | |
---|
2425 | src/allmydata/mutable/servermap.py | 17 +++++++++-------- |
---|
2426 | 1 files changed, 9 insertions(+), 8 deletions(-) |
---|
2427 | |
---|
2428 | commit cb51c95a6f4e077278157a77dab060c8c1ad7a81 |
---|
2429 | Author: Brian Warner <warner@lothar.com> |
---|
2430 | Date: Mon Oct 3 14:23:16 2011 -0400 |
---|
2431 | |
---|
2432 | API of _got_results() |
---|
2433 | |
---|
2434 | src/allmydata/mutable/servermap.py | 9 +++++---- |
---|
2435 | 1 files changed, 5 insertions(+), 4 deletions(-) |
---|
2436 | |
---|
2437 | commit bac9154fe0af18f226999a58ffc2362d8cf4b802 |
---|
2438 | Author: Brian Warner <warner@lothar.com> |
---|
2439 | Date: Mon Oct 3 14:19:19 2011 -0400 |
---|
2440 | |
---|
2441 | API of _query_failed() |
---|
2442 | |
---|
2443 | src/allmydata/mutable/servermap.py | 5 +++-- |
---|
2444 | 1 files changed, 3 insertions(+), 2 deletions(-) |
---|
2445 | |
---|
2446 | commit fdc29a8ca95d4b5c503e5382b9e5d4d02141ba12 |
---|
2447 | Author: Brian Warner <warner@lothar.com> |
---|
2448 | Date: Mon Oct 3 14:17:20 2011 -0400 |
---|
2449 | |
---|
2450 | API of _do_read() |
---|
2451 | |
---|
2452 | src/allmydata/mutable/servermap.py | 6 ++++-- |
---|
2453 | 1 files changed, 4 insertions(+), 2 deletions(-) |
---|
2454 | |
---|
2455 | commit e7e9e338f28d004aa4d423d11c65f1e271ac7322 |
---|
2456 | Author: Brian Warner <warner@lothar.com> |
---|
2457 | Date: Mon Oct 3 14:20:21 2011 -0400 |
---|
2458 | |
---|
2459 | API of _do_query() |
---|
2460 | |
---|
2461 | src/allmydata/mutable/servermap.py | 15 +++++++-------- |
---|
2462 | 1 files changed, 7 insertions(+), 8 deletions(-) |
---|
2463 | |
---|
2464 | commit 330625b9dac4cdbe72a11464a893065b9aeed453 |
---|
2465 | Author: Brian Warner <warner@lothar.com> |
---|
2466 | Date: Mon Oct 3 14:43:05 2011 -0400 |
---|
2467 | |
---|
2468 | next step: first batch of updates to ServermapUpdater |
---|
2469 | |
---|
2470 | updates: |
---|
2471 | most method-local variables in update() |
---|
2472 | API of _build_initial_querylist() |
---|
2473 | API of _send_initial_requests() |
---|
2474 | .full_serverlist |
---|
2475 | .extra_servers |
---|
2476 | |
---|
2477 | src/allmydata/mutable/servermap.py | 39 ++++++++++++++------------ |
---|
2478 | 1 files changed, 21 insertions(+), 18 deletions(-) |
---|
2479 | |
---|
2480 | commit 4aadc584fa7dcb2daa86b048c81dee0049ba26d9 |
---|
2481 | Author: Brian Warner <warner@lothar.com> |
---|
2482 | Date: Mon Oct 3 15:07:00 2011 -0400 |
---|
2483 | |
---|
2484 | internal change: index _bad_shares with IServer |
---|
2485 | |
---|
2486 | src/allmydata/mutable/servermap.py | 20 ++++++++++---------- |
---|
2487 | 1 files changed, 10 insertions(+), 10 deletions(-) |
---|
2488 | |
---|
2489 | commit 16d4e6fa82a9907dbdc92094213387c6a4164e41 |
---|
2490 | Author: Brian Warner <warner@lothar.com> |
---|
2491 | Date: Mon Oct 3 18:20:47 2011 +0100 |
---|
2492 | |
---|
2493 | internal change: index _known_shares with IServer instead of serverid |
---|
2494 | |
---|
2495 | callers are unchanged |
---|
2496 | |
---|
2497 | src/allmydata/mutable/servermap.py | 42 +++++++++++++++---------- |
---|
2498 | 1 files changed, 25 insertions(+), 17 deletions(-) |
---|
2499 | |
---|
2500 | commit ceeb5f4938cc814a0c75d1b8f4018aed965c2176 |
---|
2501 | Author: Brian Warner <warner@lothar.com> |
---|
2502 | Date: Mon Oct 3 18:11:43 2011 +0100 |
---|
2503 | |
---|
2504 | accessors and name cleanup for servermap.Servermap.last_update_mode/time |
---|
2505 | |
---|
2506 | src/allmydata/mutable/filenode.py | 6 +++--- |
---|
2507 | src/allmydata/mutable/publish.py | 4 ++-- |
---|
2508 | src/allmydata/mutable/servermap.py | 17 +++++++++++------ |
---|
2509 | 3 files changed, 16 insertions(+), 11 deletions(-) |
---|
2510 | |
---|
2511 | commit 8d3cbda82661c0a7e5c3d3b65cf7a5d5ab7e32c0 |
---|
2512 | Author: Brian Warner <warner@lothar.com> |
---|
2513 | Date: Mon Oct 3 18:11:14 2011 +0100 |
---|
2514 | |
---|
2515 | accessors and name cleanup for servermap.Servermap.problems |
---|
2516 | |
---|
2517 | src/allmydata/mutable/servermap.py | 21 +++++++++++++-------- |
---|
2518 | src/allmydata/test/test_mutable.py | 6 +++--- |
---|
2519 | 2 files changed, 16 insertions(+), 11 deletions(-) |
---|
2520 | |
---|
2521 | commit 348f57988f79389db0aab7672e6eaa9a6d8e3219 |
---|
2522 | Author: Brian Warner <warner@lothar.com> |
---|
2523 | Date: Mon Oct 3 18:10:41 2011 +0100 |
---|
2524 | |
---|
2525 | accessors and name cleanup for servermap.Servermap.bad_shares |
---|
2526 | |
---|
2527 | src/allmydata/mutable/publish.py | 2 +- |
---|
2528 | src/allmydata/mutable/servermap.py | 30 ++++++++++++++----------- |
---|
2529 | 2 files changed, 18 insertions(+), 14 deletions(-) |
---|
2530 | |
---|
2531 | commit 520c9368134673cdf76c653c5e1bb91c2ab5d51e |
---|
2532 | Author: Brian Warner <warner@lothar.com> |
---|
2533 | Date: Mon Oct 3 18:10:05 2011 +0100 |
---|
2534 | |
---|
2535 | accessors and name cleanup for servermap.Servermap.servermap . |
---|
2536 | |
---|
2537 | src/allmydata/mutable/publish.py | 14 +++++---- |
---|
2538 | src/allmydata/mutable/servermap.py | 38 ++++++++++++++----------- |
---|
2539 | 2 files changed, 29 insertions(+), 23 deletions(-) |
---|
2540 | |
---|
2541 | commit b8b8dc38287a91dbdf494426ac801d9381ce5841 |
---|
2542 | Author: Brian Warner <warner@lothar.com> |
---|
2543 | Date: Mon Oct 3 18:08:02 2011 +0100 |
---|
2544 | |
---|
2545 | fix reachable_servers |
---|
2546 | |
---|
2547 | src/allmydata/mutable/checker.py | 3 ++- |
---|
2548 | src/allmydata/mutable/publish.py | 4 +++- |
---|
2549 | src/allmydata/mutable/servermap.py | 12 ++++++++++-- |
---|
2550 | 3 files changed, 15 insertions(+), 4 deletions(-) |
---|
2551 | |
---|
2552 | commit cb0cfd1adfefad357c187aaaf690c3df68b622bc |
---|
2553 | Author: Brian Warner <warner@lothar.com> |
---|
2554 | Date: Mon Oct 3 18:06:03 2011 +0100 |
---|
2555 | |
---|
2556 | fix Servermap.unreachable_servers |
---|
2557 | |
---|
2558 | src/allmydata/mutable/servermap.py | 11 ++++++++--- |
---|
2559 | 1 files changed, 8 insertions(+), 3 deletions(-) |
---|
2560 | |
---|
2561 | commit 2d9ea79b94bd4db674d40386fda90825785ac495 |
---|
2562 | Author: Brian Warner <warner@lothar.com> |
---|
2563 | Date: Mon Oct 3 18:03:48 2011 +0100 |
---|
2564 | |
---|
2565 | give ServerMap a StorageFarmBroker, temporary |
---|
2566 | |
---|
2567 | this makes it possible for the ServerMap to accept bare serverids and still |
---|
2568 | build data structures with IServers |
---|
2569 | |
---|
2570 | src/allmydata/mutable/checker.py | 2 +- |
---|
2571 | src/allmydata/mutable/filenode.py | 2 +- |
---|
2572 | src/allmydata/mutable/publish.py | 2 +- |
---|
2573 | src/allmydata/mutable/servermap.py | 5 +++-- |
---|
2574 | src/allmydata/test/test_mutable.py | 8 ++++---- |
---|
2575 | 5 files changed, 10 insertions(+), 9 deletions(-) |
---|
2576 | |
---|
2577 | commit 718d1aeff6fded893f65397806d22ece928b0dd4 |
---|
2578 | Author: Brian Warner <warner@lothar.com> |
---|
2579 | Date: Mon Oct 3 13:43:30 2011 -0400 |
---|
2580 | |
---|
2581 | add StorageFarmBroker.get_server_for_id(), temporary helper |
---|
2582 | |
---|
2583 | This will go away once we're passing IServers everywhere. |
---|
2584 | |
---|
2585 | src/allmydata/storage_client.py | 2 ++ |
---|
2586 | src/allmydata/test/no_network.py | 13 +++++++++++++ |
---|
2587 | 2 files changed, 15 insertions(+), 0 deletions(-) |
---|
2588 | |
---|
2589 | commit ece20231d7fda0d503704842a4aa068dfbc2e54e |
---|
2590 | Author: Brian Warner <warner@lothar.com> |
---|
2591 | Date: Sun Oct 2 01:11:50 2011 +0100 |
---|
2592 | |
---|
2593 | add proper accessors for Servermap.connections, to make refactoring easier |
---|
2594 | |
---|
2595 | src/allmydata/mutable/publish.py | 6 +++--- |
---|
2596 | src/allmydata/mutable/retrieve.py | 10 +++++----- |
---|
2597 | src/allmydata/mutable/servermap.py | 17 +++++++++++------ |
---|
2598 | 3 files changed, 19 insertions(+), 14 deletions(-) |
---|
2599 | |
---|
2600 | commit 3b943d6bf302ff702668081a612fc4fe2604cf9c |
---|
2601 | Author: Brian Warner <warner@lothar.com> |
---|
2602 | Date: Fri Sep 23 10:34:30 2011 -0700 |
---|
2603 | |
---|
2604 | mutable/servermap.py and neighbors: s/peer/server/ |
---|
2605 | |
---|
2606 | src/allmydata/mutable/checker.py | 22 +- |
---|
2607 | src/allmydata/mutable/publish.py | 204 +++++++------- |
---|
2608 | src/allmydata/mutable/servermap.py | 402 +++++++++++++------------- |
---|
2609 | src/allmydata/test/test_mutable.py | 18 +- |
---|
2610 | 4 files changed, 323 insertions(+), 323 deletions(-) |
---|
2611 | ] |
---|
2612 | [TAG allmydata-tahoe-1.9.0 |
---|
2613 | warner@lothar.com**20111031052301 |
---|
2614 | Ignore-this: cf598210dd1f314a1a121bf29a3d5918 |
---|
2615 | ] |
---|
2616 | Patch bundle hash: |
---|
2617 | bc3707888ccc26be3f54ec95edc134a4bb1df633 |
---|
2618 | |
---|
2619 | -----------------------------4130910946408857731019160579 |
---|
2620 | Content-Disposition: form-data; name="description" |
---|
2621 | |
---|
2622 | Change capitalization of WUI and introducer welcome page headings; add test for introducer welcome page. Also fix a typo in a CSS class name. fixes #1708 |
---|