symphony 0.12.3 → 0.14.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -4,7 +4,7 @@ require_relative '../helpers'
4
4
 
5
5
  require 'symphony/task'
6
6
 
7
- describe Symphony::Task do
7
+ RSpec.describe Symphony::Task do
8
8
 
9
9
  before( :all ) do
10
10
  Symphony::Queue.configure
@@ -70,7 +70,7 @@ describe Symphony::Task do
70
70
  end
71
71
  end
72
72
  let( :payload ) {{ "the" => "payload" }}
73
- let( :serialized_payload ) { Yajl.dump(payload) }
73
+ let( :serialized_payload ) { JSON.generate(payload) }
74
74
  let( :metadata ) {{ :content_type => 'application/json' }}
75
75
  let( :queue ) do
76
76
  obj = Symphony::Queue.for_task( task_class )
@@ -99,6 +99,23 @@ describe Symphony::Task do
99
99
  end
100
100
 
101
101
 
102
+ it "can set the x-queue-type for the queue" do
103
+ task = Class.new( described_class ) do
104
+ queue_name 'wascally.wabbit'
105
+ queue_type 'classic'
106
+ end
107
+ expect( task.queue_type ).to eq( 'classic' )
108
+ end
109
+
110
+
111
+ it "has a queue type of nil if unspecified" do
112
+ task = Class.new( described_class ) do
113
+ queue_name 'wascally.wabbit'
114
+ end
115
+ expect( task.queue_type ).to eq( nil )
116
+ end
117
+
118
+
102
119
  it "can set the number of messages to prefetch" do
103
120
  task_class.prefetch( 10 )
104
121
  expect( task_class.prefetch ).to eq( 10 )
@@ -6,7 +6,7 @@ require 'rspec'
6
6
  require 'symphony'
7
7
 
8
8
 
9
- describe Symphony do
9
+ RSpec.describe Symphony do
10
10
 
11
11
  before( :each ) do
12
12
  ENV.delete( 'SYMPHONY_CONFIG' )
metadata CHANGED
@@ -1,19 +1,19 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: symphony
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.12.3
4
+ version: 0.14.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Michael Granger
8
8
  - Mahlon E. Smith
9
- autorequire:
9
+ autorequire:
10
10
  bindir: bin
11
11
  cert_chain:
12
12
  - |
13
13
  -----BEGIN CERTIFICATE-----
14
14
  MIIENDCCApygAwIBAgIBATANBgkqhkiG9w0BAQsFADAiMSAwHgYDVQQDDBdnZWQv
15
- REM9RmFlcmllTVVEL0RDPW9yZzAeFw0xODExMjAxODI5NTlaFw0xOTExMjAxODI5
16
- NTlaMCIxIDAeBgNVBAMMF2dlZC9EQz1GYWVyaWVNVUQvREM9b3JnMIIBojANBgkq
15
+ REM9RmFlcmllTVVEL0RDPW9yZzAeFw0xOTEwMDkwMDM2NTdaFw0yMDEwMDgwMDM2
16
+ NTdaMCIxIDAeBgNVBAMMF2dlZC9EQz1GYWVyaWVNVUQvREM9b3JnMIIBojANBgkq
17
17
  hkiG9w0BAQEFAAOCAY8AMIIBigKCAYEAvyVhkRzvlEs0fe7145BYLfN6njX9ih5H
18
18
  L60U0p0euIurpv84op9CNKF9tx+1WKwyQvQP7qFGuZxkSUuWcP/sFhDXL1lWUuIl
19
19
  M4uHbGCRmOshDrF4dgnBeOvkHr1fIhPlJm5FO+Vew8tSQmlDsosxLUx+VB7DrVFO
@@ -25,32 +25,38 @@ cert_chain:
25
25
  N2I4L/ZOIe2DIVuYH7aLHfjZDQv/mNgpAgMBAAGjdTBzMAkGA1UdEwQCMAAwCwYD
26
26
  VR0PBAQDAgSwMB0GA1UdDgQWBBRyjf55EbrHagiRLqt5YAd3yb8k4DAcBgNVHREE
27
27
  FTATgRFnZWRARmFlcmllTVVELm9yZzAcBgNVHRIEFTATgRFnZWRARmFlcmllTVVE
28
- Lm9yZzANBgkqhkiG9w0BAQsFAAOCAYEAP9Ffkvg4e8CjIWi8SykQ8oJSS8jbmbgF
29
- abke3vXWLG6V9kFiObuJd5wZRBluJANu7bEtjgc3fFaGVP2XxVdCpVjNbmMDg4Qp
30
- ovvczP53X6pQP2RSZgxF6Lblvy8y11RziUTVRG/Z2aJHsElo6gI7vQznE/OSDrhC
31
- gEhr8uaIUt7D+HZWRbU0+MkKPpL5uMqaFuJbqXEvSwPTuUuYkDfNfsjQO7ruWBac
32
- bxHCrvpZ6Tijc0nrlyXi6gPOCLeaqhau2xFnlvKgELwsGYSoKBJyDwqtQ5kwrOlU
33
- tkSyLrfZ+RZcH535Hyvif7ZxB0v5OxXXoec+N2vrUsEUMRDL9dg4/WFdN8hIOixF
34
- 3IPKpZ1ho0Ya5q7yhygtBK9/NBFHw+nbJjcltfPDBXleRe8u73gnQo8AZIhStYSP
35
- v4qqqa27Bs468d6SoPxjSm8a2mM9HZ4OdWhq4tFsbTeXDVquCfi64OTEaTt2xQdR
36
- JnC4lpJfCP6aCXa5h2XAQfPSH636cQap
28
+ Lm9yZzANBgkqhkiG9w0BAQsFAAOCAYEAFqsr6o0SvQRgjQVmhbQvExRnCMCoW1yb
29
+ FJiN7A5RA2Iy2E61OG1Ul5nGmaDmx/PNB/6JIbIV3B9Uq8aTZx4uOjK7r8vMl1/t
30
+ ZfY7r6HejJfXlcO2m6JDMbpdyEVv916LncBkzZRz6vnnNCx+31f15FKddxujpAFd
31
+ qpn3JRQY+oj7ZkoccL/IUiDpxQWeS3oOoz9qr2kVTp8R50InZimt79FqCl/1m66W
32
+ kdOuf+wM3DDx7Rt4IVNHrhGlyfMr7xjKW1Q3gll+pMN1DT6Ajx/t3JDSEg7BnnEW
33
+ r7AciSO6J4ApUdqyG+coLFlGdtgFTgRHv7ihbQtDI7Z/LV7A4Spn1j2PK3j0Omri
34
+ kSl1hPVigRytfgdVGiLXzvkkrkgj9EknCaj5UHbac7XvVBrljXj9hsnnqTANaKsg
35
+ jBZSA+N+xUTgUWpXjjwsLZjzJkhWATJWq+krNXcqpwXo6HsjmdUxoFMt63RBb+sI
36
+ XrxOxp8o0uOkU7FdLSGsyqJ2LzsR4obN
37
37
  -----END CERTIFICATE-----
38
- date: 2019-07-11 00:00:00.000000000 Z
38
+ date: 2020-07-23 00:00:00.000000000 Z
39
39
  dependencies:
40
40
  - !ruby/object:Gem::Dependency
41
41
  name: configurability
42
42
  requirement: !ruby/object:Gem::Requirement
43
43
  requirements:
44
- - - "~>"
44
+ - - ">="
45
45
  - !ruby/object:Gem::Version
46
46
  version: '3.1'
47
+ - - "<="
48
+ - !ruby/object:Gem::Version
49
+ version: '4.99'
47
50
  type: :runtime
48
51
  prerelease: false
49
52
  version_requirements: !ruby/object:Gem::Requirement
50
53
  requirements:
51
- - - "~>"
54
+ - - ">="
52
55
  - !ruby/object:Gem::Version
53
56
  version: '3.1'
57
+ - - "<="
58
+ - !ruby/object:Gem::Version
59
+ version: '4.99'
54
60
  - !ruby/object:Gem::Dependency
55
61
  name: loggability
56
62
  requirement: !ruby/object:Gem::Requirement
@@ -107,20 +113,6 @@ dependencies:
107
113
  - - "~>"
108
114
  - !ruby/object:Gem::Version
109
115
  version: '1.1'
110
- - !ruby/object:Gem::Dependency
111
- name: yajl-ruby
112
- requirement: !ruby/object:Gem::Requirement
113
- requirements:
114
- - - "~>"
115
- - !ruby/object:Gem::Version
116
- version: '1.3'
117
- type: :runtime
118
- prerelease: false
119
- version_requirements: !ruby/object:Gem::Requirement
120
- requirements:
121
- - - "~>"
122
- - !ruby/object:Gem::Version
123
- version: '1.3'
124
116
  - !ruby/object:Gem::Dependency
125
117
  name: msgpack
126
118
  requirement: !ruby/object:Gem::Requirement
@@ -164,61 +156,33 @@ dependencies:
164
156
  - !ruby/object:Gem::Version
165
157
  version: '0.2'
166
158
  - !ruby/object:Gem::Dependency
167
- name: hoe-mercurial
168
- requirement: !ruby/object:Gem::Requirement
169
- requirements:
170
- - - "~>"
171
- - !ruby/object:Gem::Version
172
- version: '1.4'
173
- type: :development
174
- prerelease: false
175
- version_requirements: !ruby/object:Gem::Requirement
176
- requirements:
177
- - - "~>"
178
- - !ruby/object:Gem::Version
179
- version: '1.4'
180
- - !ruby/object:Gem::Dependency
181
- name: hoe-deveiate
182
- requirement: !ruby/object:Gem::Requirement
183
- requirements:
184
- - - "~>"
185
- - !ruby/object:Gem::Version
186
- version: '0.10'
187
- type: :development
188
- prerelease: false
189
- version_requirements: !ruby/object:Gem::Requirement
190
- requirements:
191
- - - "~>"
192
- - !ruby/object:Gem::Version
193
- version: '0.10'
194
- - !ruby/object:Gem::Dependency
195
- name: hoe-highline
159
+ name: rake-deveiate
196
160
  requirement: !ruby/object:Gem::Requirement
197
161
  requirements:
198
162
  - - "~>"
199
163
  - !ruby/object:Gem::Version
200
- version: '0.2'
164
+ version: '0.12'
201
165
  type: :development
202
166
  prerelease: false
203
167
  version_requirements: !ruby/object:Gem::Requirement
204
168
  requirements:
205
169
  - - "~>"
206
170
  - !ruby/object:Gem::Version
207
- version: '0.2'
171
+ version: '0.12'
208
172
  - !ruby/object:Gem::Dependency
209
- name: rspec
173
+ name: rdoc-generator-fivefish
210
174
  requirement: !ruby/object:Gem::Requirement
211
175
  requirements:
212
176
  - - "~>"
213
177
  - !ruby/object:Gem::Version
214
- version: '3.0'
178
+ version: '0.4'
215
179
  type: :development
216
180
  prerelease: false
217
181
  version_requirements: !ruby/object:Gem::Requirement
218
182
  requirements:
219
183
  - - "~>"
220
184
  - !ruby/object:Gem::Version
221
- version: '3.0'
185
+ version: '0.4'
222
186
  - !ruby/object:Gem::Dependency
223
187
  name: simplecov
224
188
  requirement: !ruby/object:Gem::Requirement
@@ -247,73 +211,22 @@ dependencies:
247
211
  - - "~>"
248
212
  - !ruby/object:Gem::Version
249
213
  version: '0.8'
250
- - !ruby/object:Gem::Dependency
251
- name: rdoc
252
- requirement: !ruby/object:Gem::Requirement
253
- requirements:
254
- - - ">="
255
- - !ruby/object:Gem::Version
256
- version: '4.0'
257
- - - "<"
258
- - !ruby/object:Gem::Version
259
- version: '7'
260
- type: :development
261
- prerelease: false
262
- version_requirements: !ruby/object:Gem::Requirement
263
- requirements:
264
- - - ">="
265
- - !ruby/object:Gem::Version
266
- version: '4.0'
267
- - - "<"
268
- - !ruby/object:Gem::Version
269
- version: '7'
270
- - !ruby/object:Gem::Dependency
271
- name: hoe
272
- requirement: !ruby/object:Gem::Requirement
273
- requirements:
274
- - - "~>"
275
- - !ruby/object:Gem::Version
276
- version: '3.17'
277
- type: :development
278
- prerelease: false
279
- version_requirements: !ruby/object:Gem::Requirement
280
- requirements:
281
- - - "~>"
282
- - !ruby/object:Gem::Version
283
- version: '3.17'
284
- description: |-
285
- Symphony is a subscription-based asynchronous job system. It
286
- allows you to define jobs that watch for lightweight events from a
287
- distributed-messaging AMQP broker, and do work based on their payload.
288
-
289
- It includes several executables under bin/:
290
-
291
- symphony::
292
- A daemon which manages startup and shutdown of one or more Workers
293
- running Tasks as they are published from a queue.
294
-
295
- symphony-task::
296
- A wrapper that runs a single task, useful for testing, or if you don't
297
- require the process management that the symphony daemon provides.
214
+ description: Symphony is a subscription-based asynchronous job system. It allows you
215
+ to define jobs that watch for lightweight events from a distributed-messaging AMQP
216
+ broker, and do work based on their payload.
298
217
  email:
299
- - ged@FaerieMUD.org
218
+ - ged@faeriemud.org
300
219
  - mahlon@martini.nu
301
220
  executables:
302
221
  - symphony
303
222
  - symphony-task
304
223
  extensions: []
305
- extra_rdoc_files:
306
- - History.rdoc
307
- - Manifest.txt
308
- - README.rdoc
309
- - UPGRADING.md
310
- - USAGE.rdoc
224
+ extra_rdoc_files: []
311
225
  files:
312
226
  - ".simplecov"
313
- - ChangeLog
314
227
  - History.rdoc
315
228
  - Manifest.txt
316
- - README.rdoc
229
+ - README.md
317
230
  - Rakefile
318
231
  - UPGRADING.md
319
232
  - USAGE.rdoc
@@ -347,31 +260,32 @@ files:
347
260
  - spec/symphony/task_group_spec.rb
348
261
  - spec/symphony/task_spec.rb
349
262
  - spec/symphony_spec.rb
350
- homepage: http://bitbucket.org/ged/symphony
263
+ homepage: https://hg.sr.ht/~ged/Symphony
351
264
  licenses:
352
- - BSD
353
- metadata: {}
354
- post_install_message:
355
- rdoc_options:
356
- - "-f"
357
- - fivefish
358
- - "-t"
359
- - Symphony
265
+ - BSD-3-Clause
266
+ metadata:
267
+ homepage_uri: https://hg.sr.ht/~ged/Symphony
268
+ documentation_uri: https://deveiate.org/code/symphony
269
+ changelog_uri: https://deveiate.org/code/symphony/History_md.html
270
+ source_uri: https://hg.sr.ht/~ged/Symphony/browse
271
+ bug_tracker_uri: https://todo.sr.ht/~ged/Symphony/browse
272
+ post_install_message:
273
+ rdoc_options: []
360
274
  require_paths:
361
275
  - lib
362
276
  required_ruby_version: !ruby/object:Gem::Requirement
363
277
  requirements:
364
- - - ">="
278
+ - - "~>"
365
279
  - !ruby/object:Gem::Version
366
- version: 2.0.0
280
+ version: '2.6'
367
281
  required_rubygems_version: !ruby/object:Gem::Requirement
368
282
  requirements:
369
283
  - - ">="
370
284
  - !ruby/object:Gem::Version
371
- version: 2.0.3
285
+ version: '0'
372
286
  requirements: []
373
- rubygems_version: 3.0.3
374
- signing_key:
287
+ rubygems_version: 3.1.2
288
+ signing_key:
375
289
  specification_version: 4
376
- summary: Symphony is a subscription-based asynchronous job system
290
+ summary: Symphony is a subscription-based asynchronous job system.
377
291
  test_files: []
metadata.gz.sig CHANGED
Binary file
data/ChangeLog DELETED
@@ -1,1162 +0,0 @@
1
- 2019-07-11 Michael Granger <ged@FaerieMUD.org>
2
-
3
- o * lib/symphony/daemon.rb:
4
- | Observe with one description arg
5
- | [fb1cb7e85622] [tip]
6
- |
7
- 2019-07-10 Michael Granger <ged@FaerieMUD.org>
8
-
9
- o * lib/symphony/task.rb:
10
- | Rearrange and observe salient methods
11
- | [9a00239b9bcd]
12
- |
13
- 2019-07-05 Michael Granger <ged@FaerieMUD.org>
14
-
15
- o * .gems, Rakefile, lib/symphony.rb, lib/symphony/daemon.rb,
16
- | lib/symphony/task.rb, lib/symphony/task_group.rb:
17
- | Add speculative use of Observability
18
- | [4c0da09bdae2]
19
- |
20
- 2019-07-10 Michael Granger <ged@FaerieMUD.org>
21
-
22
- @ * lib/symphony/task.rb, lib/symphony/task_group/longlived.rb,
23
- | spec/symphony/task_group/longlived_spec.rb:
24
- | Re-establish AMQP connections after the task fork
25
- | [70a6afb0622a]
26
- |
27
- 2019-07-09 Michael Granger <ged@FaerieMUD.org>
28
-
29
- o * .hgtags:
30
- | Added tag v0.12.2 for changeset 9222d54d3aaa
31
- | [fd8cb2a491c3]
32
- |
33
- o * .hgsigs:
34
- | Added signature for changeset 96a011854bc7
35
- | [9222d54d3aaa] [v0.12.2]
36
- |
37
- o * History.rdoc, lib/symphony.rb, symphony.gemspec:
38
- | Bump the patch version, update history.
39
- | [96a011854bc7]
40
- |
41
- o * lib/symphony/task_group/longlived.rb,
42
- | spec/symphony/task_group/longlived_spec.rb:
43
- | Rescue all runtime errors when measuring queue depth
44
- | [82eeeea469c1]
45
- |
46
- 2019-07-02 Michael Granger <ged@FaerieMUD.org>
47
-
48
- o * .hgtags:
49
- | Added tag v0.12.1 for changeset f879188b27e9
50
- | [cf4d6ab84037]
51
- |
52
- o * .hgsigs:
53
- | Added signature for changeset c16d31fdfac2
54
- | [f879188b27e9] [v0.12.1]
55
- |
56
- o * History.rdoc, lib/symphony.rb, symphony.gemspec:
57
- | Bump the patch version, update history.
58
- | [c16d31fdfac2]
59
- |
60
- 2019-07-01 Michael Granger <ged@FaerieMUD.org>
61
-
62
- o * spec/symphony/task_group/longlived_spec.rb:
63
- | Add a spec for closed-channel recovery
64
- | [38701b4ddb53]
65
- |
66
- 2019-06-28 Mahlon E. Smith <mahlon@martini.nu>
67
-
68
- o * lib/symphony/task_group/longlived.rb:
69
- | Longlived workers: recover from a closed channel.
70
- | [c2e7fccca675]
71
- |
72
- 2019-06-26 Michael Granger <ged@FaerieMUD.org>
73
-
74
- o * .hgtags:
75
- | Added tag v0.12.0 for changeset dab8bd9f4b44
76
- | [f29b8df45b29]
77
- |
78
- o * .hgsigs:
79
- | Added signature for changeset 0b40141657be
80
- | [dab8bd9f4b44] [v0.12.0]
81
- |
82
- o * History.rdoc, lib/symphony.rb:
83
- | Bump the minor version, update history.
84
- | [0b40141657be]
85
- |
86
- o * lib/symphony/metrics.rb, lib/symphony/task.rb,
87
- | spec/symphony/task_spec.rb:
88
- | Set a proctitle for all tasks, not just those that include the
89
- | Metrics mixin.
90
- | [8e142500aab8]
91
- |
92
- o * lib/symphony/queue.rb, lib/symphony/statistics.rb,
93
- | lib/symphony/task.rb, lib/symphony/task_group.rb,
94
- | lib/symphony/task_group/longlived.rb, lib/symphony/tasks/auditor.rb,
95
- | lib/symphony/tasks/oneshot_simulator.rb,
96
- | lib/symphony/tasks/simulator.rb,
97
- | spec/symphony/task_group/longlived_spec.rb:
98
- | Fix a bunch of bugs with scaling, idle timeout, and message-
99
- | counting.
100
- | [198fd4e6b4df]
101
- |
102
- 2019-06-12 Michael Granger <ged@FaerieMUD.org>
103
-
104
- o * lib/symphony/task_group/longlived.rb, spec/symphony/daemon_spec.rb,
105
- | spec/symphony/task_group/longlived_spec.rb:
106
- | Clean up unused @pids variable in longlived task group
107
- | [c5bf2c780b17]
108
- |
109
- 2019-06-05 Michael Granger <ged@FaerieMUD.org>
110
-
111
- o * lib/symphony/daemon.rb:
112
- | Whitespace cleanup, add some debugging to the Daemon
113
- | [743783efb3a1]
114
- |
115
- o * .tm_properties:
116
- | Use the homedir TM_RUBY for textmate
117
- | [5f75aadd7897]
118
- |
119
- o * .ruby-version:
120
- | Bump to Ruby 2.6
121
- | [3bccdeb7bfb9]
122
- |
123
- 2017-09-18 Michael Granger <ged@FaerieMUD.org>
124
-
125
- o * symphony.gemspec:
126
- | Update the gemspec
127
- | [d47773906581]
128
- |
129
- 2017-01-31 Mahlon E. Smith <mahlon@laika.com>
130
-
131
- o * .hgtags:
132
- | Added tag v0.11.1 for changeset e19db9c5c88b
133
- | [539cf0b836d9]
134
- |
135
- o * .hgsigs:
136
- | Added signature for changeset 5347e2bfccb1
137
- | [e19db9c5c88b] [v0.11.1]
138
- |
139
- 2017-01-31 Mahlon E. Smith <mahlon@martini.nu>
140
-
141
- o * History.rdoc, Rakefile, lib/symphony.rb:
142
- | Bump the msgpack dependency for Ruby 2.4 support.
143
- | [5347e2bfccb1]
144
- |
145
- 2017-01-16 Mahlon E. Smith <mahlon@laika.com>
146
-
147
- o * .hgtags:
148
- | Added tag v0.11.0 for changeset 0023e43b3338
149
- | [45fd4dc1d5bd]
150
- |
151
- o * .hgsigs:
152
- | Added signature for changeset bfb708abaa1c
153
- | [0023e43b3338] [v0.11.0]
154
- |
155
- 2017-01-16 Mahlon E. Smith <mahlon@martini.nu>
156
-
157
- o * .gems, .ruby-gemset, .ruby-version, .rvmrc, History.rdoc, Rakefile,
158
- | lib/symphony.rb, symphony.gemspec:
159
- | Bump Configurability dependency, migrate away from .rvmrc.
160
- | [bfb708abaa1c]
161
- |
162
- 2016-03-15 Mahlon E. Smith <mahlon@laika.com>
163
-
164
- o * lib/symphony/tasks/failure_logger.rb:
165
- | Disable auto rebinding for the failure logger example.
166
- | [b2a2205ff560]
167
- |
168
- 2016-03-02 Michael Granger <ged@FaerieMUD.org>
169
-
170
- o * .hgtags:
171
- | Added tag v0.10.0 for changeset 49b6a34f99d9
172
- | [86c7156109bb]
173
- |
174
- o * .hgsigs:
175
- | Added signature for changeset 6e4811acb073
176
- | [49b6a34f99d9] [v0.10.0]
177
- |
178
- o * History.rdoc, lib/symphony.rb, symphony.gemspec:
179
- | Bump the version and update history.
180
- | [6e4811acb073]
181
- |
182
- 2016-01-27 Michael Granger <ged@FaerieMUD.org>
183
-
184
- o * .gems, Rakefile, USAGE.rdoc, lib/symphony/queue.rb,
185
- | lib/symphony/routing.rb, lib/symphony/task.rb,
186
- | spec/symphony/queue_spec.rb, spec/symphony/routing_spec.rb,
187
- | spec/symphony/task_spec.rb:
188
- | Add a setting to tasks to force them to always rebind
189
- | [d4dd79e15aa1]
190
- |
191
- 2015-10-30 Michael Granger <ged@FaerieMUD.org>
192
-
193
- o * Merged with a29e516eb7c7
194
- |\ [285d9c7783df]
195
- | |
196
- 2015-09-03 Michael Granger <ged@FaerieMUD.org>
197
-
198
- | o * lib/symphony/statistics.rb, lib/symphony/task_group/longlived.rb,
199
- | | spec/symphony/task_group/longlived_spec.rb:
200
- | | Invert scaling logic to handle initial load
201
- | | [fd66c7ade2b0]
202
- | |
203
- 2015-07-07 Michael Granger <ged@FaerieMUD.org>
204
-
205
- o | * .hgtags:
206
- | | Added tag v0.9.2 for changeset a802f4bea30c
207
- | | [a29e516eb7c7]
208
- | |
209
- o | * .hgsigs:
210
- | | Added signature for changeset 4171fb773f62
211
- | | [a802f4bea30c] [v0.9.2]
212
- | |
213
- o | * History.rdoc, lib/symphony.rb, symphony.gemspec:
214
- | | Bump the patch version, update history.
215
- | | [4171fb773f62]
216
- | |
217
- 2015-07-07 Mahlon E. Smith <mahlon@martini.nu>
218
-
219
- o | * lib/symphony/task.rb:
220
- | | Ensure the work callback's block returns the work() rval, instead of
221
- | | the current time. This fixes Task acknowledgement.
222
- | | [889ec4c329ed]
223
- | |
224
- 2015-06-08 Michael Granger <ged@FaerieMUD.org>
225
-
226
- o | * .hgtags:
227
- | | Added tag v0.9.1 for changeset 794376fe5aae
228
- | | [173192ac6251]
229
- | |
230
- o | * .hgsigs:
231
- | | Added signature for changeset a3458bb40133
232
- | | [794376fe5aae] [v0.9.1]
233
- | |
234
- o | * History.rdoc, lib/symphony.rb, symphony.gemspec:
235
- |/ Bump the patch version, update history.
236
- | [a3458bb40133]
237
- |
238
- o * lib/symphony.rb, lib/symphony/daemon.rb, spec/symphony_spec.rb,
239
- | symphony.gemspec:
240
- | Make Symphony.tasks contain just the task names.
241
- |
242
- | The Daemon will now load them on startup. This is so code that can
243
- | depend on Symphony without loading every configured task anytime its
244
- | config loads.
245
- | [ade5a2647590]
246
- |
247
- 2015-06-01 Michael Granger <ged@FaerieMUD.org>
248
-
249
- o * .hgtags:
250
- | Added tag v0.9.0 for changeset 197111441b6d
251
- | [b342ddae5e9c]
252
- |
253
- o * .hgsigs:
254
- | Added signature for changeset 84c169f1c831
255
- | [197111441b6d] [v0.9.0]
256
- |
257
- o * History.rdoc, README.rdoc, lib/symphony.rb, symphony.gemspec:
258
- | Bump minor version, update History.
259
- | [84c169f1c831]
260
- |
261
- o * spec/helpers.rb:
262
- | Add #message_count to the mock queue class
263
- | [3dad232548eb]
264
- |
265
- o * lib/symphony/routing.rb, spec/symphony/routing_spec.rb:
266
- | Fix the patterns used by Symphony::Routing
267
- | [b9017563da91]
268
- |
269
- 2015-05-29 Michael Granger <ged@FaerieMUD.org>
270
-
271
- o * .gems, .hoerc, .rvm.gems, .rvmrc:
272
- | Update dev environment
273
- | [074b15c4dbc8]
274
- |
275
- 2015-02-27 Michael Granger <ged@FaerieMUD.org>
276
-
277
- o * .travis.yml:
278
- | Don't test under rbx
279
- | [c6e5888c9d68]
280
- |
281
- o * .travis.yml, Gemfile.ci:
282
- | Nope, backed out changeset 031ea486d462
283
- | [3031ee38d8a8]
284
- |
285
- o * .travis.yml, Gemfile.ci:
286
- | Try using a specific gemset without metrics to avoid rusage
287
- | [031ea486d462]
288
- |
289
- o * .travis.yml:
290
- | Adding travis-ci config
291
- | [a4bec430c2ce]
292
- |
293
- o * .hgignore, .hoerc, .ruby-version, Gemfile, Manifest.txt, Rakefile,
294
- | UPGRADING.md, USAGE.rdoc, symphony.gemspec:
295
- | Update project files for prerelease
296
- | [5f344848f265]
297
- |
298
- o * lib/symphony/daemon.rb, lib/symphony/task_group.rb,
299
- | spec/symphony/daemon_spec.rb, spec/symphony/queue_spec.rb:
300
- | Finish up the daemon task reconfig spec
301
- | [d3ea6af65086]
302
- |
303
- 2015-02-27 mahlon <mahlon@martini.nu>
304
-
305
- o * Manifest.txt:
306
- | Update the manifest.
307
- | [74cfe663a36e]
308
- |
309
- 2015-02-27 Michael Granger <ged@FaerieMUD.org>
310
-
311
- o * lib/symphony/queue.rb, lib/symphony/statistics.rb:
312
- | Squelch spammy debugging
313
- | [e098fa10f649]
314
- |
315
- o * .rvm.gems, .rvmrc, .tm_properties, Manifest.txt, Rakefile, TODO.md,
316
- | lib/symphony.rb, lib/symphony/daemon.rb, lib/symphony/queue.rb,
317
- | lib/symphony/signal_handling.rb, lib/symphony/statistics.rb,
318
- | lib/symphony/task.rb, lib/symphony/task_group.rb,
319
- | lib/symphony/task_group/longlived.rb,
320
- | lib/symphony/task_group/oneshot.rb,
321
- | lib/symphony/tasks/oneshot_simulator.rb,
322
- | lib/symphony/tasks/simulator.rb, spec/helpers.rb,
323
- | spec/symphony/daemon_spec.rb, spec/symphony/statistics_spec.rb,
324
- | spec/symphony/task_group/longlived_spec.rb,
325
- | spec/symphony/task_group/oneshot_spec.rb,
326
- | spec/symphony/task_group_spec.rb, spec/symphony_spec.rb:
327
- | Implement task work models
328
- | * * * Load components earlier, and move configure() below other method
329
- | definitions. This fixes a chicken-and-egg with Configurability where
330
- | loading the config before loading Symphony caused a RuntimeError.
331
- | [a6b97e9ea2e1]
332
- |
333
- o * lib/symphony/queue.rb:
334
- | Include the first backtrace frame when logging job errors
335
- | [47b5da330502]
336
- |
337
- 2014-10-14 Michael Granger <ged@FaerieMUD.org>
338
-
339
- o * .rvm.gems, Rakefile:
340
- | Bump minimum version of Bunny to 1.5 for better connection recovery
341
- | [cd10e63d22d7]
342
- |
343
- 2014-09-03 Michael Granger <ged@FaerieMUD.org>
344
-
345
- o * .hgtags:
346
- | Added tag v0.8.0 for changeset 8d6669a7e329
347
- | [af3d65f141e7]
348
- |
349
- o * .hgsigs:
350
- | Added signature for changeset 68352ad02888
351
- | [8d6669a7e329] [v0.8.0]
352
- |
353
- o * History.rdoc, Manifest.txt, lib/symphony.rb:
354
- | Bump the minor version, update history.
355
- | [68352ad02888]
356
- |
357
- 2014-09-01 Michael Granger <ged@FaerieMUD.org>
358
-
359
- o * lib/symphony/routing.rb, spec/symphony/routing_spec.rb:
360
- | Add route options to routing mixin
361
- | [328bc1fbb538]
362
- |
363
- 2014-05-10 Michael Granger <ged@FaerieMUD.org>
364
-
365
- o * bin/symphony-task:
366
- | Use the config env stuff already in Symphony.load_config, and keep
367
- | the config file argument optional for symphony-task.
368
- | [0d91a148cacd]
369
- |
370
- 2014-05-09 Mahlon E. Smith <mahlon@laika.com>
371
-
372
- o * bin/symphony-task:
373
- | Don't hardcode the path to the config file, letting it instead be
374
- | set on the command line or via the environment.
375
- | [e2cc9f8c064e]
376
- |
377
- 2014-05-05 Michael Granger <ged@FaerieMUD.org>
378
-
379
- o * .hgtags:
380
- | Added tag v0.7.0 for changeset 204a5921a6c7
381
- | [a40a8a3d1e83]
382
- |
383
- o * .hgsigs:
384
- | Added signature for changeset 52300e72d138
385
- | [204a5921a6c7] [v0.7.0]
386
- |
387
- o * History.rdoc, lib/symphony.rb:
388
- | Bump the minor version, update history.
389
- | [52300e72d138]
390
- |
391
- 2014-04-25 Michael Granger <ged@FaerieMUD.org>
392
-
393
- o * lib/symphony/daemon.rb, lib/symphony/task.rb:
394
- | Add a 'before_fork' hook to Symphony::Task.
395
- | [e9d2ed1b68ae]
396
- |
397
- 2014-04-23 Michael Granger <ged@FaerieMUD.org>
398
-
399
- o * .hgtags:
400
- | Added tag v0.6.1 for changeset 6be0640d1a6a
401
- | [d06ac2e417e2]
402
- |
403
- o * .hgsigs:
404
- | Added signature for changeset d6ea48d772f3
405
- | [6be0640d1a6a] [v0.6.1]
406
- |
407
- o * History.rdoc, lib/symphony.rb:
408
- | Bump the patch version, update history.
409
- | [d6ea48d772f3]
410
- |
411
- o * lib/symphony/daemon.rb, lib/symphony/signal_handling.rb,
412
- | spec/symphony/daemon_spec.rb:
413
- | Handle SIGQUIT the same as SIGINT and SIGTERM in the daemon.
414
- | [42785d57eec9]
415
- |
416
- 2014-04-14 Mahlon E. Smith <mahlon@laika.com>
417
-
418
- o * Rakefile:
419
- | Add configurability to the dependencies list.
420
- | [f73d3ee81d17]
421
- |
422
- 2014-04-14 Michael Granger <ged@FaerieMUD.org>
423
-
424
- o * .hgtags:
425
- | Added tag v0.6.0 for changeset a088731f43ff
426
- | [718f55893ad5]
427
- |
428
- o * .hgsigs:
429
- | Added signature for changeset fa6a367872f4
430
- | [a088731f43ff] [v0.6.0]
431
- |
432
- o * History.rdoc, lib/symphony.rb:
433
- | Bump the minor version, update history
434
- | [fa6a367872f4]
435
- |
436
- o * TODO.md, lib/symphony/queue.rb, spec/symphony/queue_spec.rb:
437
- | Update the TO-DO list
438
- | [b30f07c96e7e]
439
- |
440
- o * lib/symphony/queue.rb:
441
- | Set cancel-on-failover flag to the queue consumer
442
- | [7c4d92ddbc79]
443
- |
444
- o * Rakefile:
445
- | Remove the ssh-related dev deps
446
- | [ccfe90203de7]
447
- |
448
- 2014-04-14 Mahlon E. Smith <mahlon@laika.com>
449
-
450
- o * Manifest.txt, Rakefile, lib/symphony/tasks/ssh.rb,
451
- |\ lib/symphony/tasks/sshscript.rb:
452
- | | Branch merge from 221b25852ba6.
453
- | | [3673b0e7202d]
454
- | |
455
- | o * .hoerc, Manifest.txt, spec/symphony/mixins_spec.rb:
456
- | | Complete the intervalexpression backout.
457
- | | [ab1e59fc5ef8]
458
- | |
459
- 2014-04-14 Mahlon E. Smith <mahlon@martini.nu>
460
-
461
- | o * .hgignore, Manifest.txt, Rakefile,
462
- | | lib/symphony/intervalexpression.rl, lib/symphony/mixins.rb,
463
- | | spec/symphony/intervalexpression_spec.rb,
464
- | | spec/symphony/mixins_spec.rb:
465
- | | After some further consideration, the intervalexpression pieces
466
- | | aren't necessarily dependent upon symphony core -- breaking the
467
- | | scheduling components out.
468
- | | [9ec6a4b61674]
469
- | |
470
- 2014-04-14 Michael Granger <ged@FaerieMUD.org>
471
-
472
- o | * Manifest.txt, lib/symphony/daemon.rb, lib/symphony/queue.rb,
473
- | | lib/symphony/task.rb:
474
- | | Allow a task to declare its queue as persistant.
475
- | | [221b25852ba6]
476
- | |
477
- o | * Rakefile:
478
- | | Make the gemspec task a little smarter
479
- | | [03efe7b2c206]
480
- | |
481
- 2014-04-11 Michael Granger <ged@FaerieMUD.org>
482
-
483
- o | * lib/symphony/tasks/ssh.rb, lib/symphony/tasks/sshscript.rb:
484
- |/ Break out SSH tasks into their own gem
485
- | [a3c5dd11f642]
486
- |
487
- 2014-04-08 Michael Granger <ged@FaerieMUD.org>
488
-
489
- o * .hgtags:
490
- | Added tag v0.5.0 for changeset f8e6883990fc
491
- | [41fc4926342b]
492
- |
493
- o * .hgsigs:
494
- | Added signature for changeset 369353a62297
495
- | [f8e6883990fc] [v0.5.0]
496
- |
497
- o * History.rdoc, lib/symphony.rb:
498
- | Bump minor version, update history.
499
- | [369353a62297]
500
- |
501
- o * lib/symphony/task.rb:
502
- | Don't set up default signal handlers for WINCH and CHLD for Tasks.
503
- | [d42c7aa57e0b]
504
- |
505
- 2014-04-05 Michael Granger <ged@FaerieMUD.org>
506
-
507
- o * .hoerc, Manifest.txt, Rakefile, lib/symphony/intervalexpression.rl,
508
- | lib/symphony/mixins.rb, spec/symphony/intervalexpression_spec.rb,
509
- | spec/symphony/mixins_spec.rb:
510
- | Make time-math stuff in IntervalExpression a little safer.
511
- |
512
- | - Use refinements to avoid polluting core modules
513
- | - Use an explicit function instead of #send for interval calulation.
514
- | - Fix manifest, add ragel files to the manifest-exclude pattern.
515
- | [466b8bd312b4]
516
- |
517
- 2014-04-04 Mahlon E. Smith <mahlon@laika.com>
518
-
519
- o * .hgignore, Manifest.txt, Rakefile,
520
- | lib/symphony/intervalexpression.rl, lib/symphony/mixins.rb,
521
- | spec/symphony/intervalexpression_spec.rb,
522
- | spec/symphony/mixins_spec.rb:
523
- | Add an interval expression parsing library in preparation for
524
- | Symphony scheduling.
525
- | [cddc160bc76f]
526
- |
527
- 2014-04-01 Michael Granger <ged@FaerieMUD.org>
528
-
529
- o * Rakefile:
530
- | Add direct dependency on loggability
531
- | [3afd6890a914]
532
- |
533
- o * TODO.md:
534
- | Update TODO list
535
- | [3615936701c5]
536
- |
537
- o * lib/symphony/tasks/pinger.rb:
538
- | Remove the pinger example task
539
- | [cd84bece7998]
540
- |
541
- 2014-03-29 Michael Granger <ged@FaerieMUD.org>
542
-
543
- o * .hgtags:
544
- | Added tag v0.4.0 for changeset ccf6adfeb268
545
- | [a5c661d2b122]
546
- |
547
- o * .hgsigs:
548
- | Added signature for changeset 855c7801eaea
549
- | [ccf6adfeb268] [v0.4.0]
550
- |
551
- o * History.rdoc, Rakefile, lib/symphony.rb:
552
- | Bump the minor version, update history.
553
- | [855c7801eaea]
554
- |
555
- 2014-03-28 Mahlon E. Smith <mahlon@laika.com>
556
-
557
- o * lib/symphony/signal_handling.rb:
558
- | Just return true if a signal was handled in wait_for_signals(), or
559
- | false if a timeout occurred.
560
- | [aa8c912414a6]
561
- |
562
- o * lib/symphony/signal_handling.rb:
563
- | Add an optional (disabled by default) timeout for the signal
564
- | handling wait_for_signals() method, for potential re-use in
565
- | alternate loop actions.
566
- | [5a19dd31e618]
567
- |
568
- 2014-03-28 Michael Granger <ged@FaerieMUD.org>
569
-
570
- o * .hgtags:
571
- | Added tag v0.3.0 for changeset 3fa6e3a90e8e
572
- | [b3383a3c3948]
573
- |
574
- o * .hgsigs:
575
- | Added signature for changeset 5e22b47ec5dc
576
- | [3fa6e3a90e8e] [v0.3.0]
577
- |
578
- o * History.rdoc:
579
- | Update history.
580
- | [5e22b47ec5dc]
581
- |
582
- o * Manifest.txt, TODO.md, lib/symphony/daemon.rb, lib/symphony/task.rb,
583
- | spec/symphony/daemon_spec.rb, spec/symphony/task_spec.rb,
584
- | spec/symphony_spec.rb:
585
- | Add some more Task specs, add a placeholder for Daemon specs.
586
- | [97812070cd5b]
587
- |
588
- o * TODO.md, USAGE.rdoc:
589
- | Update docs until we implement the generic plugin system
590
- | [5ae518abaadb]
591
- |
592
- o * Manifest.txt, lib/symphony/daemon.rb, lib/symphony/metrics.rb,
593
- | lib/symphony/queue.rb, lib/symphony/task.rb,
594
- | spec/symphony/queue_spec.rb:
595
- | Put task children in their own process group so they don't get
596
- | signals from the controlling tty.
597
- | [60ea5a828e74]
598
- |
599
- o * .pryrc, bin/symphony, lib/symphony/daemon.rb,
600
- | lib/symphony/signal_handling.rb, spec/symphony/task_spec.rb:
601
- | Checkpoint of work on the Daemon
602
- | [796ecc9bc2b8]
603
- |
604
- 2014-03-27 Michael Granger <ged@FaerieMUD.org>
605
-
606
- o * .rvmrc, Manifest.txt, README.rdoc, Rakefile, USAGE.rdoc,
607
- | bin/groundcontrol, bin/groundcontrol-task, bin/symphony, bin
608
- | /symphony-task, experiments/ps-publisher.rb, lib/groundcontrol.rb,
609
- | lib/groundcontrol/daemon.rb, lib/groundcontrol/metrics.rb,
610
- | lib/groundcontrol/mixins.rb, lib/groundcontrol/queue.rb,
611
- | lib/groundcontrol/routing.rb, lib/groundcontrol/signal_handling.rb,
612
- | lib/groundcontrol/task.rb, lib/groundcontrol/tasks/auditor.rb,
613
- | lib/groundcontrol/tasks/failure_logger.rb,
614
- | lib/groundcontrol/tasks/pinger.rb,
615
- | lib/groundcontrol/tasks/simulator.rb,
616
- | lib/groundcontrol/tasks/ssh.rb,
617
- | lib/groundcontrol/tasks/sshscript.rb, lib/symphony.rb,
618
- | lib/symphony/daemon.rb, lib/symphony/metrics.rb,
619
- | lib/symphony/mixins.rb, lib/symphony/queue.rb,
620
- | lib/symphony/routing.rb, lib/symphony/signal_handling.rb,
621
- | lib/symphony/task.rb, lib/symphony/tasks/auditor.rb,
622
- | lib/symphony/tasks/failure_logger.rb, lib/symphony/tasks/pinger.rb,
623
- | lib/symphony/tasks/simulator.rb, lib/symphony/tasks/ssh.rb,
624
- | lib/symphony/tasks/sshscript.rb, spec/groundcontrol/mixins_spec.rb,
625
- | spec/groundcontrol/queue_spec.rb, spec/groundcontrol/task_spec.rb,
626
- | spec/groundcontrol_spec.rb, spec/symphony/mixins_spec.rb,
627
- | spec/symphony/queue_spec.rb, spec/symphony/task_spec.rb,
628
- | spec/symphony_spec.rb:
629
- | Rename from GroundControl -> Symphony
630
- | [cf61ced7d585]
631
- |
632
- 2014-03-26 Michael Granger <ged@FaerieMUD.org>
633
-
634
- o * Manifest.txt, lib/groundcontrol.rb,
635
- | lib/groundcontrol/tasks/failure_logger.rb,
636
- | spec/groundcontrol/queue_spec.rb, spec/groundcontrol/task_spec.rb:
637
- | Better queue coverage, prerelease gem prep.
638
- | [6b1db8abd866]
639
- |
640
- 2014-03-24 Michael Granger <ged@FaerieMUD.org>
641
-
642
- o * TODO.md, lib/groundcontrol/queue.rb,
643
- | spec/groundcontrol/queue_spec.rb, spec/groundcontrol/task_spec.rb:
644
- | Checkpoint of work on coverage
645
- | [e05a4224b0d0]
646
- |
647
- 2014-03-21 Michael Granger <ged@FaerieMUD.org>
648
-
649
- o * Rakefile, lib/groundcontrol.rb, lib/groundcontrol/queue.rb,
650
- | lib/groundcontrol/task.rb, lib/groundcontrol/tasks/pinger.rb,
651
- | spec/groundcontrol/queue_spec.rb, spec/groundcontrol/task_spec.rb:
652
- | Start catching specs up with the code.
653
- | [9857865f6cec]
654
- |
655
- 2014-03-17 Mahlon E. Smith <mahlon@laika.com>
656
-
657
- o * USAGE.rdoc:
658
- | English, do you speak it?
659
- | [7297d2999838]
660
- |
661
- 2014-03-17 Mahlon E. Smith <mahlon@martini.nu>
662
-
663
- o * README.rdoc, USAGE.rdoc, lib/groundcontrol/routing.rb:
664
- | Clean up the README a little, add a USAGE document (that may evolve
665
- | into a manual later), and allow the #on method in the routing plugin
666
- | to accept an array of binding topics.
667
- | [694dfa71528f]
668
- |
669
- 2014-03-15 Mahlon E. Smith <mahlon@martini.nu>
670
-
671
- o * Manifest.txt, Rakefile, experiments/mailer_task.rb,
672
- | lib/groundcontrol/tasks/messaging.rb:
673
- | Require a recent rubygems to fix a metriks issue with the hitimes
674
- | dependency. Remove accidentally committed messaging task, a (nearly)
675
- | empty mailer experiment, and an internal rdoc server location.
676
- | [8b74abf2494f]
677
- |
678
- 2014-03-14 Michael Granger <ged@FaerieMUD.org>
679
-
680
- o * experiments/ps-publisher.rb:
681
- | Add an example publisher with some interestingish test data
682
- | [b671046cb46a]
683
- |
684
- o * lib/groundcontrol/tasks/auditor.rb,
685
- | lib/groundcontrol/tasks/failure_logger.rb,
686
- | lib/groundcontrol/tasks/simulator.rb:
687
- | Explicitly name queues, clean up the simple task types
688
- | [9be720b141c5]
689
- |
690
- o * lib/groundcontrol/queue.rb:
691
- | Simplify the queue configuration
692
- | [506e35c44fb7]
693
- |
694
- o * lib/groundcontrol/routing.rb:
695
- | Fix routing mixin
696
- | [0e1a756a8c72]
697
- |
698
- o * .autotest, Manifest.txt, bin/gctask, bin/gcworkerd,
699
- | bin/groundcontrol, bin/groundcontrol-task,
700
- | lib/groundcontrol/task.rb, lib/groundcontrol/tasks/simulator.rb:
701
- | Checkpoint of work on timeout; renamed binaries
702
- | [6b0655dc6892]
703
- |
704
- o * .rvm.gems, Rakefile, lib/groundcontrol/metrics.rb,
705
- | lib/groundcontrol/routing.rb, lib/groundcontrol/task.rb,
706
- | lib/groundcontrol/tasks/auditor.rb,
707
- | lib/groundcontrol/tasks/failure_logger.rb,
708
- | lib/groundcontrol/tasks/simulator.rb:
709
- | Checkpoint before adding timeout
710
- | [c1a33bbb4490]
711
- |
712
- 2014-03-13 Michael Granger <ged@FaerieMUD.org>
713
-
714
- o * lib/groundcontrol/queue.rb, lib/groundcontrol/signal_handling.rb,
715
- | lib/groundcontrol/task.rb:
716
- | Implement task restart on SIGHUP
717
- | [1b4d965d8d48]
718
- |
719
- o * .hgignore:
720
- | Ignore logfiles
721
- | [9a8bf7a02a7b]
722
- |
723
- o * lib/groundcontrol/tasks/auditor.rb,
724
- | lib/groundcontrol/tasks/failure_logger.rb,
725
- | lib/groundcontrol/tasks/simulator.rb:
726
- | Add some basic task types: work simulator, audit logger, failure
727
- | logger
728
- | [49b034c13f78]
729
- |
730
- o * etc/config.yml.example:
731
- | Add an example config
732
- | [970e15eafad9]
733
- |
734
- 2014-03-12 Mahlon E. Smith <mahlon@martini.nu>
735
-
736
- o * lib/groundcontrol/queue.rb:
737
- | Retain the exchange -> queue binding for pre-existing queues.
738
- | [bc11d76f7ef7]
739
- |
740
- 2014-03-12 Michael Granger <ged@FaerieMUD.org>
741
-
742
- o * lib/groundcontrol/queue.rb, lib/groundcontrol/task.rb,
743
- | lib/groundcontrol/tasks/auditor.rb:
744
- | Checkpoint commit of AMQP work
745
- | [3ec6040c9e98]
746
- |
747
- o * lib/groundcontrol/queue.rb:
748
- | Use a class-instance variable instead of thread-local for AMQP
749
- | objects
750
- | [6401e5aedf57]
751
- |
752
- o * lib/groundcontrol/queue.rb:
753
- | Re-raise errors from Bunny while handling messages
754
- | [384ab73d9b7f]
755
- |
756
- 2014-03-11 Michael Granger <ged@FaerieMUD.org>
757
-
758
- o * lib/groundcontrol/queue.rb, lib/groundcontrol/task.rb,
759
- | lib/groundcontrol/tasks/auditor.rb,
760
- | spec/groundcontrol/queue_spec.rb:
761
- | Checkpoint of work on work model, subscription
762
- | [b023dab4997c]
763
- |
764
- o * .hgignore, History.rdoc, Manifest.txt, Rakefile, bin/gctask,
765
- | lib/groundcontrol/daemon.rb, lib/groundcontrol/queue.rb,
766
- | lib/groundcontrol/signal_handling.rb, lib/groundcontrol/task.rb,
767
- | lib/groundcontrol/tasks/auditor.rb,
768
- | lib/groundcontrol/tasks/messaging.rb,
769
- | spec/groundcontrol/mixins_spec.rb, spec/groundcontrol/queue_spec.rb,
770
- | spec/groundcontrol/task_spec.rb, spec/groundcontrol_spec.rb:
771
- | Checkpoint commit.
772
- | [e86edf8ff23c]
773
- |
774
- 2014-03-03 Michael Granger <ged@FaerieMUD.org>
775
-
776
- o * .rvm.gems, Rakefile, experiments/mailer_task.rb,
777
- | lib/groundcontrol/queue.rb, lib/groundcontrol/task.rb,
778
- | lib/groundcontrol/tasks/pinger.rb, spec/groundcontrol/queue_spec.rb,
779
- | spec/groundcontrol/task_spec.rb, spec/helpers.rb:
780
- | Checkpoint of the work from this morning
781
- | [5c8021195e16]
782
- |
783
- 2014-02-18 Michael Granger <ged@FaerieMUD.org>
784
-
785
- o * .pryrc, .rvm.gems, .rvmrc, .simplecov, Manifest.txt, README.rdoc,
786
- | Rakefile, bin/gcworkerd, experiments/.foreman, experiments/Procfile,
787
- | experiments/consumer-sketch.rb, experiments/mailer_task.rb,
788
- | experiments/producer-sketch.rb, experiments/ssh_system.rb,
789
- | experiments/test_script.sh, lib/groundcontrol.rb,
790
- | lib/groundcontrol/daemon.rb, lib/groundcontrol/mixins.rb,
791
- | lib/groundcontrol/queue.rb, lib/groundcontrol/signal_handling.rb,
792
- | lib/groundcontrol/task.rb, lib/groundcontrol/tasks/pinger.rb,
793
- | lib/groundcontrol/tasks/ssh.rb,
794
- | lib/groundcontrol/tasks/sshscript.rb, lib/laika/groundcontrol.rb,
795
- | lib/laika/groundcontrol/job.rb, lib/laika/groundcontrol/queue.rb,
796
- | lib/laika/groundcontrol/task.rb,
797
- | lib/laika/groundcontrol/tasks/pinger.rb,
798
- | lib/laika/groundcontrol/tasks/ssh.rb,
799
- | lib/laika/groundcontrol/tasks/sshscript.rb,
800
- | lib/laika/groundcontrol/worker.rb,
801
- | spec/groundcontrol/mixins_spec.rb, spec/groundcontrol/queue_spec.rb,
802
- | spec/groundcontrol_spec.rb, spec/helpers.rb,
803
- | spec/laika/groundcontrol/job_spec.rb,
804
- | spec/laika/groundcontrol/queue_spec.rb,
805
- | spec/laika/groundcontrol/task_spec.rb,
806
- | spec/laika/groundcontrol_spec.rb,
807
- | spec/lib/groundcontrolconstants.rb,
808
- | spec/lib/groundcontrolhelpers.rb:
809
- | Checkpoint of the weekend's work
810
- | [4d3da7e3530b]
811
- |
812
- 2012-11-06 Michael Granger <ged@FaerieMUD.org>
813
-
814
- o * .rvm.gems, Rakefile:
815
- | Bump dependencies
816
- | [c3602949056c]
817
- |
818
- 2012-10-17 Michael Granger <ged@FaerieMUD.org>
819
-
820
- o * .rvm.gems:
821
- | Bump the laika-ldap version in the RVM gemset
822
- | [03934b446cbf]
823
- |
824
- 2012-10-09 Michael Granger <ged@FaerieMUD.org>
825
-
826
- o * .rvm.gems:
827
- | Bump laika-ldap version in rvm gems
828
- | [314934c7b53c]
829
- |
830
- 2012-09-24 Michael Granger <ged@FaerieMUD.org>
831
-
832
- o * lib/laika/groundcontrol/tasks/sshscript.rb:
833
- | Adding a 'nocleanup' option to the sshscript task class.
834
- |
835
- | This is to enable easy troubleshooting; just re-run a failing
836
- | sshscript-based task with 'nocleanup' enabled, then the script will
837
- | be preserved on the remote side after it runs.
838
- | [0b84cb38b9ec]
839
- |
840
- 2012-09-19 Michael Granger <ged@FaerieMUD.org>
841
-
842
- o * .hgtags:
843
- | Added tag v0.1.0 for changeset 3027c0e32c9a
844
- | [7615c18e3f34]
845
- |
846
- o * .hgsigs:
847
- | Added signature for changeset 34b213a4b895
848
- | [3027c0e32c9a] [v0.1.0]
849
- |
850
- o * History.rdoc, lib/laika/groundcontrol.rb,
851
- | spec/laika/groundcontrol/job_spec.rb:
852
- | Bump the minor version, update history.
853
- | [34b213a4b895]
854
- |
855
- o * bin/gcworkerd, lib/laika/groundcontrol/task.rb,
856
- | lib/laika/groundcontrol/worker.rb:
857
- | Adding beginnings of worker throttling.
858
- | [399117e719ba]
859
- |
860
- o * .rvm.gems, Rakefile:
861
- | Updating dependencies
862
- | [9ea265531f5c]
863
- |
864
- 2012-09-06 Michael Granger <ged@FaerieMUD.org>
865
-
866
- o * .hgtags:
867
- | Added tag v0.0.1 for changeset 82d1fc26369f
868
- | [c438bca87c28]
869
- |
870
- o * .hgsigs:
871
- | Added signature for changeset ea9a4eb4ef02
872
- | [82d1fc26369f] [v0.0.1]
873
- |
874
- o * Manifest.txt, bin/groundcontrol:
875
- | Remove the bin/groundcontrol stub.
876
- | [ea9a4eb4ef02]
877
- |
878
- 2012-08-20 Michael Granger <ged@FaerieMUD.org>
879
-
880
- o * bin/gcworkerd:
881
- | Use the configured path to the config file, not the one from ARGV
882
- | [2e635ab669f0]
883
- |
884
- o * bin/gcworkerd:
885
- | Configure gcworkerd via command-line options instead of the config
886
- | file
887
- | [797bd5264597]
888
- |
889
- o * bin/gcworkerd:
890
- | Fix gem binary invocation.
891
- | [e113c95b9f39]
892
- |
893
- o * lib/laika/groundcontrol.rb, lib/laika/groundcontrol/task.rb:
894
- | Documentation update/fixes
895
- | [e169ebcecff7]
896
- |
897
- 2012-08-18 Michael Granger <ged@FaerieMUD.org>
898
-
899
- o * .rvm.gems, Rakefile:
900
- | Bump laika-base dependency
901
- | [a66a334650d2]
902
- |
903
- o * lib/laika/groundcontrol/tasks/sshscript.rb:
904
- | Turn off ssh protocol debugging in sshscript task
905
- | [a7a23ebb2927]
906
- |
907
- 2012-08-17 Michael Granger <ged@FaerieMUD.org>
908
-
909
- o * README.rdoc:
910
- | README fix
911
- | [20aae4ccec08]
912
- |
913
- o * lib/laika/groundcontrol/tasks/ssh.rb:
914
- | Small fixes for ssh task:
915
- |
916
- | - Use features
917
- | - Use the fqdn instead of the simple hostname for the ssh command
918
- | - Log the command shelljoined for easy testing.
919
- | [59ce700da89b]
920
- |
921
- 2012-08-16 Michael Granger <ged@FaerieMUD.org>
922
-
923
- o * lib/laika/groundcontrol/queue.rb, lib/laika/groundcontrol/worker.rb:
924
- | Logging tweaks to Queues and Workers
925
- | [07abd8d84699]
926
- |
927
- o * lib/laika/groundcontrol/tasks/sshscript.rb:
928
- | Write sshscripts to local /tmp instead of (possibly network) homedir
929
- | [02c3cb736d43]
930
- |
931
- o * bin/gcworkerd:
932
- | Fix select() to not poll in gcworkerd
933
- | [081f8b6c55cc]
934
- |
935
- o * .rvm.gems, bin/gcworkerd, spec/laika/groundcontrol/queue_spec.rb,
936
- | spec/laika/groundcontrol/task_spec.rb:
937
- | Convert specs to use the update setup_test_database().
938
- | [bcb8893fbd6a]
939
- |
940
- o * .rvm.gems, Rakefile:
941
- | Updating dependencies.
942
- | [a230af71e731]
943
- |
944
- o * lib/laika/groundcontrol/job.rb,
945
- | spec/laika/groundcontrol/job_spec.rb:
946
- | Explicitly serialize Job#task_options instead of relying on the
947
- | flaky serialization plugin.
948
- | [54c014ed337b]
949
- |
950
- o * lib/laika/groundcontrol/worker.rb:
951
- | Refactor the child part of GroundControl::Worker.start into methods
952
- | [89621596bf88]
953
- |
954
- 2012-08-15 Michael Granger <ged@FaerieMUD.org>
955
-
956
- o * experiments/producer-sketch.rb, lib/laika/groundcontrol.rb,
957
- | lib/laika/groundcontrol/job.rb, lib/laika/groundcontrol/queue.rb,
958
- | lib/laika/groundcontrol/task.rb,
959
- | lib/laika/groundcontrol/tasks/pinger.rb,
960
- | lib/laika/groundcontrol/tasks/ssh.rb,
961
- | lib/laika/groundcontrol/tasks/sshscript.rb,
962
- | spec/laika/groundcontrol/queue_spec.rb,
963
- | spec/laika/groundcontrol/task_spec.rb:
964
- | More work on the Job and Task classes.
965
- |
966
- | - Simplified job/task arguments to always be a hash of options,
967
- | renamed to task_options to reflect this.
968
- | - Pulled some utility methods up from concrete Task classes for
969
- | pinging remote hosts, expanding hostnames to fqdns, etc.
970
- | - Refactored existing base task types to use the new refactored
971
- | methods.
972
- | [6ae7216e907e]
973
- |
974
- 2012-08-15 Mahlon E. Smith <mahlon@laika.com>
975
-
976
- o * bin/gcworkerd, lib/laika/groundcontrol/job.rb,
977
- | lib/laika/groundcontrol/task.rb,
978
- | lib/laika/groundcontrol/tasks/pinger.rb,
979
- | lib/laika/groundcontrol/tasks/ssh.rb:
980
- | Checkpoint of yesterday's work.
981
- | [b46ef27c763e]
982
- |
983
- 2012-08-13 Michael Granger <ged@FaerieMUD.org>
984
-
985
- o * lib/laika/groundcontrol/tasks/sshscript.rb:
986
- | Whitespace fixes
987
- | [c08e4416dfd7]
988
- |
989
- 2012-08-07 Michael Granger <ged@FaerieMUD.org>
990
-
991
- o * .hgignore, .rvm.gems, Rakefile, lib/laika/groundcontrol/task.rb,
992
- | spec/laika/groundcontrol/task_spec.rb,
993
- | spec/lib/groundcontrolhelpers.rb:
994
- | Add a spec to cover Task#on_error.
995
- | [cfa2126c2879]
996
- |
997
- 2012-08-06 Michael Granger <ged@FaerieMUD.org>
998
-
999
- o * .hgignore, README.rdoc, Rakefile, bin/gcworkerd, experiments
1000
- | /producer-sketch.rb, experiments/test_script.sh,
1001
- | lib/laika/groundcontrol/job.rb, lib/laika/groundcontrol/queue.rb,
1002
- | lib/laika/groundcontrol/task.rb,
1003
- | lib/laika/groundcontrol/tasks/pinger.rb,
1004
- | lib/laika/groundcontrol/tasks/ssh.rb,
1005
- | lib/laika/groundcontrol/tasks/sshscript.rb,
1006
- | lib/laika/groundcontrol/worker.rb:
1007
- | Documentation and consistency updates.
1008
- |
1009
- | - Wrote initial API docs for Task, Worker, Job, and Queue.
1010
- | - Updated the pinger side of the producer sketch, and then rewrote the
1011
- | sshscript side to use Queue#add.
1012
- | - Renamed Pinger#unavailable to #problem.
1013
- | - Consolidated SSHScript task logic to its #run method for easier
1014
- | inheritance/consistency.
1015
- | [f0a7bfc7ea6a]
1016
- |
1017
- o * bin/gcworkerd:
1018
- | Remove more debugging noise
1019
- | [aa04b9a1590b]
1020
- |
1021
- 2012-08-02 Michael Granger <ged@FaerieMUD.org>
1022
-
1023
- o * .rvm.gems, Manifest.txt, Rakefile, lib/laika/groundcontrol/job.rb,
1024
- | lib/laika/groundcontrol/queue.rb,
1025
- | lib/laika/groundcontrol/tasks/sshscript.rb,
1026
- | lib/laika/groundcontrol/worker.rb:
1027
- | Finish up the initial implementation of the ssh-based task classes.
1028
- | [5d9192bcfb71]
1029
- |
1030
- o * bin/gcworkerd:
1031
- | Remove the explicit debug logging from gcworkerd
1032
- | [2d52fc8a521c]
1033
- |
1034
- o * experiments/producer-sketch.rb, experiments/test_script.sh:
1035
- | Update the producer experiment to use the ssh-script task
1036
- | [80a0d6635300]
1037
- |
1038
- o * lib/laika/groundcontrol/tasks/ssh.rb:
1039
- | Use Ruby1.9 spawn instead of Open3 for the SSH task's pipe
1040
- | [d6ab8ee0d6cc]
1041
- |
1042
- o * lib/laika/groundcontrol/tasks/pinger.rb:
1043
- | Fix require in Pinger task
1044
- | [dd2170ed86d3]
1045
- |
1046
- o * experiments/ssh_system.rb:
1047
- | Adding an experiment
1048
- | [2f8a6c7173e0]
1049
- |
1050
- o * bin/gcworkerd:
1051
- | Fixed child cleanup in the gcworkerd (pair: mahlon)
1052
- | [40d2447fd704]
1053
- |
1054
- 2012-08-02 Mahlon E. Smith <mahlon@laika.com>
1055
-
1056
- o * experiments/producer-sketch.rb, lib/laika/groundcontrol/queue.rb,
1057
- | lib/laika/groundcontrol/tasks/pinger.rb,
1058
- | lib/laika/groundcontrol/tasks/ssh.rb,
1059
- | lib/laika/groundcontrol/tasks/sshscript.rb:
1060
- | Checkpoint commit of ssh GroundControl tasks.
1061
- | [dff259b79441]
1062
- |
1063
- 2012-07-31 Mahlon E. Smith <mahlon@laika.com>
1064
-
1065
- o * bin/gcworkerd, experiments/producer-sketch.rb,
1066
- | lib/laika/groundcontrol/job.rb, lib/laika/groundcontrol/queue.rb,
1067
- | lib/laika/groundcontrol/task.rb,
1068
- | lib/laika/groundcontrol/tasks/pinger.rb,
1069
- | lib/laika/groundcontrol/worker.rb,
1070
- | spec/laika/groundcontrol/job_spec.rb,
1071
- | spec/laika/groundcontrol/task_spec.rb:
1072
- | Small, misc updates:
1073
- |
1074
- | - Small whitespace and comment fixes.
1075
- | - Alter the producer sketch to accept a single host.
1076
- | - Remove the #on_startup API requirement for tasks -- there may not be
1077
- | any setup a task needs to perform, so it seems odd to make that
1078
- | mandatory.
1079
- | - Small display fix for task class names.
1080
- | - Finished up the pinger example task.
1081
- | - Ensure jobs are destroyed/removed on script errors
1082
- | [1ca5aaeb1ed7]
1083
- |
1084
- 2012-07-30 Michael Granger <ged@FaerieMUD.org>
1085
-
1086
- o * bin/gcworkerd, lib/laika/groundcontrol/worker.rb:
1087
- | Remove spammy debugging; set application name
1088
- | [90b8cd19faa7]
1089
- |
1090
- o * bin/gcworkerd, lib/laika/groundcontrol/worker.rb:
1091
- | Fix signal-handling in gcworkerd
1092
- | [34509c739e1b]
1093
- |
1094
- o * .rvm.gems, bin/gcworkerd, lib/laika/groundcontrol.rb,
1095
- | lib/laika/groundcontrol/job.rb, lib/laika/groundcontrol/queue.rb,
1096
- | lib/laika/groundcontrol/task.rb,
1097
- | lib/laika/groundcontrol/tasks/pinger.rb,
1098
- | lib/laika/groundcontrol/worker.rb,
1099
- | spec/laika/groundcontrol/job_spec.rb,
1100
- | spec/laika/groundcontrol/task_spec.rb:
1101
- | Adding first whack at gcworkerd and Task class
1102
- | [3ea444e5997d]
1103
- |
1104
- 2012-07-27 Michael Granger <ged@FaerieMUD.org>
1105
-
1106
- o * .rvm.gems, Rakefile, bin/gcworkerd, experiments/consumer-sketch.rb,
1107
- | experiments/producer-sketch.rb, lib/laika/groundcontrol.rb,
1108
- | lib/laika/groundcontrol/job.rb, lib/laika/groundcontrol/queue.rb,
1109
- | lib/laika/groundcontrol/task.rb,
1110
- | lib/laika/groundcontrol/tasks/pinger.rb,
1111
- | spec/laika/groundcontrol/job_spec.rb,
1112
- | spec/laika/groundcontrol/queue_spec.rb,
1113
- | spec/laika/groundcontrol/task_spec.rb:
1114
- | Snapshot of Thursday's work.
1115
- | [e8da1957a10d]
1116
- |
1117
- 2012-07-26 Michael Granger <ged@FaerieMUD.org>
1118
-
1119
- o * .rvm.gems, Rakefile, experiments/consumer-sketch.rb, experiments
1120
- | /producer-sketch.rb, lib/laika/groundcontrol/job.rb,
1121
- | lib/laika/groundcontrol/queue.rb:
1122
- | Fix queueing logic and update the experiments
1123
- | [7a3609d96123]
1124
- |
1125
- 2012-07-25 Michael Granger <ged@FaerieMUD.org>
1126
-
1127
- o * .hgignore, .rvm.gems, .tm_properties, Manifest.txt,
1128
- | experiments/.foreman, experiments/Procfile, experiments/consumer-
1129
- | sketch.rb, experiments/producer-sketch.rb, experiments/sketch.rb,
1130
- | lib/laika/groundcontrol.rb, lib/laika/groundcontrol/job.rb,
1131
- | lib/laika/groundcontrol/queue.rb,
1132
- | spec/laika/groundcontrol/job_spec.rb,
1133
- | spec/laika/groundcontrol/queue_spec.rb:
1134
- | Checkpoint commit of afternoon's work (pair: mhix)
1135
- | [501304e7ae7b]
1136
- |
1137
- o * experiments/sketch.rb, lib/laika/groundcontrol.rb,
1138
- | lib/laika/groundcontrol/job.rb, lib/laika/groundcontrol/queue.rb,
1139
- | spec/laika/groundcontrol/job_spec.rb,
1140
- | spec/laika/groundcontrol_spec.rb,
1141
- | spec/lib/groundcontrolconstants.rb,
1142
- | spec/lib/groundcontrolhelpers.rb:
1143
- | Checkpoint commit of morning's work (pair: mhix)
1144
- | [8cea2906f4fa]
1145
- |
1146
- o * .pryrc:
1147
- | Updating pryrc
1148
- | [69a954ee8bb9]
1149
- |
1150
- o * .rvm.gems, .rvmrc, Rakefile:
1151
- | Bumping laika-db dependency version
1152
- | [f2cff3435f39]
1153
- |
1154
- 2012-07-24 Michael Granger <ged@FaerieMUD.org>
1155
-
1156
- o * .autotest, .hgignore, .irbrc, .pryrc, History.rdoc, Manifest.txt,
1157
- README.rdoc, Rakefile, bin/groundcontrol,
1158
- lib/laika/groundcontrol.rb, spec/laika/groundcontrol_spec.rb,
1159
- spec/lib/groundcontrolconstants.rb,
1160
- spec/lib/groundcontrolhelpers.rb:
1161
- Initial project boilerplate
1162
- [99fbce8884cd]