regurgitator 0.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data/ChangeLog ADDED
@@ -0,0 +1,499 @@
1
+ ChangeLog from http://bogomips.org/regurgitator.git
2
+
3
+ commit 0104cfec9974cc65d79ce614ab37ba3fbd672b11
4
+ Author: Eric Wong <normalperson@yhbt.net>
5
+ Date: Tue May 10 15:09:50 2011 -0700
6
+
7
+ pkg.mk: add check-warnings
8
+
9
+ commit f8d293d20235ada33ec029c3cb08463d6c94c6dd
10
+ Author: Eric Wong <normalperson@yhbt.net>
11
+ Date: Tue May 10 14:35:41 2011 -0700
12
+
13
+ ignore LATEST file
14
+
15
+ commit 5ff7814f6c58fe497bcb039ea5a94dc630ec6b8b
16
+ Author: Eric Wong <normalperson@yhbt.net>
17
+ Date: Tue May 10 14:35:23 2011 -0700
18
+
19
+ README: update with source location and mailing list
20
+
21
+ Might as well...
22
+
23
+ commit bb3d8a7c24fb296d8d38f650c486d65119c0cfa1
24
+ Author: Eric Wong <normalperson@yhbt.net>
25
+ Date: Tue May 10 14:24:52 2011 -0700
26
+
27
+ gemspec: update dependencies
28
+
29
+ commit 37702bd4301f0269db4cc7b79e4d41cb0904df0a
30
+ Author: Eric Wong <normalperson@yhbt.net>
31
+ Date: Tue May 10 14:24:39 2011 -0700
32
+
33
+ gemspec: use mailing list address
34
+
35
+ commit d962887e124557910e1480964b1592677568bb01
36
+ Author: Eric Wong <normalperson@yhbt.net>
37
+ Date: Mon Apr 18 19:08:42 2011 -0700
38
+
39
+ file_request: http_spew will use seconds for timeout
40
+
41
+ In the next release, but prepare for it anyways since
42
+ this is unreleased.
43
+
44
+ commit 9cc1249172ba6112c8353b06a7e18f7bdcc874c6
45
+ Author: Eric Wong <normalperson@yhbt.net>
46
+ Date: Tue Apr 5 14:42:34 2011 -0700
47
+
48
+ server_settings: doc fix
49
+
50
+ commit 50d978eaf707763b8ae02194ef4b79c44c4a0c41
51
+ Author: Eric Wong <normalperson@yhbt.net>
52
+ Date: Mon Apr 4 17:05:49 2011 -0700
53
+
54
+ device|server_settings: fix ivar initialization
55
+
56
+ commit 8b0422b0c1de8affb3b82e2e4b190298dc87ddb7
57
+ Author: Eric Wong <normalperson@yhbt.net>
58
+ Date: Mon Apr 4 16:36:41 2011 -0700
59
+
60
+ server_settings: document zone_for
61
+
62
+ commit 949e56e11b521286f279747994b74738ca17528a
63
+ Author: Eric Wong <normalperson@yhbt.net>
64
+ Date: Mon Apr 4 15:19:16 2011 -0700
65
+
66
+ device: split out ivar initialization
67
+
68
+ commit 6a78e1b6cbe37b4156cf5c838e8eeaa9190ad65c
69
+ Author: Eric Wong <normalperson@yhbt.net>
70
+ Date: Mon Apr 4 15:04:56 2011 -0700
71
+
72
+ server_settings: whitespace cleanup
73
+
74
+ commit 21647d92730e4ce894ed3e92c95ec6339499c375
75
+ Author: Eric Wong <normalperson@yhbt.net>
76
+ Date: Fri Apr 1 17:36:02 2011 -0700
77
+
78
+ local: cleanup addr methods
79
+
80
+ We no longer filter out localhost from local IP addreses, so
81
+ always expect something.
82
+
83
+ commit 16680ba9de4d417ac6575f293fbb2a7e0c1f023b
84
+ Author: Eric Wong <normalperson@yhbt.net>
85
+ Date: Fri Apr 1 17:35:21 2011 -0700
86
+
87
+ server_settings: more extend()-friendly for existing objects
88
+
89
+ commit cad82dc0a6a66b363ed5da41eab2523d95e81cb8
90
+ Author: Eric Wong <normalperson@yhbt.net>
91
+ Date: Fri Apr 1 17:02:33 2011 -0700
92
+
93
+ endpoint: document URI trying logic
94
+
95
+ It's a bit on the wacky side
96
+
97
+ commit ea1819c389574c8e01493e37cd518d3f04279db0
98
+ Author: Eric Wong <normalperson@yhbt.net>
99
+ Date: Fri Apr 1 16:57:27 2011 -0700
100
+
101
+ endpoint: cleanup, file_request is no longer overridden
102
+
103
+ commit b85fec709c18e51de739ed834e7bce163170f2f8
104
+ Author: Eric Wong <normalperson@yhbt.net>
105
+ Date: Fri Apr 1 16:54:49 2011 -0700
106
+
107
+ QUERY_STRING is always a string
108
+
109
+ Rack::Lint requires it
110
+
111
+ commit 72e4d85c1ab3a6bbc6fc28f4d7c91046eebd48b4
112
+ Author: Eric Wong <normalperson@yhbt.net>
113
+ Date: Fri Apr 1 16:40:50 2011 -0700
114
+
115
+ endpoint: kill empty lines
116
+
117
+ commit 2b4c840f7f3764bc348f0d6715be498563e9280e
118
+ Author: Eric Wong <normalperson@yhbt.net>
119
+ Date: Fri Apr 1 16:04:41 2011 -0700
120
+
121
+ drop VERSION constant
122
+
123
+ Don't encourage people to use it to check for features.
124
+
125
+ commit 2ea02f34bf285270ce4c2dedc6e7bf5e0ba1cd24
126
+ Author: Eric Wong <normalperson@yhbt.net>
127
+ Date: Tue Mar 29 14:47:38 2011 -0700
128
+
129
+ make local addr updates thread-safe
130
+
131
+ commit 78492cf7df8c640ef8b099b33ad634a32761eb7a
132
+ Author: Eric Wong <normalperson@yhbt.net>
133
+ Date: Mon Mar 28 17:54:02 2011 -0700
134
+
135
+ synchronize cache access
136
+
137
+ Play things on the safe side for now.
138
+
139
+ commit 1ea972a78312fb31606ac0caa756dca15e5833b1
140
+ Author: Eric Wong <normalperson@yhbt.net>
141
+ Date: Mon Mar 28 17:48:51 2011 -0700
142
+
143
+ domain: do not blindly refresh on missing domains
144
+
145
+ It could be a DoS attack from clients, so use
146
+ negative caching.
147
+
148
+ commit 19420cae5b859ce0fe60a141132b42e49d3c442e
149
+ Author: Eric Wong <normalperson@yhbt.net>
150
+ Date: Mon Mar 28 17:35:23 2011 -0700
151
+
152
+ device: refresh local address list when refreshing devices
153
+
154
+ We don't care about new addresses until the device list is
155
+ updated.
156
+
157
+ commit 0f5379fb275ac469bc7bd2c4c42f817986a634a6
158
+ Author: Eric Wong <normalperson@yhbt.net>
159
+ Date: Fri Mar 25 16:34:17 2011 -0700
160
+
161
+ file_request: run takes timeout argument
162
+
163
+ Probably makes it easier to use.
164
+
165
+ commit cb9711bff63cf6852bf7333a27769347e686d94c
166
+ Author: Eric Wong <normalperson@yhbt.net>
167
+ Date: Fri Mar 25 16:33:35 2011 -0700
168
+
169
+ local_file: less confusing If-Modified-Since check
170
+
171
+ and/or precedence requires too much brain power
172
+
173
+ commit 8b86d58d9319236bbac388e3fa72d0e6548d6ac6
174
+ Author: Eric Wong <normalperson@yhbt.net>
175
+ Date: Fri Mar 25 16:14:43 2011 -0700
176
+
177
+ local: allow loopback-only addresses
178
+
179
+ Some installations may just use us to manage multiple disks
180
+ on one machine.
181
+
182
+ commit 98611fdd89b325b4d5a90325bb496cb23d1a8009
183
+ Author: Eric Wong <normalperson@yhbt.net>
184
+ Date: Fri Mar 25 15:20:03 2011 -0700
185
+
186
+ remove redundant Socket.ip_address_list call
187
+
188
+ We already handle that in regurgitator/local
189
+
190
+ commit 809b593aed2b941c3f54f25eea4c55ba0ecaae3d
191
+ Author: Eric Wong <normalperson@yhbt.net>
192
+ Date: Mon Mar 21 18:37:48 2011 -0700
193
+
194
+ endpoint: unindent
195
+
196
+ commit a0bce0b6281ad9a79da703b3a2dfd14a390017f3
197
+ Author: Eric Wong <normalperson@yhbt.net>
198
+ Date: Mon Mar 21 18:30:28 2011 -0700
199
+
200
+ abort instead of raising for some errors
201
+
202
+ consider these like assert()s in C code
203
+
204
+ commit 1554f8c6922c139c4287ccdbcdab7db1a69f2790
205
+ Author: Eric Wong <normalperson@yhbt.net>
206
+ Date: Fri Mar 18 20:00:44 2011 -0700
207
+
208
+ flesh out local file optimizations
209
+
210
+ We try hard to avoid unnecessary stat(2) syscalls
211
+
212
+ commit 0600bebe66271253be39219b2abc4e554947fb8b
213
+ Author: Eric Wong <normalperson@yhbt.net>
214
+ Date: Fri Mar 18 17:20:26 2011 -0700
215
+
216
+ minor optimizations and doc updates
217
+
218
+ commit 86156bc5ae7ade2c92f1c4ebb900cec1ba2f09a7
219
+ Author: Eric Wong <normalperson@yhbt.net>
220
+ Date: Fri Mar 18 16:50:52 2011 -0700
221
+
222
+ file_info: small cleanup
223
+
224
+ commit 5cf99426d178d4337b41fc454b5e3654bc5d1883
225
+ Author: Eric Wong <normalperson@yhbt.net>
226
+ Date: Fri Mar 18 16:49:11 2011 -0700
227
+
228
+ style: use sprintf instead of String#%
229
+
230
+ More to type but easier to follow for somebody who
231
+ uses C...
232
+
233
+ commit cad01b40dd0302eeb5e1b5c7a8837ac73fe2260e
234
+ Author: Eric Wong <normalperson@yhbt.net>
235
+ Date: Fri Mar 18 16:47:51 2011 -0700
236
+
237
+ remove ipaddr dependency and just use Patricia
238
+
239
+ We generate all the URIs ourselves, so there's no point
240
+ in validating it to avoid DNS lookups.
241
+
242
+ commit 4b646f6d2c03f61fdaeb853ca335eb217d76ee9d
243
+ Author: Eric Wong <normalperson@yhbt.net>
244
+ Date: Fri Mar 18 16:46:46 2011 -0700
245
+
246
+ use patricia for altmask handling
247
+
248
+ Seems to be a saner option
249
+
250
+ commit bdd68f14f3dcc03ab782b752049d18b09ec8bca3
251
+ Author: Eric Wong <normalperson@yhbt.net>
252
+ Date: Fri Mar 18 15:57:21 2011 -0700
253
+
254
+ device: cleanup URI pair generation
255
+
256
+ commit 1f2a4c790cb507e9f9e9e59c21fd1eeb57d63c35
257
+ Author: Eric Wong <normalperson@yhbt.net>
258
+ Date: Fri Mar 18 15:48:31 2011 -0700
259
+
260
+ device: remove unnecessary IPAddr conversion
261
+
262
+ There's no need for it
263
+
264
+ commit 4307aebf9e5d3b3187d7762a43dbe0063ab5ba3f
265
+ Author: Eric Wong <normalperson@yhbt.net>
266
+ Date: Fri Mar 18 15:45:36 2011 -0700
267
+
268
+ switch to ivars instead of Structs
269
+
270
+ It's easier to identify object-wide objects this way
271
+
272
+ commit 6968b82a28c803eab61236c473ee555198fdbdb4
273
+ Author: Eric Wong <normalperson@yhbt.net>
274
+ Date: Fri Mar 18 15:28:23 2011 -0700
275
+
276
+ switch to rpatricia for zone lookups
277
+
278
+ It's less code and should be better for larger sites.
279
+
280
+ commit 8d6aa623bb55e170dfe1b0e837ae467d48541262
281
+ Author: Eric Wong <normalperson@yhbt.net>
282
+ Date: Fri Mar 18 15:12:32 2011 -0700
283
+
284
+ allow running integration test separately
285
+
286
+ commit 35e3d84a447242960ff9df4807fb68d58f44d493
287
+ Author: Eric Wong <normalperson@yhbt.net>
288
+ Date: Fri Mar 18 15:12:05 2011 -0700
289
+
290
+ test: remove Isolate dependency
291
+
292
+ We'll use Bundler if we need to
293
+
294
+ commit 780c38959a1180169f8e54bf54520caf2fde0e2c
295
+ Author: Eric Wong <e@yhbt.net>
296
+ Date: Fri Mar 18 22:02:36 2011 +0000
297
+
298
+ use Socket.ip_address_list in Ruby 1.9.2
299
+
300
+ It's smarter :)
301
+
302
+ commit 45732df77a6725b3d03439e223eadc1711948b28
303
+ Author: Eric Wong <e@yhbt.net>
304
+ Date: Mon Feb 28 09:38:38 2011 +0000
305
+
306
+ switch to HTTP_Spew for our HTTP needs
307
+
308
+ Spewing away!
309
+
310
+ commit 32f1a52478fcad4461e700b9942fefb6b913c8a9
311
+ Author: Eric Wong <e@yhbt.net>
312
+ Date: Mon Feb 28 08:35:18 2011 +0000
313
+
314
+ endpoint: needless ::File colons
315
+
316
+ commit db74cbbcb07c2915cc4da93581b2141767c1c87a
317
+ Author: Eric Wong <e@yhbt.net>
318
+ Date: Mon Feb 28 07:26:09 2011 +0000
319
+
320
+ endpoint: remove /etc/mime.types import
321
+
322
+ Let the user deal with it
323
+
324
+ commit 32b155c6e9dba923d91e6626800d616a03fe6774
325
+ Author: Eric Wong <e@yhbt.net>
326
+ Date: Mon Feb 28 04:17:20 2011 +0000
327
+
328
+ use require for external libraries
329
+
330
+ autoload isn't thread-safe and there's no need for it since
331
+ we use these everywhere.
332
+
333
+ commit 96b938b728b26174fa7d04024dbe482d1be96340
334
+ Author: Eric Wong <e@yhbt.net>
335
+ Date: Mon Feb 28 04:14:59 2011 +0000
336
+
337
+ cleanups
338
+
339
+ commit c6c0cd07a16938a15379de38930e1f170bbddf7e
340
+ Author: Eric Wong <e@yhbt.net>
341
+ Date: Mon Feb 28 03:55:59 2011 +0000
342
+
343
+ switch to dual GPL2 and GPL3
344
+
345
+ commit 622a02b853c2debdab8c8f72bc78322a869484be
346
+ Author: Eric Wong <e@yhbt.net>
347
+ Date: Sun Feb 6 21:23:05 2011 +0000
348
+
349
+ unused_listen: simplify!
350
+
351
+ Duh :p
352
+
353
+ commit d0e43350fb3ccc90a7d4316fd5e230aa8788a34b
354
+ Author: Eric Wong <e@yhbt.net>
355
+ Date: Sun Feb 6 21:17:10 2011 +0000
356
+
357
+ file_request: switch to kgio sockets
358
+
359
+ They're much cheaper to use under stock 1.9.2
360
+
361
+ commit f1bba254900ee80b823f89a618f9c1880563960f
362
+ Author: Eric Wong <e@yhbt.net>
363
+ Date: Sun Feb 6 21:10:34 2011 +0000
364
+
365
+ file_request: no need for named &block
366
+
367
+ Saves allocations
368
+
369
+ commit 1640faf154076e9094b8806dc0007191b9881a12
370
+ Author: Eric Wong <e@yhbt.net>
371
+ Date: Wed Jan 19 18:28:10 2011 -0800
372
+
373
+ tests: properly shutdown rackup
374
+
375
+ rack 1.2.1 standardized on SIGINT to shutdown the server
376
+
377
+ commit e915649cbcceb5fffe1a5586b7228a6f6d0b7b95
378
+ Author: Eric Wong <e@yhbt.net>
379
+ Date: Wed Jan 19 16:38:24 2011 -0800
380
+
381
+ bump all dependencies
382
+
383
+ We should always be testing with the latest and greatest.
384
+
385
+ commit fd9d43ef2b65385a5537e68ecb6786bfb1fd9949
386
+ Author: Eric Wong <e@yhbt.net>
387
+ Date: Thu Oct 28 09:47:37 2010 +0000
388
+
389
+ bump kcar dependency to 0.1.1
390
+
391
+ kcar 0.1.1 fixes some bugs we encountered.
392
+
393
+ commit 0b6992e7bacf86edf8f123501476d7d0bae2b756
394
+ Author: Eric Wong <e@yhbt.net>
395
+ Date: Mon Jul 19 14:11:19 2010 -0700
396
+
397
+ domain_host: allow Host: header to be the full bucket name
398
+
399
+ This allows us to host objects for other hosts without
400
+ (easily) revealing who actually hosts the objects. S3
401
+ allows this, too.
402
+
403
+ commit c0a4a1ee3cd017f853ab707ca148142744ba2f06
404
+ Author: Eric Wong <e@yhbt.net>
405
+ Date: Fri Jul 16 15:27:36 2010 -0700
406
+
407
+ empty files do not return ETag nor Last-Modified
408
+
409
+ Empty files don't use any bandwidth other than headers, and
410
+ we've already paid that cost, so trim down on our headers
411
+ to save a little.
412
+
413
+ commit 3a44c61aea716c33b739526e3d68f033445d3fb5
414
+ Author: Eric Wong <e@yhbt.net>
415
+ Date: Fri Jul 16 15:27:22 2010 -0700
416
+
417
+ GNUmakefile: fix dependencies for integration tests
418
+
419
+ commit 0c1e814d21e3b44ed078c6f1d1b5e503541e6124
420
+ Author: Eric Wong <e@yhbt.net>
421
+ Date: Wed Jul 14 19:17:19 2010 -0700
422
+
423
+ endpoint: do not fail if network is unreachable
424
+
425
+ Regurgitator and BARFS should work without a network
426
+
427
+ commit 092140638963a0ce522c03c00dd0ad54fd08ca69
428
+ Author: Eric Wong <e@yhbt.net>
429
+ Date: Wed Jul 14 19:16:26 2010 -0700
430
+
431
+ autoload Rack
432
+
433
+ It may not be loaded when testing or with standalone scripts
434
+
435
+ commit 61e846b0859fc1fdfc18dda0b8aefe9bef00fac8
436
+ Author: Eric Wong <e@yhbt.net>
437
+ Date: Wed Jul 14 18:41:15 2010 -0700
438
+
439
+ file_request: lazier allocation, switch to HeaderHash
440
+
441
+ commit d4b498215373ece69025bc74572fce19ade68456
442
+ Author: Eric Wong <e@yhbt.net>
443
+ Date: Wed Jul 14 18:40:06 2010 -0700
444
+
445
+ io_wait: remove dead code
446
+
447
+ commit 5228d95c420d21f1ce7dcd43f7d3b60e935a5b55
448
+ Author: Eric Wong <e@yhbt.net>
449
+ Date: Wed Jul 14 16:58:29 2010 -0700
450
+
451
+ endpoint: simplify mime type detection
452
+
453
+ commit 0cffd33a7d600c2218b057811e2dc1d383a6443f
454
+ Author: Eric Wong <e@yhbt.net>
455
+ Date: Wed Jul 14 12:54:04 2010 -0700
456
+
457
+ tests: rename SEQUEL_URI => TEST_SEQUEL
458
+
459
+ for consistency with BARFS tests.
460
+
461
+ commit fdb1c5cc7bb7622a17683bedef2750d0893c64aa
462
+ Author: Eric Wong <e@yhbt.net>
463
+ Date: Mon Jul 12 18:19:06 2010 -0700
464
+
465
+ extra tests for HEAD requests
466
+
467
+ commit af05df0112eaae2b2f26215def99c9fb73740d3e
468
+ Author: Eric Wong <e@yhbt.net>
469
+ Date: Mon Jul 12 17:18:16 2010 -0700
470
+
471
+ tests
472
+
473
+ commit 81772d31ffad453d3962987aee0068ae4ad51f7d
474
+ Author: Eric Wong <e@yhbt.net>
475
+ Date: Mon Jul 12 14:51:40 2010 -0700
476
+
477
+ file_info: short circuit for empty files
478
+
479
+ commit c7fe0290bfe44931e3a4325a4f2962a990081344
480
+ Author: Eric Wong <e@yhbt.net>
481
+ Date: Mon Jul 12 08:17:44 2010 +0000
482
+
483
+ endpoint: more BARFS-friendliness
484
+
485
+ This needs major cleanup
486
+
487
+ commit 50e6866c0e98d3a5380c745ea28c23b8441dab56
488
+ Author: Eric Wong <e@yhbt.net>
489
+ Date: Sun Jul 11 08:42:39 2010 +0000
490
+
491
+ split out DB into separate modules
492
+
493
+ This makes us easier to use with BARFS
494
+
495
+ commit 6c9bcb094c692b613324b2bf07945284af65007b
496
+ Author: Eric Wong <e@yhbt.net>
497
+ Date: Sat Jul 10 19:58:47 2010 +0000
498
+
499
+ initial