Commit Graph

72 Commits

Author SHA1 Message Date
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
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
SanskritFritz bb98a1dae4 Option arguments for zsh tab completion 2019-02-10 20:33:23 +01:00
SanskritFritz 7becc03608 More complete shell completions for borg mount -o 2019-02-10 20:33:15 +01:00
SanskritFritz 8435206cc3 Shell completions for borg compact 2019-02-08 16:44:36 +01:00
SanskritFritz 0a97274bd1 New shell completions for borg 1.1.9 2019-02-08 14:27:14 +01:00
SanskritFritz ff52d4225b Added shell completions for borg help 2019-02-06 16:49:31 +01:00
Thomas Waldmann f7525156c1 update release workflow using twine (docs, scripts), see #4213 2019-02-01 22:07:49 +01:00
Thomas Waldmann 10cdadb2f8 flake8: fix F841 2018-10-29 12:36:03 +01:00
SanskritFritz 46a5db7de8 Shell completions reflect latest changes 2018-06-22 23:53:44 +02:00
SanskritFritz 6e11ae1da2 Using spaces instead of tabs for indentation. 2018-02-06 20:59:04 +01:00
Viktor Bale a08be8d4c5 Fixed tab completion problem where a space is always added after path even when it shouldn't 2018-02-05 20:43:29 +01:00
TW 208ff77ddd
Merge pull request #3532 from SanskritFritz/master
Updated zsh completions for borg 1.1.4
2018-01-17 14:02:20 +01:00
SanskritFritz b4ceef625b Updated zsh completions for borg 1.1.4 2018-01-10 22:32:22 +01:00
TW 34c4400979
Merge pull request #3510 from LocutusOfBorg/no-shebang
borg shell completion: remove shebang, useless because scripts are so…
2018-01-04 20:20:10 +01:00
Gianfranco Costamagna 2978aad55c borg shell completion: remove shebang, useless because scripts are sourced 2018-01-04 14:33:08 +01:00
Gianfranco Costamagna 111a19f7fa fix typo: allows to -> allows one to 2018-01-03 11:42:38 +01:00
SanskritFritz 3467e2e755 zstd compression method 2017-12-23 10:49:18 +01:00
SanskritFritz 60e926318c Updated bash/fish completions for borg 1.1.3 2017-12-22 00:31:49 +01:00
SanskritFritz afab6b4b53 Deleted options from #3226 2017-11-04 23:25:24 +01:00
TW d1d5590444
Merge pull request #3269 from mrkmg/shell-completion-zsh-1.1.1
Added ZSH Shell Completion Script
2017-11-04 16:59:17 +01:00