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
Jonas Borgström
2252616f9e
Repository code cleanup
2014-02-08 13:32:47 +01:00
Jonas Borgström
c22bc30a06
Merge pull request #33 from jdchristensen/exclude
...
fix include/exclude bugs and add more tests
2014-02-08 13:04:17 +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
Jonas Borgström
b5037cf460
Merge pull request #32 from jdchristensen/docs2
...
Docs2: update lots of documentation
2014-02-04 11:17:13 -08:00
Dan Christensen
400ea33eaa
Update README.rst.
2014-02-03 21:48:22 -05:00
Dan Christensen
0b9969d162
Various minor documentation updates: mention sshfs, Linux packages,
...
minor changes to prose, etc.
2014-02-03 21:26:36 -05:00
Dan Christensen
6b639e4c22
Update prune docs and a few other things in usage.rst.
2014-02-03 20:11:47 -05:00
Jonas Borgström
3290aa943f
Update README.rst with the correct way to run the test suite
2014-02-03 23:03:25 +01:00
Jonas Borgström
7109318bd0
Added AUTHORS file
2014-02-03 21:07:03 +01:00
Jonas Borgström
e857d4cfd6
Merge pull request #30 from jdchristensen/prune_split
...
Clean up and correct prune_split; add tests
2014-02-03 12:04:31 -08: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
1520a911af
Add a "fork me on Github" ribbon.
2014-01-30 20:32:43 +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
9c80089c04
Documentation update.
...
Added links to Debian, Ubuntu and Arch linux packages and
added a comment about Cython dependency when installing from git.
Closes #21 .
2014-01-26 12:51:56 +01:00
Jonas Borgström
3bfe93d66e
Prepare release
2014-01-23 22:14:20 +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
Jonas Borgström
57dfe372f6
Merge pull request #20 from Ernest0x/empty_segment_fix
...
Consider segment incomplete if segment file is empty or too small
2013-12-31 04:59:59 -08: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
Jonas Borgström
e9fd2bc5e8
Merge pull request #16 from Ernest0x/fix_repository_errors
...
Added missing repository path/url when raising DoesNotExist and AlreadyExists exceptions
2013-12-17 07:59:03 -08: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