public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/borgmatic] f43: update to 2.2.0
@ 2026-10-30  6:05 Felix Kaechele
  0 siblings, 0 replies; only message in thread
From: Felix Kaechele @ 2026-10-30  6:05 UTC (permalink / raw)
  To: git-commits

            A new commit has been pushed.

            Repo   : rpms/borgmatic
            Branch : f43
            Commit : 3731eb32050fbd623205e5fa21103675f09ec269
            Author : Felix Kaechele <felix@kaechele.ca>
            Date   : 2026-10-30T06:55:29+01:00
            Stats  : +2/-55 in 3 file(s)
            URL    : https://src.fedoraproject.org/rpms/borgmatic/c/3731eb32050fbd623205e5fa21103675f09ec269?branch=f43

            Log:
            update to 2.2.0

Signed-off-by: Felix Kaechele <felix@kaechele.ca>

---
diff --git a/borgmatic.spec b/borgmatic.spec
index 891a2b3..1c04520 100644
--- a/borgmatic.spec
+++ b/borgmatic.spec
@@ -1,13 +1,11 @@
 Name:           borgmatic
-Version:        2.1.10
+Version:        2.2.0
 Release:        %autorelease
 Summary:        Simple Python wrapper script for borgbackup
 
 License:        GPL-3.0-or-later
 URL:            https://torsion.org/borgmatic
 Source0:        https://projects.torsion.org/borgmatic-collective/borgmatic/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz
-# Hotfix for rhbz#2549351, cherry picked onto 2.1.10
-Patch0:         https://projects.torsion.org/borgmatic-collective/borgmatic/commit/f46c509cf0e3eb4ede4ddb9c2ca5a21a7b8284dc.patch
 
 BuildArch:      noarch
 

diff --git a/f46c509cf0e3eb4ede4ddb9c2ca5a21a7b8284dc.patch b/f46c509cf0e3eb4ede4ddb9c2ca5a21a7b8284dc.patch
deleted file mode 100644
index c616c66..0000000
--- a/f46c509cf0e3eb4ede4ddb9c2ca5a21a7b8284dc.patch
+++ /dev/null
@@ -1,51 +0,0 @@
-commit ad8f4cc4b76d9f2839de68e4b5208672f7788b0b
-Author: Dan Helfman <witten@torsion.org>
-Date:   Tue Oct 13 14:36:19 2026 -0700
-
-    Fix an attribute error when running the experimental "browse" action with older versions of the Textual library (#1371).
-
-diff --git a/borgmatic/actions/browse/archives_list.py b/borgmatic/actions/browse/archives_list.py
-index 9182849adfbc..041162aa2a87 100644
---- a/borgmatic/actions/browse/archives_list.py
-+++ b/borgmatic/actions/browse/archives_list.py
-@@ -61,7 +61,11 @@ class Archives_list(textual.widgets.OptionList):
-         label_pieces = (
-             (archive_name, '[dim](latest)[/dim]') if len(self.options) == 1 else (archive_name,)
-         )
--        highlighted_option = self.highlighted_option
-+
-+        # Textual 6.0.0+ has self.highlighted_option, but we want to support older versions.
-+        highlighted_option = (
-+            self.options[self.highlighted] if self.highlighted is not None else None
-+        )
- 
-         loading_indicator = self.get_option('loading-indicator')
-         self.remove_option('loading-indicator')
-diff --git a/borgmatic/actions/browse/directory_list.py b/borgmatic/actions/browse/directory_list.py
-index ff331e271015..71df7d297f2a 100644
---- a/borgmatic/actions/browse/directory_list.py
-+++ b/borgmatic/actions/browse/directory_list.py
-@@ -67,7 +67,12 @@ def add_archive_paths(
- 
-     After all of this reshuffling, make sure the original highlighted option remains highlighted.
-     '''
--    highlighted_option = directory_list.highlighted_option
-+    # Textual 6.0.0+ has self.highlighted_option for this, but we want to support older versions.
-+    highlighted_option = (
-+        directory_list.options[directory_list.highlighted]
-+        if directory_list.highlighted is not None
-+        else None
-+    )
-     original_options_count = len(directory_list.options)
- 
-     sorted_options = sorted(
-@@ -95,7 +100,8 @@ def add_archive_paths(
-         return
- 
-     # Retain the highlighted option position even as other options load around it.
--    directory_list.set_options(sorted_options)
-+    directory_list.clear_options()
-+    directory_list.add_options(sorted_options)
-     directory_list.highlighted = (
-         directory_list.get_option_index(highlighted_option.id)
-         if highlighted_option and directory_list.highlighted_option_changed

diff --git a/sources b/sources
index e54cc2d..ad4199a 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (borgmatic-2.1.10.tar.gz) = 6b6178d9c05e48a2c6e74db8c0900584f1f2594210e392ef5e758becdd0d14579cc4f4cd2ab5017d76267040cf950ddbbf28ca0abef8a4e08ee47978d55430ee
+SHA512 (borgmatic-2.2.0.tar.gz) = 06a8100d16d5f939830a976af67c2e7c8988327617d996d0d9d5eb4c20ad3b25a30b18541ecae160995aaf01940e0fa5f001bf096ca9a26b82ea007eeaa7b698

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-10-30  6:05 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-10-30  6:05 [rpms/borgmatic] f43: update to 2.2.0 Felix Kaechele

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox