Permalink
Commits on Sep 8, 2013
  1. Fix crash when listing latest backup

    A one-element list containing "None" was emitted rather than an empty
    list.  Fix this bug and insert some assertions to make such defects
    more perspicuous.
    Daniel Farina committed Sep 8, 2013
Commits on Aug 11, 2013
  1. Fix __exit__ in contexts

    The return value of __exit__ is used to determine if Python should
    re-raise exceptions, False meaning 're-raise'.
    
    The dangerous looking one is the one in StreamPadFileObj, where a
    .close() that might somehow yield a non-False-ish return could cause
    exceptions to be swallowed.
    
    It doesn't seem likely that'd ever be the case, but the code as
    written needlessly relies on that for correct behavior and obscures
    the intent.
    
    Backpatch this change to 0.5, too.
    fdr committed Aug 11, 2013
Commits on May 12, 2013
  1. Stamp v0.5.14

    Signed-off-by: Daniel Farina <daniel@heroku.com>
    Daniel Farina committed May 12, 2013
  2. Add contributor: Jason Yan

    Signed-off-by: Daniel Farina <daniel@heroku.com>
    
    Conflicts:
    	CONTRIBUTORS
    Daniel Farina committed Jan 19, 2013
  3. Make "python setup.py test" just work.

    This change removes the use of pytest-xdist as it does not seem to play
    nicely with setuptools, and the tests run fast enough as they are.
    
    Conflicts:
    	setup.py
    tail committed with Daniel Farina Jan 19, 2013
  4. Fix license placeholder expansion

    Signed-off-by: Daniel Farina <daniel@heroku.com>
    Daniel Farina committed May 12, 2013
  5. Add contributor: Kirill Klenov

    Signed-off-by: Daniel Farina <daniel@heroku.com>
    Daniel Farina committed May 12, 2013
  6. Add build and packaging tools for PyPI

    Editorialized (mostly, just squashed) by Daniel Farina.
    
    Signed-off-by: Daniel Farina <daniel@heroku.com>
    klen committed with Daniel Farina Feb 18, 2013
  7. setup.py: prepare metadata for cheeseshop upload

    Also refactor the way short files are read into cheeseshop metadata.
    
    Signed-off-by: Daniel Farina <daniel@heroku.com>
    Daniel Farina committed May 11, 2013
  8. setup.py: downcase WAL-E to wal-e

    Continue the general conversion of machine-intended references to
    WAL-E to be lower case, much like the executable, package name,
    repository, and so on.
    
    It is still handy to have capitalized name (and WAL is an acronym
    anyway) because it makes references to WAL-E stand out in human-read
    text without quoting or special formatting.
    
    Signed-off-by: Daniel Farina <daniel@heroku.com>
    Daniel Farina committed May 11, 2013
  9. Include VERSION in package as a resource

    With this, wal-e can (perhaps?) finally be packaged as a cheeseshop
    package, and can learn the long-missing 'version' action.
    
    Signed-off-by: Daniel Farina <daniel@heroku.com>
    Daniel Farina committed May 11, 2013
Commits on Aug 30, 2012
  1. v0.5.13

    Signed-off-by: Daniel Farina <daniel@heroku.com>
    Daniel Farina committed Aug 30, 2012
  2. Copy-edit the while-offline option and make it a boolean flag

    This loses a tiny bit of generality, because formations like these no
    longer work (which can occur in some scripts):
    
      $ wal-e backup-push --while-offline=true --while-offline=false ...
    
    But I think in common cases it is easier to read, as the following
    will now suffice:
    
      $ wal-e backup-push --while-offline
    
    Signed-off-by: Daniel Farina <daniel@heroku.com>
    Daniel Farina committed Aug 30, 2012
Commits on Aug 4, 2012
  1. Support for backing up non-running PG cluster

    mikeyk committed with Daniel Farina Jul 20, 2012
Commits on Jul 26, 2012
  1. Fix unbound variable reference in else-case

    This would cause the exception-reraising code to crash.
    
    Signed-off-by: Mike Krieger <mikeyk@instagram.com>
    Signed-off-by: Daniel Farina <drfarina@acm.org>
    mikeyk committed with Daniel Farina Jul 26, 2012
  2. Remove extra imports

    Found via pyflakes.
    
    Signed-off-by: Mike Krieger <mikeyk@instagram.com>
    Signed-off-by: Daniel Farina <drfarina@acm.org>
    mikeyk committed with Daniel Farina Jul 26, 2012
  3. Add Mike Krieger as a contributor and alphabetize

    Signed-off-by: Daniel Farina <drfarina@acm.org>
    Daniel Farina committed Jul 26, 2012
Commits on Jun 12, 2012
  1. Remove outgrown TODO list

    Signed-off-by: Daniel Farina <daniel@heroku.com>
    Daniel Farina committed Jun 12, 2012
  2. Add Ryan Kelly as a contributor

    Signed-off-by: Daniel Farina <daniel@heroku.com>
    Daniel Farina committed Jun 12, 2012
Commits on Mar 15, 2012
  1. Where are my manners: Add contributor Tuomas Silen

    Signed-off-by: Daniel Farina <drfarina@acm.org>
    Daniel Farina committed Mar 15, 2012
Commits on Mar 8, 2012
  1. Remove bogus attempts at robustness from sentinel upload

    This code dates back to some of the earliest versions of wal-e, back
    when it relied on s3cmd, and was a pitiful attempt basic robustness.
    So stop pretending its robust, update the caveats, and salt the earth
    with warnings and promises to make things better and particular ways
    to do that.
    
    Signed-off-by: Daniel Farina <drfarina@acm.org>
    Daniel Farina committed Mar 8, 2012
  2. Rewind sentinel content for backup-completion sentinel

    Editorialized to just nix the blanket "except" statement and the
    surrounding comment, which dates back to an even less principled time.
    
    Fixes issue #34
    
    Signed-off-by: Daniel Farina <drfarina@acm.org>
    committed with Daniel Farina Mar 5, 2012
Commits on Feb 23, 2012
  1. v0.5.11

    Signed-off-by: Daniel Farina <drfarina@acm.org>
    Daniel Farina committed Feb 23, 2012
Commits on Feb 17, 2012
  1. Rewind file descriptor to not truncate data with Boto 2.2.2+

    Signed-off-by: Daniel Farina <drfarina@acm.org>
    Daniel Farina committed Feb 17, 2012
Commits on Jan 9, 2012
  1. v0.5.10

    Signed-off-by: Daniel Farina <daniel@heroku.com>
    Daniel Farina committed with Daniel Farina Jan 9, 2012
Commits on Dec 21, 2011
  1. v0.5.10c1

    Signed-off-by: Daniel Farina <daniel@heroku.com>
    Daniel Farina committed Dec 21, 2011
Commits on Dec 20, 2011
  1. Refine exception printing and retry in wal-fetch

    Especially to make it more easily possible to assess what kind of
    retry code may be required.
    
    Signed-off-by: Daniel Farina <daniel@heroku.com>
    Daniel Farina committed Dec 20, 2011
  2. Add catch-all exception logging for wal-fetch

    This helps diagnose conditions that may need additional restart code.
    wal-fetch crashes are especially deadly because it will cause Postgres
    to start a new timeline (really, it should be possible to specify a
    target to Postgres and have it retry until the target is reached, but
    until that time...)
    
    Signed-off-by: Daniel Farina <drfarina@acm.org>
    Daniel Farina committed Dec 20, 2011
  3. Work around StorageUri in boto doing impoverished error signaling

    StorageUri raises InvalidUriError for a ton of different cases.
    Instead, utilize its parsing code and then wind my way around the
    standard, non-URI based operators in order to detect a 404 explicitly.
    
    Signed-off-by: Daniel Farina <daniel@heroku.com>
    Daniel Farina committed Dec 20, 2011
  4. Make wal-fetch return a non-zero exit code when it can't find a file

    The Postgres manual says: "The command will be asked for file names that
    are not present in the archive; it must return nonzero when so asked",
    and yet this command would spin on a boto.exception.InvalidUriError in
    that case.
    russss committed with Daniel Farina Dec 20, 2011
  5. Add contributor Russ Garrett <russ@garrett.co.uk>

    Signed-off-by: Daniel Farina <daniel@heroku.com>
    Daniel Farina committed Dec 20, 2011
  6. Bulk up gitignore with several templates

    All sourced from https://github.com/github/gitignore at this time.
    
    Signed-off-by: Daniel Farina <daniel@heroku.com>
    Daniel Farina committed Dec 20, 2011
  7. Gitignore .pyc and swp files

    russss committed with Daniel Farina Dec 20, 2011
  8. Use pytest tmpdir support

    Signed-off-by: Daniel Farina <drfarina@acm.org>
    Daniel Farina committed Dec 20, 2011