Commit Graph

2328 Commits

Author SHA1 Message Date
enkore 5fa52758a0 Merge pull request #1084 from enkore/fix/plsf
Fix referencing error in platform_linux.set_flags
2016-05-22 20:06:40 +02:00
Marian Beermann cdb8cc5490
Fix referencing error in platform_linux.set_flags 2016-05-22 19:54:10 +02:00
enkore ec90f9ae57 Merge pull request #1083 from enkore/fix/ppc
Fix bug on powerpc linux
2016-05-22 19:31:36 +02:00
Marian Beermann f27f0e1ea2
Fix bug on powerpc linux 2016-05-22 19:15:47 +02:00
enkore 279fb3958f Merge pull request #1082 from enkore/issue/1080
List files excluded via UF_NODUMP
2016-05-22 18:15:22 +02:00
Marian Beermann ed6f6b9aac
platform_linux.set_flags: don't raise on EOPNOTSUPP 2016-05-22 17:38:53 +02:00
Marian Beermann ffa78161cd
List files excluded via UF_NODUMP 2016-05-22 15:50:34 +02:00
TW 5675e4fceb Merge pull request #1073 from ThomasWaldmann/test-py36
test on py36
2016-05-22 13:38:47 +02:00
TW a1365c9bc7 Merge pull request #1079 from enkore/issue/1078
Fix crash regression for UDS introduced in 805f631
2016-05-22 13:38:22 +02:00
Marian Beermann e7523b7d46
Fix fuse tests when flags are available
e.g. fuse installed, TMPDIR != tmpfs
2016-05-22 11:29:57 +02:00
Marian Beermann ce6b838da8 Fix crash regression for UDS introduced in 805f631 2016-05-22 11:09:07 +02:00
TW 166352ee25 Merge pull request #1076 from ThomasWaldmann/docs-chunker-kernel-version
clarify comment about linux kernel versions, fixes #1024
2016-05-21 21:17:13 +02:00
Thomas Waldmann 99fa484726 clarify comment about linux kernel versions
currently, ALL linux kernels are affected.
2016-05-21 21:08:03 +02:00
Thomas Waldmann d27a3521ec test on py36 2016-05-21 19:24:18 +02:00
enkore 1a0277021c Merge pull request #981 from ThomasWaldmann/items-refactor
Items refactoring
2016-05-21 10:16:19 +02:00
Thomas Waldmann e6cf4ee627 disallow setting unknown attributes, use StableDict as .as_dict() result 2016-05-21 03:35:07 +02:00
Thomas Waldmann 46362a1962 add more tests 2016-05-21 03:35:07 +02:00
Thomas Waldmann e81407ff81 add bigint coding, allow None as user/group 2016-05-21 03:35:07 +02:00
Thomas Waldmann c18209fc90 split into generic PropDict and special Item class 2016-05-21 03:35:07 +02:00
Thomas Waldmann c6f5989905 Item implementation + tests 2016-05-21 03:35:07 +02:00
Thomas Waldmann b8303a38bf Merge branch '1.0-maint' 2016-05-20 22:48:57 +02:00
Thomas Waldmann 21a30269c2 freebsd: use a older llfuse release that builds
llfuse >0.41.1 <=1.0.0 does not build on freebsd.
the issue is already fixed, but no new release yet.
2016-05-20 21:50:26 +02:00
Thomas Waldmann 5be71b506e update CHANGES 2016-05-20 21:49:01 +02:00
TW 956f76c690 Merge pull request #865 from edgewood/master
Print --list output (only) without requiring --info
2016-05-20 15:13:53 +02:00
Thomas Waldmann 8d8374d23c ran build_api + build_usage 2016-05-20 14:34:48 +02:00
TW 938628f4e1 Merge pull request #1062 from ThomasWaldmann/update-1.0-docs
update CHANGES
2016-05-20 14:06:27 +02:00
Thomas Waldmann 1e061a2fa4 update CHANGES 2016-05-20 14:05:05 +02:00
TW f974770db5 Merge pull request #1066 from enkore/issue/1063
RepositoryCache: don't cache large objects
2016-05-20 13:55:12 +02:00
Marian Beermann f7f95ae731
RepositoryCache: don't cache large objects
avoids excessive cache repository disk usage
2016-05-20 02:01:17 +02:00
enkore d043794757 Merge pull request #1052 from enkore/fix/commitcheck
Repository: fix commit tags being seen in data
2016-05-19 17:12:52 +02:00
Marian Beermann 714e93bf64
Repository: fix commit tags being seen in data 2016-05-19 01:12:06 +02:00
enkore 13a4e40024 Merge pull request #1053 from ThomasWaldmann/wcswidth
add swidth call, fixes #1051
2016-05-19 00:29:14 +02:00
Thomas Waldmann a8e457f935 move Statistics class to archive module, avoid cyclic import
also move the tests accordingly.
2016-05-18 23:59:47 +02:00
Ed Blackman 226e5519f3 Print implied output without --info/-v
There are persistent questions why output from options like --list
and --stats doesn't show up.  Also, borg currently isn't able to
show *just* the output for a given option (--list, --stats,
--show-rc, --show-version, or --progress), without other INFO level
messages.

The solution is to use more granular loggers, so that messages
specific to a given option goes to a logger designated for that
option.  That option-specific logger can then be configured
separately from the regular loggers.

Those option-specific loggers can also be used as a hook in a
BORG_LOGGING_CONF config file to log the --list output to a separate
file, or send --stats output to a network socket where some daemon
could analyze it.

Steps:
- create an option-specific logger for each of the implied output options
- modify the messages specific to each option to go to the correct logger
- if an implied output option is passed, change the option-specific
  logger (only) to log at INFO level
- test that root logger messages don't come through option-specific loggers

They shouldn't, per https://docs.python.org/3/howto/logging.html#logging-flow
but test just the same.  Particularly test a message that can come from
remote repositories.

Fixes #526, #573, #665, #824
2016-05-18 14:58:44 -04:00
Ed Blackman afb9dc9d7a Update logging parser to allow remotes to pass logger name
Parser now understands both old format messages (to keep talking to
old server) and new format messages that pass a logger name.  If
logger name is passed, the message is directed to the same logger
locally.

This could be cherry-picked to 1.x-maint (and 0.x-maint?) to allow
point releases to understand borg 1.1 server messages changed in the
next commit.  Worst case, currently existing 0.x and 1.0.x clients
talking to a 1.1.x server will see messages like:
	borg.repository Remote: hi
	borg.archiver Remote: foo
instead of
	Remote: hi
	Remote: foo
2016-05-18 14:58:43 -04:00
Thomas Waldmann bf00eba1c1 use swidth when doing terminal output width computations, fixes #1051
cjk glyphs occupy 2 cells' width on the terminal.
2016-05-18 18:32:29 +02:00
Thomas Waldmann 596a276a26 setup.py: add check for platform_darwin.c
this was just forgotten...
2016-05-18 18:07:10 +02:00
TW 5c6cfc6329 Merge pull request #1058 from enkore/issue/1056
When probing key files, do binary reads
2016-05-18 17:56:26 +02:00
Thomas Waldmann d7500a1191 create new platform_posix module
move common posix cython code there.
2016-05-18 17:40:04 +02:00
Thomas Waldmann b5404209bb add swidth call to determine string width on terminal
on posix platforms, this is a small wrapper around wcswidth(3).
2016-05-18 17:40:04 +02:00
TW 088bccc649 Merge pull request #1057 from enkore/issue/1055
Fix tox
2016-05-18 17:39:01 +02:00
Marian Beermann 24cd303ca9
When probing key files, do binary reads 2016-05-18 17:37:48 +02:00
Marian Beermann 43258abf21
Fix tox 2016-05-18 17:08:49 +02:00
enkore ac2617f665 Merge pull request #1050 from enkore/feature/linux-bsdflags
Translate Linux fsflags to BSD flags and vice versa
2016-05-18 00:23:17 +02:00
Marian Beermann 805f63167c
Translate Linux fsflags to BSD flags and vice versa 2016-05-18 00:22:53 +02:00
TW eaf0f62022 Merge pull request #1049 from enkore/feature/sigterm
Handle SIGTERM
2016-05-17 19:28:14 +02:00
Marian Beermann 6cf61024d9
Handle SIGTERM and make a clean exit 2016-05-17 18:57:55 +02:00
enkore 47d29e75b3 Merge pull request #1047 from enkore/feature/init-doc
init: move epilogue from docs/usage into help output
2016-05-17 15:33:46 +02:00
Marian Beermann deab8ca7e2
init: move epilogue from docs/usage into help output
Also tell which algos are used and that HW accel is supported.
2016-05-17 01:00:48 +02:00
enkore be555d423e Merge pull request #985 from enkore/feature/fastlio
Improved LoggedIO write performance
2016-05-15 02:06:17 +02:00