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