Thomas Waldmann
cb5c9b63b3
fork: s/attic/borg/g, fix URLs, add new section to AUTHORS
...
use borg instead attic except at the places where it was used:
- as toplevel package name, directory name, file name
- to refer to original attic
remove sphinx upload make command, will be replaced by github.io site later
remove references to binary downloads and linux packages for now
remove some software name references, fix grammar
use borgbackup rather than borg-backup (or borg) in URLs,
less name collision issues, better search results, no validity issues with "-"
2015-05-13 15:02:33 +02:00
Thomas Waldmann
118fb1a55c
PR #226 - Merge branch 'delete_repo' into merge
2015-04-15 19:05:58 +02:00
Thomas Waldmann
57b1b3dbec
PR #246 - Merge branch 'remote_exceptions' into merge
2015-03-21 02:22:51 +01:00
Thomas Waldmann
c679f1a6f0
catch all Exceptions, transmit traceback back from remote
...
before this changesets, most informations about exceptions/tracebacks
on the remote side were lost. now they are transmitted and displayed,
together with the remote attic version.
2015-03-21 02:17:19 +01:00
Thomas Waldmann
b7cefacb69
Merge branch 'python_cleanup' into merge
...
Conflicts:
attic/archiver.py
attic/remote.py
2015-03-18 00:23:41 +01:00
Thomas Waldmann
4ef6125f45
cleanup pep8 issues found by pycharm
2015-03-17 23:47:21 +01:00
Thomas Waldmann
fec5572836
no Class(object) in py3
2015-03-17 23:03:36 +01:00
Thomas Waldmann
89ffe98ba2
PR #234 - Merge branch 'fix_pipe' into merge
2015-03-14 20:53:06 +01:00
Thomas Waldmann
cbbe0fcc9b
serve: use os.write(stdout_fd, ...), fixes #233
...
this way, serve() is more consistent with the other code, which always uses os.read/write (not sys.std*.buffer.read/write).
also: reduce code duplication a bit.
2015-03-14 19:45:01 +01:00
Thomas Waldmann
8aebdd6c5b
PR #229 - Merge branch 'fix_127' of https://github.com/ThomasWaldmann/attic into merge
2015-03-09 22:08:15 +01:00
Thomas Waldmann
becae42618
check unpacked data from RPC for tuple type and correct length, fixes #127
2015-03-09 21:59:10 +01:00
Thomas Waldmann
6e6819e626
attic delete: add repository + local cache deletion
2015-03-09 16:02:06 +01:00
Daniel Danner
046b196bab
Only allow whitelisted RPC calls in server mode
...
Without this check, the client is able to call any method of
RepositoryServer and Repository, potentially circumventing
restrict_to_paths or even run arbitrary code.
2015-01-11 14:06:59 +01:00
Jonas Borgström
5a69f58823
Introduce a separate exception for missing repository objects
2014-10-09 20:41:47 +02:00
Jonas Borgström
2f72b9f960
HashIndex: Switch to a non-mmap based implementation
...
This eliminates unnecessary IO on low memory systems
2014-07-10 15:32:29 +02:00
Jonas Borgström
15065dbaa4
Fix sporadic "Resource temporarily unavailable" error
...
Issue reported on the mailing list while backing up to a remote
repository on OS X over a slow uplink.
2014-06-13 20:07:01 +02:00
Jonas Borgström
af262482de
mount: Use RepositoryCache
...
This makes a full repository mount a bit faster but it's still
too slow and memory hungry.
2014-03-26 22:42:20 +01:00
Jonas Borgström
a9fc62cc9a
Added option to restrict remote repository access to specific path(s)
...
With this option remote repository access can be restricted to a
specific path for a specific ssh key using the following line
in ~/.ssh/authorized_keys::
command="attic serve --restrict-to-path /data/clientA" ssh-rsa clientA's key
command="attic serve --restrict-to-path /data/clientB" ssh-rsa clientB's key
Closes #51 .
2014-03-24 21:28:59 +01:00
Jonas Borgström
c3ca45315b
cache: Speed up cache rebuild by caching archive metadata requests
2014-03-13 22:29:47 +01:00
Jonas Borgström
3982c34e6c
Improve attic check documentation
...
Closes #24 .
2014-02-26 23:13:48 +01:00
Jonas Borgström
7b31f23722
Replace verify command with "extract --dry-run"
...
closes #25
2014-02-18 21:33:06 +01:00
Jonas Borgström
0d248192e5
Implemented Repository.list()
2014-02-10 21:55:22 +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
4271ffa25f
Only cleanup partial transactions if an existing transaction is found
2014-02-05 22:49:12 +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
50cabd53b1
Fix deadlock when extracting 0 sized files from remote repositories
2014-01-30 22:16:21 +01:00
Jonas Borgström
1ee159a939
Improved remote repository exception handling.
2014-01-23 21:43:20 +01:00
Jonas Borgström
bd5b72a646
Improved remote repository performance and reliability
2014-01-22 20:59:12 +01: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
7bacfa2d6e
Improved error handling/reporting.
...
Closes #12 .
2013-12-15 20:35:29 +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
ae4ddac2ef
Minor cleanup of remote code
2013-08-12 22:47:25 +02:00
Jonas Borgström
b718a443a8
Project rename
2013-07-09 20:14:18 +02:00