Commit Graph

58 Commits

Author SHA1 Message Date
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
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
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