Commit Graph

102 Commits

Author SHA1 Message Date
Thomas Waldmann 2e05c234b6
BackupErrors get caught and give warning RCs
also: use more union operators rather than .union()
2024-02-15 18:15:10 +01:00
Thomas Waldmann 5168a97782
extend errorlist script to warnings, update docs 2024-02-14 02:04:44 +01:00
Thomas Waldmann 34bbce8e71
scripts/errorlist.py: improve error list docs generation
- also output modern rc and traceback yes/no
- recursive list of Error subclasses
2024-02-13 19:56:32 +01:00
Thomas Waldmann 8eba627b29
scripts: make.py clean implementation 2024-02-09 17:37:46 +01:00
Thomas Waldmann 4d424de69e
scripts: update docs about make.py 2024-02-09 17:37:44 +01:00
Thomas Waldmann 59bca06630
scripts: rename gendocs.py to make.py 2024-02-09 17:37:43 +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
Thomas Waldmann b34a99f337
git mv setup_docs.py scripts/gendocs.py 2024-02-09 02:53:17 +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 723994a2f1
use pyinstaller 6.3.0 2024-01-02 20:33:34 +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
Thomas Waldmann 66eb086c4a
fix msys build
forward port to get code in sync with 1.4-maint.

use "pip install -e ." before invoking pyinstaller, so we have
the _version.py built by setuptools_scm and also it compiled the
extension modules, so pyinstaller can pick them up.

msys2 hack:

https://stackoverflow.com/questions/76079590/error-plat-name-must-be-one-of-win32-win-amd64-win-arm32-win-arm6
2024-01-02 19:46:48 +01:00
Ceesjan Luiten 7afa8d4626 Prevent CLI argument issues 2023-10-07 19:58:41 +02:00
Thomas Waldmann 4326813c05
do not upload gpg signature to pypi, fixes #7649 2023-06-29 23:06:28 +02:00
Rayyan Ansari ce50c497b0
Windows: simplify building
Use the standard pip build command, and get rid of the build script.
2023-03-10 17:51:03 +00:00
TW 366731ba00
Merge pull request #7300 from RayyanAnsari/borg-platformdirs
use platformdirs
2023-02-10 00:09:44 +01:00
Rayyan Ansari 37e958bfa4
pyinstaller: remove icon
Remove pyinstaller's default executable icon by setting it to the string 'NONE'.

While we're at it, update a comment.
2023-02-08 17:53:33 +00:00
Rayyan Ansari 6c7efbe128
add platformdirs to dependencies 2023-02-03 17:46:56 +01:00
Helmut Grohne f2f761212d
update bash completion script commands and options (#7273)
update bash completion script commands and options
2023-01-18 14:10:29 +01:00
TW 7fb37271f2
Merge pull request #7258 from RayyanAnsari/windows-ci-tests
Add tests to Windows CI
2023-01-13 18:43:21 +01:00
Rayyan Ansari b19d2c1449
Add tests to Windows CI 2023-01-13 17:02:41 +00:00
Josh Soref a205c4273b spelling: zstandard
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
2023-01-12 11:24:05 -05:00
Paul D 253d8e8d4e Docs grammar fixes
joined split infinitives, and relocated adverbs appropriately.
2022-12-29 22:26:54 +00:00
Thomas Waldmann 6a82d01b35
tests for borg transfer --upgrader=From12To20 2022-12-04 09:07:48 +01:00
Thomas Waldmann b60afa7e19
twine: use repo name instead of url 2022-11-27 01:02:39 +01:00
Rayyan Ansari 2b98a423ed
Add new Windows build scripts and CI with GitHub and MSYS2
Fixes #7097
2022-10-27 13:42:41 +01:00
Rayyan Ansari 83980e304e
Remove old Windows scripts and Appveyor CI 2022-10-27 13:34:32 +01:00
Thomas Waldmann ad7c7159b2 Merge branch 'master' into borg2 2022-07-27 13:49:50 +02:00
a1346054 41d67bc449
fix shellcheck warnings in bash scripts 2022-07-22 15:52:04 +00:00
Thomas Waldmann 7957af562d blacken all the code
https://black.readthedocs.io/
2022-07-06 16:34:38 +02:00
Thomas Waldmann c5540229c4 remove the blake2b compat checker script
this was used to compare compatibility of our vendored
blake2b code (which we do not have any more) against the
python stdlib blake2b code (which we always use now anyway).
2022-03-05 21:51:50 +01:00
Thomas Waldmann cbeef56454 pyupgrade --py38-plus ./**/*.py 2022-02-27 20:11:56 +01:00
TW 5edc773488
Merge pull request #6108 from sophie-h/sophie-h/list-command-line
list: Add command_line to format keys
2022-01-22 20:16:41 +01:00
Sophie Herold efd719bcc3 list: Add command_line to format keys 2022-01-22 19:13:32 +01:00
TW 96e6990bd4
Merge pull request #5989 from szpak-forks/fishCompletion330Fix
Fix command & switch completion in Fish 3.3.0+
2022-01-16 20:29:47 +01:00
Andrey Bienkowski a605dff15e Remove BORG_LIBC completion
BORG_LIBC was added in a4f7e69 to allow borg to work on systems where 
ctypes.util,find_library() fails. Since 9914968 borg no longer uses 
find_library().
2021-11-28 17:32:34 +03:00
TW 79eba96bba Update shell completions to 1.1.17 2021-10-08 08:59:38 +02:00
Marcin Zajączkowski 2b67c9f3ee Fix command completion in Fish 3.3.0+
Fish 3.3.0 enabled stderr-nocaret flag by default which breaks
stderr redirection with "^/dev/null". A posix-like "2>/dev/null"
has to be used instead.

https://github.com/fish-shell/fish-shell/pull/7907
https://github.com/fish-shell/fish-shell/issues/7105
2021-09-16 20:21:29 +02:00
Robert Blenis 789908f13f fix pep8 violations in errorlist.py 2021-04-18 10:06:48 -04:00
SanskritFritz 426fb9e8ec Efficiency fixes thanks to @oxiedi 2021-01-30 13:16:27 +01:00
SanskritFritz 4346c4e85b Tab completion support for additional archives for 'borg delete'
Bash and Fish tab completions now too support more than just one
archive provided for 'borg delete'.
2021-01-26 22:43:05 +01:00
Andrea Gelmini 72e7c46fa7 Fix typos 2021-01-07 17:54:33 +01:00
axapaxa b291b91962
Add remote upload buffer (--remote-buffer) (#5574)
add remote upload buffer (--remote-buffer)

- added new option --remote-buffer
- allow to_send to grow to selected size
- don't grow if wait is specified
- fill pipe on any command (including 'async_response')
- add new option to docs
- create EfficientBytesQueue to prevent recreation of buffer each time we send something
- add tests for EfficientBytesQueue
2021-01-03 17:37:16 +01:00
Robin Schneider fb38ba579f
Use HTTPS everywhere (mechanical edit using util from https-everywhere)
Ref: https://github.com/EFForg/https-everywhere/tree/master/utils/rewriter

```Shell
~/src/EFForg/https-everywhere/utils/rewriter/rewriter.js .
```

A few changes were reset/fixed manually before the commit.
2020-12-22 16:36:40 +01:00
Thomas Waldmann 7ee2dca547 pyinstaller: compute basepath from spec file location
so it does not just run on the vagrant machine, but also everywhere else.
2020-10-05 00:24:51 +02:00
oxiedi a887ed16c7 Update shell completions 2020-09-27 22:59:38 +05:00
oxiedi 78487082ca Fix a few issues in zsh completion
Namely:

  - add tags to all untagged contexts;
  - don't leak $debug_commands;
  - plus some cosmetic changes.
2020-09-24 00:07:17 +05:00
Manu b023610c8c Build directory-based binary for macOS to avoid Gatekeeper delays. 2020-09-08 12:31:47 +08:00
SanskritFritz 8b30a76ae2
Support repositories in fish tab completion (#5256)
support repositories and ssh hosts in fish tab completion
2020-07-31 16:17:30 +02:00
oxiedi 9afad44894 don't complete $BORG_RECREATE_I_KNOW_WHAT_I_AM_DOING 2020-07-26 07:43:20 +05:00