Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Commits on Aug 8, 2012
  1. @lirazsiri

    updated copyright year

    lirazsiri authored
  2. @lirazsiri
  3. @lirazsiri

    cleanup whitespace

    lirazsiri authored
Commits on Aug 29, 2010
  1. @lirazsiri

    implemented default logging

    lirazsiri authored
Commits on Aug 15, 2010
  1. @lirazsiri

    free software => open source software

    lirazsiri authored
    rational: I've never liked the term "free software". It sounds cheap.
Commits on Aug 10, 2010
  1. @lirazsiri
Commits on Jun 24, 2010
  1. @lirazsiri
Commits on Mar 28, 2010
  1. @lirazsiri

    substituted use of stdtrap with much simpler fd redirection

    lirazsiri authored
    rational: utils.system() + stdtrap too difficult to understand
Commits on Mar 26, 2010
  1. @lirazsiri

    allow transparent output from various commands (e.g., duplicity, apt-…

    lirazsiri authored
    …get)
    
    Background:
    
    * we occasionally need to capture output for logging purposes, to
      check for errors based on output (e.g., we look at duplicity's
      outputs on error to guess if it failed because of a bad address, or
      something else such as a bad key), etc.
    
    * formerly we used commands.getstatusoutput to capture output
    
    * the problem with these commands is that they don't let you see
      partial output - you have to wait until the command is finished.
      Duplicity will fail very slowly in some conditions (e.g., SSH key
      is unknown). apt-get update and apt-get install can also take
      time.  If you're running restore non-interactively it doesn't
      matter, but otherwise it is helpful, especially when things don't
      seem to be working right, to get immediate feedback on what is
      happening.
    
    Solution:
    
    * Use stdtrap to intercept output to stdout transparently if we're
      running the command interactively (e.g., we can tell if stdout is a
      tty, or just a pipe to a file or command)
Commits on Mar 25, 2010
  1. @lirazsiri
Something went wrong with that request. Please try again.