fix exit! issues once and for all, robustify god load
[god.git] / History.txt
blobd21aacb50388da33ddbede3fd86812da969a9246
1 == 0.5.0
3 * Major Enhancements
4   * Implement lifecycle scoped metric to allow for cross-state conditions
5   * Add TriggerCondition for conditions that need info about state changes
6   * Implement notification system
7   * Add Tasks (a generalization of Watches) to do non-process related tasks
8   * Add example init.d file in GOD_INSTALL_DIR/init/god [scott becker]
9   * Add human readable info to conditions (and make low level log lines debug)
10 * Minor Enchancements
11   * Allow EventConditions to do transition overloading
12   * Report errors during god startup instead of failing silently
13   * Make transition block optional (default to Always condition returning true)
14   * Better usage info for `god --help`
15   * Explain what's going on when attempting to rebind to an in-use port
16   * Add -b option to god binary to auto-bind to an unused port
17   * Add `god quit` to stop god without stopping any tasks
18   * Make self-daemonized Watch commands synchronous (as they should be)
19   * Allow self-daemonized Watches to specify a log (could be useful)
20   * Check for existence of config file if specified
21 * New Conditions
22   * Flapping < TriggerCondition - trigger on state change
23   * HttpResponseCode < PollCondition - trigger on http response code or timeout (thx scott becker)
24 * New Contacts
25   * Email < Contact - notify via email (smtp)
26 * Bug Fixes
27   * Fix abort not aborting problem
28   * Fix -p option not working for god binary
29   * Fix God.init not accepting block (thx _eric)
30   * Fix SIGHUP ignore (thx _eric)
31   * Fix error reporting on `god --help` (don't error report a normal SystemExit)
33 == 0.4.3 / 2007-09-10
34 * Bug Fixes
35   * fix Process#alive? to not raise on no such file (affects `god terminate`)
37 == 0.4.2 / 2007-09-10
38 * Bug Fixes
39   * fix netlink buffer issue that prevented events on Linux from working consistently [dkresge]
41 == 0.4.1 / 2007-09-10
42 * Bug Fixes
43   * require 'stringio' for ruby 1.8.5
45 == 0.4.0 / 2007-09-10
47 * Major Enhancements
48   * Add the ability for conditions to override transition state (for exceptional cases)
49   * Implement dynamic load of config files while god is running (god load <filename>)
50   * Add ability to save auto-daemonized process output to a log file
51   * Add robust default stop lambda command for auto-daemonized processes (inspired by _eric)
52   * Add status command for god binary (shows status of each watch)
53   * Create proper logger with timestamps
54   * Add log command to god binary to get real time logs for a specific watch from a running god instance
55   * Add terminate command for god binary (stop god and all watches)
56 * Minor Enhancements
57   * Enforce validity of Watches
58   * Enforce that God.init is not called after a Watch
59   * Move pid_file_directory creation and validation to God.start
60   * Remove check for at least one Watch during startup (now that dynamic loading exists)
61 * New Conditions
62   * Tries < PollCondition - triggers after the specified number of tries
63   * Add :notify_when_flapping behavior to check for oscillation [kevinclark]
64   * Add :degrading_lambda condition. [kevinclark]
65     It uses a decaying interval (1/2 rate) for 3 cycles before failing.
66 * Bug Fixes
67   * Use exit!(0) instead of exit! in god binary to exit with code 0 (instead of default -1)
68   * Command line group control fixed
69   * Fix cross-thread return problem
71 == 0.3.0 / 2007-08-17
73 * Fix netlink header problem on Ubuntu Edgy [Dan Sully]
74 * Add uid/gid setting for processes [kevinclark]
75 * Add autostart flag for watches so they don't necessarily startup with god [kevinclark]
76 * Change command line call options for god binary to accommodate watch start/stop functionality
77 * Add individual start/stop/restart grace periods for finer grained control
78 * Change default DRb port to 17165 ('god'.to_i(32))
79 * Implement command line control to start/restart/stop/monitor/unmonitor watches/groups by name
80 * Watches can now belong to a group that can be controlled as a whole
81 * Allow god to be installed (sans events) on systems that don't support events
82 * Daemonize and handle PID files for non-daemonizing scripts [kevinclark]
83 * Fix simple mode lifecycle gap
84 * Remove necessity to specify pid_file for conditions
85 * Change config file to use God.init and God.watch directly instead of God.meddle block
86 * Move god binary command logic to main library
87 * Enhance god binary with better reporting
88 * Fix synchronization bug in Timer (reported by Srini Panguluri)
89 * Add Lambda condition for easy custom conditions [Mike Mintz]
90 * Add sugar for numerics (seconds, minutes, kilobytes, megabytes, percent, etc)
91 * Add optional PID and log file generation to god binary for daemon mode
92 * Add God.load to do glob enabled loading
93 * Add -V option to god binary for detailed version/build info
95 == 0.2.0 / 2007-07-18
97 * Rewrote innards to use a state and event based lifecycle
98 * Basic support for events via kqueue (bsd/darwin) and netlink/pec (linux) [kevinclark]
99 * Added advanced syntax (simple syntax calls advanced api underneath)
100 * Condition returns have changed meaning. With simple syntax, a true return activates block
101 * Updated http://god.rubyforge.org with updated simple config and new advanced config
103 == 0.1.0 / 2007-07-07
105 * 1 major enhancement
106   * Birthday!