Marian Beermann
34e19ccb6a
mention failed operation in per-file warnings
...
on the one hand one can say it's ugly global state, on the other it's
totally handy!
just have to keep that in mind for MT, but it's rather obvious.
2016-12-14 15:20:08 +01:00
TW
ccf882a885
Merge pull request #1945 from enkore/ThomasWaldmann-update-1.1-changes
...
Update 1.1 changes
2016-12-13 22:32:06 +01:00
Marian Beermann
9147c7038b
update 1.1 beta CHANGES
2016-12-11 15:18:52 +01:00
Thomas Waldmann
09b1079b18
update CHANGES (master / 1.1 beta)
2016-12-11 06:20:10 +01:00
enkore
9d315384b4
Merge pull request #1940 from enkore/f/cache-sync
...
Cache sync stuff
2016-12-09 21:25:37 +01:00
Marian Beermann
be18418b74
cache: no archive caches => work directly on master cache (no merges)
2016-12-08 22:45:59 +01:00
Marian Beermann
e169510116
cache: don't create Item in fetch_and_build_idx
2016-12-08 22:39:04 +01:00
enkore
7e5ed40e2f
Merge pull request #1911 from enkore/f/itemnt
...
Work on metadata handling speed
2016-12-03 18:06:27 +01:00
Marian Beermann
b7eaeee266
clean imports, remove unused code
2016-12-03 17:50:50 +01:00
Marian Beermann
8b2e7ec680
don't do "bigint" conversion for nanosecond mtime
...
2**63 nanoseconds are 292 years, so this change is good until 2262.
See also https://en.wikipedia.org/wiki/Time_formatting_and_storage_bugs#Year_2262
I expect that we will have plenty of time to revert this commit in time
for 2262.
timespec := time_t + long, so it's probably only 64 bits on some platforms
anyway.
2016-12-03 11:52:49 +01:00
Marian Beermann
b3707f7175
Replace backup_io with a singleton
...
This is some 15 times faster than @contextmanager, because no instance
creation is involved and no generator has to be maintained. Overall
difference is low, but still nice for a very simple change.
2016-12-03 11:52:48 +01:00
Marian Beermann
b885841c39
make item native code
...
This makes an surprisingly large difference. Test case: ~70000 empty files.
(Ie. little data shoveling, lots of metadata shoveling). Before: 9.1 seconds
+- 0.1 seconds. After: 8.4 seconds +- 0.1 seconds.). That's a huge
win for changing a few lines.
I'd expect that this improves performance in almost all areas that touch
the items (list, delete, prune).
2016-12-03 00:11:36 +01:00
enkore
e9d7f928e2
Merge pull request #1921 from enkore/f/recreate-fixes
...
recreate fixes
2016-12-03 00:02:01 +01:00
Marian Beermann
a9395dd8b1
recreate: don't rechunkify unless explicitly told so
2016-12-02 20:19:59 +01:00
Marian Beermann
30df63c509
recreate: remove special-cased --dry-run
2016-12-02 18:15:11 +01:00
TW
91a547bbbe
Merge pull request #1917 from JoseLuisMartins/bugfix
...
Fixed borg info
2016-12-02 13:42:09 +01:00
Marian Beermann
c6f0969352
recreate: update --help
2016-12-02 13:20:43 +01:00
Marian Beermann
c1ccad82c3
recreate: update/remove/rename outdated comments
2016-12-02 12:54:27 +01:00
Marian Beermann
eade10a0a8
recreate: fix crash on checkpoint
2016-12-02 11:39:10 +01:00
OEM Configuration (temporary user)
0f07b6acf4
borg info:fixed bug when called without arguments,issue #1914
2016-12-02 10:27:53 +00:00
Marian Beermann
eb940e6779
recreate: fix rechunking dropping all chunks on the floor
2016-12-02 11:20:26 +01:00
Marian Beermann
b410392899
recreate repo: fix only one archive being processed
2016-12-02 11:09:52 +01:00
TW
10d143925c
Merge pull request #1904 from enkore/issue/1896
...
blake2b key modes: use B2B as MAC; longer keys.
2016-12-01 00:59:55 +01:00
enkore
1c248d66aa
Merge pull request #1908 from ThomasWaldmann/merge-1.0-maint
...
Merge 1.0-maint
2016-11-30 22:44:19 +01:00
Thomas Waldmann
a100fb67eb
Merge branch '1.0-maint' into merge-1.0-maint
...
# Conflicts:
# AUTHORS
# src/borg/archive.py
# src/borg/key.py
2016-11-30 05:38:04 +01:00
TW
8ddbc45c29
Merge pull request #1906 from enkore/f/check-corrupted-manifest
...
check: handle corrupted manifest
2016-11-30 04:31:58 +01:00
TW
2a340bf21c
Merge pull request #1907 from ThomasWaldmann/cygwin-docs
...
docs: add python3-devel as a dependency for cygwin-based installation
2016-11-30 02:51:16 +01:00
Thomas Waldmann
d6d3f275df
docs: add python3-devel as a dependency for cygwin-based installation
2016-11-30 02:50:20 +01:00
enkore
53abed6b86
Merge pull request #1900 from ThomasWaldmann/latest-virtualenv
...
partially remove virtualenv/pip version requirement, fixes #1738
2016-11-30 01:51:01 +01:00
Marian Beermann
146d586b3b
check: skip corrupted chunks during manifest rebuild
2016-11-30 01:43:01 +01:00
Marian Beermann
71775bac97
check: rebuild manifest if it's corrupted
2016-11-30 01:06:23 +01:00
enkore
cdd9891444
Merge pull request #1905 from ThomasWaldmann/fix-1903
...
fix TypeError in errorhandler, fixes #1903
2016-11-30 01:03:17 +01:00
Thomas Waldmann
989b2286ff
fix TypeError in errorhandler, fixes #1903
2016-11-30 00:37:30 +01:00
Marian Beermann
8949f2c758
blake2b key modes: use B2B as MAC; longer keys.
2016-11-30 00:24:05 +01:00
enkore
f4c916e01f
Merge pull request #1901 from ThomasWaldmann/show-broken
...
implement "health" item formatter key, fixes #1749
2016-11-29 23:48:55 +01:00
Thomas Waldmann
01ad1a5153
implement "health" item formatter key, fixes #1749
2016-11-29 23:02:24 +01:00
TW
99c38e8fc0
Merge pull request #1892 from Abogical/sync-progress
...
Add cache.sync progress display
2016-11-29 21:52:07 +01:00
Thomas Waldmann
6290e70c80
partially remove virtualenv/pip version requirement, fixes #1738
...
Is needed only for python 3.2 support.
For normal development, we expect you have py34+ for borg 1.1.
For vagrant, it is still needed because of older VMs like wheezy (py32).
Not needed for Travis-CI any more, we moved to trusty VMs (py34) there.
2016-11-29 21:30:23 +01:00
Abogical
f3ce6be30b
Add cache.sync progress display
2016-11-29 22:15:27 +02:00
TW
b25de0ab38
Merge pull request #1895 from ThomasWaldmann/fix-1894
...
fix traceback in Error handler if id is None, fixes #1894
2016-11-29 19:26:17 +01:00
Thomas Waldmann
cd50e286f7
fix traceback in Error handler if id is None, fixes #1894
2016-11-29 18:27:20 +01:00
TW
baab519843
Merge pull request #1898 from ThomasWaldmann/fix-1897
...
test_get_(cache|keys)_dir: clean env state, fixes #1897
2016-11-29 18:21:01 +01:00
enkore
734f8a9417
Merge pull request #1888 from enkore/f/secdir
...
Rename BORG_NONCES_DIR to BORG_SECURITY_DIR and then some
2016-11-29 18:10:08 +01:00
Marian Beermann
bd96b43af9
borg info: print security directory
2016-11-29 17:52:34 +01:00
Marian Beermann
f62a22392e
Implement security dir perks
...
Key type, location and manifest timestamp checks now survive cache
deletion. This also means that you can now delete your cache and avoid
previous warnings, since Borg can still tell it's safe.
2016-11-29 17:52:32 +01:00
Marian Beermann
c3a2dc5f55
Rename BORG_NONCES_DIR to BORG_SECURITY_DIR
2016-11-29 17:43:06 +01:00
Thomas Waldmann
9e760a69a2
test_get_(cache|keys)_dir: clean env state, fixes #1897
...
make sure the BORG_(CACHE|KEYS)_DIR env var is not set initially.
2016-11-29 14:08:58 +01:00
enkore
619cb123e5
1.0 maint AUTHORS +me
2016-11-28 22:51:01 +01:00
enkore
701e26af10
Merge pull request #1890 from ThomasWaldmann/merge-1.0-maint
...
Merge 1.0-maint
2016-11-28 09:09:10 +01:00
Thomas Waldmann
4746d20534
ran build_usage
...
had merge conflicts in the usage files, decided to just recreate them afterwards.
2016-11-28 02:25:56 +01:00