1. 25 May, 2017 5 commits
  2. 19 May, 2017 2 commits
  3. 03 May, 2017 1 commit
  4. 09 Mar, 2017 1 commit
  5. 07 Mar, 2017 2 commits
  6. 06 Mar, 2017 1 commit
    • Leo Pound Singer's avatar
      Check permissions on netrc file · 33aaf459
      Leo Pound Singer authored
      The netrc.netrc class from the Python standard library applies access
      safety checks (requiring that the netrc file is readable only by the
      current user, and not by group members or other users) only if using the
      netrc file in the default location (~/.netrc). This subclass applies the
      same access safety checks regardless of the path to the netrc file.
  7. 03 Feb, 2017 4 commits
  8. 02 Feb, 2017 5 commits
  9. 25 Jan, 2017 1 commit
    • Leo Pound Singer's avatar
      Catch exceptions in logging handler thread · 601674ad
      Leo Pound Singer authored
      If writeLog() fails, then print a message to stderr and keep
      going. This is one rare circumstance where we must catch all
      exceptions. If the logging thread crashes, then it will stop
      clearing out the queue. Safe and rapid termination of the
      thread requires that we ignore exceptions and continue
      consuming items from the queue.
  10. 17 Jan, 2017 2 commits
  11. 10 Jan, 2017 6 commits
  12. 09 Jan, 2017 1 commit
  13. 04 Jan, 2017 1 commit
    • Leo Pound Singer's avatar
      Do not call sys.exit in ligo.gracedb.rest module · c7974d2d
      Leo Pound Singer authored
      The ligo.gracedb.rest module should raise exceptions instead of calling
      sys.exit() so that it is possible to inspect stack traces. Generally,
      methods in importable modules should not call sys.exit(), just as C
      library functions should not call exit().
      This change turns output_and_die into a class method that can be
      overridden in the classes in the ligo.gracedb.cli module. However,
      ideally we should get rid of the output_and_die method altogether,
      raise ordinary exceptions in ligo.gracedb.rest, and handle user-friendly
      rendering of errro messages in ligo.gracedb.cli.
  14. 13 Dec, 2016 3 commits
  15. 01 Dec, 2016 1 commit
    • Leo Pound Singer's avatar
      Make logging handler non-blocking · 7ce2f16d
      Leo Pound Singer authored
      It takes a second or more to post a GraceDB log message. For
      logging purposes, this can be a significant contribution (e.g.,
      in the case of BAYESTAR). This patch modifies the logging handler
      (`ligo.gracedb.logging.GraceDbLogHandler`) to write the log messages
      on a background thread, freeing up the main thread for more
      To the best of my knowledge, BAYESTAR is the only client of this
  16. 03 Nov, 2016 2 commits
  17. 02 Nov, 2016 2 commits