Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
1999 commits
Select commit Hold shift + click to select a range
1432f54
Merge pull request #7968 from strugee/patch-1
ThomasWaldmann Dec 17, 2023
73284db
PATH: do not accept empty strings, fixes #4221
ThomasWaldmann Jan 2, 2024
5ca4703
use and require cython3
ThomasWaldmann Jan 2, 2024
66eb086
fix msys build
ThomasWaldmann Dec 24, 2023
1a54484
use less setup.py, use pip and build
ThomasWaldmann Dec 24, 2023
9583540
Merge pull request #8017 from ThomasWaldmann/do-not-accept-empty-path…
ThomasWaldmann Jan 2, 2024
ee02c54
Merge pull request #8018 from ThomasWaldmann/use-cython3-master
ThomasWaldmann Jan 2, 2024
f6d19a3
Merge pull request #8019 from ThomasWaldmann/drop-setup-requires-master
ThomasWaldmann Jan 2, 2024
723994a
use pyinstaller 6.3.0
ThomasWaldmann Dec 24, 2023
6720ab3
move conftest.py to src/borg/testsuite, see #6386
ThomasWaldmann Jan 2, 2024
5379f1b
Merge pull request #8020 from ThomasWaldmann/latest-pyinstaller-master
ThomasWaldmann Jan 2, 2024
e1fbd7d
fix mypy complaints
ThomasWaldmann Jan 2, 2024
2803c73
Merge pull request #8021 from ThomasWaldmann/move-conftest.py-master
ThomasWaldmann Jan 2, 2024
865de9f
improve docs for borg with-lock (#8024)
kmille Jan 3, 2024
812eb35
Merge pull request #7955 from ThomasWaldmann/improve-session-key-gen-…
ThomasWaldmann Jan 4, 2024
73a4168
docs: add typical PR workflow to development docs, fixes #7495 (#7656)
ebabcock93 Jan 9, 2024
a6f224f
vagrant: use the latest python 3.11.7 for binary builds
ThomasWaldmann Jan 10, 2024
c96fe77
vagrant: use freebsd 14, fixes #6871
ThomasWaldmann Dec 24, 2023
140e079
vagrant: remove debian 9 "stretch" box
ThomasWaldmann Jan 10, 2024
f5a6d61
vagrant: use python 3.9.4 for tests
ThomasWaldmann Jan 10, 2024
5480906
vagrant: netbsd: test on py311 only
ThomasWaldmann Dec 25, 2023
86d6fcf
vagrant: use generic/openbsd7 box
ThomasWaldmann Dec 25, 2023
eec7880
vagrant: remove outdated comment
ThomasWaldmann Dec 25, 2023
a9ea8aa
vagrant: use openssl 3.0 on macOS
ThomasWaldmann Dec 25, 2023
cb62981
add script for fetching borg binaries from VMs, fixes #7989
ThomasWaldmann Jan 7, 2024
64fee10
Merge pull request #8039 from ThomasWaldmann/fetch-binaries-master
ThomasWaldmann Jan 10, 2024
a2ef268
Merge pull request #8038 from ThomasWaldmann/vagrant-updates-master
ThomasWaldmann Jan 10, 2024
b8e5df9
Create Brewfile
stephengroat Nov 14, 2021
5c5df64
github CI (macOS): use brew bundle install (uses Brewfile)
stephengroat Nov 14, 2021
438f1dd
docs: add brew bundle instructions (macOS)
stephengroat Nov 16, 2021
576ee35
docs: fix markup errors
ThomasWaldmann Jan 14, 2024
08bb028
Brewfile: don't install osxfuse cask by default.
ThomasWaldmann Jan 14, 2024
2787da2
Merge pull request #6052 from stephengroat/patch-1
ThomasWaldmann Jan 14, 2024
ba2e8f2
borg.logger: use same method params as python logging
ThomasWaldmann Jan 13, 2024
c59b8fa
Merge pull request #8046 from ThomasWaldmann/logging-msg-param-master
ThomasWaldmann Jan 16, 2024
25adac4
update CHANGES
ThomasWaldmann Feb 8, 2024
ca7338f
Merge pull request #8080 from ThomasWaldmann/update-changes-master
ThomasWaldmann Feb 8, 2024
b6a23ee
implement "borg version", fixes #7829
ThomasWaldmann Jan 19, 2024
8944129
gh actions: increase timeout
ThomasWaldmann Feb 8, 2024
08bf0f7
init: better borg key export instructions
ThomasWaldmann Feb 8, 2024
3339394
docs: how to run the testsuite using the dist package
ThomasWaldmann Feb 8, 2024
f43c1f5
check: fix return code for index entry value discrepancies
ThomasWaldmann Feb 8, 2024
75840d4
Merge pull request #8085 from ThomasWaldmann/docs-tests-pypi-pkg-master
ThomasWaldmann Feb 8, 2024
5ee1eea
Merge pull request #8082 from ThomasWaldmann/remote-version-master
ThomasWaldmann Feb 9, 2024
03e4494
Merge pull request #8084 from ThomasWaldmann/init-message-master
ThomasWaldmann Feb 9, 2024
a4c8d52
Merge pull request #8086 from ThomasWaldmann/index-check-value-errors…
ThomasWaldmann Feb 9, 2024
7d77985
setup.py: move long_desc_from_readme definition to here
ThomasWaldmann Jan 29, 2024
9d913b0
setup.py: remove build_usage and build_man as setup.py command
ThomasWaldmann Jan 29, 2024
b34a99f
git mv setup_docs.py scripts/gendocs.py
ThomasWaldmann Feb 9, 2024
8cfbd3e
Merge pull request #8083 from ThomasWaldmann/increase-gh-actions-time…
ThomasWaldmann Feb 9, 2024
b64f6e3
scripts/gendocs.py: make it work
ThomasWaldmann Jan 29, 2024
38ba1c3
docs: do not refer to setup.py installation method
ThomasWaldmann Jan 29, 2024
48afc4c
requirements are defined in pyproject.toml
ThomasWaldmann Jan 29, 2024
59bca06
scripts: rename gendocs.py to make.py
ThomasWaldmann Jan 30, 2024
4d424de
scripts: update docs about make.py
ThomasWaldmann Jan 30, 2024
8eba627
scripts: make.py clean implementation
ThomasWaldmann Jan 30, 2024
77e13ad
Merge pull request #8087 from ThomasWaldmann/less-setuppy-master
ThomasWaldmann Feb 9, 2024
dd9358f
sdist: dynamically compute readme (long_description)
ThomasWaldmann Feb 10, 2024
3b43770
Merge pull request #8091 from ThomasWaldmann/fix-long-desc-master
ThomasWaldmann Feb 10, 2024
3a85433
update CHANGES
ThomasWaldmann Feb 13, 2024
0e859a6
Merge pull request #8096 from ThomasWaldmann/update-changes-master
ThomasWaldmann Feb 13, 2024
1b09d0e
BORG_EXIT_CODES=modern can be set to get more specific process exit c…
ThomasWaldmann Nov 9, 2023
34bbce8
scripts/errorlist.py: improve error list docs generation
ThomasWaldmann Nov 9, 2023
9de07eb
update "modern" error RCs (docs and code)
ThomasWaldmann Nov 9, 2023
bec02a3
use print_warning also in borg delete ::archive --force --force
ThomasWaldmann Nov 12, 2023
cb8b718
refactor set_ec usage
ThomasWaldmann Nov 12, 2023
0504dee
fix dealing with remote repo Locking Exceptions
ThomasWaldmann Nov 12, 2023
b18e613
get rid of some rare error classes, use RTError instead
ThomasWaldmann Nov 13, 2023
c704e5e
new warnings infrastructure to support modern exit codes
ThomasWaldmann Nov 15, 2023
900a167
move Backup*Error to errors module
ThomasWaldmann Nov 15, 2023
e8fa498
BackupError->BackupWarning, BackupOSError->BackupOSWarning
ThomasWaldmann Nov 15, 2023
982aeb5
more detailled warnings for source file OSErrors
ThomasWaldmann Nov 15, 2023
5168a97
extend errorlist script to warnings, update docs
ThomasWaldmann Nov 15, 2023
4adc782
print_warning*: support warning msgids, fixes #7080
ThomasWaldmann Nov 18, 2023
9ac4672
add NotFoundWarning
ThomasWaldmann Nov 18, 2023
97dd287
raise BackupOSError subclasses
ThomasWaldmann Nov 27, 2023
2e05c23
BackupErrors get caught and give warning RCs
ThomasWaldmann Dec 2, 2023
5caf747
update frontends.rst error/warning list
ThomasWaldmann Dec 2, 2023
abe6545
do not return the rc from Archiver methods
ThomasWaldmann Dec 5, 2023
b53c86c
refactor (re-)init of exit_code and warnings_list globals
ThomasWaldmann Dec 15, 2023
a0a07ab
use get_reset_ec to internally re-init ec/warnings
ThomasWaldmann Dec 15, 2023
d7e2e2c
fix mypy error
ThomasWaldmann Feb 17, 2024
ed28eb9
fix: Error/CommandError have a output format for 1 argument
ThomasWaldmann Feb 18, 2024
ad3f136
Merge pull request #8098 from ThomasWaldmann/new-rc-master
ThomasWaldmann Feb 18, 2024
1f5cc35
borg with-lock: catch exception, print error msg, fixes #8022
kmille Jan 6, 2024
74129e5
Merge pull request #8100 from ThomasWaldmann/fix-with-lock-exceptions…
ThomasWaldmann Feb 18, 2024
930ecd8
fix CommandError args, fixes 8029
ThomasWaldmann Jan 7, 2024
b65888f
Merge pull request #8101 from ThomasWaldmann/fix-commanderror-args-ma…
ThomasWaldmann Feb 18, 2024
ab0b111
give clean error msg for invalid nonce file, see #7967
ThomasWaldmann Jan 16, 2024
3bfd765
Merge pull request #8102 from ThomasWaldmann/error-msg-bad-nonce-file…
ThomasWaldmann Feb 18, 2024
334fbab
refactor: use less binascii
ThomasWaldmann Jan 17, 2024
2d31b02
Merge pull request #8104 from ThomasWaldmann/error-msg-bad-nonce-file…
ThomasWaldmann Feb 19, 2024
83c069c
better error msg for corrupted key data, fixes #8016
ThomasWaldmann Jan 18, 2024
7bed7b8
Merge pull request #8105 from ThomasWaldmann/corrupted-key-errmsg-master
ThomasWaldmann Feb 19, 2024
4581555
check_can_create_repository: deal with PermissionErrors, see #7016
ThomasWaldmann Jan 19, 2024
43a20b0
add ConnectionBrokenWithHint for BrokenPipeErrors and similar, see #7016
ThomasWaldmann Jan 19, 2024
f94cdee
Merge pull request #8106 from ThomasWaldmann/more-errors-msgids-master
ThomasWaldmann Feb 20, 2024
e7bd18d
create: add the slashdot hack, fixes #4685
ThomasWaldmann Jan 23, 2024
514cef5
Merge pull request #8107 from ThomasWaldmann/slashdot-hack-master
ThomasWaldmann Feb 20, 2024
9524c20
update CHANGES
ThomasWaldmann Feb 20, 2024
643d2d2
Merge pull request #8109 from ThomasWaldmann/update-changes-master
ThomasWaldmann Feb 20, 2024
86c8031
fix comment in setup.py
ThomasWaldmann Feb 20, 2024
0612001
update release date in changes.rst
ThomasWaldmann Feb 20, 2024
3160f50
build_usage
ThomasWaldmann Feb 20, 2024
b69c937
build_man
ThomasWaldmann Feb 20, 2024
b04dcf4
libacl: work with older versions, too
ThomasWaldmann Feb 20, 2024
334bfcd
Merge pull request #8111 from ThomasWaldmann/rel200b8
ThomasWaldmann Feb 21, 2024
a13b5d1
benchmark: fix return value, fixes #8113
ThomasWaldmann Feb 21, 2024
6be1035
Merge pull request #8115 from ThomasWaldmann/new-rc-fixes-master
ThomasWaldmann Feb 21, 2024
da285b1
benchmark: inherit options --rsh --remote-path, fixes #8099
ThomasWaldmann Feb 22, 2024
7074c02
Merge pull request #8119 from ThomasWaldmann/benchmark-crud-options-m…
ThomasWaldmann Feb 22, 2024
a06c42c
add non-root deployment strategy
Feb 21, 2024
96ae9f7
Apply suggestions from code review
Feb 21, 2024
274cd8f
add restore considerations paragraph
Feb 22, 2024
e40690f
Merge pull request #8124 from stephan13360/master
ThomasWaldmann Feb 24, 2024
6121d3d
docs: remove tabs
ThomasWaldmann Feb 25, 2024
db75521
Merge pull request #8129 from ThomasWaldmann/docs-fix-markup
ThomasWaldmann Feb 25, 2024
eb79b1f
create: deal with EBUSY, fixes #8123
ThomasWaldmann Feb 25, 2024
c9c5b4d
Merge pull request #8128 from ThomasWaldmann/ebusy-master
ThomasWaldmann Feb 25, 2024
a507a2c
allow msgpack 1.0.8, fixes #8133
ThomasWaldmann Mar 2, 2024
03e9642
require Cython 3.0.3 at least, fixes #8133
ThomasWaldmann Mar 2, 2024
b82bf4a
Merge pull request #8136 from ThomasWaldmann/msgpack-cython-updates-m…
ThomasWaldmann Mar 2, 2024
670cb6e
github CI: misc updates
ThomasWaldmann Mar 15, 2024
6de9ca8
Merge pull request #8149 from ThomasWaldmann/gh-actions-update-master
ThomasWaldmann Mar 15, 2024
4ff0ba4
vagrant: openindiana updates
ThomasWaldmann Apr 1, 2024
7ac7c79
use python 3.11.8 for binary builds
ThomasWaldmann Apr 1, 2024
ffc1e3e
vagrant: use pyinstaller 6.5.0
ThomasWaldmann Apr 1, 2024
b25caaf
vagrant: remove buster VM
ThomasWaldmann Apr 1, 2024
f28084d
vagrant: ubuntu lunar -> noble VM
ThomasWaldmann Apr 1, 2024
c157db7
fix Ctrl-C / SIGINT behaviour for pyinstaller-made binaries, fixes #8155
ThomasWaldmann Mar 28, 2024
7dd0403
Merge pull request #8177 from ThomasWaldmann/debounce-sigint-master
ThomasWaldmann Apr 1, 2024
7f15c14
Merge pull request #8176 from ThomasWaldmann/vagrant-updates-master
ThomasWaldmann Apr 1, 2024
a75945e
improve acl_get / acl_set error handling, see #4049
ThomasWaldmann Feb 24, 2024
b3554cd
raise OSError if acl_to_text / acl_from_text returns NULL
ThomasWaldmann Feb 26, 2024
d5396fe
improve are_acls_working function
ThomasWaldmann Feb 25, 2024
bafea3b
platform tests: misc. minor cleanups
ThomasWaldmann Mar 9, 2024
1269c85
create/extract: ignore OSError if ACLs are not supported (ENOTSUP)
ThomasWaldmann Feb 25, 2024
beac2fa
Linux: acl_get: raise OSError for errors in acl_extended_* call
ThomasWaldmann Mar 2, 2024
96cac5f
Linux: acl_get: use "nofollow" variant of acl_extended_file call
ThomasWaldmann Mar 2, 2024
4cc4516
Linux: acl_set bug fix: always fsencode path
ThomasWaldmann Mar 2, 2024
30f4518
FreeBSD: acl_get: add an acl_extended_* call
ThomasWaldmann Mar 2, 2024
d369427
FreeBSD: acl_get: raise OSError if lpathconf fails
ThomasWaldmann Mar 2, 2024
7df170c
FreeBSD: added tests, only get default ACL from dirs
ThomasWaldmann Mar 9, 2024
4ebb5cd
FreeBSD: simplify numeric_ids check
ThomasWaldmann Mar 10, 2024
64b7b5f
FreeBSD: check first if kind of ACL can be set on a file
ThomasWaldmann Mar 10, 2024
4e5bf28
Linux: refactor acl_get
ThomasWaldmann Mar 10, 2024
c5abfe1
Merge pull request #8178 from ThomasWaldmann/acl-error-handling-master
ThomasWaldmann Apr 3, 2024
bb50246
update development.lock.txt
ThomasWaldmann Apr 3, 2024
fb4b4cf
Merge pull request #8180 from ThomasWaldmann/update-requirements-master
ThomasWaldmann Apr 3, 2024
d893b89
update github actions
ThomasWaldmann Apr 3, 2024
4d2eb0c
Merge pull request #8181 from ThomasWaldmann/github-actions-update-ma…
ThomasWaldmann Apr 3, 2024
54a85bf
format_timedelta: use 3 decimal digits (ms)
ThomasWaldmann Apr 4, 2024
411c763
Merge pull request #8182 from ThomasWaldmann/fix-test-ht-master
ThomasWaldmann Apr 4, 2024
0c1df41
changed insufficiently reserved length for log message (#8152)
galqiwi Apr 6, 2024
7baf8be
github CI: fix PKG_CONFIG_PATH for openssl 3.0
ThomasWaldmann May 12, 2024
5e36ba7
Merge pull request #8214 from ThomasWaldmann/fix-ci-macos-openssl-master
ThomasWaldmann May 12, 2024
b067f0f
setup.py: fix import error reporting for cythonize import, see #8208
ThomasWaldmann May 12, 2024
8a73344
setup.py: detect noexec build fs issue, see #8208
ThomasWaldmann May 12, 2024
ce2a824
cosmetic: blacken setup.py
ThomasWaldmann May 12, 2024
1525c72
Merge pull request #8215 from ThomasWaldmann/fix-cythonize-import-err…
ThomasWaldmann May 12, 2024
d43892d
allow msgpack 1.1.0
ThomasWaldmann May 20, 2024
e3f5656
Merge pull request #8228 from ThomasWaldmann/allow-msgpack110-master
ThomasWaldmann May 20, 2024
9fbc4bc
recreate: remove experimental status
ThomasWaldmann Apr 22, 2024
819e294
Merge pull request #8237 from ThomasWaldmann/remove-experimental-master
ThomasWaldmann May 29, 2024
00962f9
fix pytest_report_header, fixes #8232
ThomasWaldmann May 31, 2024
f7c18cd
Merge pull request #8240 from ThomasWaldmann/fix-pytest-master
ThomasWaldmann May 31, 2024
7bc6f90
Installation: update Arch Linux repo name
tree-wall Jun 2, 2024
1f7cc48
Merge pull request #8244 from tree-wall/patch-1
ThomasWaldmann Jun 3, 2024
de21d79
Fixed openSUSE dependencies in installation.rst
dertuxmalwieder Jun 6, 2024
a0f23f9
Update installation.rst
dertuxmalwieder Jun 7, 2024
aada985
Merge pull request #8248 from dertuxmalwieder/patch-1
ThomasWaldmann Jun 7, 2024
7c2fdf2
docs: fix typo
wzyboy Jul 5, 2024
c3fb27f
Automatic rebuild cache on exception, fixes #5213 (#8257)
Aztorius Jul 6, 2024
24afee2
Merge pull request #8272 from wzyboy/fix/typo
ThomasWaldmann Jul 6, 2024
1e38525
github CI: windows msys2 build: broken, disable it for now, see #8264
ThomasWaldmann Jul 7, 2024
f5c9e25
Merge pull request #8276 from ThomasWaldmann/ci-windows-fix-master
ThomasWaldmann Jul 7, 2024
fb7a8f2
Add BORG_USE_CHUNKS_ARCHIVE option
Aztorius Jul 13, 2024
de5d130
Update docs for BORG_USE_CHUNKS_ARCHIVE
Aztorius Jul 13, 2024
246727f
Merge pull request #8281 from Aztorius/no-cache-option
ThomasWaldmann Jul 13, 2024
10b3878
delete: fix error handling when no archive is specified, fixes #8256
ThomasWaldmann Jul 14, 2024
0ae65a0
rcompress: fix error handling with Ctrl-C
ThomasWaldmann Jul 14, 2024
126a346
delete: fix error handling with Ctrl-C
ThomasWaldmann Jul 14, 2024
dc25205
Merge pull request #8284 from ThomasWaldmann/fix-8256
ThomasWaldmann Jul 15, 2024
4488c07
files cache: add chunk size information
ThomasWaldmann Sep 19, 2023
17fce18
always give id and size to chunk_incref/chunk_decref
ThomasWaldmann Sep 21, 2023
de34258
fix AdHocCache.add_chunk signature (ctype, clevel kwargs)
ThomasWaldmann Sep 22, 2023
98162fb
create --no-cache-sync-forced option
ThomasWaldmann Sep 21, 2023
d466005
refactor files cache code into FilesCacheMixin class
ThomasWaldmann Sep 22, 2023
876c08f
tolerate missing chunks with delete --force
ThomasWaldmann Sep 23, 2023
cb8d6f8
AdHocCache has no cache persistence
ThomasWaldmann Sep 27, 2023
e2a1999
implement NewCache
ThomasWaldmann Sep 22, 2023
4cd9bc8
check: do not consider orphan chunks a problem
ThomasWaldmann Sep 30, 2023
25a7a14
skip tests requiring the chunks index (archive)
ThomasWaldmann Sep 30, 2023
5136fa8
fix test part that only works with LocalCache
ThomasWaldmann Sep 30, 2023
86adc04
fix test_debug_refcount_obj for misc. refcounts
ThomasWaldmann Sep 30, 2023
c73f6d4
fix test_delete
ThomasWaldmann May 31, 2024
ab6049e
fix test_list_chunk_counts
ThomasWaldmann May 31, 2024
e3a0c4f
fix check_cache and test_check_cache
ThomasWaldmann May 31, 2024
fbfa7cf
fix test_recreate_rechunkify
ThomasWaldmann Jun 1, 2024
cf8c3a3
keep previous repo location only in security dir
ThomasWaldmann Jun 1, 2024
89d867e
keep key_type only in security dir
ThomasWaldmann Jun 1, 2024
85688e7
keep timestamp only in security dir
ThomasWaldmann Jun 1, 2024
561dcc8
Refactor cache sync options and introduce new cache preference
ThomasWaldmann Jun 1, 2024
c724958
fix test_cache_chunks
ThomasWaldmann Jul 12, 2024
72be8ef
add comments to test_unknown_feature_on_cache_sync
ThomasWaldmann Jul 12, 2024
616af8d
BORG_CACHE_IMPL environment variable added
ThomasWaldmann Jul 12, 2024
78954b6
skip tests not working with specific cache implementations
ThomasWaldmann Jul 14, 2024
0fccd0b
build(deps-dev): bump setuptools in /requirements.d
dependabot[bot] Jul 15, 2024
55bf40d
Merge pull request #8285 from borgbackup/dependabot/pip/requirements.…
ThomasWaldmann Jul 16, 2024
5a500cd
rename NewCache -> AdHocWithFilesCache
ThomasWaldmann Jul 18, 2024
619a06a
BORG_CACHE_IMPL defaults to "adhocwithfiles" now
ThomasWaldmann Jul 18, 2024
66b62c6
Merge pull request #7846 from ThomasWaldmann/files-cache-with-size
ThomasWaldmann Jul 18, 2024
70d1758
vagrant: use pyinstaller 6.7.0
ThomasWaldmann Jul 18, 2024
4c76b67
vagrant: use Python 3.11.9
ThomasWaldmann Jul 18, 2024
b1249eb
update CHANGES
ThomasWaldmann Jul 18, 2024
0f83d0c
Merge pull request #8287 from ThomasWaldmann/update-changes-master
ThomasWaldmann Jul 18, 2024
3f5cb32
add freebsd 13 box, fixes #8266
ThomasWaldmann Jul 3, 2024
273aaaf
vagrant: use freebsd(13|14)_64 as VM name
ThomasWaldmann Jul 3, 2024
0b660e0
vagrant: get rid of the "64" suffix for VM names.
ThomasWaldmann Jul 3, 2024
445dd69
vagrant: adapt fetch-binaries script
ThomasWaldmann Jul 3, 2024
f4367d6
vagrant: darwin -> macos
ThomasWaldmann Jul 3, 2024
296c674
vagrant: macos: add version number to call param
ThomasWaldmann Jul 3, 2024
a6fdb4d
vagrant: netbsd/openbsd: add version number
ThomasWaldmann Jul 3, 2024
16c5204
README: add note about beta testing
ThomasWaldmann Jul 19, 2024
044acfd
add docs/binaries/00_README.txt
ThomasWaldmann Jul 19, 2024
995ec30
Merge pull request #8288 from ThomasWaldmann/vagrant-machines-master
ThomasWaldmann Jul 19, 2024
3c480d9
Merge pull request #8289 from ThomasWaldmann/beta-notes-master
ThomasWaldmann Jul 19, 2024
ecddbc6
make BORG_EXIT_CODES="modern" the default.
ThomasWaldmann Jul 19, 2024
4312a74
Merge pull request #8290 from ThomasWaldmann/modern-exit-codes-by-def…
ThomasWaldmann Jul 19, 2024
6211a3d
key export: move examples to docs
ThomasWaldmann Jul 19, 2024
5eecdfa
key export: fix crash when no path is given
ThomasWaldmann Jul 19, 2024
4e6238e
key export: fix exception handling
ThomasWaldmann Jul 19, 2024
4fe94bf
Merge pull request #8291 from ThomasWaldmann/key-export-filename-master
ThomasWaldmann Jul 19, 2024
6778f29
update CHANGES
ThomasWaldmann Jul 19, 2024
edfca29
build_usage / build_man
ThomasWaldmann Jul 19, 2024
f777263
Add Open Collective and Liberapay to FUNDING.yml
pktiuk Jul 19, 2024
7aabe82
fix binary_archiver tests for modern exit codes
ThomasWaldmann Jul 19, 2024
84e8723
fix pypi repo name in upload script
ThomasWaldmann Jul 20, 2024
83aed45
Merge pull request #8293 from ThomasWaldmann/rel200b9
ThomasWaldmann Jul 20, 2024
c6f95de
improve borg check --repair healing tests, see #8302
ThomasWaldmann Jul 23, 2024
929c642
Merge pull request #8304 from ThomasWaldmann/improve-healing-test-master
ThomasWaldmann Jul 23, 2024
69ce4bd
add github sponsors
ThomasWaldmann Jul 26, 2024
364eb87
Merge pull request #8286 from pktiuk/patch-1
ThomasWaldmann Jul 26, 2024
e715b9f
Add TIMESPAN to doc
dtugend Jul 30, 2024
6039349
Merge pull request #8312 from dtugend/doc-TIMESPAN
ThomasWaldmann Jul 31, 2024
3a5ee93
remove outdated comment, fixes #4240
ThomasWaldmann Jul 31, 2024
6978584
docs: align /etc/backups path in all references
ruben-rodriguez Aug 1, 2024
e753394
Merge pull request #8315 from ThomasWaldmann/cleanups-master
ThomasWaldmann Aug 2, 2024
ea718b9
Merge pull request #8314 from ruben-rodriguez/master
ThomasWaldmann Aug 2, 2024
f7a3ed7
Add Pydantic models for Borg 1.4 JSON output
claude Oct 24, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
27 changes: 0 additions & 27 deletions .appveyor.yml

This file was deleted.

41 changes: 0 additions & 41 deletions .coafile

This file was deleted.

2 changes: 2 additions & 0 deletions .git-blame-ignore-revs
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# Migrate code style to Black
7957af562d5ce8266b177039783be4dc8bdd7898
5 changes: 3 additions & 2 deletions .github/FUNDING.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# These are supported funding model platforms

# github: # Replace with up to 4 GitHub Sponsors-enabled usernames e.g., [user1, user2]
# liberapay: borgbackup
github: borgbackup
liberapay: borgbackup
open_collective: borgbackup
custom: ['https://www.borgbackup.org/support/fund.html']
6 changes: 3 additions & 3 deletions .github/ISSUE_TEMPLATE.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,14 @@ Thank you for reporting an issue.
- Borgbackup documentation: http://borgbackup.readthedocs.io/en/stable/index.html
- FAQ: https://borgbackup.readthedocs.io/en/stable/faq.html
and
- open issues in Github tracker: https://github.com/borgbackup/borg/issues
- open issues in GitHub tracker: https://github.com/borgbackup/borg/issues

If you cannot find a similar problem, then create a new issue.

Please fill in as much of the template as possible.
-->

## Have you checked borgbackup docs, FAQ, and open Github issues?
## Have you checked borgbackup docs, FAQ, and open GitHub issues?

No

Expand Down Expand Up @@ -46,7 +46,7 @@ results and any steps you took to troubleshoot.
How to run benchmark: http://borgbackup.readthedocs.io/en/stable/usage/benchmark.html

*IMPORTANT* - Please mark logs and text output from terminal commands
or else Github will not display them correctly.
or else GitHub will not display them correctly.
An example is provided below.

Example:
Expand Down
15 changes: 15 additions & 0 deletions .github/workflows/black.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# https://black.readthedocs.io/en/stable/integrations/github_actions.html#usage
# see also what we use locally, requirements.d/codestyle.txt - should be the same version here.

name: Lint

on: [push, pull_request]

jobs:
lint:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
- uses: psf/black@stable
with:
version: "~= 23.0"
186 changes: 144 additions & 42 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ on:
- '**.c'
- '**.h'
- '**.yml'
- '**.toml'
- '**.cfg'
- '**.ini'
- 'requirements.d/*'
Expand All @@ -23,6 +24,7 @@ on:
- '**.c'
- '**.h'
- '**.yml'
- '**.toml'
- '**.cfg'
- '**.ini'
- 'requirements.d/*'
Expand All @@ -31,58 +33,56 @@ on:
jobs:
lint:

runs-on: ubuntu-latest
timeout-minutes: 10
runs-on: ubuntu-22.04
timeout-minutes: 5

steps:
- uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: 3.8
- name: Lint with flake8
run: |
pip install flake8
flake8 src scripts conftest.py
- uses: actions/checkout@v4
- uses: chartboost/ruff-action@v1

pytest:
linux:

needs: lint
strategy:
fail-fast: true
matrix:
include:
- os: ubuntu-20.04
python-version: '3.8'
toxenv: py38-fuse2
- os: ubuntu-20.04
- os: ubuntu-22.04
python-version: '3.9'
toxenv: py39-fuse3
- os: ubuntu-20.04
toxenv: mypy
- os: ubuntu-22.04
python-version: '3.11'
toxenv: docs
- os: ubuntu-22.04
python-version: '3.9'
toxenv: py39-fuse2
- os: ubuntu-22.04
python-version: '3.10'
toxenv: py310-fuse3
- os: macos-10.15 # macos-latest is macos 11.6.2 and hanging at test_fuse, #6099
python-version: '3.8'
toxenv: py38-fuse2
- os: ubuntu-22.04
python-version: '3.11'
toxenv: py311-fuse3
- os: ubuntu-22.04
python-version: '3.12'
toxenv: py312-fuse3

env:
# Configure pkg-config to use OpenSSL from Homebrew
PKG_CONFIG_PATH: /usr/local/opt/openssl@1.1/lib/pkgconfig
TOXENV: ${{ matrix.toxenv }}

runs-on: ${{ matrix.os }}
timeout-minutes: 40
timeout-minutes: 120

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
with:
# just fetching 1 commit is not enough for setuptools-scm, so we fetch all
fetch-depth: 0
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Cache pip
uses: actions/cache@v2
uses: actions/cache@v4
with:
path: ~/.cache/pip
key: ${{ runner.os }}-pip-${{ hashFiles('requirements.d/development.txt') }}
Expand All @@ -91,24 +91,13 @@ jobs:
${{ runner.os }}-

- name: Install Linux packages
if: ${{ runner.os == 'Linux' }}
run: |
sudo apt-get update
sudo apt-get install -y libssl-dev libacl1-dev liblz4-dev libzstd-dev pkg-config build-essential
sudo apt-get install -y libxxhash-dev || true
sudo apt-get install -y libb2-dev || true
sudo apt-get install -y pkg-config build-essential
sudo apt-get install -y libssl-dev libacl1-dev libxxhash-dev liblz4-dev libzstd-dev
sudo apt-get install -y libfuse-dev fuse || true # Required for Python llfuse module
sudo apt-get install -y libfuse3-dev fuse3 || true # Required for Python pyfuse3 module

- name: Install macOS packages
if: ${{ runner.os == 'macOS' }}
run: |
brew install pkg-config || brew upgrade pkg-config
brew install zstd || brew upgrade zstd
brew install lz4 || brew upgrade lz4
brew install openssl@1.1 || brew upgrade openssl@1.1
brew install --cask macfuse || brew upgrade --cask macfuse # Required for Python llfuse module

- name: Install Python requirements
run: |
python -m pip install --upgrade pip setuptools wheel
Expand All @@ -117,16 +106,129 @@ jobs:
run: |
# pip install -e .
python setup.py -v develop
- name: run pytest via tox
- name: run tox env
env:
XDISTN: "4"
run: |
# do not use fakeroot, but run as root. avoids the dreaded EISDIR sporadic failures. see #2482.
#sudo -E bash -c "tox -e py"
tox --skip-missing-interpreters
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v1
uses: codecov/codecov-action@v4
env:
OS: ${{ runner.os }}
python: ${{ matrix.python-version }}
with:
token: ${{ secrets.CODECOV_TOKEN }}
env_vars: OS, python

macOS:

needs: linux
strategy:
fail-fast: true
matrix:
include:
- os: macos-14
python-version: '3.11'
toxenv: py311-none # note: no fuse testing, due to #6099, see also #6196.

env:
# Configure pkg-config to use OpenSSL from Homebrew
PKG_CONFIG_PATH: "/opt/homebrew/opt/openssl@3.0/lib/pkgconfig:$PKG_CONFIG_PATH"
TOXENV: ${{ matrix.toxenv }}

runs-on: ${{ matrix.os }}
timeout-minutes: 180

steps:
- uses: actions/checkout@v4
with:
# just fetching 1 commit is not enough for setuptools-scm, so we fetch all
fetch-depth: 0
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Cache pip
uses: actions/cache@v4
with:
path: ~/.cache/pip
key: ${{ runner.os }}-pip-${{ hashFiles('requirements.d/development.txt') }}
restore-keys: |
${{ runner.os }}-pip-
${{ runner.os }}-

- name: Install macOS packages
run: brew bundle install

- name: Install Python requirements
run: |
python -m pip install --upgrade pip setuptools wheel
pip install -r requirements.d/development.txt
- name: Install borgbackup
env:
# we already have that in the global env, but something is broken and overwrites that.
# so, set it here, again.
PKG_CONFIG_PATH: "/opt/homebrew/opt/openssl@3.0/lib/pkgconfig:$PKG_CONFIG_PATH"
run: |
pip install -ve .
- name: run tox env
env:
# we already have that in the global env, but something is broken and overwrites that.
# so, set it here, again.
PKG_CONFIG_PATH: "/opt/homebrew/opt/openssl@3.0/lib/pkgconfig:$PKG_CONFIG_PATH"
XDISTN: "6"
run: |
# do not use fakeroot, but run as root. avoids the dreaded EISDIR sporadic failures. see #2482.
#sudo -E bash -c "tox -e py"
tox --skip-missing-interpreters
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v4
env:
OS: ${{ runner.os }}
python: ${{ matrix.python-version }}
with:
token: ${{ secrets.CODECOV_TOKEN }}
env_vars: OS, python

windows:

if: false # build is broken, thus disabled, see #8264
runs-on: windows-latest
timeout-minutes: 120
needs: linux

env:
SETUPTOOLS_USE_DISTUTILS: stdlib # Needed for pip to work - https://www.msys2.org/docs/python/#known-issues
PY_COLORS: 1

defaults:
run:
shell: msys2 {0}

steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: msys2/setup-msys2@v2
with:
msystem: UCRT64
update: true
- name: Install dependencies
run: ./scripts/msys2-install-deps development
- name: Build
run: |
# build borg.exe
SETUPTOOLS_USE_DISTUTILS=stdlib pip install -e .
pyinstaller -y scripts/borg.exe.spec
# build sdist and wheel in dist/...
SETUPTOOLS_USE_DISTUTILS=stdlib python -m build
- uses: actions/upload-artifact@v4
with:
name: borg-windows
path: dist/borg.exe
- name: Run tests
run: |
./dist/borg.exe -V
pytest -n4 --benchmark-skip -vv -rs -k "not remote"
Loading
Loading