pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/databases/py-barman py-barman: updated to 2.19
details: https://anonhg.NetBSD.org/pkgsrc/rev/8b708a9a8c2b
branches: trunk
changeset: 379073:8b708a9a8c2b
user: adam <adam%pkgsrc.org@localhost>
date: Wed May 11 10:23:11 2022 +0000
description:
py-barman: updated to 2.19
Version 2.19 - 9 March 2022
- Change `barman diagnose` output date format to ISO8601.
- Add Google Cloud Storage (GCS) support to barman cloud.
- Support `current` and `latest` recovery targets for the `--target-tli`
option of `barman recover`.
- Add documentation for installation on SLES.
- Bug fixes:
- `barman-wal-archive --test` now returns a non-zero exit code when
an error occurs.
- Fix `barman-cloud-check-wal-archive` behaviour when `-t` option is
used so that it exits after connectivity test.
- `barman recover` now continues when `--no-get-wal` is used and
`"get-wal"` is not set in `recovery_options`.
- Fix `barman show-servers --format=json ${server}` output for
inactive server.
- Check for presence of `barman_home` in configuration file.
- Passive barman servers will no longer store two copies of the
tablespace data when syncing backups taken with
`backup_method = postgres`.
- We thank richyen for his contributions to this release.
Version 2.18 - 21 January 2022
- Add snappy compression algorithm support in barman cloud (requires the
optional python-snappy dependency).
- Allow Azure client concurrency parameters to be set when uploading
WALs with barman-cloud-wal-archive.
- Add `--tags` option in barman cloud so that backup files and archived
WALs can be tagged in cloud storage (aws and azure).
- Update the barman cloud exit status codes so that there is a dedicated
code (2) for connectivity errors.
- Add the commands `barman verify-backup` and `barman generate-manifest`
to check if a backup is valid.
- Add support for Azure Managed Identity auth in barman cloud which can
be enabled with the `--credential` option.
- Bug fixes:
- Change `barman-cloud-check-wal-archive` behavior when bucket does
not exist.
- Ensure `list-files` output is always sorted regardless of the
underlying filesystem.
- Man pages for barman-cloud-backup-keep, barman-cloud-backup-delete
and barman-cloud-check-wal-archive added to Python packaging.
- We thank richyen and stratakis for their contributions to this
release.
Version 2.17 - 1 December 2021
- Bug fixes:
- Resolves a performance regression introduced in version 2.14 which
increased copy times for `barman backup` or `barman recover` commands
when using the `--jobs` flag.
- Ignore rsync partial transfer errors for `sender` processes so that
such errors do not cause the backup to fail (thanks to barthisrael).
Version 2.16 - 17 November 2021
- Add the commands `barman-check-wal-archive` and `barman-cloud-check-wal-archive`
to validate if a proposed archive location is safe to use for a new PostgreSQL
server.
- Allow Barman to identify WAL that's already compressed using a custom
compression scheme to avoid compressing it again.
- Add `last_backup_minimum_size` and `last_wal_maximum_age` options to
`barman check`.
- Bug fixes:
- Use argparse for command line parsing instead of the unmaintained
argh module.
- Make timezones consistent for `begin_time` and `end_time`.
- We thank chtitux, George Hansper, stratakis, Thoro, and vrms for their
contributions to this release.
Version 2.15 - 12 October 2021
- Add plural forms for the `list-backup`, `list-server` and
`show-server` commands which are now `list-backups`, `list-servers`
and `show-servers`. The singular forms are retained for backward
compatibility.
- Add the `last-failed` backup shortcut which references the newest
failed backup in the catalog so that you can do:
- `barman delete <SERVER> last-failed`
- Bug fixes:
- Tablespaces will no longer be omitted from backups of EPAS
versions 9.6 and 10 due to an issue detecting the correct version
string on older versions of EPAS.
Version 2.14 - 22 September 2021
- Add the `barman-cloud-backup-delete` command which allows backups in
cloud storage to be deleted by specifying either a backup ID or a
retention policy.
- Allow backups to be retained beyond any retention policies in force by
introducing the ability to tag existing backups as archival backups
using `barman keep` and `barman-cloud-backup-keep`.
- Allow the use of SAS authentication tokens created at the restricted
blob container level (instead of the wider storage account level) for
Azure blob storage
- Significantly speed up `barman restore` into an empty directory for
backups that contain hundreds of thousands of files.
- Bug fixes:
- The backup privileges check will no longer fail if the user lacks
"userepl" permissions and will return better error messages if any
required permissions are missing
Version 2.13 - 26 July 2021
- Add Azure blob storage support to barman-cloud
- Support tablespace remapping in barman-cloud-restore via
`--tablespace name:location`
- Allow barman-cloud-backup and barman-cloud-wal-archive to run as
Barman hook scripts, to allow data to be relayed to cloud storage
from the Barman server
- Bug fixes:
- Stop backups failing due to idle_in_transaction_session_timeout
(https://github.com/EnterpriseDB/barman/issues/333)
- Fix a race condition between backup and archive-wal in updating
xlog.db entries
- Handle PGDATA being a symlink in barman-cloud-backup, which led to
"seeking backwards is not allowed" errors on restore
- Recreate pg_wal on restore if the original was a symlink
- Recreate pg_tblspc symlinks for tablespaces on restore
- Make barman-cloud-backup-list skip backups it cannot read, e.g.,
because they are in Glacier storage
- Add `-d database` option to barman-cloud-backup to specify which
database to connect to initially
- Fix "Backup failed uploading data" errors from barman-cloud-backup
on Python 3.8 and above, caused by attempting to pickle the boto3
client
- Correctly enable server-side encryption in S3 for buckets that do
not have encryption enabled by default.
In Barman 2.12, barman-cloud-backup's `--encryption` option did
not correctly enable encryption for the contents of the backup if
the backup was stored in an S3 bucket that did not have encryption
enabled. If this is the case for you, please consider deleting
your old backups and taking new backups with Barman 2.13.
If your S3 buckets already have encryption enabled by default
(which we recommend), this does not affect you.
Version 2.12.1 - 30 June 2021
- Bug fixes:
- Allow specifying target-tli with other target-* recovery options
- Fix incorrect NAME in barman-cloud-backup-list manpage
- Don't raise an error if SIGALRM is ignored
- Fetch wal_keep_size, not wal_keep_segments, from Postgres 13
Version 2.12 - 5 Nov 2020
- Introduce a new backup_method option called local-rsync which
targets those cases where Barman is installed on the same server
where PostgreSQL is and directly uses rsync to take base backups,
bypassing the SSH layer.
- Bug fixes:
- Avoid corrupting boto connection in worker processes
- Avoid connection attempts to PostgreSQL during tests
diffstat:
databases/py-barman/Makefile | 6 +---
databases/py-barman/PLIST | 53 +++++++++++++++++++++++++++++++++++++++++++-
databases/py-barman/distinfo | 8 +++---
3 files changed, 58 insertions(+), 9 deletions(-)
diffs (145 lines):
diff -r 52cf672b430c -r 8b708a9a8c2b databases/py-barman/Makefile
--- a/databases/py-barman/Makefile Wed May 11 10:23:02 2022 +0000
+++ b/databases/py-barman/Makefile Wed May 11 10:23:11 2022 +0000
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.17 2022/01/05 15:40:59 wiz Exp $
+# $NetBSD: Makefile,v 1.18 2022/05/11 10:23:11 adam Exp $
-DISTNAME= barman-2.11
+DISTNAME= barman-2.19
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
-PKGREVISION= 2
CATEGORIES= databases python
MASTER_SITES= ${MASTER_SITE_PYPI:=b/barman/}
@@ -12,7 +11,6 @@
LICENSE= gnu-gpl-v3
DEPENDS+= ${PYPKGPREFIX}-argcomplete-[0-9]*:../../devel/py-argcomplete
-DEPENDS+= ${PYPKGPREFIX}-argh>=0.21.2:../../devel/py-argh
DEPENDS+= ${PYPKGPREFIX}-boto3-[0-9]*:../../net/py-boto3
DEPENDS+= ${PYPKGPREFIX}-dateutil-[0-9]*:../../time/py-dateutil
DEPENDS+= ${PYPKGPREFIX}-psycopg2>=2.4.2:../../databases/py-psycopg2
diff -r 52cf672b430c -r 8b708a9a8c2b databases/py-barman/PLIST
--- a/databases/py-barman/PLIST Wed May 11 10:23:02 2022 +0000
+++ b/databases/py-barman/PLIST Wed May 11 10:23:11 2022 +0000
@@ -1,7 +1,10 @@
-@comment $NetBSD: PLIST,v 1.5 2020/08/26 10:20:19 jperkin Exp $
+@comment $NetBSD: PLIST,v 1.6 2022/05/11 10:23:11 adam Exp $
bin/barman
bin/barman-cloud-backup
+bin/barman-cloud-backup-delete
+bin/barman-cloud-backup-keep
bin/barman-cloud-backup-list
+bin/barman-cloud-check-wal-archive
bin/barman-cloud-restore
bin/barman-cloud-wal-archive
bin/barman-cloud-wal-restore
@@ -16,12 +19,18 @@
${PYSITELIB}/barman/__init__.py
${PYSITELIB}/barman/__init__.pyc
${PYSITELIB}/barman/__init__.pyo
+${PYSITELIB}/barman/annotations.py
+${PYSITELIB}/barman/annotations.pyc
+${PYSITELIB}/barman/annotations.pyo
${PYSITELIB}/barman/backup.py
${PYSITELIB}/barman/backup.pyc
${PYSITELIB}/barman/backup.pyo
${PYSITELIB}/barman/backup_executor.py
${PYSITELIB}/barman/backup_executor.pyc
${PYSITELIB}/barman/backup_executor.pyo
+${PYSITELIB}/barman/backup_manifest.py
+${PYSITELIB}/barman/backup_manifest.pyc
+${PYSITELIB}/barman/backup_manifest.pyo
${PYSITELIB}/barman/cli.py
${PYSITELIB}/barman/cli.pyc
${PYSITELIB}/barman/cli.pyo
@@ -31,9 +40,24 @@
${PYSITELIB}/barman/clients/cloud_backup.py
${PYSITELIB}/barman/clients/cloud_backup.pyc
${PYSITELIB}/barman/clients/cloud_backup.pyo
+${PYSITELIB}/barman/clients/cloud_backup_delete.py
+${PYSITELIB}/barman/clients/cloud_backup_delete.pyc
+${PYSITELIB}/barman/clients/cloud_backup_delete.pyo
+${PYSITELIB}/barman/clients/cloud_backup_keep.py
+${PYSITELIB}/barman/clients/cloud_backup_keep.pyc
+${PYSITELIB}/barman/clients/cloud_backup_keep.pyo
${PYSITELIB}/barman/clients/cloud_backup_list.py
${PYSITELIB}/barman/clients/cloud_backup_list.pyc
${PYSITELIB}/barman/clients/cloud_backup_list.pyo
+${PYSITELIB}/barman/clients/cloud_check_wal_archive.py
+${PYSITELIB}/barman/clients/cloud_check_wal_archive.pyc
+${PYSITELIB}/barman/clients/cloud_check_wal_archive.pyo
+${PYSITELIB}/barman/clients/cloud_cli.py
+${PYSITELIB}/barman/clients/cloud_cli.pyc
+${PYSITELIB}/barman/clients/cloud_cli.pyo
+${PYSITELIB}/barman/clients/cloud_compression.py
+${PYSITELIB}/barman/clients/cloud_compression.pyc
+${PYSITELIB}/barman/clients/cloud_compression.pyo
${PYSITELIB}/barman/clients/cloud_restore.py
${PYSITELIB}/barman/clients/cloud_restore.pyc
${PYSITELIB}/barman/clients/cloud_restore.pyo
@@ -52,6 +76,18 @@
${PYSITELIB}/barman/cloud.py
${PYSITELIB}/barman/cloud.pyc
${PYSITELIB}/barman/cloud.pyo
+${PYSITELIB}/barman/cloud_providers/__init__.py
+${PYSITELIB}/barman/cloud_providers/__init__.pyc
+${PYSITELIB}/barman/cloud_providers/__init__.pyo
+${PYSITELIB}/barman/cloud_providers/aws_s3.py
+${PYSITELIB}/barman/cloud_providers/aws_s3.pyc
+${PYSITELIB}/barman/cloud_providers/aws_s3.pyo
+${PYSITELIB}/barman/cloud_providers/azure_blob_storage.py
+${PYSITELIB}/barman/cloud_providers/azure_blob_storage.pyc
+${PYSITELIB}/barman/cloud_providers/azure_blob_storage.pyo
+${PYSITELIB}/barman/cloud_providers/google_cloud_storage.py
+${PYSITELIB}/barman/cloud_providers/google_cloud_storage.pyc
+${PYSITELIB}/barman/cloud_providers/google_cloud_storage.pyo
${PYSITELIB}/barman/command_wrappers.py
${PYSITELIB}/barman/command_wrappers.pyc
${PYSITELIB}/barman/command_wrappers.pyo
@@ -106,6 +142,18 @@
${PYSITELIB}/barman/server.py
${PYSITELIB}/barman/server.pyc
${PYSITELIB}/barman/server.pyo
+${PYSITELIB}/barman/storage/__init__.py
+${PYSITELIB}/barman/storage/__init__.pyc
+${PYSITELIB}/barman/storage/__init__.pyo
+${PYSITELIB}/barman/storage/file_manager.py
+${PYSITELIB}/barman/storage/file_manager.pyc
+${PYSITELIB}/barman/storage/file_manager.pyo
+${PYSITELIB}/barman/storage/file_stats.py
+${PYSITELIB}/barman/storage/file_stats.pyc
+${PYSITELIB}/barman/storage/file_stats.pyo
+${PYSITELIB}/barman/storage/local_file_manager.py
+${PYSITELIB}/barman/storage/local_file_manager.pyc
+${PYSITELIB}/barman/storage/local_file_manager.pyo
${PYSITELIB}/barman/utils.py
${PYSITELIB}/barman/utils.pyc
${PYSITELIB}/barman/utils.pyo
@@ -118,8 +166,11 @@
${PYSITELIB}/barman/xlog.py
${PYSITELIB}/barman/xlog.pyc
${PYSITELIB}/barman/xlog.pyo
+man/man1/barman-cloud-backup-delete.1
+man/man1/barman-cloud-backup-keep.1
man/man1/barman-cloud-backup-list.1
man/man1/barman-cloud-backup.1
+man/man1/barman-cloud-check-wal-archive.1
man/man1/barman-cloud-restore.1
man/man1/barman-cloud-wal-archive.1
man/man1/barman-cloud-wal-restore.1
diff -r 52cf672b430c -r 8b708a9a8c2b databases/py-barman/distinfo
--- a/databases/py-barman/distinfo Wed May 11 10:23:02 2022 +0000
+++ b/databases/py-barman/distinfo Wed May 11 10:23:11 2022 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.13 2021/10/26 10:09:49 nia Exp $
+$NetBSD: distinfo,v 1.14 2022/05/11 10:23:11 adam Exp $
-BLAKE2s (barman-2.11.tar.gz) = d4e2771e79f176414aa866d64b3428ea5dc37dcc4d436fbafa449926b0f669a3
-SHA512 (barman-2.11.tar.gz) = 19862e7a50e45ec48c2e6e12aa18cdc262e5114d243d24f5b9229347a6fd9e3fe79a10a2c4a9ac14fe4c283c59c992b3b8a5409371a5b780b8c5ab20eec1ee96
-Size (barman-2.11.tar.gz) = 1260434 bytes
+BLAKE2s (barman-2.19.tar.gz) = f49762d27ab46503049338e16dcca253be7b4cd5e969d9c97aa4a470587c003b
+SHA512 (barman-2.19.tar.gz) = 39dacf6e4f2b3262cfce73c0cc38026412494c4469c745e164aa3b4ae188c1f4b741e217f9fc50a101d71d8a9aa9546a1d106b69f1c514c83f80aa00addf7e0a
+Size (barman-2.19.tar.gz) = 1269959 bytes
SHA1 (patch-barman_utils.py) = 0f93835a814bdd41c999dcebb34719312a74bd94
Home |
Main Index |
Thread Index |
Old Index