Commit graph

50 commits

Author SHA1 Message Date
Thomas Waldmann
3120f9cd1c
fixed typos and grammar (AI)
this was done by Junie AI.
2025-09-23 14:56:23 +02:00
Thomas Waldmann
a1ba5c3c81
fish: fix archive name completion 2025-06-04 01:01:08 +02:00
Thomas Waldmann
a4761f9158
zsh: no barchive, add --repo 2025-05-20 21:28:46 +02:00
Thomas Waldmann
7e78aaf04d
zsh fixes, remove repo-list caching 2025-05-20 21:08:09 +02:00
Thomas Waldmann
ca87c60565
minor bash completion fixes 2025-05-20 21:05:38 +02:00
Thomas Waldmann
3196f490f3
zsh: add new commands and options to zsh completions 2025-05-19 21:03:11 +02:00
Thomas Waldmann
9116533ec3
fish: add new commands and options to fish completions 2025-05-19 20:30:52 +02:00
Thomas Waldmann
15d3408360
bash: add new commands and options to bash completions
Updated bash completions to include new commands such as `analyze`, `debug`, `repo-space`, `tag`, and `undelete`, along with their respective options. Fixed a typo in the `--upgrader` completions and improved completion handling for various commands.
2025-05-19 20:30:49 +02:00
Thomas Waldmann
9e6d90754e
remove remainders of append-only support
Some features like append-only repositories rely on a server-side component
that enforces them (because that shall only be controllable server-side,
not client-side).

So, that can only work, if such a server-side component exists, which is the
case for borg 1.x ssh: repositories (but not for borg 1.x non-ssh: repositories).

For borg2, we currently have:
- fs repos
- sftp: repos
- rclone: repos (enabling many different cloud providers)
- s3/b3: repos
- ssh: repos using client/server rpc code similar as in borg 1.x

So, only for the last method we have a borg server-side process that could enforce some features, but not for any of the other repo types.

For append-only the current idea is that this should not be done within borg,
but solved by a missing repo object delete permission enforced by the storage.

borg create could then use credentials that miss permission to delete,
while borg compact would use credentials that include permission to delete.
2025-04-28 18:55:15 +02:00
Thomas Waldmann
48b39d878f
remove remainders of quota support
Some features like repository quotas rely on a server-side component
that enforces them (because that shall only be controllable server-side,
not client-side).

So, that can only work, if such a server-side component exists, which is the
case for borg 1.x ssh: repositories (but not for borg 1.x non-ssh: repositories).

For borg2, we currently have:
- fs repos
- sftp: repos
- rclone: repos (enabling many different cloud providers)
- s3/b3: repos
- ssh: repos using client/server rpc code similar as in borg 1.x

So, only for the last method we have a borg server-side process that could enforce some features, but not for any of the other repo types.

For quotas the current idea is that this should not be done within borg,
but enforced by a storage specific quota implementation (like fs quota,
or quota of the cloud storage provider). borg could offer information
about overall repo space used, but would not enforce quotas within borg.
2025-04-28 16:57:30 +02:00
Thomas Waldmann
fdc882230e
shell completions: adapt zsh for borg 2.0.0b13
I am not familiar with zsh completions, so I did only the easy stuff.

A lot of the more complex stuff is likely still broken, PR's welcome!
2024-11-05 17:16:38 +01:00
Martin Richtarsky
411f6f3222 docs: Remove --bypass-lock 2024-10-22 08:44:56 +02: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
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
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
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
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
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
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
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
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
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
Gianfranco Costamagna
2978aad55c borg shell completion: remove shebang, useless because scripts are sourced 2018-01-04 14:33:08 +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
Kevin
0e67f1b6f3
Added ZSH Shell Completion Script
Added directly from upstream source at https://github.com/mrkmg/borgbackup-zsh-completion
2017-11-04 11:54:21 -04:00
SanskritFritz
d50f0ec90f Added bash and fish shell auto-completions. 2017-11-04 15:56:53 +01:00