Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Commits on Nov 26, 2013
  1. Create README.md

    James Bayer authored
Commits on Dec 11, 2012
  1. @lisbakke

    Gosteno change broke Gonit.

    lisbakke authored
    Changed from using a reference to a value for the return of steno GetLogLevel.
    
    Change-Id: I6f398dbb6c9e115f056720beb31841d56ac49e6d
Commits on Nov 30, 2012
  1. @dougm

    Fix group/all restarts with process dependencies

    dougm authored
    - widen the scope of visitor table so processes dependencies are not
      restarted more than once during a group control action
    
    - visitor table is now passed as a param (via type ControlAction)
      rather than shared (was a member of type Control)
    
    - add integration tests
    
    Change-Id: I58c0e167f70208ce07b5600e228227f20366adc7
  2. @dougm

    Remove Process.Detached option

    dougm authored
    The Detached option was more useful when we did the double-fork self-detaching.
    Since removing the double-fork, this option is less useful and will likely lead
    to more confusion than convenience, where convenience was just gonit writing the
    pid file.
    
    With this option removed, processes are required to write their own pid file.
    
    Change-Id: Id28025bfe3c58ed376f352f0d2f258b2792daa9a
Commits on Nov 23, 2012
  1. @lisbakke

    Put Doug as gem author.

    lisbakke authored
    Change-Id: Iee7f3f24583016efeb90d58eaa93f32996961e1a
Commits on Nov 19, 2012
  1. @dougm

    Use log.Panic instead of log.Fatal in tests

    dougm authored
    Change-Id: I3bd7ea9ab10802ee0391c3ae917dd1c8eb3ff4bd
Commits on Nov 16, 2012
  1. @dougm

    Merge "Initial process recovery implementation"

    dougm authored Gerrit Code Review committed
  2. @dougm

    Merge "Avoid concurrent control actions for a process"

    dougm authored Gerrit Code Review committed
  3. @dougm

    Initial process recovery implementation

    dougm authored
    - add process watcher + integration test
    
    Change-Id: Ia45b93eeae708d71ce35db035656b7a73c36c259
Commits on Nov 14, 2012
  1. @dougm

    Ruby API client

    dougm authored
    Change-Id: I54001eaff699f667d4029691700b363f9db3ecc4
  2. @dougm

    Avoid concurrent control actions for a process

    dougm authored
    - api integration test
    
    - ProcessState.Monitor defaults to MONITOR_INIT if Process.MonitorMode == "active"
    
    - control: monitorUnset before calling StopProcess
    
    - control: add monitorActivate helper
    
    - test/helper enhancements
    
    Change-Id: I6ab1d31653c7ae0107edd8de29eb155ae939ad61
Commits on Nov 7, 2012
  1. @lisbakke

    Fix gonit persist bug in tests.

    lisbakke authored
    Change-Id: I29ee13aef48ce321c794cbcc48d47fa2d60eb85a
Commits on Nov 1, 2012
  1. @dougm

    test fixes

    dougm authored
    - fix log_test when run with: sudo -E go test
    
    - fix helper.NewTestProcess BuildBin path
    
    Change-Id: I7249ebdeb955df5bd3b17720bb6e947a86c5d98e
Commits on Oct 31, 2012
  1. @lisbakke

    Initial integration tests.

    lisbakke authored
    Adds helper functions to start/stop gonit, run gonit commands and
    assert the existence of processes and log messages.
    
    Change-Id: I54857ace9fef23973d2cec3aaa675b1f5611e122
Commits on Oct 19, 2012
  1. @dougm

    increase gocheck verbosity

    dougm authored
    we need the output of '-gocheck.vv' to parse via our modified go2xunit
    
    Change-Id: I40b4b0fe1a91edc63dd0177bc9e239139e0a26d0
Commits on Oct 18, 2012
  1. @dougm

    migrate from 'assert' to 'gocheck' for unit tests

    dougm authored
    Change-Id: I26c47429b7f83d22bd7893d82c00a07115e8066f
Commits on Oct 17, 2012
  1. @dougm

    use the official goyaml repo

    dougm authored
    Change-Id: I9076b6466b6d3504563f19a5965d874dbc13e0b4
  2. @dougm

    Integrate gosteno logging

    dougm authored
    Change-Id: Idd9b19362566cbe42349f0e61f92a4f80504fada
  3. @lisbakke

    Persist gonit states.

    lisbakke authored
    1) Fill out 'gonit reload' command that reloads configs.
       The API user is responsible for stopping/starting processes
       before/after 'gonit reload'. A config will only be reloaded if
       it is a valid config.
    2) Persist ProcessState structs after start/monitor/unmonitor.
    3) Load persisted state before starting a process.
    
    Change-Id: Iaac0b81eda1ccac127059f8633a65a9b9eeac526
Commits on Oct 16, 2012
  1. @lisbakke

    Output gonit status in alphabetical order.

    lisbakke authored
    Change-Id: I3ccec2db14fa77d63e6cb5e1d73fe6dda1f19a54
Commits on Sep 27, 2012
  1. @dougm

    Add gonit daemon options to ConfigManager Settings

    dougm authored
    Change-Id: Ie16a3f3bb3c59de22ca66fa205a02ed88a0b2552
Commits on Sep 26, 2012
  1. @lisbakke

    Merge "Default gonit status to gonit status all."

    lisbakke authored Gerrit Code Review committed
  2. @lisbakke

    Fix gonit unix socket bug.

    lisbakke authored
    If gonit started the RPC server listener and then unexpectedly
    shutdown, it would not clean up the unix socket file.  When gonit
    was restarted it would then fail to start due to the unix socket file
    already existing.
    
    Change-Id: I05b70cff2956e785602fac699b36a2a0e86faf84
Commits on Sep 25, 2012
  1. @lisbakke

    Default gonit status to gonit status all.

    lisbakke authored
    Change-Id: I1d06aafcf8e450f0608bda3b71b85186ede60502
Commits on Sep 20, 2012
  1. @lisbakke

    Fix a bug where gonit can't read a pidfile with a newline.

    lisbakke authored
    Change-Id: If615f05969038ba336704670614b9a3854b445f7
Commits on Sep 19, 2012
  1. @lisbakke

    Start/stop/restart actions and main integration.

    lisbakke authored
    This change adds the ability to use start/stop/restart actions in
    event rules. It also integrates the eventmonitor into the main code,
    so it runs when gonit is running.
    
    Change-Id: I617024ccbc83b02e0fb80c6eb34a7c4d0eac46c5
Commits on Sep 12, 2012
  1. @dougm

    Fix possible deadlock/panic when detaching a process

    dougm authored
    Remove fork() call which often caused deadlock on linux and
    panic on macosx.  We now reap any process we start via Wait()
    in a go routine for those who do not self detach.
    
    Change-Id: Ifa526561f8c385bc8d000310e0445ba87bf56bfe
Commits on Sep 5, 2012
  1. @dougm

    close directory after reading config files

    dougm authored
    Change-Id: I66caf737325937298b03596767ab66cea478de4c
  2. @lisbakke

    Merge "Adding duration support to eventmanager."

    lisbakke authored Gerrit Code Review committed
  3. @dougm

    Improve usage (help) message

    dougm authored
    Change-Id: I9ef33f151dd90b1e55d10de07ef553d4ddf0dc43
Commits on Sep 4, 2012
  1. @lisbakke

    Adding duration support to eventmanager.

    lisbakke authored
    Also turn all resources to uint64.
    
    Change-Id: I229d526a57c16a9c6660171670b595ea2143caf1
  2. @dougm

    Implement RPC status and summary methods

    dougm authored
    Includes cli output formatting
    
    Change-Id: I617289a5faf9655e2835a5fc351f8b258d7a51f1
Commits on Aug 29, 2012
  1. @dougm

    workaround possible test hangs

    dougm authored
    Change-Id: I3ce6ce0374fb86933148ef4cdeb5b461d4a32b2d
Commits on Aug 16, 2012
  1. @dougm

    Initial version of the main gonit program

    dougm authored
    - supports starting in daemon mode and client/cli mode
    - hook to ConfigManager, rpc server lifecycle, signal handling, etc.
    
    Change-Id: Ib23f5f386cb944f93ed2c583d1e4816dd49221fe
  2. @dougm

    Implement RPC action methods

    dougm authored
    - stubs filled in for control actions (process, groups and "all")
    - remove/rename some "service" items (we are doing processes only)
    - change control DoAction to return error instead of bool
    
    Change-Id: I80e26213eb3a4528b22d6d73e8ec3f0bced4aa7b
Something went wrong with that request. Please try again.