summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2015-08-19Prepare for release version 1.15obnam-1.15Lars Wirzenius4-2/+15
2015-08-19Add get_metadata_from_file_keys and use itLars Wirzenius7-121/+91
2015-08-19Move set_file_keys_from_metadata further down the stackLars Wirzenius1-28/+41
2015-08-19Add set_file_keys_from_metadata to interfaceLars Wirzenius4-25/+77
2015-08-17Fix dangling link to ondisk format description (now on obnam.org).Philipp Kern1-1/+1
2015-08-16Fix typo in variable nameLars Wirzenius1-1/+1
Reported-by: Dirk
2015-08-14Prepare for release version 1.14obnam-1.14Lars Wirzenius4-3/+9
2015-08-14Fix backup plugin to not treat URLs as filenamesLars Wirzenius2-28/+47
Suggested-by: Dennis Jacobfeuerborn Dennis sent a patch, but it used plain string manipulation. I rewrote this to handle URLs with the appropriate library functions. Rename some local variables for clarity. They may contain URLs, so use a name indicating that.
2015-08-14Add test for root dir sftp url in test-sftpLars Wirzenius1-0/+17
2015-08-14Use assertTrue, not assert_, in test-sftpLars Wirzenius1-1/+1
2015-08-14Reformat split line in test-sftp for clarityLars Wirzenius1-3/+3
2015-08-02Avoid looking up in dir_obj cache twiceLars Wirzenius1-2/+3
2015-08-02Drop tracing callsLars Wirzenius1-3/+0
They're about 1% of total runtime in benchmark. That's too many.
2015-08-02Move method closer to first use, for clarityLars Wirzenius1-6/+6
2015-08-02Lookup generation in dict, not linearlyLars Wirzenius1-5/+11
2015-08-02Make ClientFinder look up in cache firstLars Wirzenius1-4/+9
Also, maintain cache correctly.
2015-08-02Move file-exists checking deeper into call stackLars Wirzenius1-6/+6
2015-08-02Inline _require_file_exists in case it's fasterLars Wirzenius1-1/+7
2015-08-01Release debian/changelogobnam-1.13Lars Wirzenius1-2/+2
2015-08-01Add note to NEWS that green-albatross is scaryLars Wirzenius1-0/+5
2015-08-01Update version numbers for 1.13Lars Wirzenius3-3/+3
2015-08-01Add debian/changelog entry to close 793792Lars Wirzenius1-0/+8
2015-08-01Update NEWS about forget commit changesLars Wirzenius1-0/+6
2015-08-01forget: Commit changes after each generationLars Wirzenius1-10/+10
This means that if the forget operation is aborted, the next run will not have to re-do the work for all generations that were already processed. Suggested-by: Lukáš Poláček
2015-08-01Add empty lines to make code clearerLars Wirzenius1-0/+8
2015-08-01Redefine commit_* to NOT unlockLars Wirzenius6-33/+105
Update all callers to call unlock_foo after every commit_foo. Add tests to check that commit_* do not unlock. Fix some tests that were meaningless. Change commit_* implementations to not unlock. This allows us to commit, then continue, e.g., for forget or backup checkpoints. The checkpoints still unlock and re-lock, however, due to tests failing otherwise, indicating a problem elswewhere.
2015-08-01Update NEWS about chunk removal when forgettingLars Wirzenius1-0/+3
2015-08-01Implement remove_unused_chunks for fm6, use itLars Wirzenius3-10/+21
2015-08-01Add remove_unused_chunks methodLars Wirzenius4-0/+19
2015-08-01Clarify that flush_chunks is for new chunksLars Wirzenius1-1/+1
2015-08-01Refactor forget plugin code for clarityLars Wirzenius1-39/+43
2015-07-25Update NEWSLars Wirzenius1-0/+12
2015-07-25Drop --ignore-missing-chunks optionLars Wirzenius5-25/+14
We want robustness by default, and always.
2015-07-25Turn on forget --ignore-missing-chunk by defaultLars Wirzenius1-0/+1
2015-07-25Add --ignore-missing-chunks option to forgetLukáš Poláček5-11/+24
2015-07-25Add scenario for repo with lost chunksLars Wirzenius2-0/+102
2015-07-21Return set from GAClientList.get_client_namesLars Wirzenius2-2/+2
This makes the check whether a client exists much faster.
2015-07-21Cache list of client namesLars Wirzenius1-1/+12
2015-07-19Drop simple from setup.pyLars Wirzenius1-1/+0
2015-07-19Use Bag.get_bytes to determine when bag is fullLars Wirzenius2-3/+3
2015-07-19Add Bag.get_bytes to get length in bytesLars Wirzenius2-2/+13
2015-07-19Only use one blob store per clientLars Wirzenius1-8/+11
2015-07-19Drop the simple formatLars Wirzenius6-702/+2
It is no longer particularly useful and maintaining a format that's not usable for real data is extra work.
2015-07-19Split chunk and DIR object cache sizesLars Wirzenius4-2/+11
2015-07-19Rewrite GAChunkStore in terms of BlobStoreLars Wirzenius1-38/+35
This avoids some duplicate code.
2015-07-19Drop remove_chunkLars Wirzenius6-62/+13
FORMAT GREEN ALBATROSS puts multiple chunks in a bag. This means that removing an individual chunk can't happen without rewriting a bag, and that would be disastrous for other reasons. Thus, we drop the remove_chunk method from RepositoryInterface. Format 6 still drops chunks when "obnam forget" is run. For Green Albatross, we'll need to figure out some kind of garbage collection for "obnam forget" (or RepositoryInterface.remove_generation) to use, so that unused chunk bags actually disappear. But they weren't disappearing correctly before this change anyway.
2015-07-18Cache blobs in BlobStoreLars Wirzenius3-0/+50
2015-07-17Add mmicrobenchmark for object serialisationLars Wirzenius1-0/+57
2015-07-17Speed up repo_key_name with lookup tableLars Wirzenius1-4/+3
2015-07-17Simplify get_file_children in Green AlbatrossLars Wirzenius2-3/+27