Thomas Waldmann
78de77e67a
check: fix uninitialised variable if repo is completely empty, fixes #7034
2022-09-17 20:54:13 +02:00
TW
d1cd017bd5
Merge pull request #7032 from ThomasWaldmann/compat-setuptoolsscm4-master
...
do not use version_tuple placeholder in setuptools_scm template
2022-09-17 13:54:16 +02:00
Thomas Waldmann
3d311143f3
do not use version_tuple placeholder in setuptools_scm template
...
that would require setuptools_scm>=5.0.0 but some dists do not have that yet.
also, we do not use the version_tuple from _version.py, so it is not required anyway.
forward port of #7024 .
2022-09-17 13:37:38 +02:00
TW
ca2cd9ad25
Merge pull request #7026 from ThomasWaldmann/empty-zero-unknown
...
metadata: differentiate between empty/zero and unknown
2022-09-16 21:52:31 +02:00
TW
2f803f83bf
Merge pull request #7030 from ThomasWaldmann/beta
...
beta status now
2022-09-16 21:52:07 +02:00
Thomas Waldmann
dae1b9cd82
beta status now
2022-09-16 21:26:41 +02:00
Thomas Waldmann
1a6b60f415
mode, user/group id/name: minor code refactor, remove None values at transfer time, #6908
...
https://github.com/borgbackup/borg/issues/6908#issuecomment-1224910916
2022-09-16 21:12:29 +02:00
TW
16787e48b7
Merge pull request #7029 from ThomasWaldmann/relative-imports
...
Relative imports
2022-09-16 20:48:32 +02:00
Thomas Waldmann
785cb4c21a
__main__: remove absolute "borg" import
2022-09-16 19:37:54 +02:00
Thomas Waldmann
f348c86f08
mount cmd tests: remove absolute "borg" import
2022-09-16 19:09:46 +02:00
Thomas Waldmann
6e2419f3b2
timestamps: minor code refactor, nothing else to do, #6908
...
https://github.com/borgbackup/borg/issues/6908#issuecomment-1224886207
2022-09-14 18:19:35 +02:00
Thomas Waldmann
3280603e43
acls cleanup (linux), #6908
...
https://github.com/borgbackup/borg/issues/6908#issuecomment-1224872992
also:
- added some type assertions
- made NULL pointer checks more explicit
- fsencode only called when needed
- structure of code more similar now on all OSes
2022-09-14 13:57:40 +02:00
Thomas Waldmann
6a1c64b0dc
xattrs cleanup, #6908
...
https://github.com/borgbackup/borg/issues/6908#issuecomment-1224870018
2022-09-14 13:57:40 +02:00
Thomas Waldmann
287907b218
bsdflags cleanup, #6908
...
https://github.com/borgbackup/borg/issues/6908#issuecomment-1224839170
2022-09-14 11:24:50 +02:00
TW
f5df35b36e
Merge pull request #7022 from ThomasWaldmann/split-archiver-tests
...
Split archiver tests
2022-09-14 09:51:14 +02:00
Thomas Waldmann
5d7b48ced8
add remote repo / borg binary testing
2022-09-14 09:11:45 +02:00
Thomas Waldmann
f410de690d
remove log output checks
...
the intention of this test is testing whether borg check
returns an error when checking a corrupted repository.
the removed assertions were rather testing the test logging
configuration, which seems flaky:
- when running all tests, assertions failed
- when running only this one test, assertions succeeded
- assertions also succeeded when running all the tests before
they were refactored to separate test modules, although the
test code was not changed, just moved.
2022-09-13 16:22:16 +02:00
Thomas Waldmann
1cd105d9f5
update flake8 ignores in setup.cfg
2022-09-13 14:58:46 +02:00
Thomas Waldmann
f94eec199f
move patterns tests to own module
2022-09-13 14:18:17 +02:00
Thomas Waldmann
87c3f11796
remove unneeded code
2022-09-13 14:14:56 +02:00
Thomas Waldmann
db0d15c182
move another test to argparsing
2022-09-13 14:12:15 +02:00
Thomas Waldmann
6ec6fc2496
move corruption tests to own module
2022-09-13 14:08:03 +02:00
Thomas Waldmann
acca64b057
move some checks to own module
2022-09-13 13:59:33 +02:00
Thomas Waldmann
c7146ffb47
move rcreate cmd tests to own module
2022-09-13 02:21:04 +02:00
Thomas Waldmann
8cee607652
move create cmd tests to own module
2022-09-13 02:00:18 +02:00
Thomas Waldmann
14f9d7d3cb
move extract cmd tests to own module
2022-09-13 01:22:37 +02:00
Thomas Waldmann
4a720e9abd
move item related test to item testing module
2022-09-13 00:29:20 +02:00
Thomas Waldmann
589ed91f4a
move more help related stuff to help testing module
2022-09-13 00:29:20 +02:00
Thomas Waldmann
2e17ceb258
move argparsing tests to own module
2022-09-13 00:29:20 +02:00
Thomas Waldmann
32f81eff27
move config cmd tests to own module
2022-09-13 00:03:07 +02:00
Thomas Waldmann
8aaad71439
move disk full tests to own module
2022-09-12 23:55:13 +02:00
Thomas Waldmann
3c247b8109
move return codes tests to own module
2022-09-12 23:49:51 +02:00
Thomas Waldmann
245bdef4eb
move benchmark cmd tests to own module
2022-09-12 23:45:11 +02:00
Thomas Waldmann
cc79c98b98
move help cmd tests to own module
2022-09-12 23:42:48 +02:00
Thomas Waldmann
e27bb0c1d0
move transfer cmd tests to own module
2022-09-12 23:37:26 +02:00
Thomas Waldmann
35d2710769
move lock cmd tests to own module
2022-09-12 23:35:21 +02:00
Thomas Waldmann
ec731bfaa0
remove unused imports from test init
2022-09-12 23:27:20 +02:00
Thomas Waldmann
4e932241b2
blacken init
2022-09-12 23:25:38 +02:00
Thomas Waldmann
e329152f01
move recreate cmd tests to own module
2022-09-12 23:25:38 +02:00
Thomas Waldmann
5fa1b7ea88
move (r)info cmd tests to own module
2022-09-12 23:25:38 +02:00
Thomas Waldmann
620d51d6bc
move rename cmd tests to own module
2022-09-12 23:25:38 +02:00
Thomas Waldmann
a07311101a
move (r)list cmds tests to own module
2022-09-12 23:25:38 +02:00
Thomas Waldmann
fcf7ca5e10
move fuse / mount cmds tests to own module
2022-09-12 23:25:38 +02:00
Thomas Waldmann
2288ee04fe
move prune cmd tests to own module
2022-09-12 02:53:02 +02:00
Thomas Waldmann
4171e38d44
move key cmd tests to own module
2022-09-12 02:33:37 +02:00
Thomas Waldmann
c09ce2cb55
move delete/rdelete cmd tests to own modules
2022-09-12 02:05:25 +02:00
Thomas Waldmann
185951fb57
move diff cmd tests to own module
2022-09-12 01:42:36 +02:00
Thomas Waldmann
dadbe0ddf3
move check cmd tests to own module
2022-09-12 01:03:16 +02:00
Thomas Waldmann
c4a1cc5bb0
remove unused imports
2022-09-12 00:51:25 +02:00
Thomas Waldmann
d762833cd6
move debug cmd tests to own module
2022-09-12 00:50:12 +02:00