pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/sysutils/py-borgbackup py-borgbackup: update to 1.2.2.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/b7ee787d4d2e
branches:  trunk
changeset: 383730:b7ee787d4d2e
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Mon Aug 22 11:10:12 2022 +0000

description:
py-borgbackup: update to 1.2.2.

Version 1.2.2 (2022-08-20)
--------------------------

Compatibility notes:

- matching of path patterns has been aligned with borg storing relative paths.
  Borg archives file paths without leading slashes. Previously, include/exclude
  patterns could contain leading slashes. You should check your patterns and
  remove leading slashes.
- dropped support / testing for older Pythons, minimum requirement is 3.8.
  In case your OS does not provide Python >= 3.8, consider using our binary,
  which does not need an external Python interpreter. Or continue using
  borg 1.1.x, which is still supported.
- freeing repository space only happens when "borg compact" is invoked.
- mount: the default for --numeric-ids is False now (same as borg extract)
- borg create --noatime is deprecated. Not storing atime is the default behaviour
  now (use --atime if you want to store the atime).
- --prefix is deprecated, use -a / --glob-archives, see #6806
- list: corrected mix-up of "isomtime" and "mtime" formats.
  Previously, "isomtime" was the default but produced a verbose human format,
  while "mtime" produced a ISO-8601-like format.
  The behaviours have been swapped (so "mtime" is human, "isomtime" is ISO-like),
  and the default is now "mtime".
  "isomtime" is now a real ISO-8601 format ("T" between date and time, not a space).
- create/recreate --list: file status for all files used to get announced *AFTER*
  the file (with borg < 1.2). Now, file status is announced *BEFORE* the file
  contents are processed. If the file status changes later (e.g. due to an error
  or a content change), the updated/final file status will be printed again.
- removed deprecated-since-long stuff (deprecated since):

  - command "borg change-passphrase" (2017-02), use "borg key ..."
  - option "--keep-tag-files" (2017-01), use "--keep-exclude-tags"
  - option "--list-format" (2017-10), use "--format"
  - option "--ignore-inode" (2017-09), use "--files-cache" w/o "inode"
  - option "--no-files-cache" (2017-09), use "--files-cache=disabled"
- removed BORG_HOSTNAME_IS_UNIQUE env var.
  to use borg you must implement one of these 2 scenarios:

  - 1) the combination of FQDN and result of uuid.getnode() must be unique
       and stable (this should be the case for almost everybody, except when
       having duplicate FQDN *and* MAC address or all-zero MAC address)
  - 2) if you are aware that 1) is not the case for you, you must set
       BORG_HOST_ID env var to something unique.
- exit with 128 + signal number, #5161.
  if you have scripts expecting rc == 2 for a signal exit, you need to update
  them to check for >= 128.

New features:

- prune/delete --checkpoint-interval=1800 and ctrl-c/SIGINT support, #6284

Fixes:

- SaveFile: use a custom mkstemp with mode support, #6933, #6400, #6786.
  This fixes umask/mode/ACL issues (and also "chmod not supported" exceptions
  seen in 1.2.1) of files updated using SaveFile, e.g. the repo config.
- hashindex_compact: fix eval order (check idx before use), #5899
- create --paths-from-(stdin|command): normalize paths, #6778
- secure_erase: avoid collateral damage, #6768.
  If a hardlink copy of a repo was made and a new repo config shall be saved,
  do NOT fill in random garbage before deleting the previous repo config,
  because that would damage the hardlink copy.
- list: fix {flags:<WIDTH>} formatting, #6081
- check: try harder to create the key, #5719
- misc commands: ctrl-c must not kill other subprocesses, #6912

  - borg create with a remote repo via ssh
  - borg create --content-from-command
  - borg create --paths-from-command
  - (de)compression filter process of import-tar / export-tar

Other changes:

- deprecate --prefix, use -a / --glob-archives, see #6806
- make setuptools happy ("package would be ignored"), #6874
- fix pyproject.toml to create a fixed _version.py file, compatible with both
  old and new setuptools_scm version, #6875
- automate asciinema screencasts
- CI: test on macOS 12 without fuse / fuse tests
  (too troublesome on github CI due to kernel extensions needed by macFUSE)
- tests: fix test_obfuscate byte accounting
- repository: add debug logging for issue #6687
- _chunker.c: fix warnings on macOS
- requirements.lock.txt: use the latest cython 0.29.32
- docs:

  - add info on man page installation, #6894
  - update archive_progress json description about "finished", #6570
  - json progress_percent: some values are optional, #4074
  - FAQ: full quota / full disk, #5960
  - correct shell syntax for installation using git

diffstat:

 sysutils/py-borgbackup/Makefile |  4 ++--
 sysutils/py-borgbackup/distinfo |  8 ++++----
 2 files changed, 6 insertions(+), 6 deletions(-)

diffs (25 lines):

diff -r f8383db02b04 -r b7ee787d4d2e sysutils/py-borgbackup/Makefile
--- a/sysutils/py-borgbackup/Makefile   Mon Aug 22 11:05:58 2022 +0000
+++ b/sysutils/py-borgbackup/Makefile   Mon Aug 22 11:10:12 2022 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.39 2022/07/03 12:49:52 wiz Exp $
+# $NetBSD: Makefile,v 1.40 2022/08/22 11:10:12 wiz Exp $
 
-DISTNAME=      borgbackup-1.2.1
+DISTNAME=      borgbackup-1.2.2
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
 CATEGORIES=    sysutils python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=b/borgbackup/}
diff -r f8383db02b04 -r b7ee787d4d2e sysutils/py-borgbackup/distinfo
--- a/sysutils/py-borgbackup/distinfo   Mon Aug 22 11:05:58 2022 +0000
+++ b/sysutils/py-borgbackup/distinfo   Mon Aug 22 11:10:12 2022 +0000
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.28 2022/07/03 12:49:52 wiz Exp $
+$NetBSD: distinfo,v 1.29 2022/08/22 11:10:12 wiz Exp $
 
-BLAKE2s (borgbackup-1.2.1.tar.gz) = 20b3e2b1308e19ea6454ee8408ec516278cee841dc7330c3ceaf0c2358b4d38b
-SHA512 (borgbackup-1.2.1.tar.gz) = 47e95960c9ce7715897834f400ee1a3dcbbbd9aa1e4b69dc93618ade24caf6c046b844c9f3edd10e090795d06bed0136fbd42d6e679f0639f221b83d82545d43
-Size (borgbackup-1.2.1.tar.gz) = 4017050 bytes
+BLAKE2s (borgbackup-1.2.2.tar.gz) = 1351473a7680ae96a524e54f03c3db1a422ffe9083587db3d7cbfdfdff7b4107
+SHA512 (borgbackup-1.2.2.tar.gz) = 9ba040dc659b123e09d1814ea158eb06bd802dbb4961e258910a586f88c5e92e8f32a72c1858f7a8d9d79c3e985b12cf0245436f46a474f627cfd70a59a7e29d
+Size (borgbackup-1.2.2.tar.gz) = 4042984 bytes



Home | Main Index | Thread Index | Old Index