Commit Graph

8427 Commits

Author SHA1 Message Date
Thomas Waldmann b6712cd8b7
lock cython to 3.0.2 2023-08-27 17:05:48 +02:00
TW 981c562268
Merge pull request #7777 from ThomasWaldmann/freebsd-acl-tests-master
freebsd: add some ACL tests, fixes #7745
2023-08-27 13:46:51 +02:00
Thomas Waldmann aa5168a21e
use skipif_acls_not_working decorator for freebsd also
use platform-specific ACLs to check.
for unsupported platform, just return False.
2023-08-27 05:07:56 +02:00
Thomas Waldmann 9c1088c95c
linux: move ACL definitions to platform_linux test module
they are only used from there.
2023-08-27 05:06:17 +02:00
Thomas Waldmann 7f8eba4fbf
freebsd: add some ACL tests, fixes #7745
enable ACL support in freebsd vagrant machine's filesystem
2023-08-27 05:05:55 +02:00
TW 678501a6ff
Merge pull request #7778 from ThomasWaldmann/get-dir-create-arg-master
get_*_dir: add/use create argument
2023-08-27 03:58:56 +02:00
Thomas Waldmann 836b517451
get_*_dir tests: use create=False
In these tests, we only compare paths, but we do not
need to create these paths for that. By not trying to
create them, we can avoid permission issues, e.g. under
fakeroot.
2023-08-27 03:23:50 +02:00
Thomas Waldmann 590b0c68e6
get_*_dir: add create=True kw argument
... and only call ensure_dir if create is True.
2023-08-27 03:15:12 +02:00
TW d3062674d9
Merge pull request #7776 from ThomasWaldmann/pyi-5.13.1-master
vagrant: use pyinstaller 5.13.1
2023-08-26 18:52:00 +02:00
Thomas Waldmann 535a024008
vagrant: use pyinstaller 5.13.1 2023-08-26 18:51:09 +02:00
TW 8ed6ec5889
Merge pull request #7774 from ThomasWaldmann/ci-ubuntu2204-master
ci: run on ubuntu 22.04
2023-08-26 15:58:58 +02:00
Thomas Waldmann 057aec407d
ci: run on ubuntu 22.04 2023-08-26 15:11:17 +02:00
TW b8e855164b
Merge pull request #7775 from ThomasWaldmann/docs-fixes-master
docs: fix borg delete examples, fixes #7759
2023-08-26 15:07:05 +02:00
TW 97388277e2
Merge pull request #7773 from ThomasWaldmann/cython3-master
use cython 3 (master)
2023-08-26 14:55:53 +02:00
Thomas Waldmann e9e74a1113
docs: fix borg delete examples, fixes #7759 2023-08-26 14:51:27 +02:00
TW 928af177bb
Merge pull request #7771 from ThomasWaldmann/docs-work
docs related work
2023-08-26 14:36:15 +02:00
Thomas Waldmann d80d2decc0
development.lock.txt: use Cython 3.0.1
note: pyproject.yaml already uses Cython3 because it is not
version restricted and the cy3 pypi package is not beta any more.
2023-08-26 14:11:52 +02:00
Thomas Waldmann 04ff8d6524
fix README 2023-08-26 13:55:59 +02:00
Thomas Waldmann d2d6e6092b
CI: test building the docs 2023-08-26 13:44:51 +02:00
Thomas Waldmann fc7cd92ee2
docs: tox -e docs tests building the docs 2023-08-26 13:36:10 +02:00
TW e8e1a3a37c
Merge pull request #7770 from ThomasWaldmann/improve-rcreate-docs-master
docs: improve rcreate / related repos docs
2023-08-24 13:11:39 +02:00
Thomas Waldmann b1c38ef23e
docs: improve rcreate / related repos docs 2023-08-24 12:42:24 +02:00
TW 1c8da8f98a
Merge pull request #7750 from ThomasWaldmann/fix-unreadable-parent-of-root-master
do not try to read parent dir of recursion root (master)
2023-07-30 01:18:27 +02:00
Ted Lawson f29fd80311
`platform_freebsd.py` dummy test file (#7748) 2023-07-30 01:17:56 +02:00
Thomas Waldmann 08e09999d9
remove unused "flags_root" open flags 2023-07-29 23:34:52 +02:00
Thomas Waldmann c99b849abe
create: do not try to read parent dir of recursion root, fixes #7746 2023-07-29 23:31:16 +02:00
Thomas Waldmann 3e640a38c0
add a test for unreadable parent dir, see #7746 2023-07-29 23:21:10 +02:00
TW 1e7dec1541
Merge pull request #7742 from bigtedde/remove-BaseTestCase
PR: Remove BaseTestCase from `testsuite/`
2023-07-29 22:14:33 +02:00
bigtedde a09c8ad940 reverted import grouping 2023-07-29 09:40:24 -07:00
bigtedde dc83735e1d Merge remote-tracking branch 'upstream/master' into remove-BaseTestCase 2023-07-28 12:31:24 -07:00
bigtedde ffebd8b044 parametrize helper.py 2023-07-28 12:30:27 -07:00
TW 5df49ee707
Merge pull request #7743 from bigtedde/platform-pytest
PR: `testsuite/platform.py` conversion to pytest + remove `BaseTestCase`
2023-07-28 20:19:45 +02:00
bigtedde 8eed958829 seperated platform tests into seperate modules 2023-07-27 15:38:21 -07:00
bigtedde be53037b9d linux tests converted, renamed tests for consistency 2023-07-27 11:45:58 -07:00
bigtedde d2dd792164 mac and posix tests converted, removed BaseTestCase and unittest 2023-07-26 21:59:12 -07:00
bigtedde 7b753453e5 removed BaseTestCase from chunker_slow.py 2023-07-26 14:59:45 -07:00
bigtedde 67334c4e83 removed BaseTestCase from helpers.py 2023-07-26 14:50:52 -07:00
bigtedde d2f32986f3 removed TestCaseBase from testsuite/archive.py 2023-07-26 12:18:25 -07:00
TW f33efc0a10
Merge pull request #7740 from ThomasWaldmann/black-and-flake8
simplify flake8 config, fix some complaints
2023-07-26 02:17:58 +02:00
Thomas Waldmann aa0d12a09c
fix E402 2023-07-26 01:24:36 +02:00
Thomas Waldmann 5013121bd8
fix E501 2023-07-26 01:24:20 +02:00
Thomas Waldmann 6151b369c4
fix E741 2023-07-26 01:24:00 +02:00
Thomas Waldmann 35ac39b751
fix F401 2023-07-26 01:23:37 +02:00
Thomas Waldmann 3017701958
simplify flake8 configuration
we use black since a while, so some stuff does not need to be ignored any more.
2023-07-25 23:56:31 +02:00
TW c0001fb6ea
Merge pull request #7738 from ThomasWaldmann/fix-disk-full-test-master
fix test_disk_full, fixes #7617
2023-07-25 22:49:50 +02:00
Thomas Waldmann b0497499cc
fix test_disk_full, fixes #7617
- master branch has different free space requirements from 1.2-maint,
  so we now use a 700MB filesystem
- used pytest.mark.parametrize for the test passes, kind of a progress
  display
- fix bug in rcreate call, encryption arg is needed
- fix bug in lock file cleanup
- added repo space cleanup
- updated docstring with current linux instructions (ubuntu)
- stopped using the "reserved" files, the "input" files are good enough
  to get some space freed.
-
2023-07-25 22:13:36 +02:00
TW a592cf4d02
Merge pull request #7736 from ThomasWaldmann/tests-cleanup
remove unused methods of BaseTestCase
2023-07-25 15:54:17 +02:00
Thomas Waldmann b97c3d3a55
simplify BaseTestCase.assert_raises 2023-07-25 15:14:46 +02:00
Thomas Waldmann a2e7854911
simplify changedir with @contextmanager 2023-07-25 15:12:32 +02:00
Thomas Waldmann 02fcabe31f
remove unused methods of BaseTestCase
also: clean up imports / comments
2023-07-25 15:07:53 +02:00