pkgsrc-WIP-changes archive

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

bup-snapshot: Update to 0.34.1



Module Name:	pkgsrc-wip
Committed By:	Greg Troxel <gdt%lexort.com@localhost>
Pushed By:	gdt
Date:		Fri Nov 20 19:50:44 2026 -0500
Changeset:	2024edb5e2972cdbedc7f94dc81ccfc8b6da112a

Modified Files:
	bup-snapshot/COMMIT_MSG
	bup-snapshot/Makefile
	bup-snapshot/PLIST
	bup-snapshot/distinfo

Log Message:
bup-snapshot: Update to 0.34.1

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=2024edb5e2972cdbedc7f94dc81ccfc8b6da112a

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 bup-snapshot/COMMIT_MSG | 81 +++++++++++++++++++++++++++++++++++++++++++++++--
 bup-snapshot/Makefile   |  8 ++---
 bup-snapshot/PLIST      |  1 +
 bup-snapshot/distinfo   | 12 ++++----
 4 files changed, 90 insertions(+), 12 deletions(-)

diffs:
diff --git a/bup-snapshot/COMMIT_MSG b/bup-snapshot/COMMIT_MSG
index b461c2a7bc..f185200105 100644
--- a/bup-snapshot/COMMIT_MSG
+++ b/bup-snapshot/COMMIT_MSG
@@ -1,6 +1,83 @@
-sysutils/bup: Update to 0.34
+sysutils/bup: Update to 0.34.1
 
-Untrimmed upstream NEWS:
+Notable changes in 0.34.1 since 0.34
+====================================
+
+May require attention
+---------------------
+
+* Previously, `bup get` incorrectly handled invocations that requested
+  a transfer that depended on a git reference (branch or tag) that was
+  modified by an earlier transfer.  For example, it could omit
+  intermediate items from the result when asked to do this:
+
+      bup get -s SRC ... --pick x/SAVE-1 --pick x/SAVE-2 --pick x/SAVE-3
+
+  It would omit SAVE-2 from the updated x branch, though the content
+  would still be in the repository (barring a subsequent `gc`).
+
+  This should now be fixed, and so the command above will produce an x
+  branch with SAVE-2 preceding SAVE-3, and SAVE-1 preceding SAVE-2,
+  as intended.
+
+  This was the result of an undocumented attempt to defer all
+  reference updates until after all of the transfers.  The updates now
+  happen immediately after each individual transfer.
+
+  bup should be upgraded on both the client and server (when
+  relevant).
+
+* `bup prune-older` did not correctly consider the year when pruning
+  dailies or monthlies and adjacent saves had the same day or month
+  but different years.  It would incorrectly prune all but the most
+  recent save in a contiguous group.  For example if you had only
+  these saves:
+
+      2021-01-01-...
+      2022-01-01-...
+      2023-01-01-...
+      2024-01-02-...
+      2025-01-01-...
+
+  then pruning with `--keep-dailies-for forever` would drop 2022 and
+  2023, leaving you with:
+
+      2021-01-01-...
+      2024-01-02-...
+      2025-01-01-...
+
+  when it should have kept them all.
+
+General
+-------
+
+* `bup get` can now `--repair` symlinks that have only lost their
+  metadata in more cases.  Previously the repair would just fail.
+
+* `bup get --repair --pick ...` and `--append` can now repair saves
+  with a missing root tree or root metadata (e.g. missing git level
+  `some/SAVE/.bupm` file).  For now, when the entire root tree is
+  missing it is replaced with an empty directory, and a missing .bupm
+  is treated the same as an "abridged" .bupm (see `bup-get(1)` for
+  more information).  Previously the repair would just fail.
+
+* `bup validate-refs --bupm` now detects any entries that aren't empty
+  and are missing the "common" fields (mode, uid, gid, ...).
+
+Bugs
+----
+
+* `bup tag` now reports invalid tag names as a usage error rather than
+  throwing an exception.
+
+* `bup ls` now exits with status 2 for access failures, rather than 1;
+  this was overlooked in the general shift from 1 to 2 for errors in
+  0.34 (see the 0.34 release notes).
+
+Thanks to (at least)
+====================
+
+Greg Troxel, Johannes Berg, and Rob Browning
 
 Notable changes in 0.34 since 0.33.10
 =====================================
diff --git a/bup-snapshot/Makefile b/bup-snapshot/Makefile
index ef55bff422..4d621bf7e5 100644
--- a/bup-snapshot/Makefile
+++ b/bup-snapshot/Makefile
@@ -1,9 +1,9 @@
 # $NetBSD: Makefile,v 1.75 2026/01/29 00:35:05 gdt Exp $
 
-DISTNAME=	bup-0.34
+DISTNAME=	bup-0.34.1
 CATEGORIES=	sysutils
 MASTER_SITES=	${MASTER_SITE_GITHUB:=bup/}
-GITHUB_TAG=	66045833e9905a4b0807ac501339920c3c1118c1
+GITHUB_TAG=	0.34.1
 # bup has two problems that make packaging difficult.  One is that
 # building man pages requires non-portable tools (pandoc).  The other
 # is that it is hosted on github, which makes hosting tarballs
@@ -11,11 +11,11 @@ GITHUB_TAG=	66045833e9905a4b0807ac501339920c3c1118c1
 # in bup's git which has autogenerated man pages.  The third problem
 # is that github.mk assumes that there is one distfile.
 
-# Upstream should have a tag for built man pages, but doesn't
+# Upstream should probably haved tags for built man pages, but doesn't
 # reliably, so just use sha1.
 # EXTRACT_SUFX default value is set too late, so using it in SITES.* fails.
 EXTRACT_SUFX=		.tar.gz
-DOC_TAG=		2f13753ed229d9adbbd1cd702d4225523bcc787a
+DOC_TAG=		8379be01a941a3c4ff1efe73342e99d9f570fb68
 DOC_UNPACK=		bup-${DOC_TAG}
 DOC_DISTFILE=		bup-man-${DOC_TAG}${EXTRACT_SUFX}
 SITES.${DOC_DISTFILE}=	-${MASTER_SITE_GITHUB:=bup/bup/archive/}${DOC_TAG}${EXTRACT_SUFX}
diff --git a/bup-snapshot/PLIST b/bup-snapshot/PLIST
index 0bce038f7c..a02f691eab 100644
--- a/bup-snapshot/PLIST
+++ b/bup-snapshot/PLIST
@@ -50,6 +50,7 @@ lib/bup/bup/commit.py
 lib/bup/bup/compat.py
 lib/bup/bup/config.py
 lib/bup/bup/drecurse.py
+lib/bup/bup/features.py
 lib/bup/bup/gc.py
 lib/bup/bup/git.py
 lib/bup/bup/hashsplit.py
diff --git a/bup-snapshot/distinfo b/bup-snapshot/distinfo
index fb9858e3b0..6647f3c109 100644
--- a/bup-snapshot/distinfo
+++ b/bup-snapshot/distinfo
@@ -1,9 +1,9 @@
 $NetBSD: distinfo,v 1.33 2026/01/29 00:35:05 gdt Exp $
 
-BLAKE2s (bup-0.34-66045833e9905a4b0807ac501339920c3c1118c1.tar.gz) = 428a2d2b51dc923b2ac14983d8dbdad28af81a70bc21f3613b8d2497e79f065f
-SHA512 (bup-0.34-66045833e9905a4b0807ac501339920c3c1118c1.tar.gz) = c039dd6ec975a7fcb88f00eb921ef24cc1a3050273ca7db40d2eb3b9db91908b012da96d70641e1a7b5977a7d38a1d45121f4c7c52154a5fba6f6e122bca9358
-Size (bup-0.34-66045833e9905a4b0807ac501339920c3c1118c1.tar.gz) = 653998 bytes
-BLAKE2s (bup-man-2f13753ed229d9adbbd1cd702d4225523bcc787a.tar.gz) = 822cd7e4d5c3c0c65ad24216cbd8383d906db6e64145f6dc090a7a1a15bd60b2
-SHA512 (bup-man-2f13753ed229d9adbbd1cd702d4225523bcc787a.tar.gz) = 2f9e0bafa15050f0ada7db87942b0ae74afe8a936e28ecb28a5c597c2129f04c39ce7aa4c6c9a1e31a67d5be666a5a971cca58b752d18b28fe367b462cd2df09
-Size (bup-man-2f13753ed229d9adbbd1cd702d4225523bcc787a.tar.gz) = 91186 bytes
+BLAKE2s (bup-0.34.1.tar.gz) = dcf9b67872be2c610f172ee277b5f1d9265e7897ad32486071c86316cab48344
+SHA512 (bup-0.34.1.tar.gz) = 2917e1d0789cfdc4e009f33830e9db705f4aa589409455b014d2dd33792bd2826408cd7eb1d3d94d8269a185b53b2ace71d79751132a71333ecb960dda293495
+Size (bup-0.34.1.tar.gz) = 666145 bytes
+BLAKE2s (bup-man-8379be01a941a3c4ff1efe73342e99d9f570fb68.tar.gz) = 549288b124ed0b83c1d618ebcf2add7d70b15767eed82fb925986c8dc0923c30
+SHA512 (bup-man-8379be01a941a3c4ff1efe73342e99d9f570fb68.tar.gz) = 4475593326047a6f895b919df9c36b3afde95db0039e205a85ddf3a9ee66e6909c0b4bdbe1cbbfdd73729c0038c3957c8d3b08f66b9ccedd9f53a54e4ae9b11c
+Size (bup-man-8379be01a941a3c4ff1efe73342e99d9f570fb68.tar.gz) = 91721 bytes
 SHA1 (patch-lib_bup___helpers.c) = 2d0d70118858e9765fb5663a54f899c9084bf51a


Home | Main Index | Thread Index | Old Index