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