Commit Graph

1075 Commits

Author SHA1 Message Date
Thomas Waldmann 5864bd76eb fix test coverage / codecov.io, use xcode6.4 2015-08-08 18:31:41 +02:00
Thomas Waldmann ba75356314 add OS X to travis 2015-08-08 01:44:12 +02:00
Thomas Waldmann a1e039ba21 reimplement the chunk index merging in C
the python code could take a rather long time and likely most of it was converting stuff from python to C and back.
2015-08-06 23:32:53 +02:00
Thomas Waldmann 7e21d95ded fix CHANGES.rst filename in MANIFEST.in 2015-08-06 16:40:38 +02:00
Thomas Waldmann 58d57df46d improve README.rst 2015-08-06 16:39:50 +02:00
Thomas Waldmann dcdcbda87d try if readthedocs finds the borg package this way 2015-08-06 15:17:07 +02:00
Thomas Waldmann e3baeefa1b docs: reorganize sidebar, prev/next at top 2015-08-06 13:10:56 +02:00
Thomas Waldmann d65ca51d54 deduplicate and refactor the docs
README.rst (shown on github and also at the start of the html docs) shall
be like an elevator speech - convince readers in a very short time.
this is most important, everything else can come after we got the reader's interest.

include README into docs to avoid duplication.
also include CHANGES into docs.
add developer docs, move examples from tox.ini there
add separate support docs
remove glossary, most of what was there can be understood by an admin from context
move attic and compatibility note to the end
2015-08-06 12:59:51 +02:00
Thomas Waldmann 5b441f7801 some small Cython code improvements, thanks to Stefan Behnel 2015-08-04 13:30:35 +02:00
Thomas Waldmann 45e3c3d04e add some compatibility notes about the umask 2015-08-04 13:22:04 +02:00
Thomas Waldmann 8e717c55e6 updated CHANGES 2015-08-04 12:49:13 +02:00
Thomas Waldmann 175a6d7b04 simplify umask code
in a similar way as the remote_path code was implemented:
just patch the RemoteRepository class object
2015-08-04 12:31:06 +02:00
TW 741715cd0e Merge pull request #134 from ThomasWaldmann/remotepath
implement --remote-path to allow non-default-path borg locations
2015-08-04 12:12:28 +02:00
Thomas Waldmann 71646249cb implement --remote-path to allow non-default-path borg locations 2015-08-04 09:53:26 +02:00
TW d5675373cb Merge pull request #133 from ThomasWaldmann/umask
implement --umask M
2015-08-04 09:23:15 +02:00
Thomas Waldmann 9f1d92c993 implement --umask M
affects local and remote umask, secure by default M == 077
2015-08-03 23:48:56 +02:00
Thomas Waldmann 4c0012bddf add lzma compression
needs python 3.3+, on 3.2 it won't be available.
2015-08-03 00:31:33 +02:00
Thomas Waldmann 946507aeaf fix travis to install liblz4-dev from ppa
it is not available in ubuntu 12.04 by default.
2015-08-02 22:43:57 +02:00
Thomas Waldmann a15daf3b80 add liblz4-dev to travis installation packages 2015-08-02 18:21:28 +02:00
Thomas Waldmann 8997766202 integrate compress code, new compression spec parser for commandline
New null and lz4 compression.
Giving -C 0 now uses null compression, not zlib level 0 any more
(null has almost zero overhead while zlib-level0 still had to package everything into zlib frames).
Giving -C 10 uses new lz4 compression, super fast compression and even faster decompression.
See borg create --help (and --compression argument).

fix some issues, clean up, optimize:
CNULL: always return bytes
LZ4: deal with getting memoryviews
Compressor: give bytes to detect(), avoid memoryviews
for lz4, always use same COMPR_BUFFER, avoid memory management costs.
check --chunker-params CHUNK_MAX_EXP upper limit
2015-08-02 18:10:30 +02:00
Thomas Waldmann 746984c33b compress: add tests, zlib and null compression, ID header and autodetection 2015-08-02 01:21:41 +02:00
Thomas Waldmann 27de1b0a43 add a wrapper around liblz4 2015-08-01 15:07:54 +02:00
Thomas Waldmann 3be55bedd3 chunker: n needs to be a signed size_t
... as it is also used for the read() return value, which can be negative in case of errors.
2015-07-30 15:21:13 +02:00
Thomas Waldmann 9d21e4ad69 docs: add some words about resource usage (fixed wording) 2015-07-29 21:48:57 +02:00
Thomas Waldmann 1e097bfd6b docs: add some words about resource usage 2015-07-29 21:39:20 +02:00
Jeff Rizzo ebc04b0ebf Check for lchflags properly. 2015-07-28 15:01:42 -07:00
Jeff Rizzo e11a4a5d3a Check the UF_NODUMP flag properly. 2015-07-28 12:30:25 -07:00
Jeff Rizzo 8119124359 Don't process an entry if the nodump flag is set. 2015-07-28 11:39:00 -07:00
Thomas Waldmann 300c7351e7 be more verbose about the great deduplication algorithm 2015-07-27 23:02:52 +02:00
Thomas Waldmann 729cc4d82d document how to backup raw disk 2015-07-27 22:27:13 +02:00
Per Guth 60dfde2dc6 Reference to BorgWeb 2015-07-27 14:45:32 +02:00
Per Guth 30d47cb68a Fixed *ALL* the links! 2015-07-27 14:41:43 +02:00
Per Guth bcdfda7ef0 Linked "issue #1" to issue #1. 2015-07-27 14:38:03 +02:00
TW c8d55e7083 Merge pull request #115 from ThomasWaldmann/delete-repo
repo delete: add destroy to allowed rpc methods, fixes issue #114
2015-07-26 17:42:30 +02:00
Thomas Waldmann 195545075a repo delete: add destroy to allowed rpc methods, fixes issue #114
also: add test, automate YES confirmation for testing
2015-07-26 17:38:16 +02:00
Thomas Waldmann fde952a6d9 .gitignore: add nuitka and cache stuff 2015-07-26 15:37:36 +02:00
Thomas Waldmann fb998cbd66 docs: add note about how to run borg from virtual env 2015-07-26 14:47:18 +02:00
Thomas Waldmann 859c33d42b docs: add solutions for (ll)fuse installation problems 2015-07-25 19:07:24 +02:00
Thomas Waldmann 12a50bc6fe tested and updated cygwin docs, thanks to fvia 2015-07-25 18:38:16 +02:00
TW 02d3376dd4 Merge pull request #112 from ioggstream/testing-borg
add development.txt and modify tox.ini
2015-07-25 17:07:45 +02:00
Roberto Polli 0b226aec7a add development.txt and modify tox.ini 2015-07-25 15:39:42 +02:00
Thomas Waldmann 59c519b3bb remove outdated locking problem warning 2015-07-25 15:37:30 +02:00
Thomas Waldmann ed2548ca02 add a __main__.py to nuitka works 2015-07-20 16:16:32 +02:00
Thomas Waldmann 2907dd0094 add BountySource link 2015-07-17 22:55:28 +02:00
TW ebd6fd5453 Merge pull request #101 from tgharold/tgharold-patch-1
Fix format issue in installation.rst for Cygwin
2015-07-16 23:54:35 +02:00
Thomas Harold e3472a248a Fix format issue in installation.rst for Cygwin
Fixed formatting issue in installation.rst where packages were listed all on one line.
2015-07-16 16:40:33 -04:00
Thomas Waldmann e17ca5123e Update CHANGES 2015-07-15 13:54:25 +02:00
TW 9cb038af3a Merge pull request #99 from ThomasWaldmann/attic_issue_232
fix Traceback when running check --repair, attic issue #232
2015-07-15 13:43:44 +02:00
Thomas Waldmann e4a41c8981 fix Traceback when running check --repair, attic issue #232
This fix is maybe not perfect yet, but maybe better than nothing.

A comment by Ernest0x (see https://github.com/jborg/attic/issues/232 ):

@ThomasWaldmann your patch did the job.
attic check --repair did the repairing and attic delete deleted the archive.
Thanks.

That said, however, I am not sure if the best place to put the check is where
you put it in the patch. For example, the check operation uses a custom msgpack
unpacker class named "RobustUnpacker", which it does try to check for correct
format (see the comment: "Abort early if the data does not look like a
serialized dict"), but it seems it does not catch my case. The relevant code
in 'cache.py', on the other hand, uses msgpack's Unpacker class.
2015-07-15 13:32:05 +02:00
Thomas Waldmann 9b9c808713 fixed some minor issues found by pycharm/pytest-flakes 2015-07-15 11:30:25 +02:00