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