| 1 |
Revision history for Ubic |
| 2 |
|
| 3 |
{{$NEXT}} |
| 4 |
|
| 5 |
1.55 2013-07-26 |
| 6 |
* support PERLBREW_ROOT |
| 7 |
(thanks to github:spacebat for the patch, see https://github.com/berekuk/Ubic/pull/54) |
| 8 |
|
| 9 |
1.54 2013-05-28 |
| 10 |
* 'auto_start' option in Ubic::Service and SimpleDaemon |
| 11 |
|
| 12 |
1.53 2013-05-18 |
| 13 |
* fix crontab generation on setup! |
| 14 |
|
| 15 |
1.52 2013-05-12 |
| 16 |
* always add /usr/local/bin to $PATH |
| 17 |
|
| 18 |
1.51 2013-04-14 |
| 19 |
* autoflush stdout and stdin in ubic-guardian |
| 20 |
(especially when we're proxying daemon's logs) |
| 21 |
|
| 22 |
1.50_01 2013-04-03 |
| 23 |
* support 'term_timeout' option in SimpleDaemon |
| 24 |
|
| 25 |
1.49 2013-03-13 |
| 26 |
* stable release, no code changes |
| 27 |
|
| 28 |
1.48_02 2013-02-26 |
| 29 |
* 'ubic status' exits with status code 0 if there're disabled services |
| 30 |
|
| 31 |
1.48_01 2013-01-31 |
| 32 |
* guardian supports logs proxying and reopening them on SIGHUP |
| 33 |
(see https://github.com/berekuk/Ubic/pull/47) |
| 34 |
* hint about 'ubic help' on unknown command |
| 35 |
|
| 36 |
1.48 2012-12-07 |
| 37 |
* detect ubic-watchdog location and put its full path to the crontab on setup |
| 38 |
* 'ubic help' command (see https://github.com/berekuk/Ubic/issues/31) |
| 39 |
|
| 40 |
1.47 2012-12-03 |
| 41 |
* compatibility with perl 5.17 hash randomization |
| 42 |
(see https://github.com/berekuk/Ubic/issues/45) |
| 43 |
* append watchdog logs in crontab (instead of rewriting) |
| 44 |
|
| 45 |
1.46 2012-11-08 |
| 46 |
* require modern BSD::Resource version |
| 47 |
(see https://github.com/berekuk/Ubic/issues/43) |
| 48 |
* relax timing conditions in t/watchdog.t |
| 49 |
|
| 50 |
1.45 2012-11-01 |
| 51 |
* more robust t/simple-daemon.t |
| 52 |
|
| 53 |
1.44_03 2012-10-30 |
| 54 |
* setup process now offers auto-configuration |
| 55 |
* typo fix in crontab code (thanks to Anton Ukolov) |
| 56 |
|
| 57 |
1.44_02 2012-10-30 |
| 58 |
* Solaris compatibility (thanks to Martin Schultheis!) |
| 59 |
|
| 60 |
1.44_01 2012-08-02 |
| 61 |
* support perlbrew, custom PATH and custom PELR5LIB |
| 62 |
|
| 63 |
1.44 2012-06-21 |
| 64 |
* stable release, no code changes |
| 65 |
|
| 66 |
1.43_04 2012-06-20 |
| 67 |
* fix SimpleDaemon to work on perl <5.14 |
| 68 |
|
| 69 |
1.43_03 2012-06-20 |
| 70 |
* fix tests for systems which don't set LOGNAME or USERNAME |
| 71 |
|
| 72 |
1.43_02 2012-06-19 |
| 73 |
* dependency on BSD::Resource is optional in code and tests |
| 74 |
|
| 75 |
1.43_01 2012-06-19 |
| 76 |
* ulimit support in SimpleDaemon |
| 77 |
* json-style configs |
| 78 |
* 'start_hook' option in start_daemon() |
| 79 |
|
| 80 |
1.43 2012-06-16 |
| 81 |
* actually merge the fix |
| 82 |
|
| 83 |
1.42 2012-06-15 |
| 84 |
* critical bugfix: fix credentials application order |
| 85 |
(all non-root services were broken when operated from root, 1.39-1.41 releases were affected) |
| 86 |
|
| 87 |
1.41 2012-06-11 |
| 88 |
* pid2cmd doesn't die on errors |
| 89 |
* Ubic::Run supports the explicit service names |
| 90 |
* lots of minor POD spelling fixes and improvements |
| 91 |
|
| 92 |
1.40 2012-05-27 |
| 93 |
* improve tests stability |
| 94 |
|
| 95 |
1.39 2012-05-23 |
| 96 |
* new SimpleDaemon options: |
| 97 |
- reload_signal |
| 98 |
- daemon_user/daemon_group |
| 99 |
* 'credentials' option in start_daemon() |
| 100 |
* various doc improvements |
| 101 |
|
| 102 |
1.38_01 2012-04-23 |
| 103 |
* freebsd credentials fix - set real uid first and effective uid after that |
| 104 |
|
| 105 |
1.38 2012-04-14 |
| 106 |
* stable release |
| 107 |
|
| 108 |
1.37_03 2012-04-13 |
| 109 |
* log early exiting daemons correctly; fix tests |
| 110 |
|
| 111 |
1.37_02 2012-03-28 |
| 112 |
* non-root dir multiservices allow operations without --force |
| 113 |
* minor docs improvements, including replacing "flexible perl-based" with "polymorphic" everywhere |
| 114 |
|
| 115 |
1.37_01 2012-03-27 |
| 116 |
* Ubic::Daemon::OS::Linux: fix guid calculating code |
| 117 |
* Ubic::Daemon: |
| 118 |
- better logging |
| 119 |
- die if can't calculate guid |
| 120 |
|
| 121 |
1.37 2012-03-15 |
| 122 |
* Ubic::UA pod |
| 123 |
* prohibit building on Solaris |
| 124 |
|
| 125 |
1.36_02 2012-02-15 |
| 126 |
* ubic.ping improvements: |
| 127 |
- use Ubic::UA instead of LWP::UserAgent to reduce the number of dependencies |
| 128 |
- increase timeout options to avoid start failures on slow systems |
| 129 |
|
| 130 |
1.36 2011-12-09 |
| 131 |
* Ubic::Multiservice::Dir: don't warn about configs with taboo extensions |
| 132 |
|
| 133 |
1.35_02 2011-11-17 |
| 134 |
* custom service loaders: |
| 135 |
- ini-style syntax for configs with .ini extension |
| 136 |
- extension-based polimorphism which will let us implement more config syntaxes in the future |
| 137 |
* always sync pidfiles and status files to disk |
| 138 |
* small doc and output message improvements |
| 139 |
|
| 140 |
1.35_01 2011-11-04 |
| 141 |
* ubic-admin: |
| 142 |
- fix local installation mode |
| 143 |
- document all command-line options |
| 144 |
|
| 145 |
1.35 2011-10-07 |
| 146 |
* fix build - ubic-daemon doesn't fail compile test if ubic is not installed |
| 147 |
|
| 148 |
1.34 2011-09-25 |
| 149 |
* example system paths in setup depend on os |
| 150 |
* contrubitors section in Ubic.pm |
| 151 |
|
| 152 |
1.33_04 2011-09-20 |
| 153 |
* use pure perl for mkdir and chmod operations |
| 154 |
|
| 155 |
1.33_03 2011-09-20 |
| 156 |
* fix typo in the path to freebsd ubic.cfg |
| 157 |
|
| 158 |
1.33_02 2011-09-20 |
| 159 |
* comply to hier(7) on freebsd |
| 160 |
* ubic-daemon improvements: |
| 161 |
- pod advicing not to use this script |
| 162 |
- --stop and --list features |
| 163 |
- use Ubic::Settings instead of hard-coded pid_dir path |
| 164 |
|
| 165 |
1.33_01 2011-09-02 |
| 166 |
* fix setup.t - don't fail if ubic is already installed |
| 167 |
* more questions in Ubic::Manual::FAQ, other various doc improvements |
| 168 |
* partially align status column on 'ubic status' command |
| 169 |
* silently skip configs with taboo extensions, complain about others to stderr |
| 170 |
(see https://github.com/berekuk/Ubic/issues/15) |
| 171 |
* Ubic::Daemon on linux doesn't fail if can't read from /proc cmdline file: |
| 172 |
there are cases when it is a possible state (usually after reboot) |
| 173 |
|
| 174 |
1.33 2011-07-22 |
| 175 |
* stable release |
| 176 |
|
| 177 |
1.32_04 2011-07-18 |
| 178 |
* don't mess with crontab on setup tests |
| 179 |
(see https://github.com/berekuk/Ubic/issues/17) |
| 180 |
|
| 181 |
1.32_03 2011-07-17 |
| 182 |
* fix daemon tests |
| 183 |
|
| 184 |
1.32_02 2011-07-13 |
| 185 |
* Ubic::Daemon improvements: |
| 186 |
- 'cwd' and 'env' options (SimpleDaemon now just passes them to start_daemon()) |
| 187 |
- log signal name, exit code and other events to ubic_log prettier and more consistently |
| 188 |
* document 'cwd' and 'env' options in Ubic::Service::SimpleDaemon |
| 189 |
|
| 190 |
1.32_01 2011-07-13 |
| 191 |
* new options in Ubic::Service::SimpleDaemon: |
| 192 |
- cwd - set daemon working dir |
| 193 |
- env - set daemon environment |
| 194 |
* minimal setup test |
| 195 |
|
| 196 |
1.32 2011-07-07 |
| 197 |
* Fix ubic-admin setup again. Sorry. |
| 198 |
|
| 199 |
1.31 2011-06-30 |
| 200 |
* fix ubic-admin setup - forgot to import IO::Handle |
| 201 |
(https://github.com/berekuk/Ubic/issues/13) |
| 202 |
|
| 203 |
1.30 2011-06-28 |
| 204 |
* Ubic::AtomicFile for storing any file safely |
| 205 |
* POD improvements: |
| 206 |
- Ubic::Manual::Overview |
| 207 |
- Ubic::Service::SimpleDaemon now makes sense |
| 208 |
|
| 209 |
1.29 2011-06-07 |
| 210 |
* ubic-admin script: fix crontab install when user doesn't have previous crontab |
| 211 |
* ubic script: fix 'ubic unknown-cmd' error reporting |
| 212 |
* watchdog improvements: |
| 213 |
- don't ask for status twice if service works |
| 214 |
- permanently set credentials instead of using forks for non-root services |
| 215 |
- log status obtained by status check, instead of just logging 'service is broken' |
| 216 |
* POD improvements: |
| 217 |
- Ubic::Manual::Intro |
| 218 |
- Ubic::Manual::Multiservices |
| 219 |
- various POD fixes |
| 220 |
|
| 221 |
1.28 2011-04-21 |
| 222 |
* 'ubic status' always shows non-cached statuses if called by root |
| 223 |
* ubic.ping status now uses sane timeout when it checks service via http |
| 224 |
|
| 225 |
1.27 2011-04-17 |
| 226 |
* ubic-admin script: |
| 227 |
- system-wide setup with one command 'ubic-admin setup' |
| 228 |
- home directory setup with the same 'ubic-admin setup' command |
| 229 |
- batch-mode with flag "--batch-mode" |
| 230 |
* configurable default_user (very helpful for home directory setup) |
| 231 |
* 'ubic status' changes: |
| 232 |
- real status will be checked and printed if current user is equal |
| 233 |
to service user |
| 234 |
- "Not a root, printing cached statuses" message removed; |
| 235 |
instead, 'ubic status' will print "[cached]" note for every cached status |
| 236 |
* ubic-ping service renamed to ubic.ping |
| 237 |
* ubic-watchdog and ubic-update now run as ubic.watchdog and ubic.update services |
| 238 |
instead of cron jobs; "ubic-watchdog ubic.watchdog" cron job is still recommended. |
| 239 |
* ubic-periodic script for recurrent job running |
| 240 |
|
| 241 |
1.26 2011-04-10 |
| 242 |
Hotfix release (https://github.com/berekuk/Ubic/issues/12): |
| 243 |
* don't depend on Win32 modules |
| 244 |
* stale Win32 code removed |
| 245 |
(it didn't work anyway, so there is no point in packaging it in CPAN releases). |
| 246 |
|
| 247 |
1.25 2011-03-31 |
| 248 |
* MacOSX support (and probably other POSIX systems too, including FreeBSD) |
| 249 |
* lots of refactoring: |
| 250 |
- Ubic::Daemon::OS modules family for OS-specific daemonization tasks |
| 251 |
- Ubic::Credentials::OS modules family for OS-specific user/group tasks |
| 252 |
|
| 253 |
1.24 Wed Feb 23, 2011 |
| 254 |
* ubic-watchdog: change process name while checking specific service |
| 255 |
* check that uid change was successful before calling service action methods |
| 256 |
* default check_timeout() lowered from 10 minutes to 1 minute |
| 257 |
|
| 258 |
1.23 Thu Dec 02, 2010 |
| 259 |
* ubic-ping: 404 message content fixed |
| 260 |
* ubic-watchdog: |
| 261 |
- set check_timeout alarm a bit earlier |
| 262 |
- another alarm before compiling services |
| 263 |
|
| 264 |
1.22 Sun Nov 07, 2010 |
| 265 |
* Ubic::Multiservice: |
| 266 |
- default implementation of 'has_simple_service' method |
| 267 |
- POD improvements |
| 268 |
|
| 269 |
1.21_01 Thu Oct 21, 2010 |
| 270 |
* fixed races in t/daemon.t |
| 271 |
|
| 272 |
1.21 Tue Oct 19, 2010 |
| 273 |
* Ubic.pm: |
| 274 |
- set_ubic_dir() renamed to set_data_dir() |
| 275 |
(set_ubic_dir still remains in code for backward compatibility) |
| 276 |
- get_data_dir() and get_service_dir() methods |
| 277 |
- UBIC_LOCK_DIR, UBIC_TMP_DIR and UBIC_WATCHDOG_DIR env variables are deprecated; |
| 278 |
UBIC_DIR variable or set_data_dir() method should be used instead |
| 279 |
- bugfix in forked_call() method - it thrown "temp file not found after fork" exception occasionally in some cases |
| 280 |
- more consistent params validation in many methods |
| 281 |
* ubic-watchdog improvements: |
| 282 |
- separate non-blocking per-service lock (http://github.com/berekuk/ubic/issues#issue/1) |
| 283 |
- ubic-watchdog can now check selected set of services by name or glob |
| 284 |
- ubic-watchdog kills itself after $service->check_timeout() seconds |
| 285 |
* deprecated Ubic::Catalog module removed (it was renamed into Ubic::Multiservice long time ago) |
| 286 |
|
| 287 |
|
| 288 |
1.20 Wed Oct 13, 2010 |
| 289 |
* documentation improvements |
| 290 |
|
| 291 |
1.19 Tue Sep 14, 2010 |
| 292 |
* ubic-watchdog always uses Ubic->status interface to check service status |
| 293 |
|
| 294 |
1.18 Tue Sep 14, 2010 |
| 295 |
* critical bugfix: ubic-watchdog correctly interpret extended statuses |
| 296 |
(thanks to Sawyer X for noticing this, see http://github.com/berekuk/Ubic/issues#issue/7) |
| 297 |
* Ubic::Lockf::Alarm moved to separate file, so PODs are now correct |
| 298 |
|
| 299 |
1.17 Mon Sep 13, 2010 |
| 300 |
* Ubic::Run: recognize RedHat init script names |
| 301 |
(thanks to Sawyer X for the patch, see http://github.com/berekuk/Ubic/issues/#issue/5) |
| 302 |
* test improvements: |
| 303 |
- ubic-ping uses Config.pm to determine full perl binary path |
| 304 |
- memory-leak.t is more robust |
| 305 |
|
| 306 |
1.16 Tue Sep 07, 2010 |
| 307 |
* Ubic::Daemon: |
| 308 |
- check_daemon() now returns proper Ubic::Daemon::Status object |
| 309 |
- don't log warning if daemon exited by sigterm |
| 310 |
- minor logging cleanup |
| 311 |
* Ubic::Service::SimpleDaemon returns daemon pid in status msg |
| 312 |
* test improvements: |
| 313 |
- using Test::TCP when testing ubic-ping |
| 314 |
- watchdog.t skips all tests if 'fakeroot' is not present |
| 315 |
* Ubic::Cmd: print 'running' result as good when it contains extended message |
| 316 |
|
| 317 |
1.15 Mon Sep 06, 2010 |
| 318 |
* tests fixed to work under root user (http://github.com/berekuk/Ubic/issues#issue/4) |
| 319 |
|
| 320 |
1.14 Thu Sep 02, 2010 |
| 321 |
* handle supplementary groups correctly |
| 322 |
* ubic-watchdog doesn't require root privileges anymore (unless service requires them, of course) |
| 323 |
* repo and bugtracker resources in META.yml |
| 324 |
* PodWeaver in dist.ini config, so all modules now have proper AUTHOR and COPYRIGHT sections |
| 325 |
* SimpleDaemon and Common services accept arrayref as 'group' value |
| 326 |
|
| 327 |
1.13 Wed Sep 01, 2010 |
| 328 |
* Perl6::Slurp removed from dependencies |
| 329 |
* Ubic::Manual::FAQ now is actually added |
| 330 |
* group() method in services: |
| 331 |
- services can specify group(s) from which service should run, analogous to user() method |
| 332 |
- ubic will call setgid() before invoking any service methods |
| 333 |
- default group list consists only of main user's group, as returned by getpwnam; supplementary groups are not supported yet |
| 334 |
|
| 335 |
1.12 Thu Aug 26, 2010 |
| 336 |
* Ubic::Manual::FAQ with first 2 questions |
| 337 |
* Ubic::Log documentation updated according to 1.11 changes |
| 338 |
|
| 339 |
1.11 Thu Aug 26, 2010 |
| 340 |
* ubic-watchdog prints errors to stdout only |
| 341 |
|
| 342 |
1.10 Wed Aug 18, 2010 |
| 343 |
* security bugfix: store all statuses in JSON format |
| 344 |
|
| 345 |
1.09 Thu Aug 12, 2010 |
| 346 |
* bugfix: custom commands print 'ok' using green color and exit with zero |
| 347 |
code when there are not errors |
| 348 |
|
| 349 |
1.08 Tue Aug 03, 2010 |
| 350 |
* bugfix: has_service for nested unexistent services |
| 351 |
* debian/ dir in distribution too |
| 352 |
|
| 353 |
1.07 Fri Jul 30, 2010 |
| 354 |
* localize $@ in destructors |
| 355 |
* Ubic::Cmd refactoring, more consistent console results printing |
| 356 |
|
| 357 |
1.06 Fri Jun 18, 2010 |
| 358 |
* using $Config{perlpath} in tests - should fix CPAN tests |
| 359 |
* Dist::Zilla |
| 360 |
|
| 361 |
1.05 Sun Jun 13, 2010 |
| 362 |
MANIFEST up-to-date. |
| 363 |
Small POD improvements. |
| 364 |
|
| 365 |
1.04 Tue May 25, 2010 |
| 366 |
- important bugfix: service locks fixed! |
| 367 |
- Ubic::Daemon: join all bin args if bin is arrayref. |
| 368 |
- Remove old configs from old yandex-ubic package. |
| 369 |
|
| 370 |
1.02 Tue May 4, 2010 |
| 371 |
Remove old configs from old yandex-ubic package. |
| 372 |
|
| 373 |
1.01 Thu Apr 29, 2010 |
| 374 |
Just fixing debian dependency issues. |
| 375 |
|
| 376 |
1.00 Wed Apr 28, 2010 |
| 377 |
First opensource release. |