1 | 1 patch for repository davidsarah@tahoe-lafs.org:/home/source/darcs/tahoe/ticket999-S3-backend: |
---|
2 | |
---|
3 | Thu Oct 27 22:53:14 BST 2011 david-sarah@jacaranda.org |
---|
4 | * S3 backend: support DevPay. Includes tests of config option, but interoperability with S3 has not been tested yet. refs #999 |
---|
5 | |
---|
6 | New patches: |
---|
7 | |
---|
8 | [S3 backend: support DevPay. Includes tests of config option, but interoperability with S3 has not been tested yet. refs #999 |
---|
9 | david-sarah@jacaranda.org**20111027215314 |
---|
10 | Ignore-this: 554870770ce7ce393d8cea195d365ab9 |
---|
11 | ] { |
---|
12 | hunk ./docs/backends/S3.rst 40 |
---|
13 | The system time of the storage server must be correct to within 15 minutes |
---|
14 | in order for S3 to accept the authentication provided with requests. |
---|
15 | |
---|
16 | + |
---|
17 | +DevPay |
---|
18 | +====== |
---|
19 | + |
---|
20 | +Optionally, Amazon `DevPay`_ may be used to delegate billing for a service |
---|
21 | +based on Tahoe-LAFS and S3 to Amazon. |
---|
22 | + |
---|
23 | +If DevPay is to be used, the user token (in base64 form) must be stored in |
---|
24 | +the file ``private/s3usertoken``. DevPay-related request headers will be |
---|
25 | +sent only if this file is present when the server is started. Each combination |
---|
26 | +of user and DevPay product has a unique user token, so this token implies the |
---|
27 | +product, and therefore the billing structure. It is currently assumed that |
---|
28 | +only one user token is needed by a given storage server. |
---|
29 | + |
---|
30 | +.. _DevPay: http://docs.amazonwebservices.com/AmazonDevPay/latest/DevPayGettingStartedGuide/ |
---|
31 | hunk ./src/allmydata/node.py 6 |
---|
32 | from base64 import b32decode, b32encode |
---|
33 | |
---|
34 | from twisted.python import log as twlog |
---|
35 | +from twisted.python.filepath import FilePath |
---|
36 | from twisted.application import service |
---|
37 | from twisted.internet import defer, reactor |
---|
38 | from foolscap.api import Tub, eventually, app_versions |
---|
39 | hunk ./src/allmydata/node.py 16 |
---|
40 | from allmydata.util import fileutil, iputil, observer |
---|
41 | from allmydata.util.assertutil import precondition, _assert |
---|
42 | from allmydata.util.fileutil import abspath_expanduser_unicode |
---|
43 | -from allmydata.util.encodingutil import get_filesystem_encoding, quote_output |
---|
44 | +from allmydata.util.encodingutil import get_filesystem_encoding, quote_output, quote_filepath |
---|
45 | from allmydata.util.abbreviate import parse_abbreviated_size |
---|
46 | |
---|
47 | |
---|
48 | hunk ./src/allmydata/node.py 212 |
---|
49 | # TODO: merge this with allmydata.get_package_versions |
---|
50 | return dict(app_versions.versions) |
---|
51 | |
---|
52 | + def _get_private_config_filepath(self, name): |
---|
53 | + return FilePath(self.basedir).child("private").child(name) |
---|
54 | + |
---|
55 | def write_private_config(self, name, value): |
---|
56 | """Write the (string) contents of a private config file (which is a |
---|
57 | config file that resides within the subdirectory named 'private'), and |
---|
58 | hunk ./src/allmydata/node.py 221 |
---|
59 | return it. Any leading or trailing whitespace will be stripped from |
---|
60 | the data. |
---|
61 | """ |
---|
62 | - privname = os.path.join(self.basedir, "private", name) |
---|
63 | - open(privname, "w").write(value.strip()) |
---|
64 | + self._get_private_config_filepath(name).setContent(value.strip()) |
---|
65 | + |
---|
66 | + def get_optional_private_config(self, name): |
---|
67 | + """Try to get the (string) contents of a private config file (which |
---|
68 | + is a config file that resides within the subdirectory named |
---|
69 | + 'private'), and return it. Any leading or trailing whitespace will be |
---|
70 | + stripped from the data. If the file does not exist, return None. |
---|
71 | + """ |
---|
72 | + priv_fp = self._get_private_config_filepath(name) |
---|
73 | + try: |
---|
74 | + value = priv_fp.getContent() |
---|
75 | + except EnvironmentError: |
---|
76 | + if priv_fp.exists(): |
---|
77 | + raise |
---|
78 | + return None |
---|
79 | + return value.strip() |
---|
80 | |
---|
81 | def get_or_create_private_config(self, name, default=_None): |
---|
82 | """Try to get the (string) contents of a private config file (which |
---|
83 | hunk ./src/allmydata/node.py 250 |
---|
84 | If 'default' is a string, use it as a default value. If not, treat it |
---|
85 | as a zero-argument callable that is expected to return a string. |
---|
86 | """ |
---|
87 | - privname = os.path.join(self.basedir, "private", name) |
---|
88 | - try: |
---|
89 | - value = fileutil.read(privname) |
---|
90 | - except EnvironmentError: |
---|
91 | - if os.path.exists(privname): |
---|
92 | - raise |
---|
93 | + value = self.get_optional_private_config(name) |
---|
94 | + if value is None: |
---|
95 | + priv_fp = self._get_private_config_filepath(name) |
---|
96 | if default is _None: |
---|
97 | raise MissingConfigEntry("The required configuration file %s is missing." |
---|
98 | hunk ./src/allmydata/node.py 255 |
---|
99 | - % (quote_output(privname),)) |
---|
100 | + % (quote_filepath(priv_fp),)) |
---|
101 | elif isinstance(default, basestring): |
---|
102 | hunk ./src/allmydata/node.py 257 |
---|
103 | - value = default |
---|
104 | + value = default.strip() |
---|
105 | else: |
---|
106 | hunk ./src/allmydata/node.py 259 |
---|
107 | - value = default() |
---|
108 | - fileutil.write(privname, value) |
---|
109 | - return value.strip() |
---|
110 | + value = default().strip() |
---|
111 | + priv_fp.setContent(value) |
---|
112 | + return value |
---|
113 | |
---|
114 | def write_config(self, name, value, mode="w"): |
---|
115 | """Write a string to a config file.""" |
---|
116 | hunk ./src/allmydata/storage/backends/s3/s3_backend.py 40 |
---|
117 | |
---|
118 | accesskeyid = config.get_config("storage", "s3.access_key_id") |
---|
119 | secretkey = config.get_or_create_private_config("s3secret") |
---|
120 | + usertoken = config.get_optional_private_config("s3usertoken") |
---|
121 | url = config.get_config("storage", "s3.url", "http://s3.amazonaws.com") |
---|
122 | bucketname = config.get_config("storage", "s3.bucket") |
---|
123 | |
---|
124 | hunk ./src/allmydata/storage/backends/s3/s3_backend.py 44 |
---|
125 | - s3bucket = S3Bucket(accesskeyid, secretkey, url, bucketname) |
---|
126 | + s3bucket = S3Bucket(accesskeyid, secretkey, url, bucketname, usertoken) |
---|
127 | return S3Backend(s3bucket, corruption_advisory_dir) |
---|
128 | |
---|
129 | |
---|
130 | hunk ./src/allmydata/storage/backends/s3/s3_bucket.py 14 |
---|
131 | I represent a real S3 bucket, accessed using the txaws library. |
---|
132 | """ |
---|
133 | |
---|
134 | - def __init__(self, access_key, secret_key, url, bucketname): |
---|
135 | + def __init__(self, access_key, secret_key, url, bucketname, usertoken=None): |
---|
136 | # We only depend on txaws when this class is actually instantiated. |
---|
137 | hunk ./src/allmydata/storage/backends/s3/s3_bucket.py 16 |
---|
138 | - from txaws.service import AWSServiceRegion |
---|
139 | + from txaws.credentials import AWSCredentials |
---|
140 | + from txaws.service import AWSServiceEndpoint |
---|
141 | + from txaws.s3.client import S3Client, Query |
---|
142 | from txaws.s3 import model |
---|
143 | from txaws.s3.exception import S3Error |
---|
144 | |
---|
145 | hunk ./src/allmydata/storage/backends/s3/s3_bucket.py 22 |
---|
146 | - region = AWSServiceRegion(access_key=access_key, secret_key=secret_key, s3_uri=url) |
---|
147 | + creds = AWSCredentials(access_key=access_key, secret_key=secret_key) |
---|
148 | + endpoint = AWSServiceEndpoint(uri=url) |
---|
149 | |
---|
150 | hunk ./src/allmydata/storage/backends/s3/s3_bucket.py 25 |
---|
151 | - self.client = region.get_s3_client() |
---|
152 | + query_factory = None |
---|
153 | + if usertoken is not None: |
---|
154 | + class DevPayQuery(Query): |
---|
155 | + def __init__(self, *args, **kwargs): |
---|
156 | + amz_headers = kwargs.get("amz_headers", {}) |
---|
157 | + amz_headers["security-token"] = usertoken |
---|
158 | + kwargs["amz_headers"] = amz_headers |
---|
159 | + Query.__init__(self, *args, **kwargs) |
---|
160 | + query_factory = DevPayQuery |
---|
161 | + |
---|
162 | + self.client = S3Client(creds=creds, endpoint=endpoint, query_factory=query_factory) |
---|
163 | self.bucketname = bucketname |
---|
164 | self.model = model |
---|
165 | self.S3Error = S3Error |
---|
166 | hunk ./src/allmydata/test/test_client.py 157 |
---|
167 | "reserved_space = bogus\n") |
---|
168 | self.failUnlessRaises(InvalidValueError, client.Client, basedir) |
---|
169 | |
---|
170 | - # XXX these tests need to mock the s3_bucket.S3Bucket constructor, to |
---|
171 | - # check that it is called with the right values. |
---|
172 | - |
---|
173 | def _write_s3secret(self, basedir, secret="dummy"): |
---|
174 | os.mkdir(os.path.join(basedir, "private")) |
---|
175 | fileutil.write(os.path.join(basedir, "private", "s3secret"), secret) |
---|
176 | hunk ./src/allmydata/test/test_client.py 161 |
---|
177 | |
---|
178 | - def test_s3_config_good_defaults(self): |
---|
179 | - basedir = "client.Basic.test_s3_config_good" |
---|
180 | + @mock.patch('allmydata.storage.backends.s3.s3_bucket.S3Bucket') |
---|
181 | + def test_s3_config_good_defaults(self, mock_S3Bucket): |
---|
182 | + basedir = "client.Basic.test_s3_config_good_defaults" |
---|
183 | os.mkdir(basedir) |
---|
184 | self._write_s3secret(basedir) |
---|
185 | hunk ./src/allmydata/test/test_client.py 166 |
---|
186 | - fileutil.write(os.path.join(basedir, "tahoe.cfg"), |
---|
187 | - BASECONFIG + |
---|
188 | - "[storage]\n" + |
---|
189 | - "enabled = true\n" + |
---|
190 | - "backend = s3\n" + |
---|
191 | - "s3.access_key_id = keyid\n" + |
---|
192 | - "s3.bucket = test\n") |
---|
193 | + config = (BASECONFIG + |
---|
194 | + "[storage]\n" + |
---|
195 | + "enabled = true\n" + |
---|
196 | + "backend = s3\n" + |
---|
197 | + "s3.access_key_id = keyid\n" + |
---|
198 | + "s3.bucket = test\n") |
---|
199 | + fileutil.write(os.path.join(basedir, "tahoe.cfg"), config) |
---|
200 | + |
---|
201 | c = client.Client(basedir) |
---|
202 | hunk ./src/allmydata/test/test_client.py 175 |
---|
203 | + mock_S3Bucket.assert_called_with("keyid", "dummy", "http://s3.amazonaws.com", "test", None) |
---|
204 | server = c.getServiceNamed("storage") |
---|
205 | self.failUnless(isinstance(server.backend, S3Backend), server.backend) |
---|
206 | |
---|
207 | hunk ./src/allmydata/test/test_client.py 179 |
---|
208 | + mock_S3Bucket.reset_mock() |
---|
209 | + fileutil.write(os.path.join(basedir, "private", "s3usertoken"), "usertoken") |
---|
210 | + fileutil.write(os.path.join(basedir, "tahoe.cfg"), config + "s3.url = http://s3.example.com\n") |
---|
211 | + |
---|
212 | + c = client.Client(basedir) |
---|
213 | + mock_S3Bucket.assert_called_with("keyid", "dummy", "http://s3.example.com", "test", "usertoken") |
---|
214 | + |
---|
215 | def test_s3_readonly_bad(self): |
---|
216 | basedir = "client.Basic.test_s3_readonly_bad" |
---|
217 | os.mkdir(basedir) |
---|
218 | } |
---|
219 | |
---|
220 | Context: |
---|
221 | |
---|
222 | [docs/backends/S3.rst: document the requirement for the storage server to have the correct time to within 15 minutes. refs #999 |
---|
223 | david-sarah@jacaranda.org**20111025100827 |
---|
224 | Ignore-this: dee22e41bee85abe107c4a8457321ce6 |
---|
225 | ] |
---|
226 | [S3 backend: the s3.region option is unnecessary; it is only used for EC2 endpoints, and we only need an S3 one. Also simplify wording in S3.rst. refs #999 |
---|
227 | david-sarah@jacaranda.org**20111023235033 |
---|
228 | Ignore-this: b28b72e9047f996b7774e9279daadd9 |
---|
229 | ] |
---|
230 | [S3 backend: remove support for [storage]readonly option. refs #999, #1568 |
---|
231 | david-sarah@jacaranda.org**20111022045644 |
---|
232 | Ignore-this: 546eee72a9c708a7f101178fcc044261 |
---|
233 | ] |
---|
234 | [mock_s3.py: remove bucketname argument to MockS3Bucket constructor, since it is not needed. refs #999 |
---|
235 | david-sarah@jacaranda.org**20111022045341 |
---|
236 | Ignore-this: 872d91c8475e1fbbccb6fd580aad8c4e |
---|
237 | ] |
---|
238 | [test_system.py: check that there is no error output from invocations of 'tahoe debug'. refs #999 |
---|
239 | david-sarah@jacaranda.org**20111021044102 |
---|
240 | Ignore-this: 8dfb3a668bfebdcbf7f3f295d345fb98 |
---|
241 | ] |
---|
242 | [scripts/debug.py: in catalog-shares, gracefully handle the case where a share has no leases (for example because it is an S3 share). refs #999 |
---|
243 | david-sarah@jacaranda.org**20111021034138 |
---|
244 | Ignore-this: 28ce846977095e9bfcb55364e2388e70 |
---|
245 | ] |
---|
246 | [test_system.py: fix SystemWithS3Backend.test_mutable by only requiring the line specifying which nodeid the lease secrets are for when the node has a disk backend. refs #999 |
---|
247 | david-sarah@jacaranda.org**20111021032106 |
---|
248 | Ignore-this: dc5e6e6f9f7d5a898408f2070afca4a2 |
---|
249 | ] |
---|
250 | [test_system.py: ensure that subclasses of SystemTest use different test directories. refs #999 |
---|
251 | david-sarah@jacaranda.org**20111021014630 |
---|
252 | Ignore-this: 938ab8addc92dcd14fccc179ae095feb |
---|
253 | ] |
---|
254 | [test_system.py: make checks in _test_runner more picky about field names to avoid accidental suffix matches. refs #999 |
---|
255 | david-sarah@jacaranda.org**20111021014527 |
---|
256 | Ignore-this: f46c364efd86b0b40f6448bc0a95c495 |
---|
257 | ] |
---|
258 | [test_system.py: rename ServerTestWith*Backend to ServerWith*Backend, for consistency with tst_storage.py. refs #999 |
---|
259 | david-sarah@jacaranda.org**20111021011001 |
---|
260 | Ignore-this: 47435b4ef02d4267d528b3a99bb2ec07 |
---|
261 | ] |
---|
262 | [test_system.py: fix a typo. refs #999 |
---|
263 | david-sarah@jacaranda.org**20111021010846 |
---|
264 | Ignore-this: f8daf272b0266d6df6a13f88f2dd67 |
---|
265 | ] |
---|
266 | [test_system.py: enable system tests to run against S3 backend as well as disk backend. refs #999 |
---|
267 | david-sarah@jacaranda.org**20111021001632 |
---|
268 | Ignore-this: bbe5c7479a05db40165800211c68ce54 |
---|
269 | ] |
---|
270 | [Add a '[storage]backend = mock_s3' option for use by tests. Move mock_s3.py to src/allmydataa/storage/backends/s3 since it is now imported by non-test code. refs #999 |
---|
271 | david-sarah@jacaranda.org**20111021001518 |
---|
272 | Ignore-this: 8e0643a81a55b319b0f757f7da9acfd6 |
---|
273 | ] |
---|
274 | [mutable/retrieve: don't write() after we've been pauseProducer'ed |
---|
275 | Brian Warner <warner@lothar.com>**20111017002400 |
---|
276 | Ignore-this: 417880ec53285c4887f8080e1ddeedc8 |
---|
277 | |
---|
278 | This fixes a test failure found against current Twisted trunk in |
---|
279 | test_mutable.Filenode.test_retrieve_producer_mdmf (when it uses |
---|
280 | PausingAndStoppingConsumer). There must be some sort of race: I could |
---|
281 | make it fail against Twisted-11.0 if I just increased the 0.5s delay in |
---|
282 | test_download.PausingAndStoppingConsumer to about 0.6s, and could make |
---|
283 | Twisted-trunk pass by reducing it to about 0.3s . |
---|
284 | |
---|
285 | I fixed the test (as opposed to the bug) by replacing the delay with a |
---|
286 | simple reliable eventually(), and adding extra asserts to fail the test |
---|
287 | if the consumer's write() method is called while the producer is |
---|
288 | supposed to be paused |
---|
289 | |
---|
290 | The bug itself was that mutable.retrieve.Retrieve wasn't checking the |
---|
291 | "stopped" flag after resuming from a pause, and thus delivered one |
---|
292 | segment to a consumer that wasn't expecting it. I split out |
---|
293 | stopped-flag-checking to separate function, which is now called |
---|
294 | immediately after _check_for_paused(). I also cleaned up some Deferred |
---|
295 | usage and whitespace. |
---|
296 | ] |
---|
297 | [remove interpreter shbang lines from non-executables |
---|
298 | Brian Warner <warner@lothar.com>**20111014172301 |
---|
299 | Ignore-this: a1ad931ed2e4379fed9bf480382ad801 |
---|
300 | |
---|
301 | thanks to Greg Troxel for the catch |
---|
302 | ] |
---|
303 | [TAG allmydata-tahoe-1.9.0b1 |
---|
304 | warner@lothar.com**20111014055532 |
---|
305 | Ignore-this: f00238ed3d8d1f5e15b0262c4373a3c3 |
---|
306 | ] |
---|
307 | [NEWS: mention --format, bring up-to-date |
---|
308 | warner@lothar.com**20111014055500 |
---|
309 | Ignore-this: 6c70a87cd8894cee954fd2deeada61f6 |
---|
310 | ] |
---|
311 | [CLI: don't deprecate --mutable, small docs fixes. refs #1561 |
---|
312 | Brian Warner <warner@lothar.com>**20111014040002 |
---|
313 | Ignore-this: 6133c130e7060fc4240194bc08ed9c9d |
---|
314 | |
---|
315 | Also don't accept 'tahoe mkdir --format=chk'. |
---|
316 | ] |
---|
317 | [add --format= to 'tahoe put'/'mkdir', remove --mutable-type. Closes #1561 |
---|
318 | Brian Warner <warner@lothar.com>**20111014031500 |
---|
319 | Ignore-this: ac38ac429847942e6383e7374bf0e1bf |
---|
320 | ] |
---|
321 | [web/filenode.py: rely on Request.notifyFinish. Closes #1366. |
---|
322 | Brian Warner <warner@lothar.com>**20111013201219 |
---|
323 | Ignore-this: cf7677bf15cb8e469ec16c3372fdfa35 |
---|
324 | |
---|
325 | This is safe now that tahoe depends upon Twisted>=10.1, since notifyFinish |
---|
326 | first appeared in Twisted-9.0 |
---|
327 | ] |
---|
328 | [docs: fix several imprecise or inaccurate values in performance.rst |
---|
329 | zooko@zooko.com**20110508124228 |
---|
330 | Ignore-this: f1ecc5cb32eebec9760c8fc437799eb4 |
---|
331 | add cpu values for each operation |
---|
332 | sort the list of values into the same order in each operation |
---|
333 | refs #1398 |
---|
334 | ] |
---|
335 | [oops, missed a test failure |
---|
336 | Brian Warner <warner@lothar.com>**20111013163713 |
---|
337 | Ignore-this: d8cb188d8dd664e335f19b9fa342da4a |
---|
338 | ] |
---|
339 | [misc mutable-type fixes: |
---|
340 | warner@lothar.com**20111013163229 |
---|
341 | Ignore-this: ab62dc2f27aa1f793e7bd02e360ee471 |
---|
342 | |
---|
343 | * fix tahoe.cfg control of default mutable type |
---|
344 | * tolerate arbitrary case in [client]mutable.format value |
---|
345 | * small docs improvements |
---|
346 | * use get_mutable_type() as a format-is-mutable predicate |
---|
347 | * tighten up error message |
---|
348 | ] |
---|
349 | [webapi: use all-caps "SDMF"/"MDMF" acronyms in t=json response |
---|
350 | warner@lothar.com**20111013163143 |
---|
351 | Ignore-this: 945eaa5ce7f108793b0bb6cae0239965 |
---|
352 | |
---|
353 | docs: upcase examples of t=json output and format= input |
---|
354 | ] |
---|
355 | [webapi.rst: fix whitespace (detabify) t=json examples |
---|
356 | warner@lothar.com**20111013163056 |
---|
357 | Ignore-this: c095687413876507c5cc46864459c054 |
---|
358 | ] |
---|
359 | [webapi: handle format=, remove mutable-type= |
---|
360 | warner@lothar.com**20111013162951 |
---|
361 | Ignore-this: de7d9c5516385d002dbc21f31c23204c |
---|
362 | |
---|
363 | * fix CLI commands (put, mkdir) to send format=, not mutable-type= |
---|
364 | * fix tests |
---|
365 | * test_cli: fix tests that observe t=json output, don't ignore failures in |
---|
366 | 'tahoe put' |
---|
367 | * fix handling of version= to make it easier to use the default |
---|
368 | * interpret ?mutable=true&format=MDMF as MDMF, not SDMF |
---|
369 | ] |
---|
370 | [docs/frontends/webapi.rst: document the format argument |
---|
371 | kevan@isnotajoke.com**20111010025529 |
---|
372 | Ignore-this: 2a7b8d711dc369bd9a23e2853824cfb0 |
---|
373 | ] |
---|
374 | [Tests for ref #1547 |
---|
375 | david-sarah@jacaranda.org**20111002035316 |
---|
376 | Ignore-this: 933f2b6ff148523f40475fe2d2578170 |
---|
377 | ] |
---|
378 | [Change the file upload forms on directory and welcome pages to use a 3-way radio button to select immutable, SDMF, or MDMF. Add '(experimental)' to the label for creating an MDMF directory. Also improve the spacing of form elements. refs #1547 |
---|
379 | david-sarah@jacaranda.org**20111002034503 |
---|
380 | Ignore-this: 46a8b966fddc8ccaa7e70bffbd68b52f |
---|
381 | ] |
---|
382 | [test_web.py: minor cleanups, mainly to make the first argument to shouldFail tests consistent |
---|
383 | david-sarah@jacaranda.org**20111002040332 |
---|
384 | Ignore-this: 234ba793f78f112717e02755e1fa81b5 |
---|
385 | ] |
---|
386 | [Tests for ref #1552 |
---|
387 | david-sarah@jacaranda.org**20111002040036 |
---|
388 | Ignore-this: abdc5c39d90ea7f314834fff7ecd6784 |
---|
389 | ] |
---|
390 | [test_storage.py: the part of test_remove that checks non-existence of the share directory after deleting a share, is only applicable to the disk backend; but, we can check that the shareset has no overhead at that point. refs #999 |
---|
391 | david-sarah@jacaranda.org**20111020173349 |
---|
392 | Ignore-this: 8c7b93afeabf090d2615db81a4556fd6 |
---|
393 | ] |
---|
394 | [test_storage.py: reenable MutableServer.test_container_size for the S3 backend. refs #999 |
---|
395 | david-sarah@jacaranda.org**20111020115355 |
---|
396 | Ignore-this: 33a2e41ec2d3b917dc5be897ce50c152 |
---|
397 | ] |
---|
398 | [Disk backend: make sure that the size limit is checked before writing. Also, the size limit is on the data length, not the container size. refs #999 |
---|
399 | david-sarah@jacaranda.org**20111020114919 |
---|
400 | Ignore-this: 32a278af8e2a6464e193b635c7f17ff4 |
---|
401 | ] |
---|
402 | [S3 backend: the mutable size limit should be on the data length, not the container size. Also simplify by removing _check_size_limit. refs #999 |
---|
403 | david-sarah@jacaranda.org**20111020114529 |
---|
404 | Ignore-this: ef64c7f68969ff550f81af2f17e5b14a |
---|
405 | ] |
---|
406 | [S3 backend: new_length argument to MutableS3Share.writev should only be able to truncate the share (after applying writes), not extend it. refs #999 |
---|
407 | david-sarah@jacaranda.org**20111020114356 |
---|
408 | Ignore-this: 3da64b01af2ea86aa1b73d9e3af65024 |
---|
409 | ] |
---|
410 | [S3 backend: make precondition failures show more information. refs #999 |
---|
411 | david-sarah@jacaranda.org**20111020111611 |
---|
412 | Ignore-this: bb2fc7ad6962e2a4f394eaf5cde1795d |
---|
413 | ] |
---|
414 | [S3 backend: make sure that the container size limit is checked before writing. refs #999 |
---|
415 | david-sarah@jacaranda.org**20111020111519 |
---|
416 | Ignore-this: add18e2273a84d75bd491a13c6f6451a |
---|
417 | ] |
---|
418 | [test_storage.py: reduce duplicated code by factoring 'create' methods into CreateS3Backend and CreateDiskBackend classes. refs #999 |
---|
419 | david-sarah@jacaranda.org**20111020111350 |
---|
420 | Ignore-this: 1362efb0293bc7e62fafd9f1227c47d9 |
---|
421 | ] |
---|
422 | [S3 backend: finish implementation of mutable shares. refs #999 |
---|
423 | david-sarah@jacaranda.org**20111020030522 |
---|
424 | Ignore-this: 53bf3fdc4d243069880b39295601af06 |
---|
425 | ] |
---|
426 | [test_storage.py: move the test_container_size test to MutableServerWithDiskBackend for now, because it tries to create a very large container which will wedge your machine. refs #999 |
---|
427 | david-sarah@jacaranda.org**20111020030447 |
---|
428 | Ignore-this: 62f2b5df800bf1ab631853e8ad4a4267 |
---|
429 | ] |
---|
430 | [Disk backend: fix incorrect arguments in a call to create_mutable_disk_share. refs #999 |
---|
431 | david-sarah@jacaranda.org**20111020030301 |
---|
432 | Ignore-this: ec4496f4a0cbb32eb5f9d6d32cc0221d |
---|
433 | ] |
---|
434 | [storage/backends/disk/mutable.py: correct a typo. refs #999 |
---|
435 | david-sarah@jacaranda.org**20111020012427 |
---|
436 | Ignore-this: af896e2496c15e06d1eec6c0af49b695 |
---|
437 | ] |
---|
438 | [Enable mutable tests for S3 backend (they all fail, as expected). refs #999 |
---|
439 | david-sarah@jacaranda.org**20111019061735 |
---|
440 | Ignore-this: f058dba13bd4f1d4273739d2823605f |
---|
441 | ] |
---|
442 | [S3 backend: remove max_space option. refs #999 |
---|
443 | david-sarah@jacaranda.org**20111018224057 |
---|
444 | Ignore-this: 6fc56d5ea43dae4ac9604a7cf15e7ce6 |
---|
445 | ] |
---|
446 | [test_storage.py, test_crawler.py: change 'bucket' terminology to 'shareset' where appropriate. refs #999 |
---|
447 | david-sarah@jacaranda.org**20111018183242 |
---|
448 | Ignore-this: b8cf782836d1558fc99ff13fa08b2b9f |
---|
449 | ] |
---|
450 | [Add some __repr__ methods. refs #999 |
---|
451 | david-sarah@jacaranda.org**20111018064409 |
---|
452 | Ignore-this: 9b901ee8aaaa9f9895f6a3b4e5f41a21 |
---|
453 | ] |
---|
454 | [Fix race conditions in crawler tests. (storage.LeaseCrawler.test_unpredictable_future may still be racy.) refs #999 |
---|
455 | david-sarah@jacaranda.org**20111018064303 |
---|
456 | Ignore-this: 58b2791250d14f7e8a6284190d7872e8 |
---|
457 | ] |
---|
458 | [Allow crawlers and storage servers to use a deterministic clock, for testing. We do not yet take advantage of this in tests. refs #999 |
---|
459 | david-sarah@jacaranda.org**20111018063926 |
---|
460 | Ignore-this: 171bf7275a978a93108b0835d06834ea |
---|
461 | ] |
---|
462 | [Change IShareSet.get_shares[_synchronous] to return a pair (list of share objects, set of corrupt shnums). This is necessary to allow crawlers to record but skip over corrupt shares. This patch also changes the behaviour of storage servers to ignore corrupt shares on read, which may or may not be what we want. Note that the S3 backend does not yet report corrupt shares. refs #999 |
---|
463 | david-sarah@jacaranda.org**20111018063423 |
---|
464 | Ignore-this: 35abee65334aa3a92471266f5789f452 |
---|
465 | ] |
---|
466 | [test_storage.py: cleanup to style of test_limited_history to match other tests. refs #999 |
---|
467 | david-sarah@jacaranda.org**20111016044311 |
---|
468 | Ignore-this: 3024764ffb419917eeeb3ecd554fb421 |
---|
469 | ] |
---|
470 | [Change accesses of ._sharehomedir on a disk shareset to _get_sharedir(). refs #999 |
---|
471 | david-sarah@jacaranda.org**20111016044229 |
---|
472 | Ignore-this: 5b2b9e11f56f0af0588c69ca930f60fd |
---|
473 | ] |
---|
474 | [Disk backend: make sure that disk shares with a storageindex of None (as sometimes created by test code) can be printed using __repr__. refs #999 |
---|
475 | david-sarah@jacaranda.org**20111016035131 |
---|
476 | Ignore-this: a811b53c20fdde5ad60471c5e4961a24 |
---|
477 | ] |
---|
478 | [scripts/debug.py: fix stale code in describe_share that had not been updated for changes in share interfaces. refs #999 |
---|
479 | david-sarah@jacaranda.org**20111016034913 |
---|
480 | Ignore-this: 7f2469392b9e6fc64c354ce5a5568a68 |
---|
481 | ] |
---|
482 | [test_storage.py: fix a bug in _backdate_leases (it was returning too early). refs #999 |
---|
483 | david-sarah@jacaranda.org**20111016014038 |
---|
484 | Ignore-this: 658cf2e2c0dc87032988f1d4db62f267 |
---|
485 | ] |
---|
486 | [Undo partial asyncification of crawlers, and enable crawlers only for the disk backend. refs #999 |
---|
487 | david-sarah@jacaranda.org**20111014061902 |
---|
488 | Ignore-this: ce7303610878b1b051cf54604796bdde |
---|
489 | ] |
---|
490 | [test_storage.py: fix two bugs in test_no_st_blocks -- the _cleanup function was being called too early, and we needed to treat directories as using no space in order for the configured-sharebytes == configured-diskbytes check to be correct. refs #999 |
---|
491 | david-sarah@jacaranda.org**20111014025840 |
---|
492 | Ignore-this: a20434e28eda165bed2021f0dafa676c |
---|
493 | ] |
---|
494 | [test_storage.py: print more info when checks fail. refs #999 |
---|
495 | david-sarah@jacaranda.org**20111013234159 |
---|
496 | Ignore-this: 2989f30c24362ee6a80a7f8f3d5aad9 |
---|
497 | ] |
---|
498 | [test_storage.py: remove some redundant coercions to bool. refs #999 |
---|
499 | david-sarah@jacaranda.org**20111013233520 |
---|
500 | Ignore-this: 3fa9baaf7e41831a24b8cfa0ef5ec5e4 |
---|
501 | ] |
---|
502 | [test_storage: in test_no_st_blocks, print the rec 'dict' if checking one of its fields fails. refs #999 |
---|
503 | david-sarah@jacaranda.org**20111013232802 |
---|
504 | Ignore-this: cf18a119d80f11b1ba8681c4285c0198 |
---|
505 | ] |
---|
506 | [test_storage: fix some typos introduced when asyncifying test_immutable_leases. refs #999 |
---|
507 | david-sarah@jacaranda.org**20111013232618 |
---|
508 | Ignore-this: 28a5e1377d7198191d5771e09826af5b |
---|
509 | ] |
---|
510 | [test_storage: rename the two test_leases methods to ServerTest.test_immutable_leases and MutableServer.test_mutable_leases. refs #999 |
---|
511 | david-sarah@jacaranda.org**20111013232538 |
---|
512 | Ignore-this: 7a3ccfd237db7a3c5053fe90c3bed1f3 |
---|
513 | ] |
---|
514 | [test_storage.py: fix a typo (d vs d2) in test_remove_incoming. refs #999 |
---|
515 | david-sarah@jacaranda.org**20111013222822 |
---|
516 | Ignore-this: 71ad69489698865748cd32bc2c8b2fc1 |
---|
517 | ] |
---|
518 | [docs/backends/S3.rst: note that storage servers should use different buckets. refs #999 |
---|
519 | david-sarah@jacaranda.org**20111013050647 |
---|
520 | Ignore-this: fec8d3bf114bbcf20165a5850aa25aac |
---|
521 | ] |
---|
522 | [S3 backend: keep track of incoming shares, so that the storage server can avoid creating BucketWriters for shnums that have an incoming share. refs #999 |
---|
523 | david-sarah@jacaranda.org**20111013035040 |
---|
524 | Ignore-this: f1c33357553d68748f970c0c9e19d538 |
---|
525 | ] |
---|
526 | [test_storage.py: test_read_old_share and test_write_and_read_share should only expect to be able to read input share data. refs #999 |
---|
527 | david-sarah@jacaranda.org**20111013032825 |
---|
528 | Ignore-this: bec4a26f13f105cc84261f2e1b028302 |
---|
529 | ] |
---|
530 | [misc/check-interfaces.py: print a warning if a .pyc or .pyo file exists without a corresponding .py file. |
---|
531 | david-sarah@jacaranda.org**20111012233609 |
---|
532 | Ignore-this: 35f04939360c6d3b1e8e0c2e9e712d80 |
---|
533 | ] |
---|
534 | [storage/backends/base.py: allow readv to work for both mutable and immutable shares. refs #999 |
---|
535 | david-sarah@jacaranda.org**20111012232802 |
---|
536 | Ignore-this: a266704981739e7c1217f352aee153fe |
---|
537 | ] |
---|
538 | [S3 backend: correct list_objects to list_all_objects in IS3Bucket. refs #999 |
---|
539 | david-sarah@jacaranda.org**20111012232713 |
---|
540 | Ignore-this: 7f9dc7946e9866f71e16f3a595f0218e |
---|
541 | ] |
---|
542 | [Null backend: make NullShareSet inherit from ShareSet, which should implement readv correctly. Remove its implementation of testv_and_readv_and_writev since the one from ShareSet should work (if it doesn't that would be a separate bug). refs #999 |
---|
543 | david-sarah@jacaranda.org**20111012232600 |
---|
544 | Ignore-this: 404757cc6f7e29c2b927258af31d55ce |
---|
545 | ] |
---|
546 | [Remove test_backends.py, since all its tests are now redundant with tests in test_storage.py or test_client.py. refs #999 |
---|
547 | david-sarah@jacaranda.org**20111012232316 |
---|
548 | Ignore-this: f601a8165058773075ce80d96586b0d9 |
---|
549 | ] |
---|
550 | [test_storage.py: add test_write_and_read_share and test_read_old_share originally from test_backends.py. refs #999 |
---|
551 | david-sarah@jacaranda.org**20111012232124 |
---|
552 | Ignore-this: 805cd42094d3948ffdf957f44e0d146d |
---|
553 | ] |
---|
554 | [test_download.py: fix and reenable Corruption.test_each_byte. Add a comment noting that catalog_detection = True has bitrotted. refs #999 |
---|
555 | david-sarah@jacaranda.org**20111012041219 |
---|
556 | Ignore-this: b9fa9ce7406811cd5a9d4a49666b1ab0 |
---|
557 | ] |
---|
558 | [no_network.py: fix delete_all_shares. refs #999 |
---|
559 | david-sarah@jacaranda.org**20111012033458 |
---|
560 | Ignore-this: bfe9225562454f153a921277b43ac848 |
---|
561 | ] |
---|
562 | [S3 backend: fix corruption advisories and listing of shares for mock S3 bucket. refs #999 |
---|
563 | david-sarah@jacaranda.org**20111012033443 |
---|
564 | Ignore-this: 9d655501062888be6ee391e426c90a13 |
---|
565 | ] |
---|
566 | [test_storage.py: asyncify some more tests, and fix create methods. refs #999 |
---|
567 | david-sarah@jacaranda.org**20111012025739 |
---|
568 | Ignore-this: 1574d8175917665f44d278d13f815bb9 |
---|
569 | ] |
---|
570 | [test_storage.py: add a test that we can create a share, exercising the backend's get_share and get_shares methods. This may explicate particular kinds of backend failure better than the existing tests. refs #999 |
---|
571 | david-sarah@jacaranda.org**20111012025514 |
---|
572 | Ignore-this: f52983e4f3d96ea26ef25856d4cc92ce |
---|
573 | ] |
---|
574 | [test_storage.py: Move test_seek to its own class, since it is independent of the backend. Also move test_reserved_space to ServerWithDiskBackend, since reserved_space is specific to that backend. refs #999 |
---|
575 | david-sarah@jacaranda.org**20111012025149 |
---|
576 | Ignore-this: 281de8befe51e24cd638886fb5063cd2 |
---|
577 | ] |
---|
578 | [util/deferredutil.py: remove unneeded utility functions. refs #999 |
---|
579 | david-sarah@jacaranda.org**20111012024440 |
---|
580 | Ignore-this: 17380afd9079442785d0cb78876c7fd5 |
---|
581 | ] |
---|
582 | [Move configuration of each backend into the backend itself. refs #999 |
---|
583 | david-sarah@jacaranda.org**20111012014004 |
---|
584 | Ignore-this: c337c43e4c4a05617de62f4acf7119d0 |
---|
585 | ] |
---|
586 | [test_storage.py: fix test failures in MDMFProxies. refs #999 |
---|
587 | david-sarah@jacaranda.org**20111012000848 |
---|
588 | Ignore-this: 798f2a4e960ee444e401a10748afeb08 |
---|
589 | ] |
---|
590 | [test_storage.py: cosmetics. refs #999 |
---|
591 | david-sarah@jacaranda.org**20111012000442 |
---|
592 | Ignore-this: d3514fa8d69f38d3b45204e2224152d5 |
---|
593 | ] |
---|
594 | [storage/backends/disk/disk_backend.py: trivial fix to a comment. #refs 999 |
---|
595 | david-sarah@jacaranda.org**20111011165704 |
---|
596 | Ignore-this: b9031b01ef643cb973a41af277d941c0 |
---|
597 | ] |
---|
598 | [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 |
---|
599 | david-sarah@jacaranda.org**20111009050301 |
---|
600 | Ignore-this: 62ee03f4b8a96c292e75c097ad87d52e |
---|
601 | ] |
---|
602 | [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 |
---|
603 | david-sarah@jacaranda.org**20111009045023 |
---|
604 | Ignore-this: f49ece515620081da1d745ae6da19d21 |
---|
605 | ] |
---|
606 | [check-miscaptures.py: Python doesn't really have declarations; report the topmost assignment. refs #1555 |
---|
607 | david-sarah@jacaranda.org**20111009044800 |
---|
608 | Ignore-this: 4905c9dfe7726f433333e216a6760a4b |
---|
609 | ] |
---|
610 | [check-miscaptures.py: handle destructuring function arguments correctly. refs #1555 |
---|
611 | david-sarah@jacaranda.org**20111009044710 |
---|
612 | Ignore-this: f9de7d95e94446507a206c88d3f98a23 |
---|
613 | ] |
---|
614 | [check-miscaptures.py: check while loops and list comprehensions as well as for loops. Also fix a pyflakes warning. refs #1555 |
---|
615 | david-sarah@jacaranda.org**20111009044022 |
---|
616 | Ignore-this: 6526e4e315ca6461b1fbc2da5568e444 |
---|
617 | ] |
---|
618 | [Fix pyflakes warnings in misc/ directories other than misc/build_helpers. refs #1557 |
---|
619 | david-sarah@jacaranda.org**20111007033031 |
---|
620 | Ignore-this: 7daf5862469732d8cabc355266622b74 |
---|
621 | ] |
---|
622 | [Makefile: include misc/ directories other than misc/build_helpers in SOURCES. refs #1557 |
---|
623 | david-sarah@jacaranda.org**20111007032958 |
---|
624 | Ignore-this: 31376ec01401df7972e83341dc65aa05 |
---|
625 | ] |
---|
626 | [util/happinessutil.py: suppress a warning from check-miscaptures. (It is not a bug because the capturing function is only used by a 'map' in the same iteration.) refs #1556 |
---|
627 | david-sarah@jacaranda.org**20111009052106 |
---|
628 | Ignore-this: 16a62844bae083800d6b6a7334abc9bc |
---|
629 | ] |
---|
630 | [misc/coding_tools/make-canary-files.py: fix a suspicious capture reported by check-miscaptures (although it happens not to be a bug because the callback will be processed synchronously). refs #1556 |
---|
631 | david-sarah@jacaranda.org**20111009050531 |
---|
632 | Ignore-this: 2d1a696955a4c1f7d9c649d4ecefd7de |
---|
633 | ] |
---|
634 | [Fix two pyflakes warnings about unused imports. refs #999 |
---|
635 | david-sarah@jacaranda.org**20111011051745 |
---|
636 | Ignore-this: 23c17f8eb36a30f4e3b662a778bc4bb7 |
---|
637 | ] |
---|
638 | [test_storage.py: fix asyncification of three tests in MDMFProxies. refs #999 |
---|
639 | david-sarah@jacaranda.org**20111011051319 |
---|
640 | Ignore-this: a746cc2ed1f4fbcf95bad7624a0544e9 |
---|
641 | ] |
---|
642 | [test_storage.py: fix a trivial bug in MDMFProxies.test_write. refs #999 |
---|
643 | david-sarah@jacaranda.org**20111011045645 |
---|
644 | Ignore-this: 943c6da82eca7b2d247cfb7d75afc9b7 |
---|
645 | ] |
---|
646 | [test_storage.py: fix a typo in test_null_backend. refs #999 |
---|
647 | david-sarah@jacaranda.org**20111011045133 |
---|
648 | Ignore-this: ddf00d1d65182d520904168827c792c4 |
---|
649 | ] |
---|
650 | [test_storage.py: fix a bug introduced by asyncification of test_allocate. refs #999 |
---|
651 | david-sarah@jacaranda.org**20111011044131 |
---|
652 | Ignore-this: 1460b8a713081c8bbe4d298ab39f264f |
---|
653 | ] |
---|
654 | [test_storage.py: make MutableServer.test_leases pass. refs #999 |
---|
655 | david-sarah@jacaranda.org**20111011002917 |
---|
656 | Ignore-this: dce275f6508a7cfe31c0af82483eea97 |
---|
657 | ] |
---|
658 | [test/common.py: in shouldFail and shouldHTTPError, when the raised exception does not include the expected substring (or, for shouldHTTPError, when the status code is wrong), mention which test that happened in. |
---|
659 | david-sarah@jacaranda.org**20111011002227 |
---|
660 | Ignore-this: 836cabe9ef774617122905b214a0b8e8 |
---|
661 | ] |
---|
662 | [test/mock_s3.py: fix a bug that was causing us to use the wrong directory for share files. refs #999 |
---|
663 | david-sarah@jacaranda.org**20111010231344 |
---|
664 | Ignore-this: bc63757f5dd8d31643bd9919f2ecd98c |
---|
665 | ] |
---|
666 | [Add fileutil.fp_list(fp) which is like fp.children(), but returns [] in case of a directory that does not exist. Use it to simplify the disk backend and mock S3 bucket implementations. refs #999 |
---|
667 | david-sarah@jacaranda.org**20111010231146 |
---|
668 | Ignore-this: fd4fa8b1446fc7e5c03631b4092c20cc |
---|
669 | ] |
---|
670 | [S3 backend: move the implementation of list_objects from s3_bucket.py to s3_common.py, making s3_bucket.py simpler and list_objects easier to test independently. refs #999 |
---|
671 | david-sarah@jacaranda.org**20111010230751 |
---|
672 | Ignore-this: 2f9a8f75671e87d2caba2ac6c6d4bdfd |
---|
673 | ] |
---|
674 | [Make unlink() on share objects consistently idempotent. refs #999 |
---|
675 | david-sarah@jacaranda.org**20111010204417 |
---|
676 | Ignore-this: 1dc559fdd89b7135cec64ffca62fc96a |
---|
677 | ] |
---|
678 | [Null backend: implement unlink and readv more correctly. refs #999 |
---|
679 | david-sarah@jacaranda.org**20111010204404 |
---|
680 | Ignore-this: 3386bc2a1cd0ff6268def31c5c5ce3a1 |
---|
681 | ] |
---|
682 | [test_download.py: fix test_download_failover (it should tolerate non-existing shares in _clobber_most_shares). refs #999 |
---|
683 | david-sarah@jacaranda.org**20111010204142 |
---|
684 | Ignore-this: db648ffcbd5e37cf236f49ecc1e720fc |
---|
685 | ] |
---|
686 | [interfaces.py: resolve another conflict with trunk. refs #999 |
---|
687 | david-sarah@jacaranda.org**20111010200903 |
---|
688 | Ignore-this: 163067eab9a5c71e12c6cac058a03832 |
---|
689 | ] |
---|
690 | [interfaces.py: fix a typo in the name of IMutableSlotWriter.put_encprivkey. refs #393 |
---|
691 | david-sarah@jacaranda.org**20111010194642 |
---|
692 | Ignore-this: eb65439e8dd891c169b43b1679c29238 |
---|
693 | ] |
---|
694 | [interfaces.py: resolve conflicts with trunk. refs #999 |
---|
695 | david-sarah@jacaranda.org**20111010195634 |
---|
696 | Ignore-this: 8e02c7933392491ba3deb678c5bc5876 |
---|
697 | ] |
---|
698 | [interfaces.py: remove get_extension_params and set_extension_params methods from IMutableFileURI. refs #393, #1526 |
---|
699 | david-sarah@jacaranda.org**20111010194842 |
---|
700 | Ignore-this: 6012be6fcc12f560aeeeac0be2d337d1 |
---|
701 | ] |
---|
702 | [Instrument some assertions to report the failed values. refs #999 |
---|
703 | david-sarah@jacaranda.org**20111010191733 |
---|
704 | Ignore-this: 4e886faa5909bf703af8228194ae759c |
---|
705 | ] |
---|
706 | [test_storage.py: move some tests that were not applicable to all backends out of ServerTest. refs #999 |
---|
707 | david-sarah@jacaranda.org**20111010181214 |
---|
708 | Ignore-this: d2310591c71c4d2d2c5ff4e316f15542 |
---|
709 | ] |
---|
710 | [storage/backends/disk/mutable.py: put back a correct assertion that had been disabled. storage/base.py: fix the bug that was causing that assertion to fail. refs #999 |
---|
711 | david-sarah@jacaranda.org**20111009232142 |
---|
712 | Ignore-this: dbb644f596bf3c42575b9d9fadc2c9d9 |
---|
713 | ] |
---|
714 | [test_storage.py: fix a trivial bug in LeaseCrawler.test_unpredictable_future. refs #999 |
---|
715 | david-sarah@jacaranda.org**20111007195753 |
---|
716 | Ignore-this: 357539b4cf8b7455c1787ac591b0ee23 |
---|
717 | ] |
---|
718 | [Asyncification, and resolution of conflicts. #999 |
---|
719 | david-sarah@jacaranda.org**20111007193418 |
---|
720 | Ignore-this: 29b15345aecd3adeef2c2392ca90d4ff |
---|
721 | ] |
---|
722 | [disk backend: size methods should no longer return Deferreds. refs #999 |
---|
723 | david-sarah@jacaranda.org**20111007193327 |
---|
724 | Ignore-this: 8d32ffdbb81d88a30352f344e385feff |
---|
725 | ] |
---|
726 | [Ensure that helper classes are not treated as test cases. Also fix a missing mixin. refs #999 |
---|
727 | david-sarah@jacaranda.org**20111007081439 |
---|
728 | Ignore-this: a222110248f378d91c232799bcd5d3a6 |
---|
729 | ] |
---|
730 | [More miscapture fixes. refs #999 |
---|
731 | david-sarah@jacaranda.org**20111007080916 |
---|
732 | Ignore-this: 85004d4e3a609a2ef70a38164897ff02 |
---|
733 | ] |
---|
734 | [Partially asyncify crawlers. refs #999 |
---|
735 | david-sarah@jacaranda.org**20111007080657 |
---|
736 | Ignore-this: f6a15b81592bfff33ccf09301dbdfca1 |
---|
737 | ] |
---|
738 | [unlink() on share objects should be idempotent. refs #999 |
---|
739 | david-sarah@jacaranda.org**20111007080615 |
---|
740 | Ignore-this: ff87d0b30fc81dd8e90bc5c6852955eb |
---|
741 | ] |
---|
742 | [Make sure that get_size etc. work correctly on an ImmutableS3ShareForWriting after it has been closed. Also simplify by removing the _end_offset attribute. refs #999 |
---|
743 | david-sarah@jacaranda.org**20111007080342 |
---|
744 | Ignore-this: 9d8ce463daee2ef1b7dc33aca70a0379 |
---|
745 | ] |
---|
746 | [Remove an inapplicable comment. refs #999 |
---|
747 | david-sarah@jacaranda.org**20111007080128 |
---|
748 | Ignore-this: 1c7fae3ffc9ac412ad9ab6e411ef9be7 |
---|
749 | ] |
---|
750 | [Remove unused load method and _loaded attribute from s3/mutable.py. refs #999 |
---|
751 | david-sarah@jacaranda.org**20111007080051 |
---|
752 | Ignore-this: b92ed543f7dcf56df0510de8515230e1 |
---|
753 | ] |
---|
754 | [Fix a duplicate umid. refs #999 |
---|
755 | david-sarah@jacaranda.org**20111007080001 |
---|
756 | Ignore-this: bb9519d15220ab7350731abf19038c2e |
---|
757 | ] |
---|
758 | [Fix some miscapture bugs. refs #999 |
---|
759 | david-sarah@jacaranda.org**20111007075915 |
---|
760 | Ignore-this: 88dc8ec49e93e5d62c2abb8f496706cb |
---|
761 | ] |
---|
762 | [Add a _get_sharedir() method on IShareSet, implemented by the disk and mock S3 backends, for use by tests. refs #999 |
---|
763 | david-sarah@jacaranda.org**20111007075645 |
---|
764 | Ignore-this: 9e9ce0d244785da8ac4a3c0aa948ddce |
---|
765 | ] |
---|
766 | [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 |
---|
767 | david-sarah@jacaranda.org**20111007074121 |
---|
768 | Ignore-this: 51318e9678d132c374ea557ab955e79e |
---|
769 | ] |
---|
770 | [Add a get_share method to IShareSet, to get a specific share. refs #999 |
---|
771 | david-sarah@jacaranda.org**20111007075426 |
---|
772 | Ignore-this: 493ddfe83414208f08a22b9f327d6b69 |
---|
773 | ] |
---|
774 | [Fix some more potential bugs in test code exposed by check-miscaptures.py. refs #1556 |
---|
775 | david-sarah@jacaranda.org**20111007033847 |
---|
776 | Ignore-this: aec8a543e9b5c3563b60692c647439a8 |
---|
777 | ] |
---|
778 | [Fix some potential bugs (in non-test code) exposed by check-miscaptures.py. refs #1556 |
---|
779 | david-sarah@jacaranda.org**20111007032444 |
---|
780 | Ignore-this: bac9ed65b21c2136c4db2482b3c093f7 |
---|
781 | ] |
---|
782 | [Fix some potential bugs in test code exposed by check-miscaptures.py. refs #1556 |
---|
783 | david-sarah@jacaranda.org**20111007023443 |
---|
784 | Ignore-this: e48b2c2d200521d6f28c737994ce3a2a |
---|
785 | ] |
---|
786 | [misc/simulators/hashbasedsig.py: simplify by removing unnecessary local function that captured a variable declared in a for loop (this was not a bug, but the code was unclear). Also fix a pyflakes warning about an import. refs #1556 |
---|
787 | david-sarah@jacaranda.org**20111007023001 |
---|
788 | Ignore-this: 446c94efae02ded5e85eb3335ca5e69 |
---|
789 | ] |
---|
790 | [immutable/literal.py: add pauseProducing method to LiteralProducer. refs #1537 |
---|
791 | david-sarah@jacaranda.org**20111003195239 |
---|
792 | Ignore-this: 385ee3379a2819381937357f1eac457 |
---|
793 | ] |
---|
794 | [docs: fix the rst formatting of COPYING.TGPPL.rst |
---|
795 | zooko@zooko.com**20111003043333 |
---|
796 | Ignore-this: c5fbc83f4a3db81a0c95b27053c463c5 |
---|
797 | Now it renders correctly both on trac and with rst2html --verbose from docutils v0.8.1. |
---|
798 | ] |
---|
799 | [MDMF: remove extension fields from caps, tolerate arbitrary ones. Fixes #1526 |
---|
800 | Brian Warner <warner@lothar.com>**20111001233553 |
---|
801 | Ignore-this: 335e1690aef1146a2c0b8d8c18c1cb21 |
---|
802 | |
---|
803 | The filecaps used to be produced with hints for 'k' and segsize, but they |
---|
804 | weren't actually used, and doing so had the potential to limit how we change |
---|
805 | those filecaps in the future. Also the parsing code had some problems dealing |
---|
806 | with other numbers of extensions. Removing the existing fields and making the |
---|
807 | parser tolerate (and ignore) extra ones makes MDMF more future-proof. |
---|
808 | ] |
---|
809 | [More asyncification of tests. Also fix some bugs due to capture of slots in for loops. refs #999 |
---|
810 | david-sarah@jacaranda.org**20111004010813 |
---|
811 | Ignore-this: 15bf68748ab737d1edc24552ce192f8b |
---|
812 | ] |
---|
813 | [s3/s3_common.py: remove incorrect 'self' arguments from interface methods in IS3Bucket. refs #999 |
---|
814 | david-sarah@jacaranda.org**20111004010745 |
---|
815 | Ignore-this: d5f66be90062292164d3f017aef3d6f4 |
---|
816 | ] |
---|
817 | [no_network.py: Clean up whitespace around code changed by previous patch. |
---|
818 | david-sarah@jacaranda.org**20111004010407 |
---|
819 | Ignore-this: 647ec8a9346dca1a41212ab250619b72 |
---|
820 | ] |
---|
821 | [no_network.py: Fix potential bugs in some tests due to capture of slots in for loops. |
---|
822 | david-sarah@jacaranda.org**20111004010231 |
---|
823 | Ignore-this: 9c496877613a3befd54979e5de6e63d2 |
---|
824 | ] |
---|
825 | [Add a share._get_filepath() method used by tests to get the FilePath for a share, rather than accessing the _home attribute. refs #999 |
---|
826 | david-sarah@jacaranda.org**20111004004604 |
---|
827 | Ignore-this: ec873e356b7ebd74f52336dd92dea8aa |
---|
828 | ] |
---|
829 | [s3/immutable.py: minor simplification in ImmutableS3ShareForReading. refs #999 |
---|
830 | david-sarah@jacaranda.org**20110930212714 |
---|
831 | Ignore-this: d71e2466231f695891a6b8d1df945687 |
---|
832 | ] |
---|
833 | [free up the buffer used to hold data while it is being written to ImmutableS3ShareForWriting |
---|
834 | zooko@zooko.com**20110930060238 |
---|
835 | Ignore-this: 603b2c8bb1f4656bdde5876ac95aa5c9 |
---|
836 | ] |
---|
837 | [FIX THE BUG! |
---|
838 | zooko@zooko.com**20110930032140 |
---|
839 | Ignore-this: fd32c4ac3054ae6fc2b9433f113b2fd6 |
---|
840 | ] |
---|
841 | [fix another bug in ImmutableShareS3ForWriting |
---|
842 | zooko@zooko.com**20110930025701 |
---|
843 | Ignore-this: 6ad7bd17111b12d96991172fbe04d76 |
---|
844 | ] |
---|
845 | [really fix the bug in ImmutableS3ShareForWriting |
---|
846 | zooko@zooko.com**20110930023501 |
---|
847 | Ignore-this: 36a7804433cab667566d119af7223425 |
---|
848 | ] |
---|
849 | [Add dummy lease methods to immutable S3 share objects. refs #999 |
---|
850 | david-sarah@jacaranda.org**20110930021703 |
---|
851 | Ignore-this: 7c21f140020edd64027c71be0f32c2b2 |
---|
852 | ] |
---|
853 | [fix bug in ImmutableS3ShareForWriting |
---|
854 | zooko@zooko.com**20110930020535 |
---|
855 | Ignore-this: f7f63d2fc2086903a195cc000f306b88 |
---|
856 | ] |
---|
857 | [test_storage.py: Server class uses ShouldFailMixin. refs #999 |
---|
858 | david-sarah@jacaranda.org**20110930001349 |
---|
859 | Ignore-this: 4cf1ef21bbf85d7fe52ab660f59ff237 |
---|
860 | ] |
---|
861 | [mock_s3.py: fix bug in MockS3Error constructor. refs #999 |
---|
862 | david-sarah@jacaranda.org**20110930001326 |
---|
863 | Ignore-this: 4d0ebd9120fc8e99b15924c671cd0927 |
---|
864 | ] |
---|
865 | [return res |
---|
866 | zooko@zooko.com**20110930000446 |
---|
867 | Ignore-this: 6f73b3e389612c73c6590007229ad8e |
---|
868 | ] |
---|
869 | [fix doc to say that secret access key goes into private/s3secret |
---|
870 | zooko@zooko.com**20110930000256 |
---|
871 | Ignore-this: c054ff78041a05b3177b3c1b3e9d4ae7 |
---|
872 | ] |
---|
873 | [s3_bucket.py: fix an incorrect argument signature for list_objects. refs #999 |
---|
874 | david-sarah@jacaranda.org**20110929235646 |
---|
875 | Ignore-this: f02e3a23f28fadef71c70fd0b1592ba6 |
---|
876 | ] |
---|
877 | [Make sure that the statedir is created before trying to use it. refs #999 |
---|
878 | david-sarah@jacaranda.org**20110929234845 |
---|
879 | Ignore-this: b5f0529b1f2a5b5250c2ee2091cbe24b |
---|
880 | ] |
---|
881 | [test/mock_s3.py: fix a typo. refs #999 |
---|
882 | david-sarah@jacaranda.org**20110929234808 |
---|
883 | Ignore-this: ccdff591f9b301f7f486454a4366c2b3 |
---|
884 | ] |
---|
885 | [test_storage.py: only run test_large_share on the disk backend. (It will wedge your machine if run on the S3 backend with MockS3Bucket.) refs #999 |
---|
886 | david-sarah@jacaranda.org**20110929234725 |
---|
887 | Ignore-this: ffa7c08458ee0159455b6f1cd1c3ff48 |
---|
888 | ] |
---|
889 | [Fixes to S3 config parsing, with tests. refs #999 |
---|
890 | david-sarah@jacaranda.org**20110929225014 |
---|
891 | Ignore-this: 19aa5a3e9575b0c2f77b19fe1bcbafcb |
---|
892 | ] |
---|
893 | [Add missing src/allmydata/test/mock_s3.py (mock implementation of an S3 bucket). refs #999 |
---|
894 | david-sarah@jacaranda.org**20110929212229 |
---|
895 | Ignore-this: a1433555d4bb0b8b36fb80feb122187b |
---|
896 | ] |
---|
897 | [Make the s3.region option case-insensitive (txaws expects uppercase). refs #999 |
---|
898 | david-sarah@jacaranda.org**20110929211606 |
---|
899 | Ignore-this: def83d3fa368c315573e5f1bad5ee7f9 |
---|
900 | ] |
---|
901 | [Fix missing add_lease method on ImmutableS3ShareForWriting. refs #999 |
---|
902 | david-sarah@jacaranda.org**20110929211524 |
---|
903 | Ignore-this: 832f0d94f912b17006b0dbaab94846b6 |
---|
904 | ] |
---|
905 | [Add missing src/allmydata/storage/backends/s3/s3_bucket.py. refs #999 |
---|
906 | david-sarah@jacaranda.org**20110929211416 |
---|
907 | Ignore-this: aa783c5d7c32af172b5c5a3d62c3faf2 |
---|
908 | ] |
---|
909 | [scripts/debug.py: repair stale code, and use the get_disk_share function defined by disk_backend instead of duplicating it. refs #999 |
---|
910 | david-sarah@jacaranda.org**20110929211252 |
---|
911 | Ignore-this: 5dda548e8703e35f0c103467346627ef |
---|
912 | ] |
---|
913 | [Fix a bug in the new config parsing code when reserved_space is not present for a disk backend. refs #999 |
---|
914 | david-sarah@jacaranda.org**20110929211106 |
---|
915 | Ignore-this: b05bd3c4ff7d90b5ecb1e6a54717b735 |
---|
916 | ] |
---|
917 | [test_storage.py: Avoid using the same working directory for different test classes. refs #999 |
---|
918 | david-sarah@jacaranda.org**20110929210954 |
---|
919 | Ignore-this: 3a01048e941c61c603eec603d064bebb |
---|
920 | ] |
---|
921 | [More asycification of tests. refs #999 |
---|
922 | david-sarah@jacaranda.org**20110929210727 |
---|
923 | Ignore-this: 87690a62f89a07e63b859c24948d262d |
---|
924 | ] |
---|
925 | [Fix a bug in disk_backend.py. refs #999 |
---|
926 | david-sarah@jacaranda.org**20110929182511 |
---|
927 | Ignore-this: 4f9a62adf03fc3221e46b54f7a4a960b |
---|
928 | ] |
---|
929 | [docs/backends/S3.rst: add s3.region option. Also minor changes to configuration.rst. refs #999 |
---|
930 | david-sarah@jacaranda.org**20110929182442 |
---|
931 | Ignore-this: 2992ead5f8d9357a0d9b912b1e0bd932 |
---|
932 | ] |
---|
933 | [Updates to test_backends.py. refs #999 |
---|
934 | david-sarah@jacaranda.org**20110929182016 |
---|
935 | Ignore-this: 3bac19179308e6f27e54c45c7cad4dc6 |
---|
936 | ] |
---|
937 | [Implement selection of backends from tahoe.cfg options. Also remove the discard_storage parameter from the disk backend. refs #999 |
---|
938 | david-sarah@jacaranda.org**20110929181754 |
---|
939 | Ignore-this: c7f78e7db98326723033f44e56858683 |
---|
940 | ] |
---|
941 | [test_storage.py: fix an incorrect argument in construction of S3Backend. refs #999 |
---|
942 | david-sarah@jacaranda.org**20110929081331 |
---|
943 | Ignore-this: 33ad68e0d3a15e3fa1dda90df1b8365c |
---|
944 | ] |
---|
945 | [Move the implementation of lease methods to disk_backend.py, and add stub implementations in s3_backend.py that raise NotImplementedError. Fix the lease methods in the disk backend to be synchronous. Also make sure that get_shares() returns a Deferred list sorted by shnum. refs #999 |
---|
946 | david-sarah@jacaranda.org**20110929081132 |
---|
947 | Ignore-this: 32cbad21c7236360e2e8e84a07f88597 |
---|
948 | ] |
---|
949 | [Make the make_bucket_writer method synchronous. refs #999 |
---|
950 | david-sarah@jacaranda.org**20110929080712 |
---|
951 | Ignore-this: 1de299e791baf1cf1e2a8d4b593e8ba1 |
---|
952 | ] |
---|
953 | [Add get_s3_share function in place of S3ShareSet._load_shares. refs #999 |
---|
954 | david-sarah@jacaranda.org**20110929080530 |
---|
955 | Ignore-this: f99665979612e42ecefa293bda0db5de |
---|
956 | ] |
---|
957 | [Complete the splitting of the immutable IStoredShare interface into IShareForReading and IShareForWriting. Also remove the 'load' method from shares, and other minor interface changes. refs #999 |
---|
958 | david-sarah@jacaranda.org**20110929075544 |
---|
959 | Ignore-this: 8c923051869cf162d9840770b4a08573 |
---|
960 | ] |
---|
961 | [split Immutable S3 Share into for-reading and for-writing classes, remove unused (as far as I can tell) methods, use cStringIO for buffering the writes |
---|
962 | zooko@zooko.com**20110929055038 |
---|
963 | Ignore-this: 82d8c4488a8548936285a975ef5a1559 |
---|
964 | TODO: define the interfaces that the new classes claim to implement |
---|
965 | ] |
---|
966 | [Comment out an assertion that was causing all mutable tests to fail. THIS IS PROBABLY WRONG. refs #999 |
---|
967 | david-sarah@jacaranda.org**20110929041110 |
---|
968 | Ignore-this: 1e402d51ec021405b191757a37b35a94 |
---|
969 | ] |
---|
970 | [Fix some incorrect or incomplete asyncifications. refs #999 |
---|
971 | david-sarah@jacaranda.org**20110929040800 |
---|
972 | Ignore-this: ed70e9af2190217c84fd2e8c41de4c7e |
---|
973 | ] |
---|
974 | [Add some debugging assertions that share objects are not Deferred. refs #999 |
---|
975 | david-sarah@jacaranda.org**20110929040657 |
---|
976 | Ignore-this: 5c7f56a146f5a3c353c6fe5b090a7dc5 |
---|
977 | ] |
---|
978 | [scripts/debug.py: take account of some API changes. refs #999 |
---|
979 | david-sarah@jacaranda.org**20110929040539 |
---|
980 | Ignore-this: 933c3d44b993c041105038c7d4514386 |
---|
981 | ] |
---|
982 | [Make get_sharesets_for_prefix synchronous for the time being (returning a Deferred breaks crawlers). refs #999 |
---|
983 | david-sarah@jacaranda.org**20110929040136 |
---|
984 | Ignore-this: e94b93d4f3f6173d9de80c4121b68748 |
---|
985 | ] |
---|
986 | [More asyncification of tests. refs #999 |
---|
987 | david-sarah@jacaranda.org**20110929035644 |
---|
988 | Ignore-this: 28b650a9ef593b3fd7524f6cb562ad71 |
---|
989 | ] |
---|
990 | [no_network.py: add some assertions that the things we wrap using LocalWrapper are not Deferred (which is not supported and causes hard-to-debug failures). refs #999 |
---|
991 | david-sarah@jacaranda.org**20110929035537 |
---|
992 | Ignore-this: fd103fbbb54fbbc17b9517c78313120e |
---|
993 | ] |
---|
994 | [Add some debugging code (switched off) to no_network.py. When switched on (PRINT_TRACEBACKS = True), this prints the stack trace associated with the caller of a remote method, mitigating the problem that the traceback normally gets lost at that point. TODO: think of a better way to preserve the traceback that can be enabled by default. refs #999 |
---|
995 | david-sarah@jacaranda.org**20110929035341 |
---|
996 | Ignore-this: 2a593ec3ee450719b241ea8d60a0f320 |
---|
997 | ] |
---|
998 | [Use factory functions to create share objects rather than their constructors, to allow the factory to return a Deferred. Also change some methods on IShareSet and IStoredShare to return Deferreds. Refactor some constants associated with mutable shares. refs #999 |
---|
999 | david-sarah@jacaranda.org**20110928052324 |
---|
1000 | Ignore-this: bce0ac02f475bcf31b0e3b340cd91198 |
---|
1001 | ] |
---|
1002 | [Work in progress for asyncifying the backend interface (necessary to call txaws methods that return Deferreds). This is incomplete so lots of tests fail. refs #999 |
---|
1003 | david-sarah@jacaranda.org**20110927073903 |
---|
1004 | Ignore-this: ebdc6c06c3baa9460af128ec8f5b418b |
---|
1005 | ] |
---|
1006 | [mutable/publish.py: don't crash if there are no writers in _report_verinfo. refs #999 |
---|
1007 | david-sarah@jacaranda.org**20110928014126 |
---|
1008 | Ignore-this: 9999c82bb3057f755a6e86baeafb8a39 |
---|
1009 | ] |
---|
1010 | [scripts/debug.py: fix incorrect arguments to dump_immutable_share. refs #999 |
---|
1011 | david-sarah@jacaranda.org**20110928014049 |
---|
1012 | Ignore-this: 1078ee3f06a2f36b29e0cf694d2851cd |
---|
1013 | ] |
---|
1014 | [test_system.py: more debug output for a failing check in test_filesystem. refs #999 |
---|
1015 | david-sarah@jacaranda.org**20110928014019 |
---|
1016 | Ignore-this: e8bb77b8f7db12db7cd69efb6e0ed130 |
---|
1017 | ] |
---|
1018 | [test_system.py: incorrect arguments were being passed to the constructor for MutableDiskShare. refs #999 |
---|
1019 | david-sarah@jacaranda.org**20110928013857 |
---|
1020 | Ignore-this: e9719f74e7e073e37537f9a71614b8a0 |
---|
1021 | ] |
---|
1022 | [Undo an incompatible change to RIStorageServer. refs #999 |
---|
1023 | david-sarah@jacaranda.org**20110928013729 |
---|
1024 | Ignore-this: bea4c0f6cb71202fab942cd846eab693 |
---|
1025 | ] |
---|
1026 | [mutable/publish.py: resolve conflicting patches. refs #999 |
---|
1027 | david-sarah@jacaranda.org**20110927073530 |
---|
1028 | Ignore-this: 6154a113723dc93148151288bd032439 |
---|
1029 | ] |
---|
1030 | [test_storage.py: fix test_no_st_blocks. refs #999 |
---|
1031 | david-sarah@jacaranda.org**20110927072848 |
---|
1032 | Ignore-this: 5f12b784920f87d09c97c676d0afa6f8 |
---|
1033 | ] |
---|
1034 | [Cleanups to S3 backend (not including Deferred changes). refs #999 |
---|
1035 | david-sarah@jacaranda.org**20110927071855 |
---|
1036 | Ignore-this: f0dca788190d92b1edb1ee1498fb34dc |
---|
1037 | ] |
---|
1038 | [Cleanups to disk backend. refs #999 |
---|
1039 | david-sarah@jacaranda.org**20110927071544 |
---|
1040 | Ignore-this: e9d3fd0e85aaf301c04342fffdc8f26 |
---|
1041 | ] |
---|
1042 | [test_storage.py: fix test_status_bad_disk_stats. refs #999 |
---|
1043 | david-sarah@jacaranda.org**20110927071403 |
---|
1044 | Ignore-this: 6108fee69a60962be2df2ad11b483a11 |
---|
1045 | ] |
---|
1046 | [util/deferredutil.py: add some utilities for asynchronous iteration. refs #999 |
---|
1047 | david-sarah@jacaranda.org**20110927070947 |
---|
1048 | Ignore-this: ac4946c1e5779ea64b85a1a420d34c9e |
---|
1049 | ] |
---|
1050 | [Add 'has-immutable-readv' to server version information. refs #999 |
---|
1051 | david-sarah@jacaranda.org**20110923220935 |
---|
1052 | Ignore-this: c3c4358f2ab8ac503f99c968ace8efcf |
---|
1053 | ] |
---|
1054 | [Minor cleanup to disk backend. refs #999 |
---|
1055 | david-sarah@jacaranda.org**20110923205510 |
---|
1056 | Ignore-this: 79f92d7c2edb14cfedb167247c3f0d08 |
---|
1057 | ] |
---|
1058 | [Update the S3 backend. refs #999 |
---|
1059 | david-sarah@jacaranda.org**20110923205345 |
---|
1060 | Ignore-this: 5ca623a17e09ddad4cab2f51b49aec0a |
---|
1061 | ] |
---|
1062 | [Update the null backend to take into account interface changes. Also, it now records which shares are present, but not their contents. refs #999 |
---|
1063 | david-sarah@jacaranda.org**20110923205219 |
---|
1064 | Ignore-this: 42a23d7e253255003dc63facea783251 |
---|
1065 | ] |
---|
1066 | [Make EmptyShare.check_testv a simple function. refs #999 |
---|
1067 | david-sarah@jacaranda.org**20110923204945 |
---|
1068 | Ignore-this: d0132c085f40c39815fa920b77fc39ab |
---|
1069 | ] |
---|
1070 | [The cancel secret needs to be unique, even if it isn't explicitly provided. refs #999 |
---|
1071 | david-sarah@jacaranda.org**20110923204914 |
---|
1072 | Ignore-this: 6c44bb908dd4c0cdc59506b2d87a47b0 |
---|
1073 | ] |
---|
1074 | [Implement readv for immutable shares. refs #999 |
---|
1075 | david-sarah@jacaranda.org**20110923204611 |
---|
1076 | Ignore-this: 24f14b663051169d66293020e40c5a05 |
---|
1077 | ] |
---|
1078 | [Remove redundant si_s argument from check_write_enabler. refs #999 |
---|
1079 | david-sarah@jacaranda.org**20110923204425 |
---|
1080 | Ignore-this: 25be760118dbce2eb661137f7d46dd20 |
---|
1081 | ] |
---|
1082 | [interfaces.py: add fill_in_space_stats method to IStorageBackend. refs #999 |
---|
1083 | david-sarah@jacaranda.org**20110923203723 |
---|
1084 | Ignore-this: 59371c150532055939794fed6c77dcb6 |
---|
1085 | ] |
---|
1086 | [Add incomplete S3 backend. refs #999 |
---|
1087 | david-sarah@jacaranda.org**20110923041314 |
---|
1088 | Ignore-this: b48df65699e3926dcbb87b5f755cdbf1 |
---|
1089 | ] |
---|
1090 | [Move advise_corrupt_share to allmydata/storage/backends/base.py, since it will be common to the disk and S3 backends. refs #999 |
---|
1091 | david-sarah@jacaranda.org**20110923041115 |
---|
1092 | Ignore-this: 782b49f243bd98fcb6c249f8e40fd9f |
---|
1093 | ] |
---|
1094 | [A few comment cleanups. refs #999 |
---|
1095 | david-sarah@jacaranda.org**20110923041003 |
---|
1096 | Ignore-this: f574b4a3954b6946016646011ad15edf |
---|
1097 | ] |
---|
1098 | [mutable/publish.py: elements should not be removed from a dictionary while it is being iterated over. refs #393 |
---|
1099 | david-sarah@jacaranda.org**20110923040825 |
---|
1100 | Ignore-this: 135da94bd344db6ccd59a576b54901c1 |
---|
1101 | ] |
---|
1102 | [Blank line cleanups. |
---|
1103 | david-sarah@jacaranda.org**20110923012044 |
---|
1104 | Ignore-this: 8e1c4ecb5b0c65673af35872876a8591 |
---|
1105 | ] |
---|
1106 | [Reinstate the cancel_lease methods of ImmutableDiskShare and MutableDiskShare, since they are needed for lease expiry. refs #999 |
---|
1107 | david-sarah@jacaranda.org**20110922183323 |
---|
1108 | Ignore-this: a11fb0dd0078ff627cb727fc769ec848 |
---|
1109 | ] |
---|
1110 | [Fix most of the crawler tests. refs #999 |
---|
1111 | david-sarah@jacaranda.org**20110922183008 |
---|
1112 | Ignore-this: 116c0848008f3989ba78d87c07ec783c |
---|
1113 | ] |
---|
1114 | [Fix some more test failures. refs #999 |
---|
1115 | david-sarah@jacaranda.org**20110922045451 |
---|
1116 | Ignore-this: b726193cbd03a7c3d343f6e4a0f33ee7 |
---|
1117 | ] |
---|
1118 | [uri.py: resolve a conflict between trunk and the pluggable-backends patches. refs #999 |
---|
1119 | david-sarah@jacaranda.org**20110921222038 |
---|
1120 | Ignore-this: ffeeab60d8e71a6a29a002d024d76fcf |
---|
1121 | ] |
---|
1122 | [Fix more shallow bugs, mainly FilePathification. Also, remove the max_space_per_bucket parameter from BucketWriter since it can be obtained from the _max_size attribute of the share (via a new get_allocated_size() accessor). refs #999 |
---|
1123 | david-sarah@jacaranda.org**20110921221421 |
---|
1124 | Ignore-this: 600e3ccef8533aa43442fa576c7d88cf |
---|
1125 | ] |
---|
1126 | [More fixes to tests needed for pluggable backends. refs #999 |
---|
1127 | david-sarah@jacaranda.org**20110921184649 |
---|
1128 | Ignore-this: 9be0d3a98e350fd4e17a07d2c00bb4ca |
---|
1129 | ] |
---|
1130 | [docs/backends/S3.rst, disk.rst: describe type of space settings as 'quantity of space', not 'str'. refs #999 |
---|
1131 | david-sarah@jacaranda.org**20110921031705 |
---|
1132 | Ignore-this: a74ed8e01b0a1ab5f07a1487d7bf138 |
---|
1133 | ] |
---|
1134 | [docs/backends/S3.rst: remove Issues section. refs #999 |
---|
1135 | david-sarah@jacaranda.org**20110921031625 |
---|
1136 | Ignore-this: c83d8f52b790bc32488869e6ee1df8c2 |
---|
1137 | ] |
---|
1138 | [Fix some incorrect attribute accesses. refs #999 |
---|
1139 | david-sarah@jacaranda.org**20110921031207 |
---|
1140 | Ignore-this: f1ea4c3ea191f6d4b719afaebd2b2bcd |
---|
1141 | ] |
---|
1142 | [docs/backends: document the configuration options for the pluggable backends scheme. refs #999 |
---|
1143 | david-sarah@jacaranda.org**20110920171737 |
---|
1144 | Ignore-this: 5947e864682a43cb04e557334cda7c19 |
---|
1145 | ] |
---|
1146 | [Work-in-progress, includes fix to bug involving BucketWriter. refs #999 |
---|
1147 | david-sarah@jacaranda.org**20110920033803 |
---|
1148 | Ignore-this: 64e9e019421454e4d08141d10b6e4eed |
---|
1149 | ] |
---|
1150 | [Pluggable backends -- all other changes. refs #999 |
---|
1151 | david-sarah@jacaranda.org**20110919233256 |
---|
1152 | Ignore-this: 1a77b6b5d178b32a9b914b699ba7e957 |
---|
1153 | ] |
---|
1154 | [Pluggable backends -- new and moved files, changes to moved files. refs #999 |
---|
1155 | david-sarah@jacaranda.org**20110919232926 |
---|
1156 | Ignore-this: ec5d2d1362a092d919e84327d3092424 |
---|
1157 | ] |
---|
1158 | [interfaces.py: 'which -> that' grammar cleanup. |
---|
1159 | david-sarah@jacaranda.org**20110825003217 |
---|
1160 | Ignore-this: a3e15f3676de1b346ad78aabdfb8cac6 |
---|
1161 | ] |
---|
1162 | [test/test_runner.py: BinTahoe.test_path has rare nondeterministic failures; this patch probably fixes a problem where the actual cause of failure is masked by a string conversion error. |
---|
1163 | david-sarah@jacaranda.org**20110927225336 |
---|
1164 | Ignore-this: 6f1ad68004194cc9cea55ace3745e4af |
---|
1165 | ] |
---|
1166 | [docs/configuration.rst: add section about the types of node, and clarify when setting web.port enables web-API service. fixes #1444 |
---|
1167 | zooko@zooko.com**20110926203801 |
---|
1168 | Ignore-this: ab94d470c68e720101a7ff3c207a719e |
---|
1169 | ] |
---|
1170 | [TAG allmydata-tahoe-1.9.0a2 |
---|
1171 | warner@lothar.com**20110925234811 |
---|
1172 | Ignore-this: e9649c58f9c9017a7d55008938dba64f |
---|
1173 | ] |
---|
1174 | Patch bundle hash: |
---|
1175 | 557809996f0e69ea0983cb3404bf535838ec023c |
---|