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:           Fri Feb 16 20:30:15 UTC 2024

Modified Files:
        pkgsrc/databases/py-barman: Makefile PLIST distinfo

Log Message:
py-barman: updated to 3.10.0

Version 3.10.0 - 24 January 2024

- Limit the average bandwidth used by `barman-cloud-backup` when backing
  up to either AWS S3 or Azure Blob Storage according to the value set by
  a new CLI option `--max-bandwidth`.

- Add the new configuration option `lock_directory_cleanup`
  That enables cron to automatically clean up the barman_lock_directory
  from unused lock files.

- Add support for a new type of configuration called `model`.
  The model acts as a set of overrides for configuration options
  for a given Barman server.

- Add a new barman command `barman config-update` that allows the creation
  and the update of configurations using JSON

- Bug fixes:

    - Fix a bug that caused `--min-chunk-size` to be ignored when using
      barman-cloud-backup as hook script in Barman.

Version 3.9.0 - 3 October 2023

- Allow `barman switch-wal --force` to be run against PG>=14 if the
  user has the `pg_checkpoint` role (thanks to toydarian for this patch).

- Log the current check at `info` level when a check timeout occurs.

- The minimum size of an upload chunk when using `barman-cloud-backup`
  with either S3 or Azure Blob Storage can now be specified using the
  `--min-chunk-size` option.

- `backup_compression = none` is supported when using `pg_basebackup`.

- For PostgreSQL 15 and later: the allowed `backup_compression_level`
  values for `zstd` and `lz4` have been updated to match those allowed by
  `pg_basebackup`.

- For PostgreSQL versions earlier than 15: `backup_compression_level = 0`
  can now be used with `backup_compression = gzip`.

- Bug fixes:

    - Fix `barman recover` on platforms where Multiprocessing uses spawn by
      default when starting new processes.

Version 3.8.0 - 31 August 2023

- Clarify package installation. barman is packaged with default python version
  for each operating system.

- The `minimum-redundancy` option is added to `barman-cloud-backup-delete`.
  It allows to set the minimum number of backups that should always be available.

- Add a new `primary_checkpoint_timeout` configuration option. Allows define
  the amount of seconds that Barman will wait at the end of a backup if no
  new WAL files are produced, before forcing a checkpoint on the primary server.

- Bug fixes:

    - Fix race condition in barman retention policies application. Backup
      deletions will now raise a warning if another deletion is in progress
      for the requested backup.

    - Fix `barman-cloud-backup-show` man page installation.


To generate a diff of this commit:
cvs rdiff -u -r1.19 -r1.20 pkgsrc/databases/py-barman/Makefile
cvs rdiff -u -r1.6 -r1.7 pkgsrc/databases/py-barman/PLIST
cvs rdiff -u -r1.14 -r1.15 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.19 pkgsrc/databases/py-barman/Makefile:1.20
--- pkgsrc/databases/py-barman/Makefile:1.19    Sun Sep 11 17:08:49 2022
+++ pkgsrc/databases/py-barman/Makefile Fri Feb 16 20:30:15 2024
@@ -1,17 +1,18 @@
-# $NetBSD: Makefile,v 1.19 2022/09/11 17:08:49 wiz Exp $
+# $NetBSD: Makefile,v 1.20 2024/02/16 20:30:15 adam Exp $
 
-DISTNAME=      barman-2.19
+DISTNAME=      barman-3.10.0
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
 CATEGORIES=    databases python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=b/barman/}
 
 MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
-HOMEPAGE=      https://www.pgbarman.org/
+HOMEPAGE=      https://pgbarman.org/
 COMMENT=       Backup and Recovery Manager for PostgreSQL
 LICENSE=       gnu-gpl-v3
 
+TOOL_DEPENDS+= ${PYPKGPREFIX}-setuptools-[0-9]*:../../devel/py-setuptools
+TOOL_DEPENDS+= ${PYPKGPREFIX}-wheel-[0-9]*:../../devel/py-wheel
 DEPENDS+=      ${PYPKGPREFIX}-argcomplete-[0-9]*:../../devel/py-argcomplete
-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
 DEPENDS+=      rsync-[0-9]*:../../net/rsync
@@ -22,8 +23,6 @@ PYTHON_SELF_CONFLICT= yes
 
 PYTHON_VERSIONS_INCOMPATIBLE=  27
 
-USE_PKG_RESOURCES=     yes
-
 CONF_FILES+=           share/examples/barman/barman.conf \
                        ${PKG_SYSCONFDIR}/barman.conf
 INSTALLATION_DIRS+=    share/examples/barman
@@ -58,5 +57,5 @@ post-install:
        ${INSTALL_DATA} ${WRKSRC}/doc/barman.conf \
                ${DESTDIR}${PREFIX}/share/examples/barman/barman.conf
 
-.include "../../lang/python/egg.mk"
+.include "../../lang/python/wheel.mk"
 .include "../../mk/bsd.pkg.mk"

Index: pkgsrc/databases/py-barman/PLIST
diff -u pkgsrc/databases/py-barman/PLIST:1.6 pkgsrc/databases/py-barman/PLIST:1.7
--- pkgsrc/databases/py-barman/PLIST:1.6        Wed May 11 10:23:11 2022
+++ pkgsrc/databases/py-barman/PLIST    Fri Feb 16 20:30:15 2024
@@ -1,21 +1,23 @@
-@comment $NetBSD: PLIST,v 1.6 2022/05/11 10:23:11 adam Exp $
+@comment $NetBSD: PLIST,v 1.7 2024/02/16 20:30:15 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-backup-show
 bin/barman-cloud-check-wal-archive
 bin/barman-cloud-restore
 bin/barman-cloud-wal-archive
 bin/barman-cloud-wal-restore
 bin/barman-wal-archive
 bin/barman-wal-restore
-${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
-${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
-${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
-${PYSITELIB}/${EGG_INFODIR}/entry_points.txt
-${PYSITELIB}/${EGG_INFODIR}/requires.txt
-${PYSITELIB}/${EGG_INFODIR}/top_level.txt
+${PYSITELIB}/${WHEEL_INFODIR}/AUTHORS
+${PYSITELIB}/${WHEEL_INFODIR}/LICENSE
+${PYSITELIB}/${WHEEL_INFODIR}/METADATA
+${PYSITELIB}/${WHEEL_INFODIR}/RECORD
+${PYSITELIB}/${WHEEL_INFODIR}/WHEEL
+${PYSITELIB}/${WHEEL_INFODIR}/entry_points.txt
+${PYSITELIB}/${WHEEL_INFODIR}/top_level.txt
 ${PYSITELIB}/barman/__init__.py
 ${PYSITELIB}/barman/__init__.pyc
 ${PYSITELIB}/barman/__init__.pyo
@@ -49,6 +51,9 @@ ${PYSITELIB}/barman/clients/cloud_backup
 ${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_backup_show.py
+${PYSITELIB}/barman/clients/cloud_backup_show.pyc
+${PYSITELIB}/barman/clients/cloud_backup_show.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
@@ -169,6 +174,7 @@ ${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-show.1
 man/man1/barman-cloud-backup.1
 man/man1/barman-cloud-check-wal-archive.1
 man/man1/barman-cloud-restore.1

Index: pkgsrc/databases/py-barman/distinfo
diff -u pkgsrc/databases/py-barman/distinfo:1.14 pkgsrc/databases/py-barman/distinfo:1.15
--- pkgsrc/databases/py-barman/distinfo:1.14    Wed May 11 10:23:11 2022
+++ pkgsrc/databases/py-barman/distinfo Fri Feb 16 20:30:15 2024
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.14 2022/05/11 10:23:11 adam Exp $
+$NetBSD: distinfo,v 1.15 2024/02/16 20:30:15 adam Exp $
 
-BLAKE2s (barman-2.19.tar.gz) = f49762d27ab46503049338e16dcca253be7b4cd5e969d9c97aa4a470587c003b
-SHA512 (barman-2.19.tar.gz) = 39dacf6e4f2b3262cfce73c0cc38026412494c4469c745e164aa3b4ae188c1f4b741e217f9fc50a101d71d8a9aa9546a1d106b69f1c514c83f80aa00addf7e0a
-Size (barman-2.19.tar.gz) = 1269959 bytes
+BLAKE2s (barman-3.10.0.tar.gz) = 1a283fda3dd7b4f6b3c18e40dde08e92b655ae5a18e6ac57a7e611b2975aa7ff
+SHA512 (barman-3.10.0.tar.gz) = 84bdd314ee336b1e0863f42be071927da6d333e9a31655a69444c9922310d78f03d1a2a64a36565dc4f3469a33b0d2286ece796aa22b760e97e0610ce51aed25
+Size (barman-3.10.0.tar.gz) = 1613799 bytes
 SHA1 (patch-barman_utils.py) = 0f93835a814bdd41c999dcebb34719312a74bd94



Home | Main Index | Thread Index | Old Index