Commit Graph

8421 Commits

Author SHA1 Message Date
Thomas Waldmann 59bca06630
scripts: rename gendocs.py to make.py 2024-02-09 17:37:43 +01:00
Thomas Waldmann 48afc4c519
requirements are defined in pyproject.toml 2024-02-09 17:37:42 +01:00
Thomas Waldmann 38ba1c383a
docs: do not refer to setup.py installation method
Invoking setup.py is deprecated.
2024-02-09 17:37:40 +01:00
Thomas Waldmann b64f6e3335
scripts/gendocs.py: make it work
remove unused html_write function

gendocs: update developer docs
2024-02-09 17:37:38 +01:00
TW 8cfbd3ea3e
Merge pull request #8083 from ThomasWaldmann/increase-gh-actions-timeout-master
gh actions: increase timeout
2024-02-09 03:28:14 +01:00
Thomas Waldmann b34a99f337
git mv setup_docs.py scripts/gendocs.py 2024-02-09 02:53:17 +01:00
Thomas Waldmann 9d913b0e82
setup.py: remove build_usage and build_man as setup.py command 2024-02-09 02:50:19 +01:00
Thomas Waldmann 7d77985601
setup.py: move long_desc_from_readme definition to here 2024-02-09 02:38:47 +01:00
TW a4c8d52ca0
Merge pull request #8086 from ThomasWaldmann/index-check-value-errors-master
check: fix return code for index entry value discrepancies
2024-02-09 02:29:46 +01:00
TW 03e4494d84
Merge pull request #8084 from ThomasWaldmann/init-message-master
init: better borg key export instructions
2024-02-09 02:29:32 +01:00
TW 5ee1eeaa4f
Merge pull request #8082 from ThomasWaldmann/remote-version-master
implement "borg version", fixes #7829
2024-02-09 02:29:15 +01:00
TW 75840d4ef9
Merge pull request #8085 from ThomasWaldmann/docs-tests-pypi-pkg-master
docs: how to run the testsuite using the dist package
2024-02-09 00:44:18 +01:00
Thomas Waldmann f43c1f56e9
check: fix return code for index entry value discrepancies
Also: use ERROR loglevel for these (not WARNING).

A different amount of index entries was already logged as error
and led to "error_found = True" in repository.check.

Different values in the rebuilt index vs. the on-disk index were
only logged on warning level, but did not lead to error_found = True.

Guess there is no reason why these should not be errors and lead to
error_found = True, so this was fixed in this commit.

Minor related change: change report_error function args, so it can be
called like logger.error - including giving a format AND args.
2024-02-09 00:43:06 +01:00
Thomas Waldmann 33393946b5
docs: how to run the testsuite using the dist package 2024-02-09 00:36:58 +01:00
Thomas Waldmann 08bf0f741c
init: better borg key export instructions 2024-02-09 00:33:06 +01:00
Thomas Waldmann 8944129806
gh actions: increase timeout
especially the macos workers are sometimes extremely slow.
2024-02-09 00:22:16 +01:00
Thomas Waldmann b6a23ee1bc
implement "borg version", fixes #7829
Additional new command "borg -r <REPO> version" which shows client and server version.
2024-02-09 00:16:29 +01:00
TW ca7338f5b6
Merge pull request #8080 from ThomasWaldmann/update-changes-master
update CHANGES
2024-02-08 23:50:32 +01:00
Thomas Waldmann 25adac4fb4
update CHANGES 2024-02-08 23:28:22 +01:00
TW c59b8fa079
Merge pull request #8046 from ThomasWaldmann/logging-msg-param-master
borg.logger: use same method params as python logging
2024-01-16 03:08:08 +01:00
Thomas Waldmann ba2e8f2dec
borg.logger: use same method params as python logging 2024-01-15 21:40:27 +01:00
TW 2787da205c
Merge pull request #6052 from stephengroat/patch-1
Create and use Brewfile
2024-01-14 19:49:28 +01:00
Thomas Waldmann 08bb028bae
Brewfile: don't install osxfuse cask by default. 2024-01-14 17:49:21 +01:00
Thomas Waldmann 576ee3532c
docs: fix markup errors 2024-01-14 17:27:21 +01:00
Stephen 438f1ddef7
docs: add brew bundle instructions (macOS) 2024-01-14 17:14:42 +01:00
Stephen 5c5df6458a
github CI (macOS): use brew bundle install (uses Brewfile) 2024-01-14 15:30:08 +01:00
Stephen b8e5df9410
Create Brewfile 2024-01-14 15:29:50 +01:00
TW a2ef268724
Merge pull request #8038 from ThomasWaldmann/vagrant-updates-master
Vagrant updates (master)
2024-01-10 22:40:46 +01:00
TW 64fee10417
Merge pull request #8039 from ThomasWaldmann/fetch-binaries-master
add script for fetching borg binaries from VMs, fixes #7989
2024-01-10 22:40:29 +01:00
Thomas Waldmann cb62981ae7
add script for fetching borg binaries from VMs, fixes #7989 2024-01-10 22:33:44 +01:00
Thomas Waldmann a9ea8aa67d
vagrant: use openssl 3.0 on macOS 2024-01-10 22:29:11 +01:00
Thomas Waldmann eec78802bf
vagrant: remove outdated comment 2024-01-10 22:26:31 +01:00
Thomas Waldmann 86d6fcfe0a
vagrant: use generic/openbsd7 box 2024-01-10 22:25:36 +01:00
Thomas Waldmann 5480906c06
vagrant: netbsd: test on py311 only
the netbsd vagrant machine tends to segfault, guess due to some kernel or virtualbox issue.

 thus, rather only do 1 tox run, so there is less output to review.
2024-01-10 22:24:47 +01:00
Thomas Waldmann f5a6d61e56
vagrant: use python 3.9.4 for tests
same as in 1.4-maint branch
2024-01-10 22:21:49 +01:00
Thomas Waldmann 140e079496
vagrant: remove debian 9 "stretch" box
there are multiple issues with that box:
- debian 9 is out of support by debian, out of even lts support since 2022
- it has a OpenSSL 1.x natively (and our source based install also used 1.x) - that is also out of support and noone will care for it.

Also, borg2 will still take a while, so it would be
even more outdated at release time as it already
is now.
2024-01-10 22:19:57 +01:00
Thomas Waldmann c96fe77d2e
vagrant: use freebsd 14, fixes #6871 2024-01-10 22:14:09 +01:00
Thomas Waldmann a6f224f031
vagrant: use the latest python 3.11.7 for binary builds 2024-01-10 22:10:54 +01:00
ebabcock93 73a416830a
docs: add typical PR workflow to development docs, fixes #7495 (#7656) 2024-01-10 00:56:18 +01:00
TW 812eb352f6
Merge pull request #7955 from ThomasWaldmann/improve-session-key-gen-master
crypto: use a one-step kdf for session keys, fixes #7953
2024-01-04 18:42:22 +01:00
kmille 865de9fcee
improve docs for borg with-lock (#8024)
docs: add example for borg with-lock
2024-01-03 23:42:29 +01:00
TW 2803c7358b
Merge pull request #8021 from ThomasWaldmann/move-conftest.py-master
move conftest.py to src/borg/testsuite, see #6386
2024-01-02 21:54:41 +01:00
Thomas Waldmann e1fbd7d42e
fix mypy complaints 2024-01-02 20:57:42 +01:00
TW 5379f1b9bd
Merge pull request #8020 from ThomasWaldmann/latest-pyinstaller-master
use pyinstaller 6.3.0
2024-01-02 20:50:22 +01:00
Thomas Waldmann 6720ab3aab
move conftest.py to src/borg/testsuite, see #6386
there, it will be packaged and installed, so
that when one runs the testsuite after installing
the pypi package, it will find the conftest.py.
2024-01-02 20:39:14 +01:00
Thomas Waldmann 723994a2f1
use pyinstaller 6.3.0 2024-01-02 20:33:34 +01:00
TW f6d19a33d4
Merge pull request #8019 from ThomasWaldmann/drop-setup-requires-master
use pip and build
2024-01-02 20:29:01 +01:00
TW ee02c54488
Merge pull request #8018 from ThomasWaldmann/use-cython3-master
use and require cython3
2024-01-02 20:09:27 +01:00
TW 9583540fa1
Merge pull request #8017 from ThomasWaldmann/do-not-accept-empty-paths-master
PATH: do not accept empty strings, fixes #4221
2024-01-02 20:02:43 +01:00
Thomas Waldmann 1a544845a2
use less setup.py, use pip and build
todo: clean clean2 build_usage build_man
2024-01-02 19:50:59 +01:00