Commit Graph

91 Commits

Author SHA1 Message Date
Thomas Waldmann 18a8baf8e2
revive the buster64 box
RHEL8 and clones are on this glibc version.
2024-06-02 19:23:49 +02:00
Thomas Waldmann 90ea511bb7
vagrant: drop buster VM, fixes #8171 2024-04-22 14:41:44 +02:00
Thomas Waldmann ef2728a6a6
scripts: make.py clean implementation 2024-01-30 23:55:18 +01:00
Thomas Waldmann 8bf7ad575a
scripts: update docs about make.py 2024-01-30 23:21:04 +01:00
Thomas Waldmann fd1dad2f79
scripts: rename gendocs.py to make.py 2024-01-30 23:19:09 +01:00
Thomas Waldmann 6e228e371b
scripts/gendocs.py: make it work
remove unused html_write function

gendocs: update developer docs
2024-01-29 20:31:56 +01:00
Thomas Waldmann e2860318fa
git mv setup_docs.py scripts/gendocs.py 2024-01-29 19:56:38 +01:00
Thomas Waldmann 37e1ec5e4a
add script for fetching borg binaries from VMs, fixes #7989 2024-01-07 21:00:16 +01:00
Thomas Waldmann 69072f0c17
BackupErrors get caught and give warning RCs
also: use more union operators rather than .union()
2023-12-27 13:48:55 +01:00
Thomas Waldmann 775b9f5560
extend errorlist script to warnings, update docs 2023-12-27 13:48:41 +01:00
Thomas Waldmann 422d1ba4ca
scripts/errorlist.py: improve error list docs generation
- also output modern rc and traceback yes/no
- recursive list of Error subclasses
2023-12-27 13:41:58 +01:00
Thomas Waldmann 7efef07db1
use pyinstaller 6.3.0 2023-12-26 00:08:37 +01:00
Thomas Waldmann 84df37a19f
use less setup.py, use pip and build
todo: clean clean2 build_usage build_man
2023-12-24 20:50:19 +01:00
Thomas Waldmann 021d08c8be
fix msys build
build the sdist and wheel using "build", avoid using setup.py.

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
2023-12-24 20:45:12 +01:00
Thomas Waldmann b0dd5ca280
use pyinstaller==5.13.2
this is the version we use in master branch since longer.
2023-12-23 23:16:30 +01:00
Thomas Waldmann de643c211b
do not upload gpg signature to pypi, fixes #7649 2023-06-27 18:45:41 +02:00
Thomas Waldmann 3984a7e3da
twine: use repo name instead of url 2022-11-27 01:24:25 +01:00
Rayyan Ansari e8dd5c449e
Add new Windows build scripts and CI with GitHub and MSYS2 [backport]
Fixes #7105
2022-10-27 16:56:08 +01:00
Rayyan Ansari 4b27ab2fbd
Remove old Windows scripts and Appveyor CI [backport] 2022-10-27 16:33:02 +01:00
Thomas Waldmann 8dd2612fc6 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-06 11:31:05 +03:00
Thomas Waldmann c4ed840c7b pyupgrade --py38-plus ./**/*.py 2022-02-27 21:12:44 +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
oxiedi 2b869256a2 Rewrite Zsh completion.
The new completion provides:

  - completion for almost all optional and positional arguments;
  - completion for Borg environment variables (parameters).
2020-07-24 22:52:50 +05:00
Thomas Waldmann c75a7e4156 pyinstaller: work around issue with setuptools > 44
see https://github.com/pypa/setuptools/issues/1963
2020-04-18 23:01:24 +02:00
Thalian 08a7661e67 [FEATURE] #4489 – Deprecate --nobsdflags option
Replaced by --noflags. In internal data structure the key 'bsdflags' is kept for backwards compatibility.
2020-03-25 06:35:15 +01:00
Jürg Rast b57db079d0 Updated pyinstaller spec file to support windows builds 2019-10-30 01:06:46 +01:00
Jürg Rast f0b74146da Created new scripts for preparing and building borg 2019-10-30 01:06:46 +01:00
Jürg Rast 6b426d08d7 Initial work to build and run borg under windows
- Created a batch file to build borg on windows
- Adjusted setup.py to be runnable on windows and build the windows
extension
- Extracted the free space check to a function in the platform module
- Created the minimal needed (dummy) functions for the windows platform
module
2019-08-24 10:17:18 +02:00
SanskritFritz 936fc3d631 Shell completions: removed deprecated and added new options 2019-03-15 17:52:51 +01:00
SanskritFritz 8437972bc0 Shell completions for borg diff second archive 2019-03-15 17:40:47 +01:00
Thomas Waldmann ec9334422e str.encode() / bytes.decode(): utf-8 is the default, fixes #4306
note: i kept explicit utf-8 at some critical places, like e.g.
      key passphrase handling.
2019-02-22 17:05:57 +01:00
TW fa9d3263de
Merge pull request #4345 from ThomasWaldmann/update-scripts-master
signing binaries with Qubes OS support, docs
2019-02-11 02:45:46 +01:00
Thomas Waldmann 305efb5b01 signing binaries with Qubes OS support, docs 2019-02-11 02:44:44 +01:00