| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
| |
This inlines the clean_meta() function and reads the whole JSON file in
memory to greatly reduce the number of function calls that are performed
reading the files list. This is especially noticable in reading the
backup files lists.
This does mean that more memory is used when reading large files.
|
|
|
|
|
|
|
|
|
|
| |
This changes the information in the metadata dict to include the file
type in a separate field and limit the mode information to standard
permissions only.
Upon reading files lists from the repository the old format is
automatically converted. This changes local cache file to ensure all
information is re-read (the previous commit also already required this).
|
|
|
|
|
|
| |
This creates a FileBackend class (from parts of the FileRepository class
that is now renamed to Repository) that implements a simple API that can
also be provided by other backends.
|
|
|
|
|
|
|
|
| |
This command checks the repository to see if any files are missing or
corrupt and whether backups can still be restored.
This currently only reads meta-data files and only checks archive files
presence.
|
|
|
|
|
| |
This ensures that open files and streams are properly closed when an
exception occurs.
|
|
|
| |
The keyencryption property was removed. This fixes d676905.
|
|
|
|
|
| |
This also replaces catches IOError by catching EnvironmentError which
covers a wider range of errors.
|
|
|
|
|
| |
The checks that the repository contains an archive file when resyncing
the metdata cache from the repository.
|
|
|
|
|
| |
This tries to read the newly written passphrase file before installing
it as a new file to avoid installing a not-decryptable passphrase file.
|
|
This moves functionality related to the metadata cache and repository
files to separate modules.
|