summaryrefslogtreecommitdiff
path: root/obnam
AgeCommit message (Expand)AuthorFilesLines
2008-03-22Implement obnam.Application.load_host to load the host block.Lars Wirzenius2-0/+48
2008-03-22Removed remaining uses of host_block_decode.Lars Wirzenius3-31/+10
2008-03-22Make use of HostBlockObjects in cli.py, instead of handling components directly.Lars Wirzenius2-4/+88
2008-03-22Queue all created objects for upload while making a backup.Lars Wirzenius1-6/+10
2008-03-22Refactor to put code to enqueue objects in its own method. Also, move the upd...Lars Wirzenius1-5/+11
2008-03-22Wrote obnam.Application.backup.Lars Wirzenius2-0/+21
2008-03-22Refactoring: Broke up the big ApplicationTests class to three classes (one wh...Lars Wirzenius1-21/+35
2008-03-22Removed unnecessary junk from test class.Lars Wirzenius1-17/+6
2008-03-22Keep track of directories of parents, when we traverse the tree depth-first.Lars Wirzenius2-6/+43
2008-03-22Make sure backup_one_root finds all directories.Lars Wirzenius2-0/+52
2008-03-22Check for correct number of dirrefs for a directory.Lars Wirzenius1-0/+4
2008-03-22Refactor creation of dir tree for testing. And add a _subdirs to keep track o...Lars Wirzenius2-17/+43
2008-03-22Make sure backup_one_dir sets inode data.Lars Wirzenius2-0/+5
2008-03-22Add filegroups to DirObject when backing up a single directory.Lars Wirzenius2-1/+41
2008-03-22Started on obnam.Application.backup_one_dir: make sure the name is set correc...Lars Wirzenius2-0/+26
2008-03-22Updated the copyright year.Lars Wirzenius1-1/+1
2008-03-22Use fifos instead of dirs to test filegroups, since filegroups aren't suppose...Lars Wirzenius1-13/+8
2008-03-22Compute rsync signatures for regular files.Lars Wirzenius1-1/+17
2008-03-22Refactor adding of files to filegroups to a different method. Also, test both...Lars Wirzenius2-8/+27
2008-03-22Create file groups.Lars Wirzenius2-2/+48
2008-03-22Fixed name of test method. Really, this time.Lars Wirzenius1-1/+1
2008-03-22Fixed name of test method.Lars Wirzenius1-1/+1
2008-03-16Test obnam.io.get_block, various code paths.Lars Wirzenius1-0/+18
2008-03-16Removed unnecessary comment (all the code is still ugly).Lars Wirzenius1-1/+0
2008-03-16Removed logging of a warning when a block can't be found. The callers now do ...Lars Wirzenius1-1/+0
2008-03-16Removed debugging print statements.Lars Wirzenius1-3/+0
2008-03-16Make sure we actually put stuff into cache when asked to do so.Lars Wirzenius1-0/+18
2008-03-16To simplify code paths and increase testing coverage, make sure we always hav...Lars Wirzenius1-9/+15
2008-03-16obnam.gpg.encrypt now raises an exception instead of returning an error code,...Lars Wirzenius1-6/+1
2008-03-16Added tests for obnam.backend.Backend.use_gpg.Lars Wirzenius1-0/+21
2008-03-16Increase test coverage by calling set_progress_reporter from initializer, ins...Lars Wirzenius1-1/+1
2008-03-16Require Python 2.5, instead of 2.4.Lars Wirzenius1-5/+0
2008-03-16Actually, let's lose the O_BINARY completely. We're _not_ going to be portabl...Lars Wirzenius1-7/+1
2008-03-16Write check for whether os.O_BINARY exists in a nicer way.Lars Wirzenius1-1/+1
2008-03-16Typo fix in comment.Lars Wirzenius1-1/+1
2008-03-16Make sure restoring a non-existing file raises an exception.Lars Wirzenius1-0/+4
2008-03-16Make sure fetching a non-existent host block returns None.Lars Wirzenius1-0/+3
2008-03-16Move checking of non-emptiness of decoded block to block_decode, where it bel...Lars Wirzenius3-4/+14
2008-03-16Don't check for error return code, since get_block now always raises an excep...Lars Wirzenius1-3/+0
2008-03-16Since obnam.gpg.decrypt now raises an exception for errors, don't test for th...Lars Wirzenius1-5/+1
2008-03-16Test for non-existent block causing get_object to return None.Lars Wirzenius1-0/+3
2008-03-16Make sure we get the same object back twice from the object cache.Lars Wirzenius1-0/+11
2008-03-16Moved obnam.io._object_cache to obnam.context.object_cache.Lars Wirzenius1-7/+4
2008-03-16Added an object cache element to the context class. The next step is to get r...Lars Wirzenius2-2/+4
2008-03-16Changed the interfaces of the backend download method: it no longer returns a...Lars Wirzenius4-47/+32
2008-01-23Rename obnam.exception.ExceptionBase to obnam.ObnamException.Lars Wirzenius8-12/+12
2008-01-23Added Application.find_file, with support for finding a file in a previous ge...Lars Wirzenius2-0/+52
2008-01-23Started on Application.make_filegroups.Lars Wirzenius2-0/+12
2008-01-23Reformat to shut coverage.py up.Lars Wirzenius1-2/+2
2008-01-22Remove another useless error check in the wrong place.Lars Wirzenius1-6/+1