Commit Graph

191 Commits

Author SHA1 Message Date
Dan Christensen a79acdd10c Correct --weekly help to say weekly, not daily. 2014-02-09 16:15:49 -05:00
Jonas Borgström ab1cf32071 Implemented hashindex.iteritems(marker=X) 2014-02-09 22:05:33 +01:00
Jonas Borgström 1e4fd4e18a PyBuffer_FromMemory should be a static function 2014-02-09 21:25:05 +01:00
Jonas Borgström 66fe7e5377 Removed redundant is_a_terminal function and minor check fixes. 2014-02-09 20:35:00 +01:00
Jonas Borgström 14dd0414eb Merge remote-tracking branch 'jdchristensen/help' 2014-02-09 20:30:57 +01:00
Jonas Borgström 1809ea2f3e More attic check --repair improvements 2014-02-09 16:05:04 +01:00
Jonas Borgström 33b58eac82 Initial check --repair support 2014-02-09 16:05:04 +01:00
Jonas Borgström 5898b3b935 Merge remote-tracking branch 'jdchristensen/prune-within'
Conflicts:
	attic/archiver.py
2014-02-09 16:04:32 +01:00
Dan Christensen b5483b79a4 Add a --within option to the prune command. 2014-02-08 15:37:27 -05:00
Dan Christensen 9d19550c1a Add support for --exclude-from. 2014-02-08 12:44:48 -05:00
Dan Christensen 020c4f802f return self.exit_code from do_help 2014-02-08 11:51:44 -05:00
Dan Christensen 989a86463c Escape the backslash in the help text. 2014-02-08 11:45:36 -05:00
Dan Christensen c0cb26613d On help on patterns. 2014-02-08 09:44:31 -05:00
Jonas Borgström 2252616f9e Repository code cleanup 2014-02-08 13:32:47 +01:00
Dan Christensen 4da8466b3b Fix a doc typo. 2014-02-07 18:10:52 -05:00
Dan Christensen b76a40c987 Simplify the ExcludePattern logic further, and explain. 2014-02-07 18:04:21 -05:00
Dan Christensen 8cc74be62e Simplify IncludePattern and add a few more tests to PatternTestCase. 2014-02-07 16:27:18 -05:00
Dan Christensen db9632532c Add one more test to PatternTestCase. 2014-02-07 16:04:06 -05:00
Dan Christensen 9c5e3d4ddc Fix minor bugs in IncludePattern and ExcludePattern, and speed up
ExcludePattern by storing a compiled regular expression.
2014-02-07 15:54:24 -05:00
Dan Christensen 59c8008436 Add more tests to PatternTestCase. The first two fail with the
current code.
2014-02-07 15:51:27 -05:00
Jonas Borgström 4271ffa25f Only cleanup partial transactions if an existing transaction is found 2014-02-05 22:49:12 +01:00
Jonas Borgström e4a28f288f Remove flush=True argument from print() since it is Python3.3+ 2014-02-05 20:30:53 +01:00
Jonas Borgström 5abd254a11 Fixed repository check progress reporting. 2014-02-05 20:18:31 +01:00
Jonas Borgström 7a7cc2bc88 Removed some dead code. 2014-02-05 00:07:03 +01:00
Jonas Borgström faedaf8160 Basic repository consistency check functionality.
Still no archive metadata validation or repair functionality.
2014-02-05 00:04:30 +01:00
Dan Christensen 6b639e4c22 Update prune docs and a few other things in usage.rst. 2014-02-03 20:11:47 -05:00
Dan Christensen d3ff6ac25d Clean-up helpers.prune_split 2014-02-02 23:45:53 -05:00
Dan Christensen 13863e64f8 Correct a theoretical bug in helpers.prune_split 2014-02-02 23:44:04 -05:00
Dan Christensen c45aedf480 Add tests for helpers.prune_split, one of which fails. 2014-02-02 23:42:10 -05:00
Jonas Borgström 50cabd53b1 Fix deadlock when extracting 0 sized files from remote repositories 2014-01-30 22:16:21 +01:00
Jonas Borgström 2068e7cf34 Properly apply --exclude wildcards to the full path.
Closes #5
2014-01-30 20:33:29 +01:00
Jonas Borgström 0a7c51ef7c Improve endianness code portability 2014-01-29 21:34:21 +01:00
Jonas Borgström 5bde1c8987 Make source code endianness agnostic
Closes #1
2014-01-28 22:40:07 +01:00
Jonas Borgström d023f2aa64 Remove peek concept and fix fuse issue 2014-01-23 22:13:08 +01:00
Jonas Borgström c26d63b5fe Removed some unused imports 2014-01-23 21:46:53 +01:00
Jonas Borgström 1ee159a939 Improved remote repository exception handling. 2014-01-23 21:43:20 +01:00
Jonas Borgström b41914aa8f Verify archive metadata version before syncing cache. 2014-01-22 22:10:36 +01:00
Jonas Borgström bd5b72a646 Improved remote repository performance and reliability 2014-01-22 20:59:12 +01:00
Jonas Borgström c973040bad Improve libcrypto detection
Closes #23.
2014-01-09 22:10:21 +01:00
Jonas Borgström 3a064aba56 Fix sorting of segment names to ignore NFS left over files.
Closes #17.
2014-01-03 14:47:44 +01:00
Petros Moisiadis c93363946b Consider segment incomplete if segment file is empty or too small
This fixes an IOError that could be raised when trying to seek() to
a negative file offset, because (for any reason) a segment file was
empty (or too small).
2013-12-30 17:21:47 +02:00
Petros Moisiadis 4e68f98dde Added missing repository path/url when raising DoesNotExist and AlreadyExists exceptions 2013-12-17 16:53:10 +02:00
Jonas Borgström 87749e413e Fix timezone issue on python 3.2 2013-12-15 21:36:20 +01:00
Jonas Borgström f3e9fa28bc Fix incorrect display of time
Closes #13
2013-12-15 21:25:32 +01:00
Jonas Borgström 7bacfa2d6e Improved error handling/reporting.
Closes #12.
2013-12-15 20:35:29 +01:00
Jonas Borgström a56652f5c1 Use lockf() instead of flock() when locking repository/cache
This is a reworked version of Petros Moisiadis' original pull request
since some extra effort is needed to support access to read-only
repositories.
2013-12-14 20:44:20 +01:00
Brian Johnson 29d184dfcb Let ssh figure out port/user if not specified so we don't override .ssh/config
Modified by Jonas Borgström:
- Added CHANGES entry
- Fixed broken unit test
2013-11-27 22:19:21 +01:00
Jonas Borgström a579b7917b Remove unused imports 2013-10-18 21:00:20 +02:00
Jonas Borgström b5b0b7b322 Add two additional tests. 2013-10-10 22:24:06 +02:00
Jonas Borgström 9e9ece675d Attic 0.8.1 2013-10-04 22:06:16 +02:00
Jonas Borgström baaeb7e060 Fix hashindex resize issue
closes #6
2013-10-02 20:42:26 +02:00
Jonas Borgström 0c278ad1fe Fix copy-paste error in xattr.py 2013-09-01 22:13:46 +02:00
Jonas Borgström 8a29017910 Don't use os.listxattr even if available. 2013-08-17 14:46:24 +02:00
Jonas Borgström a84613f0b8 Fix xattr issue when backing up sshfs filesystems (Closes #4). 2013-08-17 12:38:35 +02:00
Jonas Borgström 033dfe1225 More code cleanup 2013-08-17 12:35:43 +02:00
Jonas Borgström ae4ddac2ef Minor cleanup of remote code 2013-08-12 22:47:25 +02:00
Jonas Borgström b92a620600 Crypto code cleanup and test improvements. 2013-08-12 14:39:14 +02:00
Jonas Borgström ee77ce8b98 Added more robust test for AES counter uniqueness 2013-08-12 13:39:46 +02:00
Jonas Borgström 16d9e55f84 Support access of read only repositories 2013-08-11 22:19:38 +02:00
Jonas Borgström 012e0d4153 New syntax to enable repository encryption 2013-08-10 13:02:20 +02:00
Jonas Borgström 5fa5380f0f Detect and abort if repository is older than the cache 2013-08-09 23:23:00 +02:00
Jonas Borgström b2346b7c9b Hide internal "serve" command from "Available commands". 2013-08-09 13:03:48 +02:00
Jonas Borgström 3b4875cf2e Start using versioneer for version numbers 2013-08-05 23:05:15 +02:00
Jonas Borgström 05a14c3be3 Attic 0.7 2013-08-05 20:54:27 +02:00
Jonas Borgström 7815ed5885 Fix xattr issue on OS X. 2013-08-05 20:38:37 +02:00
Jonas Borgström f230a96c40 Update homepage url and make version number pep440 compliant 2013-08-04 13:43:35 +02:00
Jonas Borgström af059fbdfc Make sure all paths included in an archive are relative and local 2013-08-03 13:36:54 +02:00
Jonas Borgström b6c8392c03 More documentation work 2013-08-03 13:05:06 +02:00
Jonas Borgström 2e237ad006 Improved mtime precisoin checking for FUSE. 2013-07-30 14:52:02 +02:00
Jonas Borgström df5e4a52a6 Fix Python 3.2 issue on FreeBSD 2013-07-29 21:09:31 +02:00
Jonas Borgström 88618e4132 Fix mtime precision checks for python < 3.3 2013-07-29 14:30:26 +02:00
Jonas Borgström 8e03738f4c More robust mtime precision checks 2013-07-29 13:57:43 +02:00
Jonas Borgström 2be5867c5f Ported to FreeBSD 2013-07-28 14:56:13 +02:00
Jonas Borgström f049b3d4c7 Fix xattr on OS X 2013-07-28 13:38:41 +02:00
Jonas Borgström 2281af5284 Rewrote xattr support 2013-07-27 22:33:43 +02:00
Jonas Borgström 6c5f494a82 fuse: allow additional mount options using "-o foo,bar" 2013-07-27 14:44:12 +02:00
Jonas Borgström 626777405d Make fuse fs work on OS X 2013-07-27 14:31:28 +02:00
Jonas Borgström beed6b368b Simplify wait_for_mount() 2013-07-26 13:23:33 +02:00
Jonas Borgström 99f64dfe1d archiver test case improvements. 2013-07-26 13:18:57 +02:00
Jonas Borgström 0b19df3cea Added initial fuse test case 2013-07-25 22:54:19 +02:00
Jonas Borgström 023da55875 Master is 0.7dev 2013-07-25 21:36:52 +02:00
Jonas Borgström 5d1e9dc501 Daemonize by default when mounting fuse filesystem 2013-07-25 21:36:52 +02:00
Jonas Borgström bcc99aa056 More code cleanup 2013-07-25 21:36:52 +02:00
Jonas Borgström eabe7c7cc5 More memory efficient implementation 2013-07-25 21:36:52 +02:00
Jonas Borgström f4b12a3179 Added hard links support 2013-07-25 21:36:52 +02:00
Jonas Borgström 4f88eac300 fuse: added xattr support 2013-07-25 21:36:52 +02:00
Jonas Borgström 961890a41c Initial fuse attempt 2013-07-25 21:36:52 +02:00
Jonas Borgström 5df3e91474 Bump version number to 0.6.1 2013-07-19 13:22:22 +02:00
Jonas Borgström 576daaf38b call fd.flush() to make sure mtime isn't modified on fd.close() 2013-07-19 13:21:23 +02:00
Jonas Borgström e2648aebb0 Bump version number to 0.6 2013-07-09 20:59:20 +02:00
Jonas Borgström b718a443a8 Project rename 2013-07-09 20:14:18 +02:00