Code by Scott שאול בן ישוע
  1. 26 Jan, 2013 5 commits
    • Sha'ul ben Yeshua's avatar
      added testing to build script · c43ec461
      Sha'ul ben Yeshua authored
      c43ec461
    • Sha'ul ben Yeshua's avatar
      README fix · 3bfd8ea8
      Sha'ul ben Yeshua authored
      3bfd8ea8
    • Sha'ul ben Yeshua's avatar
      README fix · 928ef5a3
      Sha'ul ben Yeshua authored
      928ef5a3
    • Sha'ul ben Yeshua's avatar
      README fix · 8afd6315
      Sha'ul ben Yeshua authored
      8afd6315
    • Sha'ul ben Yeshua's avatar
      Fix respidering inhibited by diagnostic blockage. · 72df0582
      Sha'ul ben Yeshua authored
      When message received on `diagnosticSpiderKill` I was failing to set
      `diagnosticSpiderDummy` false again, so the next attempt to start a
      dummy would return early, so there would be nothing listening on the
      `diagnosticSpiderKill` channel after the first dummy is killed.
      
      With a buffered channel, the second kill request was ignored, but stuck
      in the channel, and so a third kill request would block; that would
      block the invoker's channel.
      
      This change makes some channels synchronous, as it's easier for
      debugging and making problems reveal themselves, even if synchronous
      might not be strictly needed.  Being synchronous does make it easier to
      reason about the dummy-spider vs spider switch-out.  All that, just to
      make sure that a diagnostics request would always have something
      draining the channel.
      
      Also: made the persisted lock a `sync.RWMutex` instead of a `sync.Mutex`
      and use read-locks as appropriate: in theory, permits high web query
      rates, since each web request locks this mutex to get the persisted
      state.
      72df0582
  2. 21 Jan, 2013 3 commits
  3. 20 Jan, 2013 11 commits
  4. 19 Jan, 2013 1 commit
  5. 03 Jan, 2013 5 commits
  6. 02 Jan, 2013 3 commits
  7. 12 Dec, 2012 1 commit
  8. 02 Dec, 2012 2 commits
  9. 01 Dec, 2012 2 commits
  10. 22 Nov, 2012 1 commit
    • Phil Pennock's avatar
      Sync pre-commit to Apcera pre-commit.golang e266328c · 7faea195
      Phil Pennock authored
      Git config of extra build targets. Signal safe pop.
      
      hooks.PrecommitGoBuildExtraTarget to add 1 or more extra build targets;
      use this if you have a binary target and "go build" doesn't see it
      (because of the "// +build ignore" needed to make the build system happy
      with the multiple packages).
      
      Also, handle SIGINT, SIGTERM and pop the stash cleanly then too.
      
      Made slightly more awkward by more recent zsh deciding that trap of EXIT
      pseudo-signal inside a function should refer to return from the
      function, not the global EXIT hook.  *sigh*
      
      [ci skip]
      7faea195
  11. 21 Nov, 2012 4 commits
  12. 20 Nov, 2012 2 commits
    • Phil Pennock's avatar
      Test depth; pre-commit build & test by default. · 5929140b
      Phil Pennock authored
      pre-commit uses function, now it does "go vet", "go fmt"..., "go build",
      "go test".  Slow but safer.  All have knobs to disable.
      
      Add second test!  depth_test.go
       * Confirmed works whether "go test" invoked in dir, in
         ${GOPATH%%:*}/src or anywhere else: if not in-dir, the package given
         is searched for in $GOPATH and tests are invoked in-dir, so relative
         filenames pointing to data/ are fine.
      
      Put copyright notice into countries_test.go
      5929140b
    • Phil Pennock's avatar
      go vet in pre-commit · c6fa5448
      Phil Pennock authored
      c6fa5448