Thomas Waldmann
a345b34291
pass meta-data around, fixes #765
...
_Chunk is a namedtuple of (meta, data), create chunks using Chunk(data, **meta).
This does not yet have any visible functionality, meta is always empty dict right now.
2016-04-18 19:22:32 +02:00
Marian Beermann
f13aef5d83
create: Visit files in inode order
2016-04-17 21:32:24 +02:00
enkore
775b9c3b74
Merge pull request #920 from enkore/fix/caps
...
Fix capabilities extraction on Linux
2016-04-17 20:25:16 +02:00
TW
5b6377e0c2
Merge pull request #927 from ThomasWaldmann/move-constants
...
move some constants to new constants module
2016-04-17 20:22:16 +02:00
TW
5de002c29a
Merge pull request #931 from ka7/spelling_fix
...
fix spelling, as of lintian.debian.org
2016-04-17 16:29:16 +02:00
klemens
6b93042ec8
fix sepelling, as of lintian.debian.org
2016-04-17 16:24:26 +02:00
Thomas Waldmann
9a70a20370
move some constants to new constants module
2016-04-17 15:58:42 +02:00
TW
77966c7007
Merge pull request #925 from enkore/fix/hashindexadd
...
Cache: update add_chunk to use ChunkIndex.add
2016-04-17 01:58:44 +02:00
TW
ec782ef70b
Merge pull request #923 from ThomasWaldmann/docs-buzhash
...
docs: added some insights by "Voltara", fixes #903
2016-04-17 01:18:35 +02:00
TW
2f9e4e7004
Merge pull request #922 from ThomasWaldmann/docs-clarify-info
...
docs: clarify what "deduplicated size" means
2016-04-17 01:18:09 +02:00
Marian Beermann
719a27d6c7
Cache: update add_chunk to use ChunkIndex.add, fix unique count
2016-04-17 00:40:10 +02:00
Marian Beermann
01fac8d7d9
ChunkIndex.add: overwrite current (c)size w/ new values
2016-04-17 00:37:40 +02:00
Marian Beermann
39a40cd7b7
Fix capabilities extraction on Linux
...
They are extracted correctly, for a little while at least, since chown()
*resets* all capabilities on the chowned file. Which I find curious,
since chown() is a privileged syscall. Probably a safeguard for
sysadmins who are unaware of capabilities.
The solution is to set the xattrs last, after chown()ing files.
2016-04-16 23:52:27 +02:00
Thomas Waldmann
ec930738bf
docs: added some insights by "Voltara", fixes #903
2016-04-16 23:27:01 +02:00
Thomas Waldmann
11fdaeaf85
docs: clarify what "deduplicated size" means
2016-04-16 22:35:50 +02:00
TW
30f732052e
Merge pull request #918 from ThomasWaldmann/namedtuple2
...
better readability and less errors with namedtuples, fixes #823
2016-04-16 21:46:41 +02:00
Thomas Waldmann
3f474ffabb
better readability and less errors with namedtuples, fixes #823
2016-04-16 17:48:47 +02:00
Thomas Waldmann
4de14fdd28
Merge branch '1.0-maint'
2016-04-16 16:58:43 +02:00
Thomas Waldmann
8662202486
update CHANGES
2016-04-16 02:39:22 +02:00
Thomas Waldmann
813dbc4d25
Merge branch '1.0-maint' of github.com:borgbackup/borg into 1.0-maint
2016-04-16 02:36:06 +02:00
TW
f162477c7e
Merge pull request #914 from verygreen/fix-fadvise
...
Workround a bug in Linux fadvise FADV_DONTNEED, fixes #907
2016-04-16 02:29:35 +02:00
Oleg Drokin
ce176b52bf
Workround a bug in Linux fadvise FADV_DONTNEED, fixes #907
...
Despite what the man page says, Linux does not discard the initial
partial page only. The ending page would be truncated no matter if
it is partial or not.
Page-align the fadvise size to take care of this.
Also while we are at it, roll back initial fadvise offset to the
previous page boundary to actually throw away that page as we
no longer need it having read the second part now and the first
time in the previous call.
This patch has a noticeable impact in my Linux testing when the file
is on the rotating media. The total test runtime decreased by a bit
over 10%, but since over half of that time was actually cpu time,
the actual iowait time decreased around 20%.
2016-04-15 20:16:47 -04:00
Thomas Waldmann
956e9957b2
update CHANGES
2016-04-16 00:59:59 +02:00
Thomas Waldmann
c4d1d01d11
use latest llfuse for vagrant machines
2016-04-16 00:57:20 +02:00
TW
104e88534e
Merge pull request #910 from ThomasWaldmann/docs-clarify-mountpoint
...
docs fixes
2016-04-15 12:08:08 +02:00
Thomas Waldmann
43b4fda393
docs: fix confusing usage of "repo" as archive name
2016-04-15 03:38:43 +02:00
Thomas Waldmann
bc854e3e64
docs: use /path/to/repo, fixes #901
...
/mnt/backup was confusing as people like to mount their backup disk on /mnt/backup,
but borg init /mnt/backup does not work if that directory already exists because it is
the mountpoint. it would work, if /mnt was the mountpoint, but that is not obvious
and also unusual.
2016-04-15 03:35:37 +02:00
Thomas Waldmann
68e870795d
update CHANGES
2016-04-15 03:09:18 +02:00
enkore
dd95d0ebe8
Merge pull request #891 from enkore/feature/cython-summarize
...
Add overflow checks to refcounting, port stuff to Cython etc
2016-04-15 00:06:25 +02:00
Marian Beermann
29ebdbadae
refcounting: use uint32_t, protect against overflows, fix merging for BE
2016-04-14 23:38:56 +02:00
Marian Beermann
c90745cdbb
Port hashindex_summarize into ChunkIndex.summarize
2016-04-14 11:46:12 +02:00
TW
0a253edcfd
Merge pull request #898 from ThomasWaldmann/1.0-maint
...
reproducible doc for ProgressIndicator*
2016-04-13 16:09:14 +02:00
Danny Edel
60ca65a438
reproducible doc for ProgressIndicator*
...
building the API docs captured sys.stderr's IO charset, making the build
unreproducible.
2016-04-13 14:54:34 +02:00
TW
d30842183d
Merge pull request #892 from ThomasWaldmann/fix-compare-content
...
compare_content: fix wrong added/removed file size
2016-04-12 12:54:45 +02:00
Thomas Waldmann
6922452079
compare_content: fix wrong added/removed file size
...
bug: c[1] was not the size, but the byte at index 1 of the id bytestring!
2016-04-12 03:08:03 +02:00
TW
c2f95332e5
Merge pull request #887 from enkore/issue/886
...
hashindex_summarize: fix missing byte-order conversion
2016-04-11 23:21:48 +02:00
Marian Beermann
90a9fbd21d
hashindex_summarize: fix missing byte-order conversion
...
Fixes #886
2016-04-11 22:22:24 +02:00
TW
d8c630b2d7
Merge pull request #884 from enkore/issue/874
...
borg delete: fix --cache-only for broken caches
2016-04-11 14:16:22 +02:00
enkore
f8be0cf14c
Merge pull request #882 from frispete/master
...
Fix package naming for openSUSE
2016-04-11 13:11:07 +02:00
Marian Beermann
d12c1deece
borg delete: fix --cache-only for broken caches
...
This also makes --cache-only idempotent: it won't fail if the cache
is already deleted.
Fixes #874
2016-04-11 12:50:42 +02:00
Hans-Peter Jansen
4bf40f4178
Fix package naming for openSUSE
2016-04-11 10:08:16 +02:00
TW
378140acd4
Merge pull request #878 from Ape/pr/diff_symlink_fix
...
Fix 'borg diff' when symlink is replacing or being replaced
2016-04-10 20:20:42 +02:00
TW
6133a6eac2
Merge pull request #879 from bpereto/fedora-docs
...
added package link to docs for fedora
2016-04-10 19:59:54 +02:00
Lauri Niskanen
ed868ef8a4
Add more advanced symlink test cases for 'borg diff'
2016-04-10 19:17:10 +03:00
Lauri Niskanen
9fc5df4a62
Fix 'borg diff' when symlink is replacing or being replaced
...
Previously on some cases where symlink replaced something else or was replaced
by something else, `borg diff` failed with `KeyError: b'source'`. This commit
fixes the issue.
2016-04-10 19:17:09 +03:00
Benjamin Pereto
1e1dae3bb6
added package docs for fedora
2016-04-10 17:55:36 +02:00
TW
c3e6bc2b7e
Merge pull request #812 from enkore/feature-rewrite
...
feature recreate
2016-04-10 17:20:41 +02:00
TW
ea1ebb80bf
Merge pull request #868 from anarcat/patch-2
...
add link to OpenBSD port and OpenSUSE
2016-04-10 17:06:45 +02:00
Marian Beermann
d5ad063d13
recreate: add experimental warning for now
2016-04-10 16:53:38 +02:00
TW
8dbbc35b71
Merge pull request #875 from bket/1.0-maint
...
fix issue #873 - running borg with --one-file-system traverses in excluded filesystems
2016-04-10 16:52:39 +02:00