Commit Graph

794 Commits

Author SHA1 Message Date
Thomas Waldmann 776bb9fabc hashindex: improve error messages 2015-05-31 17:48:19 +02:00
Thomas Waldmann 91e10fec5f Merge branch 'master' of github.com:jborg/attic 2015-05-31 17:37:02 +02:00
TW 374fb94aa2 Merge pull request #38 from ThomasWaldmann/fast-list-archives
efficient archive list from manifest, fixes attic #167
2015-05-26 02:16:45 +02:00
Thomas Waldmann d067bc3178 efficient archive list from manifest
a lot of speedup for:
"list <repo>", "delete <repo>" list, "prune" - esp. for slow connections to remote repositories.

the previous method used metadata from the archive itself, which is (in total) rather large.
so if you had many archives and a slow (remote) connection, it was very slow.

but there is a lot easier way: just use the archives list from the repository manifest - we already
have it anyway and it also has name, id and timestamp for all archives - and that's all we need.

I defined a ArchiveInfo namedtuple that has same element names as seen as attribute names
of the Archive object, so as long as name, id, ts is enough, it can be used in its place.
2015-05-26 02:04:41 +02:00
Jonas Borgström 2b348104f6 hashindex: Fix hashindex ARM memory alignment issue
Closes #309
2015-05-24 21:48:03 +02:00
Thomas Waldmann 74409e4fcb Merge github.com:borgbackup/borg 2015-05-23 17:10:45 +02:00
Thomas Waldmann 8d0c5316f8 remove gh-pages Makefile target (not used) 2015-05-23 00:40:30 +02:00
TW 10a27da556 Merge pull request #31 from ThomasWaldmann/master
faq updates, website update automation
2015-05-23 00:17:56 +02:00
Thomas Waldmann cd3a76909d faq: markup fixes, typos 2015-05-23 00:15:58 +02:00
Thomas Waldmann f6442fe7f0 automate updating the borgbackup.github.io repo/website
cd docs ; make gh-io
2015-05-23 00:12:17 +02:00
Thomas Waldmann 9d1560f830 faq: updates, fixes 2015-05-22 23:56:29 +02:00
Thomas Waldmann 7e9fefd92a updated CHANGES 2015-05-22 23:28:55 +02:00
TW da8a600b44 Merge pull request #25 from anarcat/fork-faq
explain the reason behind the fork
2015-05-22 23:05:08 +02:00
TW e5e9f9acb2 Merge pull request #30 from ThomasWaldmann/master
tags and a glob fix
2015-05-22 22:58:12 +02:00
Thomas Waldmann 0ad2ab2496 a bit too much glob there in setup.py, removed 2015-05-22 22:55:35 +02:00
Antoine Beaupré 1edd5daef9 try to clarify link 2015-05-22 16:09:46 -04:00
Antoine Beaupré ef373b120f uppercase borg 2015-05-22 16:09:38 -04:00
Thomas Waldmann 7df45d7739 Attic 0.16
-----BEGIN PGP SIGNATURE-----
 Version: GnuPG v2
 
 iQEcBAABCAAGBQJVV5xkAAoJEBl3gZYVhOBchnsH/3elb/XpRjWYOSUn7P2MRQmZ
 k0koxcXQkgIVSXt541PrkpiQaQE7cWMNQHlEUhSMM9SIr2CsqYDjZ6XLoUqbMmnO
 SjLnwtEIjCinpZTIJoGticwF8nREKZsccA1JBSl4tFVCQv+m11+QuhCEXLHd4NvP
 Yq6XxfkI6XkiibqslPdKWH/XOCO8np2YHV4Hcf6BdUcvlPw5BnGtssFfpO9W8lvZ
 k7Oz15VCTDpPdUHtwFjYRNVSoIA2lpX0AHbEQBfKmSUYcpZmg7y67opNHH9vwP85
 HXXgeUEA9T7KSmDu/xtCO0AEMt+gVFtZMm7OgilUiREZkFTt64AmujTjJvbN7uI=
 =Kva2
 -----END PGP SIGNATURE-----

Merged CHANGES from tag '0.16'
2015-05-22 21:52:12 +02:00
TW b6cc2fe2ad Merge pull request #29 from ThomasWaldmann/master
use py.test, add cfg for flake8
2015-05-22 21:40:34 +02:00
Thomas Waldmann e1c7da1f53 add flake8 configuration (style checker)
currently adjusted in a way it does not throw errors and warnings with
the source as it is now.

issues will get fixed over time and the exclude list shall get shorter.
2015-05-22 21:28:00 +02:00
Thomas Waldmann 906ea629f6 use py.test for testing, document it
locally (via tox) and also on travis ci.
2015-05-22 21:26:41 +02:00
TW cf1d7b68b0 Merge pull request #27 from ThomasWaldmann/master
rename pkg dir, fix tox 2.0 compat
2015-05-22 19:54:15 +02:00
Thomas Waldmann b5b1af2195 tox >= 2.0 needs passenv in tox.ini, so that fakeroot can work
tox 2.x does not inherit environment vars by default.
2015-05-22 19:30:56 +02:00
Thomas Waldmann 5e98400a5a fix all references to package name
use relative imports if possible
reorder imports (1. stdlib 2. dependencies 3. borg 4. borg.testsuite)
2015-05-22 19:21:41 +02:00
Thomas Waldmann 78bfc58b47 rename package directory to borg 2015-05-22 17:48:54 +02:00
Antoine Beaupré 622e05bcee add more information about the objectives of borg 2015-05-21 21:55:29 -04:00
Antoine Beaupré 22acb80bf9 explain the reason behind the fork 2015-05-21 21:49:44 -04:00
TW 756e284b0d Merge pull request #19 from ThomasWaldmann/master
toplevel error handler: show tracebacks
2015-05-17 23:20:50 +02:00
Thomas Waldmann 6c74cae47e Merge branch 'print_exc' of ../attic 2015-05-17 23:08:21 +02:00
Jonas Borgström d7cd3bb8bd hashindex: Improve error messages
This should make ENOSPC issues like #298 easier to identify
2015-05-16 22:49:28 +02:00
Jonas Borgström 7b61f6aff4 Updated CHANGES 2015-05-16 21:35:31 +02:00
Jonas Borgström 321b4d1afd Merge pull request #308 from jdchristensen/patch-1
Use --keep-monthly instead of --monthly in usage.rst
2015-05-16 21:22:53 +02:00
TW 10c0f4e1d4 Merge pull request #15 from ThomasWaldmann/master
better docs
2015-05-15 19:45:59 +02:00
Thomas Waldmann afc2dab71e docs: more borg (or project_name) 2015-05-15 19:22:52 +02:00
Thomas Waldmann 56fd96589b docs: make clear that remote repos used via ssh need a remote borg 2015-05-15 18:35:14 +02:00
TW 839b69ba03 Merge pull request #13 from ThomasWaldmann/master
misc. minor docs fixes
2015-05-15 01:52:33 +02:00
Thomas Waldmann 37c923d4f0 misc. minor docs fixes 2015-05-15 01:50:45 +02:00
Dan Christensen 67590aa921 Use --keep-monthly instead of --monthly in usage.rst 2015-05-14 19:34:08 -04:00
TW 420214b781 Merge pull request #12 from ThomasWaldmann/master
fix small doc bug in prune examples, fix attic #306
2015-05-15 01:07:53 +02:00
Thomas Waldmann ff0c264e3e fix small doc bug in prune examples, fix attic #306
--monthly is old/deprecated, --keep-monthly is new way.
2015-05-15 01:07:04 +02:00
TW a69ee0bddb Merge pull request #11 from ThomasWaldmann/master
merge attic pr #228
2015-05-15 00:44:00 +02:00
Thomas Waldmann ee42ba561f attic PR #228 - Merge branch 'fix_ro_target' of ../attic 2015-05-15 00:26:11 +02:00
TW 62e272b642 Merge pull request #10 from ThomasWaldmann/doc-misc
docs: install docs, faq improvements, other minor changes
2015-05-14 21:06:45 +02:00
Thomas Waldmann f30d05fcd4 docs: install docs, faq improvements, other minor changes 2015-05-14 20:47:08 +02:00
TW 17cb997f3f Merge pull request #8 from ThomasWaldmann/doc-specialfiles
improve docs about what is preserved and what not
2015-05-14 19:01:20 +02:00
Thomas Waldmann c3370a5f07 improve docs about what is preserved and what not
UNIX domain sockets: explain why not, see attic issue #259
Symlinks: say that they are backed up as is and not followed, replacement for attic PR #294
Sparse files: explain what the "simple" in simple sparse file support means.

Plus some other explanations / mentions that were missing.
2015-05-14 18:48:14 +02:00
TW f392ed6a25 Merge pull request #7 from ThomasWaldmann/improve-docs
Documentation for 'attic serve'
2015-05-14 17:56:04 +02:00
Thomas Waldmann 7cbff6925f Documentation for 'attic serve'
Thanks to @lfam (attic PR #277 )!

Note: As I already had refactored a lot of these pathes you changed, it was easier
to just cherry pick the hunks with the other changes and apply them manually.
2015-05-14 17:36:53 +02:00
TW b007916592 Merge pull request #6 from ThomasWaldmann/master
merged attic PR #286 - sigusr1 / sigint handler to print current file infos
2015-05-14 17:18:00 +02:00
Thomas Waldmann 4ce754178c merged attic PR #286 - sigusr1 / sigint handler to print current file infos 2015-05-14 16:46:44 +02:00