1
0
Fork 0
mirror of https://github.com/borgbackup/borg.git synced 2025-02-24 23:13:25 +00:00
Commit graph

8111 commits

Author SHA1 Message Date
TW
928af177bb
Merge pull request #7771 from ThomasWaldmann/docs-work
docs related work
2023-08-26 14:36:15 +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
TW
5babcf475c
Merge pull request #7735 from ThomasWaldmann/tests-with-env-var
tests: remove usage of environment_variable context manager, fixes #1002
2023-07-25 14:24:49 +02:00
Thomas Waldmann
b8a52a4769
tests: remove usage of environment_variable context manager
rather use monkeypatch.setenv/delenv.
2023-07-25 13:29:02 +02:00
Ted Lawson
2e59a702f6
cmd function now creates repo_location argument (#7734)
f'repo={repo_location}' moved to 'cmd' function
2023-07-24 23:54:47 +02:00
TW
e1cd38a0df
Merge pull request #7722 from bigtedde/archiver-tests
Archiver folder - all tests converted from unittest to pytest
2023-07-23 15:07:03 +02:00
bigtedde
6f35f5b0a4 simplified remote repo check 2023-07-22 23:39:10 -07:00
bigtedde
b8b80c5fef get_kind added to ArchiverSetup 2023-07-20 21:32:23 -07:00
bigtedde
683bf7275a redundent comments 2023-07-20 21:04:32 -07:00
TW
989b4fe88b
Merge pull request #7730 from ThomasWaldmann/authenticated_no_key-master
BORG_WORKAROUNDS=authenticated_no_key to extract from authenticated repos without key, fixes #7700
2023-07-20 18:34:50 +02:00
Thomas Waldmann
d5ffa59c91
bugfix: skip TAM check with BORG_WORKAROUNDS=authenticated_no_key
This is an emergency workaround for authenticated repos
if the user has lost the borg key.

We can't compute the TAM key without the borg key, so just
skip all the TAM stuff.
2023-07-20 17:54:33 +02:00
Thomas Waldmann
3051473168
BORG_WORKAROUNDS=authenticated_no_key to extract from authenticated repos without key, fixes #7700 2023-07-20 17:17:28 +02:00
bigtedde
0fa103460b removed 'prefix' 2023-07-19 17:24:15 -07:00
bigtedde
975a094e6e generate_archiver_tests added: generate tests by specifying kinds of archivers 2023-07-19 16:23:42 -07:00
bigtedde
7f1847ef85 typehint and initialize variable in ArchiverSetup init 2023-07-16 15:47:36 -07:00
bigtedde
8a5664dcfd remote archiver prefix check 2023-07-16 14:01:06 -07:00
bigtedde
fcddbc6356 Fixed: camelcase, generate test dupe, init vars declerations, general cleanup 2023-07-16 13:33:54 -07:00
bigtedde
0c899a7985 extract_cmd cleanup 2023-07-13 20:14:04 -04:00