pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/databases/py-barman
Module Name: pkgsrc
Committed By: adam
Date: Tue Apr 29 20:04:52 UTC 2025
Modified Files:
pkgsrc/databases/py-barman: Makefile distinfo
Log Message:
py-barman: updated to 3.13.3
3.13.3 (2025-04-24)
Bugfixes
- Fix local restore of block-level incremental backups
When performing a local restore of block-level incremental backups, Barman was
facing errors like the following:
```text
ERROR: Destination directory '/home/vagrant/restore/internal_no_get_wal' must be empty
```
That error was caused by a regression when the option `--staging-wals-directory`
was introduced in version 3.13.0. Along with it came a new check to ensure the WAL
destination directory was empty before proceeding. However, when restoring
block-level incremental backups locally, Barman was setting up the WAL destination
directory before performing this check, triggering the error above.
References: BAR-655.
- Fix regression when running `barman-cloud-backup` as a hook
Barman 3.13.2 changed the location of the `backup.info` metadata file as part
of the work delivered to fix issues in WORM environments.
However, those changes introduced a regression when using `barman-cloud-backup`
as a backup hook in the Barman server: the hook was not aware of the new location
of the metadata file.
This update fixes that issue, so `barman-cloud-backup` becomes aware of the new
folder structure, and properly locates the `backup.info` file, avoiding runtime
failures.
References: BAR-696.
- Avoid decompressing partial WAL files when custom compression is configured
Fixed an issue where Barman attempted to decompress partial WAL files when
custom compression was configured. Partial WAL files are never compressed,
so any attempt to decompress them is incorrect and caused errors when using
the `--partial` flag with `barman-wal-restore` or `barman get-wal`.
References: BAR-697.
- Fixed `barman-cloud-backup` not recycling temporary part files
This fixes a `barman-cloud-backup` problem where temporary part files were not
deleted after being uploaded to the cloud, leading to disk space exhaustion.
The issue happened only when using Python >= 3.12 and it was due to a change
in Python that removed the `delete` attribute of named-temporary file
objects, which Barman used to rely on when performing internal checks.
References: BAR-674.
- Fixed backup annotations usage in WORM environments
Barman previously stored backup annotation files, used to track operations like
`barman keep` and `barman delete`, inside the backup directory itself. These
annotations help determine whether a backup should be kept or marked for deletion.
However, in WORM environments, files in the backup directory cannot be modified or
deleted after a certain period, which caused issues with managing backup states.
This fix relocates annotation files to a dedicated metadata directory, as to
ensure that such operations function correctly in WORM environments.
References: BAR-663.
To generate a diff of this commit:
cvs rdiff -u -r1.26 -r1.27 pkgsrc/databases/py-barman/Makefile
cvs rdiff -u -r1.20 -r1.21 pkgsrc/databases/py-barman/distinfo
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/databases/py-barman/Makefile
diff -u pkgsrc/databases/py-barman/Makefile:1.26 pkgsrc/databases/py-barman/Makefile:1.27
--- pkgsrc/databases/py-barman/Makefile:1.26 Mon Apr 14 11:09:15 2025
+++ pkgsrc/databases/py-barman/Makefile Tue Apr 29 20:04:52 2025
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.26 2025/04/14 11:09:15 adam Exp $
+# $NetBSD: Makefile,v 1.27 2025/04/29 20:04:52 adam Exp $
-DISTNAME= barman-3.13.2
+DISTNAME= barman-3.13.3
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
CATEGORIES= databases python
MASTER_SITES= ${MASTER_SITE_PYPI:=b/barman/}
Index: pkgsrc/databases/py-barman/distinfo
diff -u pkgsrc/databases/py-barman/distinfo:1.20 pkgsrc/databases/py-barman/distinfo:1.21
--- pkgsrc/databases/py-barman/distinfo:1.20 Mon Apr 14 11:09:15 2025
+++ pkgsrc/databases/py-barman/distinfo Tue Apr 29 20:04:52 2025
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.20 2025/04/14 11:09:15 adam Exp $
+$NetBSD: distinfo,v 1.21 2025/04/29 20:04:52 adam Exp $
-BLAKE2s (barman-3.13.2.tar.gz) = 44370fd38f815cb83edb571f7d9c1b09aac125414306687137705ff18830017f
-SHA512 (barman-3.13.2.tar.gz) = ff3589b535548654281f602a2fbf84979fbe9ad808d5b186b451f56118ca63dd8243d4e49b6c0687c2502aaf17cfb583295241fba7fe52849dc93598242feed4
-Size (barman-3.13.2.tar.gz) = 418767 bytes
+BLAKE2s (barman-3.13.3.tar.gz) = d897a8713301f2405dad0807860ab0d6aaebe5ebbbfd33b1dd4d1b9f14708512
+SHA512 (barman-3.13.3.tar.gz) = 80ffd50f99dd7234dc5ceabc72a0eea2271b87cd0c137597895a2db3f49f075eec9bab729dec836ed458203b40bfb5d2c725bdc31d44fbdfd06a0d1dee912d08
+Size (barman-3.13.3.tar.gz) = 419018 bytes
SHA1 (patch-barman_utils.py) = 0f93835a814bdd41c999dcebb34719312a74bd94
Home |
Main Index |
Thread Index |
Old Index