Project

General

Profile

Wiki » History » Version 4

Marc Dequènes, 2018-06-18 17:47

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 4 Marc Dequènes
* ruby >= 1.9
20 1 Marc Dequènes
* ruby-log4r
21
* ruby-daemons
22
* ruby-eventmachine
23
* ruby-activesupport
24 3 Marc Dequènes
* ruby-rb-inotify
25 1 Marc Dequènes
* kwalify
26
27 4 Marc Dequènes
Installation Instructions:
28 1 Marc Dequènes
29 4 Marc Dequènes
h2. Debian package
30 1 Marc Dequènes
31 4 Marc Dequènes
We're working on an "official packaging":https://salsa.debian.org/ruby-team/spoolinger. A technology preview package for Stretch is available in our "repository":https://repository.duckcorp.org/debian/.
32 1 Marc Dequènes
33 4 Marc Dequènes
h2. manually
34
35 1 Marc Dequènes
<pre>
36 4 Marc Dequènes
# you may need to tweak the installation paths further to match your distribution
37 1 Marc Dequènes
ruby setup.rb config --installdirs=std
38
ruby setup.rb setup
39
ruby setup.rb install --prefix=debian/spoolinger
40
ruby setup.rb clean
41
</pre>
42 2 Marc Dequènes
43
h1. Configuration
44
45
See [[Configuration]] and examples in source:examples.