Thomas Waldmann
b81b1abdeb
it's 2023!
2023-03-23 22:11:44 +01:00
Thomas Waldmann
73ee704afa
security: 1.1.x is EOL, please upgrade to 1.2.x.
...
That means I won't make new 1.1.x releases.
In case there would be a major security or other issue,
I might still make a fix commit to the 1.1-maint branch,
where dist package maintainers or other interested
parties could find it.
2023-03-23 22:11:42 +01:00
Thomas Waldmann
391e05a6c6
change log: set release date, remove outdated stuff
2023-03-23 22:11:41 +01:00
Thomas Waldmann
af16e19933
update CHANGES
2023-03-23 22:10:22 +01:00
TW
05bfed50c3
Merge pull request #7471 from Michael-Girma/bug/issue-7470
...
Resolved mode bug and added sleep clause for darwin systems. Fixes #7470
2023-03-23 21:29:56 +01:00
Michael Deyaso
ea08161fe8
Resolved mode bug and added sleep clause for darwin systems. Fixes #7470
2023-03-23 21:39:55 +03:00
TW
de2f894bcc
Merge pull request #7464 from ThomasWaldmann/docs-borg-key-file-1.2
...
BORG_KEY_FILE: clarify docs, fixes #7444
2023-03-22 22:33:42 +01:00
TW
4c230a52e6
Merge pull request #7465 from dotdoom/1.2-maint-ignorezeros
...
Add --ignore-zeros flag to import-tar
2023-03-22 22:31:37 +01:00
Artem Sheremet
3b7c0605af
Add --ignore-zeros flag to import-tar
...
Fixes #7432 .
Backport of #7460 .
2023-03-22 18:59:58 +01:00
Thomas Waldmann
e6b8e03e19
BORG_KEY_FILE: clarify docs, fixes #7444
2023-03-22 18:52:58 +01:00
TW
671c66361d
Merge pull request #7456 from ThomasWaldmann/update-changes-1.2
...
update CHANGES (1.2-maint)
2023-03-20 23:00:03 +01:00
Thomas Waldmann
3cffbbd3af
update CHANGES
2023-03-20 22:10:49 +01:00
TW
2ab678ca93
Merge pull request #7414 from Michael-Girma/backport/1.2-maint-7248
...
Show ctime and mtime on borg diff, fixes #7248 (Backport of #7335 )
2023-03-20 14:14:30 +01:00
Michael Deyaso
19bb27741d
bugfix: Fixes path related bug seen when addressing deferred items.
2023-03-20 07:28:59 +03:00
TW
62080a5737
Merge pull request #7441 from ThomasWaldmann/vagrant-updates2-1.2
...
Vagrant updates2 (1.2-maint)
2023-03-13 09:56:20 +01:00
Thomas Waldmann
cfd6f035ff
vagrant: use pythons working on freebsd
...
pyenv could not install py38, thus using the fbsd system py38.
removed py38 from pyenv completely.
2023-03-13 04:05:24 +01:00
Thomas Waldmann
96dff54655
vagrant: freebsd: kldload fusefs
2023-03-13 00:56:09 +01:00
TW
6354e4ada4
Merge pull request #7435 from ThomasWaldmann/freebsd-xattr-fixes-1.2
...
xattrs: fix namespace processing on FreeBSD, fixes #6997
2023-03-13 00:54:13 +01:00
Thomas Waldmann
bd299f1ff3
xattrs: fix namespace processing on FreeBSD, fixes #6997
2023-03-12 23:35:52 +01:00
TW
f623742709
Merge pull request #7439 from ThomasWaldmann/vagrant-updates-1.2
...
Vagrant updates (1.2-maint)
2023-03-12 23:34:22 +01:00
Thomas Waldmann
e3f887414b
vagrant: pyenv: also install python 3.11.1 for testing
2023-03-12 23:07:11 +01:00
Thomas Waldmann
96a8a98d97
vagrant: pyenv: use python 3.10.1, 3.10.0 build is broken on freebsd
2023-03-12 23:06:57 +01:00
Thomas Waldmann
fc0c594ff6
vagrant: local freebsd 12.1 box -> generic/freebsd13 box
...
Building in the 12.1 box stopped working, thus replaced it
with the same box as we use in master.
2023-03-12 23:06:50 +01:00
TW
0a61c7b767
Merge pull request #7428 from ThomasWaldmann/update-changes-1.2
...
update CHANGES (1.2-maint)
2023-03-11 19:17:52 +01:00
TW
c9190fe867
Merge pull request #7434 from ThomasWaldmann/remove-os-directory-1.2
...
docs: remove OS directory from install docs
2023-03-11 19:15:58 +01:00
Thomas Waldmann
f2825a96d2
docs: remove OS directory from install docs
...
- links did not work that way
- each OS has its own headline and can be discovered easily without
that directory
2023-03-11 18:52:58 +01:00
TW
019a999364
Merge pull request #7429 from abebeos/1.2-maint
...
docs: installation: add link to OS dependencies
2023-03-11 01:16:36 +01:00
abebeos
9e464edb7c
docs: installation: add link to OS dependencies
2023-03-10 22:39:30 +00:00
Thomas Waldmann
cd35e22d06
update CHANGES
2023-03-10 22:46:10 +01:00
TW
134583a7bf
Merge pull request #7412 from ThomasWaldmann/hardlink-master-bug-1.2
...
set .hardlink_master for hardlinkable items, fixes #7175
2023-03-10 19:49:12 +01:00
TW
7643f39901
Merge pull request #7419 from ThomasWaldmann/msgpack105-1.2
...
allow msgpack 1.0.5 also
2023-03-09 22:20:22 +01:00
Thomas Waldmann
2842463f21
allow msgpack 1.0.5 also
2023-03-09 17:58:57 +01:00
Michael Deyaso
6c042d7192
Show ctime and mtime on borg diff. Fixes #7248
...
---
- Added assert_line_exists helper in BaseTestCase
- JSON strings in diff output are now sorted alphabetically
- Modified diff test cases to confirm to new output format
- Added a test case to test ctime and mtime inclusion
- Mode, ctime & mtime are now only displayed on diff if --content-only flag is used
2023-03-07 10:54:29 +03:00
Thomas Waldmann
843c12cbea
set .hardlink_master for hardlinkable items, fixes #7175
...
before, we only set this for regular files, but we better also set this
for block/char devices and fifos also, so we have it for all item types
borg 1.x considers "hardlinkable".
this is important for sequential processing of items in an archive:
if we encounter a hardlinkable item and .source is not set (that
would make it a hardlink slave), it could be a hardlink master or not:
- hardlink_master == False # this item is not part of a hl group
- hardlink_master == True # this item is a hardlink master
This will also be important when items are converted to borg2.
2023-03-05 19:20:22 +01:00
TW
d44cf3482e
Merge pull request #7402 from ThomasWaldmann/unicode-filenames-docs-1.2
...
update FAQ about locale/unicode issues, fixes #6999
2023-03-05 17:48:55 +01:00
TW
d5e4f3f8cf
Merge pull request #7404 from ThomasWaldmann/mount-docs-1.2
...
docs: improve mount options rendering, fixes #7359
2023-03-05 17:48:01 +01:00
TW
ca1fea37a6
Merge pull request #7410 from snsmac/backport/autocompressortests
...
"auto" compressor tests: don't assume a specific size (backport to 1.2-maint)
2023-03-05 17:22:45 +01:00
TW
831c9d0c40
Merge pull request #7408 from snsmac/backport/hashindex
...
hashindex bugfix and refactoring (backport to 1.2-maint)
2023-03-05 15:29:50 +01:00
Thomas Waldmann
8cf313900a
"auto" compressor tests: do not assume zlib is better than lz4, fixes #7363
...
while that might be true for many cases, we can not assume it is
always true, as proven by the failing test on S390.
2023-03-05 11:05:47 +01:00
Thomas Waldmann
a7ce1db529
add num_entries assertion
2023-03-05 11:01:44 +01:00
Thomas Waldmann
f1d68fe4b3
hashindex: simplify size_idx function
...
Thanks to @jdchristensen for the code.
2023-03-05 11:01:44 +01:00
Thomas Waldmann
d57fafadad
Simplify full HT scan assertion
2023-03-05 11:01:44 +01:00
Thomas Waldmann
ec32413b5e
hashindex: always have at least 1 empty bucket
...
avoid rounding / integer conversion issues bringing this down to 0.
2023-03-05 11:01:44 +01:00
Thomas Waldmann
241eaec413
implement ht idx wrap around less strangely, add comment
2023-03-05 11:01:44 +01:00
Thomas Waldmann
51189e1383
if HT is full with entries and tombstones: give up/fail early
2023-03-05 11:01:44 +01:00
Thomas Waldmann
32519617b6
more comments for hashindex_lookup
2023-03-05 11:01:44 +01:00
Thomas Waldmann
3a44894aca
bugfix: do not resize hashindex with wrong num_empty
...
otherwise we would lose the decrement operation on num_empty.
2023-03-05 11:01:44 +01:00
Thomas Waldmann
ecf5ad43ed
hashindex: simplify assert
2023-03-05 11:01:44 +01:00
Thomas Waldmann
b2117bfd4f
_hashindex: easier to understand code, dubious loops removed, asserts
...
hashindex_index returns the perfect hashtable index, but does not
check what's in the bucket there, so we had these loops afterwards
to search for an empty or deleted bucket.
problem: if the HT were completely filled with no empty and no deleted
buckets, that loop would never end. due to our HT resizing, it can
never happen, but still not pretty.
when using hashindex_lookup (as also used some lines above), the code
is easier to understand, because (after we resized the HT), we freshly
create the same situation as after the first call of that function:
- return value < 0, because we (still) can not find the key
- start_idx will point to an empty bucket
Thus, we do not need the problematic loops we had there.
Modified the checks to make sure we really have an empty or deleted
bucket before overwriting it with data.
Added some additional asserts to make sure the code behaves.
2023-03-05 11:01:44 +01:00
TW
cef5b446ac
Merge pull request #7411 from ThomasWaldmann/debug-id-hash-command-1.2
...
debug id-hash: implement file content id-hash computation, see #7406
2023-03-04 22:33:20 +01:00