-
-
Notifications
You must be signed in to change notification settings - Fork 742
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
borg2: hints for maintainers #6458
Comments
https://github.com/borgbackup/borg/pull/6459/files < i used some workarounds there to make some stuff working. The |
This is needed for future Borgbackup versions, as described in borgbackup/borg#6458. libdeflate is a library for fast, whole-buffer DEFLATE-based compression and decompression. The supported formats are: - DEFLATE (raw) - zlib (a.k.a. DEFLATE with a zlib wrapper) - gzip (a.k.a. DEFLATE with a gzip wrapper) libdeflate is heavily optimized. It is significantly faster than the zlib library, both for compression and decompression, and especially on x86 processors. In addition, libdeflate provides optional high compression modes that provide a better compression ratio than the zlib's "level 9". libdeflate itself is a library, but the following command-line programs which use this library are also provided: * gzip (or gunzip), a program which mostly behaves like the standard equivalent, except that it does not yet have good streaming support and therefore does not yet support very large files * benchmark, a program for benchmarking in-memory compression and decompression
Note: I'll clean up a bit in the posts above removing all references to libdeflate (which was removed again by #6834 as borg2 will make much less use of crc32 than borg1 did, so it isn't worth it to have libdeflate as an addtl. requirement). |
I wonder there should be some recommendations about packing Borg 1 and Borg 2 separately. Migrating from one to the other will take some time for many people as server need to be updated first (while Borg 1 is still in active use) and then all the clients. For clients the situation gets a bit more involved should they push to multiple repositories where one may not want to update both servers at once. All in all, having both, Borg 1 and Borg 2, available at the same time would be very helpful to users. So, perhaps there should be a borg1 and borg2 package with separate binaries. A borg metapackage that depends on one of them could be added too and, something like update-alternatives (on Debian) could be provided to have /usr/bin/borg symlinked to borg1 or borg2. |
Guess the best idea yet was:
|
As #7300 is merged now (and is in 2.0.0b5), borg will require This is because it needs 3.0.0 to get the macOS directories right. For Linux, a relatively recent platformdirs 2.x.x would also work. The See also: https://github.com/borgbackup/borg/pull/7396/files |
#8332 brought some big changes, including that borg now requires the Since borgstore 0.0.4, it has a rclone backend that requires |
borgstore offers an sftp backend based on paramiko. paramiko depends on "cryptography" package which has rust as a build dependency. i noticed that this can make troubles on some platforms and made the sftp backend optional:
|
New since 2.0.0b13: borg2 now depends on |
Some hints for Linux / BSD / other OS package maintainers:
libs
additionally to openssl, libacl, libattr, lz4 and zstd, we now also need:
some of that code was bundled into previous borg versions, but we just unbundled it for the future (so it won't work any more for borg >= 2.0 if you do not have a working library).
make sure ALL libs have a
LIBNAME.pc
file forpkg-config
because we use that for discovery.the requirements are documented in our docs / in setup.py.
#6593 removes support for libressl, borg requires openssl >= 1.1.1 now.
python packages
we'll additionally need:
python 3.9
we'll require that as a minimum for borg >= 2.0.
dist specific hints
freebsd13: no .pc file for openssl
freebsd13: fuse issue #6871
openindiana: #6797
The text was updated successfully, but these errors were encountered: