Wiki » History » Version 2
Marc Dequènes, 2012-01-21 22:08
1 | 1 | Marc Dequènes | h1. Presentation |
---|---|---|---|
2 | |||
3 | The Spoolinger is a generic "spool":http://en.wikipedia.org/wiki/Spooling manager, watching for incoming files in a specific directory and scheduling their processing. |
||
4 | |||
5 | Features: |
||
6 | - scheduling based on concurrency and min/max age |
||
7 | - gathering of file data using file name and content regex to be used in pattern replacement |
||
8 | - cancel mode (with pattern replacement) |
||
9 | - running of an external processing command (with pattern replacement) |
||
10 | - "load check" via external command or Ruby plugin to allow processing depending on external conditions |
||
11 | - logging with ajustable verbosity to help debug problems |
||
12 | |||
13 | h1. Installation |
||
14 | |||
15 | Build Dependencies: |
||
16 | * ruby-setup |
||
17 | |||
18 | Runtime Dependencies: |
||
19 | * ruby-log4r |
||
20 | * ruby-daemons |
||
21 | * ruby-eventmachine |
||
22 | * ruby-activesupport |
||
23 | * librb-inotify-ruby |
||
24 | * kwalify |
||
25 | |||
26 | h2. for a real install in /usr/local |
||
27 | |||
28 | <pre> |
||
29 | ruby setup.rb config |
||
30 | ruby setup.rb setup |
||
31 | ruby setup.rb install |
||
32 | ruby setup.rb clean |
||
33 | </pre> |
||
34 | |||
35 | h2. for packagers |
||
36 | |||
37 | <pre> |
||
38 | ruby setup.rb config --installdirs=std |
||
39 | ruby setup.rb setup |
||
40 | ruby setup.rb install --prefix=debian/spoolinger |
||
41 | ruby setup.rb clean |
||
42 | </pre> |
||
43 | |||
44 | h2. for in-place tests |
||
45 | |||
46 | <pre> |
||
47 | ruby setup.rb config --bindir=bin --rbdir=lib --datadir=data --sysconfdir=conf --localstatedir=var --shebang=never |
||
48 | ruby setup.rb setup |
||
49 | </pre> |
||
50 | Do tests, and when finished: |
||
51 | <pre> |
||
52 | ruby setup.rb clean |
||
53 | </pre> |
||
54 | 2 | Marc Dequènes | |
55 | h1. Configuration |
||
56 | |||
57 | See [[Configuration]] and examples in source:examples. |