Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2016-07-13 | Fix typos, from Andrea Gelmini | Lars Wirzenius | 1 | -1/+1 | |
2016-07-02 | Drop r/o caches while forgetting to reduce memory use | Lars Wirzenius | 1 | -0/+10 | |
2016-07-02 | Add note about client lock needed for flush_cache | Lars Wirzenius | 1 | -0/+2 | |
2016-06-25 | Add flush_client method and fix RepositoryClientNotLocked instance | Lars Wirzenius | 1 | -0/+8 | |
This may be used to force any in-memory caches for an open client in a repository to be written out, and then dropped, to reduct memory use. Only green-albatross implements this, for now. | |||||
2016-03-17 | Actually store SHA checksums in GA | Lars Wirzenius | 1 | -1/+5 | |
2016-03-17 | Add RepositoryInterface.get_client_checksum_key | Lars Wirzenius | 1 | -1/+15 | |
2016-03-17 | Add whole file checksummer class | Lars Wirzenius | 1 | -0/+4 | |
This also adds MD5 to the checksummer.py file so we don't need to special case it. | |||||
2016-03-11 | Remove file keys that are not in the metadata | Lars Wirzenius | 1 | -0/+5 | |
2016-03-11 | Do not alias test key with symlink target key | Lars Wirzenius | 1 | -6/+12 | |
This caused other parts of Obnam to break when backing up symlinks. | |||||
2016-01-15 | Update copyright years | Lars Wirzenius | 1 | -1/+1 | |
2016-01-15 | Comment out dead test code | Lars Wirzenius | 1 | -25/+25 | |
It would be handy to resurrect this, but as the comment says, they don't work, and I haven't time to fix that now. However, the fixed test causes a pylint warning. | |||||
2015-12-21 | Change remove_generation to return list of chunks | Lars Wirzenius | 1 | -2/+7 | |
This will be useful for actually implementing removal of unused chunks in green-albatross. | |||||
2015-12-06 | Make REPO_* constant numbers less manual | Lars Wirzenius | 1 | -25/+35 | |
2015-12-06 | Do not require while-file MD5 for all formats | Lars Wirzenius | 1 | -1/+0 | |
2015-11-20 | Change find_chunk_ids_by_content to look up by token | Lars Wirzenius | 1 | -7/+9 | |
Also rename the method | |||||
2015-09-28 | Fix un-idiomatic type checks (thanks, pylint) | Lars Wirzenius | 1 | -1/+3 | |
2015-09-28 | Avoid using assertTrue(True) in unit test | Lars Wirzenius | 1 | -2/+1 | |
2015-08-29 | Merge Lukas's changes to unlock if gpg fails | Lars Wirzenius | 1 | -0/+8 | |
Conflicts: obnamlib/__init__.py | |||||
2015-08-29 | Fix name of interface method to remove_unused_chunks | Lars Wirzenius | 1 | -1/+1 | |
2015-08-29 | Style fixes suggested by pylint | Lars Wirzenius | 1 | -4/+4 | |
2015-08-28 | Fix REPO_FILE_MTIME to be REPO_FILE_MTIME_SEC | Lars Wirzenius | 1 | -3/+3 | |
2015-08-28 | Add RepositoryInterfaceTests.repo attribute | Lars Wirzenius | 1 | -0/+2 | |
2015-08-28 | Change how REPO_ constants are set | Lars Wirzenius | 1 | -39/+40 | |
This makes the code understandable by pylint, and allows it to be less confused, revealing real errors in the output. | |||||
2015-08-19 | Add get_metadata_from_file_keys and use it | Lars Wirzenius | 1 | -21/+44 | |
2015-08-19 | Add set_file_keys_from_metadata to interface | Lars Wirzenius | 1 | -0/+35 | |
2015-08-05 | Unlock repository after GPG error | Lukáš Poláček | 1 | -0/+8 | |
2015-08-01 | Redefine commit_* to NOT unlock | Lars Wirzenius | 1 | -22/+93 | |
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-01 | Add remove_unused_chunks method | Lars Wirzenius | 1 | -0/+9 | |
2015-08-01 | Clarify that flush_chunks is for new chunks | Lars Wirzenius | 1 | -1/+1 | |
2015-07-25 | Drop --ignore-missing-chunks option | Lars Wirzenius | 1 | -4/+1 | |
We want robustness by default, and always. | |||||
2015-07-25 | Add --ignore-missing-chunks option to forget | Lukáš Poláček | 1 | -1/+4 | |
2015-07-19 | Drop remove_chunk | Lars Wirzenius | 1 | -30/+0 | |
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-17 | Speed up repo_key_name with lookup table | Lars Wirzenius | 1 | -4/+3 | |
2015-07-17 | Simplify get_file_children in Green Albatross | Lars Wirzenius | 1 | -0/+15 | |
2015-07-10 | Buffer added files until st_mode is known | Lars Wirzenius | 1 | -0/+16 | |
Green Albatross needs to know if it the added file is a directory, before it can add it. | |||||
2015-07-04 | Cleanups suggested by pep8 | Lars Wirzenius | 1 | -3/+4 | |
2015-05-19 | Add lock_everything and unlock_everything | Lars Wirzenius | 1 | -1/+64 | |
2015-05-16 | Add RepositoryInterface.flush_chunks method | Lars Wirzenius | 1 | -0/+10 | |
2015-03-22 | fix typos | Thomas Waldmann | 1 | -9/+9 | |
2015-03-22 | fix typo in interface base class | Thomas Waldmann | 1 | -1/+1 | |
2015-03-22 | Remove unused argument from get_fsck_work_items | Lars Wirzenius | 1 | -4/+1 | |
No implementation of RepositoryInterface actually wants the settings argument, and no user of the interface gives the argument. Thanks to Thomas Waldmann for noticing this. | |||||
2015-01-30 | Add filename to missing chunk error message | Lars Wirzenius | 1 | -1/+4 | |
2015-01-24 | Fix copyright years, add missing gpl3 blurb | Lars Wirzenius | 1 | -1/+1 | |
2015-01-24 | Add get_shared_directories interface call | Lars Wirzenius | 1 | -0/+13 | |
2015-01-18 | Return integer timestamps for generations | Lars Wirzenius | 1 | -5/+7 | |
2014-06-05 | Shorten long lines | Lars Wirzenius | 1 | -1/+1 | |
2014-06-04 | fsck: optionally remove unused chunks | Carlo Teubner | 1 | -0/+33 | |
Remove unused chunks if either --fsck-fix or --fsck-rm-unused is given. The second option is introduced because --fsck-fix may cause fsck to fail in the case where we're out of disk space. | |||||
2014-06-04 | Fix typo in method name | Carlo Teubner | 1 | -1/+1 | |
2014-06-04 | Fix typo in docstring | Carlo Teubner | 1 | -1/+1 | |
2014-04-13 | Format long lines | Lars Wirzenius | 1 | -2/+4 | |