Commit graph

54 commits

Author SHA1 Message Date
James Buren
8bbcafdfcb Fix typos (backport of #5597) 2021-06-16 10:25:43 -05:00
Robert Blenis
df1014ec67 fix pep8 violations - errorlist.py 2021-04-18 11:00:22 -04:00
SanskritFritz
457d4e44bc Efficiency fixes thanks to @oxiedi 2021-01-30 13:17:10 +01:00
SanskritFritz
12a7458c5d 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:51:21 +01:00
oxiedi
139807282d update shell completions 2020-12-24 16:06:00 +05:00
Robin Schneider
570a2318b9
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 22:35:10 +01:00
Thomas Waldmann
b1f8037ef4 pyinstaller: compute basepath from spec file location
so it does not just run on the vagrant machine, but also everywhere else.
2020-10-05 20:24:21 +02:00
SanskritFritz
2c5096af0f Support repositories in fish tab completion (#5256)
support repositories and ssh hosts in fish tab completion
2020-09-28 21:26:13 +02:00
oxiedi
46d117ef0c Update shell completions 2020-09-27 20:20:58 +05:00
TW
7107b27af7
Merge pull request #5342 from oxiedi/fix-zsh-completion-issues_1.1-maint
Fix a few issues in zsh completion
2020-09-26 20:10:40 +02:00
Thomas Waldmann
734b1a7b80 Build directory-based binary for macOS to avoid Gatekeeper delays
backport of #5302.
2020-09-25 02:51:32 +02:00
oxiedi
a6c4047a45 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-25 01:55:49 +05:00
oxiedi
feab48fd63 update version in the leading comment 2020-07-26 07:33:42 +05:00
oxiedi
1d89590e06 complete $BORG_RECREATE_I_KNOW_WHAT_I_AM_DOING 2020-07-26 07:30:48 +05:00
oxiedi
ddaeffbb4b Rewrite Zsh completion.
The new completion provides:

  - completion for almost all optional and positional arguments;
  - completion for Borg environment variables (parameters).
2020-07-26 01:22:32 +05:00
SanskritFritz
0d80a9a159 Shell completions for borg diff second archive 2019-03-15 17:53:18 +01:00
Thomas Waldmann
818c926b9d signing binaries with Qubes OS support, docs 2019-02-11 02:41:35 +01:00
SanskritFritz
9e7f024abf Option arguments for zsh tab completion 2019-02-10 20:27:04 +01:00
SanskritFritz
8017a8ba18 More complete shell completions for borg mount -o 2019-02-10 20:25:39 +01:00
SanskritFritz
071febdd68 New shell completions for borg 1.1.9 2019-02-08 14:27:44 +01:00
SanskritFritz
1383459a08 Added shell completions for borg help 2019-02-08 13:00:54 +01:00
Thomas Waldmann
630909df38 update release workflow using twine (docs, scripts), see #4213 2019-02-01 23:49:46 +01:00
Thomas Waldmann
78c6d21a08 flake8: fix F841
(cherry picked from commit 10cdadb2f8)
2018-11-04 19:58:17 +01:00
SanskritFritz
1db54b2c0d Shell completions reflect latest changes
(cherry picked from commit 46a5db7de8)
2018-06-23 22:33:09 +05:30
SanskritFritz
c446d8d802 Using spaces instead of tabs for indentation. 2018-03-01 23:25:43 +00:00
Viktor Bale
4eeb969157 Fixed tab completion problem where a space is always added after path even when it shouldn't 2018-03-01 23:21:50 +00:00
TW
d3a5484e2c
Merge pull request #3531 from SanskritFritz/1.1-maint
Updated zsh completions for borg 1.1.4
2018-01-17 14:03:04 +01:00
SanskritFritz
c23ee3dbea Updated zsh completions for borg 1.1.4 2018-01-10 22:30:06 +01:00
Gianfranco Costamagna
34fc988ef6 borg shell completion: remove shebang, useless because scripts are sourced 2018-01-07 18:53:57 +01:00
SanskritFritz
7fc29b58f8 zstd compression method 2017-12-23 10:48:02 +01:00
SanskritFritz
f229ec537b Updated bash/fish completions for borg 1.1.3 2017-12-22 00:37:55 +01:00
TW
32b8bf9db8
Merge pull request #3275 from SanskritFritz/1.1-maint
Add bash and fish shell auto-completions.
2017-11-04 19:10:26 +01:00
SanskritFritz
9325c4e9c1 Added bash and fish shell auto-completions. 2017-11-04 19:04:06 +01:00
Kevin
8df6aa5bfc
Added ZSH Shell Completion
Added ZSH Shell Completion from upstream. https://github.com/mrkmg/borgbackup-zsh-completion
2017-11-04 12:02:03 -04:00
Marian Beermann
783a5926d6 cache sync: introduce BORG_NO_PYTHON
textshell edition
2017-06-11 20:23:17 +02:00
enkore
d06ee5648c Merge pull request #2572 from enkore/f/fastcachesync
Improve cache sync speed
2017-06-10 17:12:51 +02:00
enkore
b06ceb6547 Revert "Start fakeroot faked in debug mode - fixes EISDIR issues" 2017-06-03 22:02:52 +02:00
Marian Beermann
c786a5941e CacheSynchronizer: redo as quasi FSM on top of unpack.h
This is a (relatively) simple state machine running in the
data callbacks invoked by the msgpack unpacking stack machine
(the same machine is used in msgpack-c and msgpack-python,
changes are minor and cosmetic, e.g. removal of msgpack_unpack_object,
removal of the C++ template thus porting to C and so on).

Compared to the previous solution this has multiple advantages
- msgpack-c dependency is removed
- this approach is faster and requires fewer and smaller
  memory allocations

Testability of the two solutions does not differ in my
professional opinion(tm).

Two other changes were rolled up; _hashindex.c can be compiled
without Python.h again (handy for fuzzing and testing);
a "small" bug in the cache sync was fixed which allocated too
large archive indices, leading to excessive archive.chunks.d
disk usage (that actually gave me an idea).
2017-06-02 17:43:15 +02:00
Marian Beermann
107e320a20 binaries: don't bundle libssl
ArchiverTestCaseBinary passes.
2017-06-02 13:00:28 +02:00
Lee Bousfield
3e24ed4035 Start fakeroot faked in debug mode 2017-05-04 00:18:17 -06:00
Marian Beermann
7cce650a38 json docs: rather complete error list 2017-02-28 12:46:26 +01:00
Marian Beermann
11318c94dc add paperkey.html to pyinstaller spec 2017-02-13 21:24:34 +01:00
Marian Beermann
05ce8e0ff9 Add test script for blake2b_256 against CPython 3.6 hashlib 2016-11-11 03:07:05 +01:00
Thomas Waldmann
b0cc4fd74a Merge branch '1.0-maint' into merge-1.0-maint 2016-10-13 19:10:04 +02:00
Thomas Waldmann
864333d686 pyinstaller: use a spec file to build borg.exe binary
also: exclude osxfuse dylib on Mac OS X
2016-10-02 00:43:45 +02:00
Thomas Waldmann
e1a97c76b0 glibc_check.py: improve / fix docstring 2016-07-31 14:20:06 +02:00
Thomas Waldmann
f0026d7237 add release helper scripts 2016-07-07 19:02:50 +02:00
Thomas Waldmann
e0f549a01d move the hash sizes script also to scripts/ 2016-07-05 23:14:46 +02:00
Thomas Waldmann
e023053472 add a glibc compat check script 2016-07-05 23:14:45 +02:00
Ronny Pfannschmidt
45e89add52 switch to entrypoints 2015-07-12 15:00:47 +02:00