public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Benjamin A. Beasley <code@musicinmybrain.net>
To: git-commits@fedoraproject.org
Subject: [rpms/rust-onefetch] rawhide: Update to 3.2.0 (close RHBZ#2564448)
Date: Sun, 01 Nov 2026 11:32:03 GMT	[thread overview]
Message-ID: <179353272389.1.10061369570996135688.rpms-rust-onefetch-e29007b55819@fedoraproject.org> (raw)

A new commit has been pushed.

Repo   : rpms/rust-onefetch
Branch : rawhide
Commit : e29007b55819d2c51abb0c0e312bda53f8eb4e29
Author : Benjamin A. Beasley <code@musicinmybrain.net>
Date   : 2026-11-01T11:21:56+00:00
Stats  : +39/-20 in 7 file(s)
URL    : https://src.fedoraproject.org/rpms/rust-onefetch/c/e29007b55819d2c51abb0c0e312bda53f8eb4e29?branch=rawhide

Log:
Update to 3.2.0 (close RHBZ#2564448)

---
diff --git a/0001-Revert-chore-deps-Update-Rust-crate-gix-to-0.86.0-18.patch b/0001-Revert-chore-deps-Update-Rust-crate-gix-to-0.86.0-18.patch
index eeb271b..90c89d2 100644
--- a/0001-Revert-chore-deps-Update-Rust-crate-gix-to-0.86.0-18.patch
+++ b/0001-Revert-chore-deps-Update-Rust-crate-gix-to-0.86.0-18.patch
@@ -1,4 +1,4 @@
-From 0adabff3d6b3ae40428be54710a925e8ba1a5e3b Mon Sep 17 00:00:00 2001
+From 98879e290cf090b6b21ddf8fc3601a4a15e216e2 Mon Sep 17 00:00:00 2001
 From: "Benjamin A. Beasley" <code@musicinmybrain.net>
 Date: Wed, 2 Sep 2026 11:45:37 +0100
 Subject: [PATCH 1/2] Revert "chore(deps): Update Rust crate gix to 0.86.0

diff --git a/0002-Patch-for-functions-that-were-infallible-before-gix-.patch b/0002-Patch-for-functions-that-were-infallible-before-gix-.patch
index 0f10087..cf0ef99 100644
--- a/0002-Patch-for-functions-that-were-infallible-before-gix-.patch
+++ b/0002-Patch-for-functions-that-were-infallible-before-gix-.patch
@@ -1,4 +1,4 @@
-From 9cb6b918e519e582a57d99ccdeff987844ed9d1c Mon Sep 17 00:00:00 2001
+From 749bb3ce8b16231d45e842d7e79ddadc7a1be9f8 Mon Sep 17 00:00:00 2001
 From: "Benjamin A. Beasley" <code@musicinmybrain.net>
 Date: Mon, 19 Oct 2026 07:13:14 +0100
 Subject: [PATCH 2/2] Patch for functions that were infallible before gix 0.89
@@ -23,11 +23,11 @@ index cc58818..a5033f4 100644
          .with_extension("")
          .file_name()
 diff --git a/src/data/mod.rs b/src/data/mod.rs
-index 840ecee..44a0512 100644
+index bcde48f..5d0d7a9 100644
 --- a/src/data/mod.rs
 +++ b/src/data/mod.rs
-@@ -104,7 +104,7 @@ pub fn build_info(options: &InfoOptions) -> Result<Info> {
-         .last_change(&git_metrics)
+@@ -110,7 +110,7 @@ pub fn build_info(options: &InfoOptions) -> Result<Info> {
+         .activity(&git_metrics, options.activity_months)
          .contributors(&git_metrics, options.number_of_authors)
          .url(&repo_url)
 -        .commits(&git_metrics, repo.is_shallow()?)

diff --git a/onefetch-fix-metadata-auto.diff b/onefetch-fix-metadata-auto.diff
index 462491f..9a7819e 100644
--- a/onefetch-fix-metadata-auto.diff
+++ b/onefetch-fix-metadata-auto.diff
@@ -1,5 +1,5 @@
---- onefetch-3.1.0/Cargo.toml	2006-07-24T01:21:28+00:00
-+++ onefetch-3.1.0/Cargo.toml	2026-10-19T06:45:33.345766+00:00
+--- onefetch-3.2.0/Cargo.toml	2006-07-24T01:21:28+00:00
++++ onefetch-3.2.0/Cargo.toml	2026-11-01T11:20:37.973057+00:00
 @@ -212,13 +212,8 @@
      "event",
  ]

diff --git a/onefetch-fix-metadata.diff b/onefetch-fix-metadata.diff
index 5cbf368..37ba6c9 100644
--- a/onefetch-fix-metadata.diff
+++ b/onefetch-fix-metadata.diff
@@ -1,5 +1,5 @@
---- onefetch-3.1.0/Cargo.toml	2006-07-24T01:21:28+00:00
-+++ onefetch-3.1.0/Cargo.toml	2026-10-19T06:45:33.347005+00:00
+--- onefetch-3.2.0/Cargo.toml	2006-07-24T01:21:28+00:00
++++ onefetch-3.2.0/Cargo.toml	2026-11-01T11:20:43.031181+00:00
 @@ -73,10 +73,6 @@
  name = "manifest"
  path = "tests/manifest.rs"
@@ -15,10 +15,10 @@
  version = "4.6.11"
  
  [dependencies.gix]
--version = "0.89.0"
+-version = "0.90.0"
 +version = "0.85.0"
  features = [
-     "max-performance-safe",
+     "max-performance",
      "blob-diff",
 @@ -110,7 +106,6 @@
      "index",
@@ -36,7 +36,7 @@
 -version = "0.8.2"
 -
 -[dev-dependencies.gix-testtools]
--version = "0.21.0"
+-version = "0.22.0"
 -features = ["sha1"]
 -
  [dev-dependencies.insta]
@@ -46,8 +46,17 @@
  ]
  
  [dev-dependencies.rstest]
--version = "0.27.0"
-+version = ">=0.26.0, <0.28.0"
+-version = "0.28.0"
++version = ">=0.26.0, <0.29.0"
  
  [build-dependencies.regex]
  version = "1.13.1"
+@@ -206,7 +194,7 @@
+ version = "1.1.0"
+ 
+ [target."cfg(not(windows))".dependencies.rustix]
+-version = "1.1.6"
++version = "1.1.5"
+ features = [
+     "termios",
+     "event",

diff --git a/rust-onefetch.spec b/rust-onefetch.spec
index 8b2557a..576c478 100644
--- a/rust-onefetch.spec
+++ b/rust-onefetch.spec
@@ -7,7 +7,7 @@
 %global crate onefetch
 
 Name:           rust-onefetch
-Version:        3.1.0
+Version:        3.2.0
 Release:        %autorelease
 Summary:        Command-line Git information tool
 
@@ -18,7 +18,7 @@ Source:         %{crates_source}
 Patch:          onefetch-fix-metadata-auto.diff
 # Manually created patch for downstream crate metadata changes
 # * Do not depend on criterion; it is needed only for benchmarks
-# * Use older gix 0.85 (upstream wants 0.89):
+# * Use older gix 0.85 (upstream wants 0.90):
 #   https://bugzilla.redhat.com/show_bug.cgi?id=2506441. We must carry a
 #   downstream patch reverting the source-code change from
 #   https://github.com/o2sh/onefetch/commit/f43b0cb3ad4076974e942b54751ee462ce2a6ca5;
@@ -30,8 +30,12 @@ Patch:          onefetch-fix-metadata-auto.diff
 #   but the maintainer of the gix stack in Fedora does not intend to do so,
 #   reasonably citing upstream discouragement in
 #   https://github.com/Byron/gitoxide/discussions/900.
-# * Allow older rstest 0.26 for now,
+# * Allow older rstest 0.26 for now (upstream wants 0.28):
 #   https://bugzilla.redhat.com/show_bug.cgi?id=2529211
+# * Allow older rustix 1.1.5 for now (upstream wants 1.1.6). This was a routine
+#   version bump via renovate, https://github.com/o2sh/onefetch/pull/1910, not
+#   something that appears to have been required for a specific reason. See
+#   https://bugzilla.redhat.com/show_bug.cgi?id=2561506.
 Patch:          onefetch-fix-metadata.diff
 # * Revert the source-code change for gix 0.86+
 # * This allows us to temporarily keep using gix 0.85.

diff --git a/rust2rpm.toml b/rust2rpm.toml
index 5e17acc..f0215f8 100644
--- a/rust2rpm.toml
+++ b/rust2rpm.toml
@@ -2,7 +2,7 @@
 cargo-toml-patch-comments = [
     "Do not depend on criterion; it is needed only for benchmarks",
     """\
-Use older gix 0.85 (upstream wants 0.89): \
+Use older gix 0.85 (upstream wants 0.90): \
 https://bugzilla.redhat.com/show_bug.cgi?id=2506441. We must carry a \
 downstream patch reverting the source-code change from \
 https://github.com/o2sh/onefetch/commit/f43b0cb3ad4076974e942b54751ee462ce2a6ca5; \
@@ -18,9 +18,15 @@ citing upstream discouragement in \
 https://github.com/Byron/gitoxide/discussions/900.\
 """,
     """\
-Allow older rstest 0.26 for now, \
+Allow older rstest 0.26 for now (upstream wants 0.28): \
 https://bugzilla.redhat.com/show_bug.cgi?id=2529211\
 """,
+    """\
+Allow older rustix 1.1.5 for now (upstream wants 1.1.6). This was a routine \
+version bump via renovate, https://github.com/o2sh/onefetch/pull/1910, not \
+something that appears to have been required for a specific reason. See \
+https://bugzilla.redhat.com/show_bug.cgi?id=2561506.\
+""",
 ]
 license-files.exclude = [
     # This is a data file with information about licenses used by askalono; it

diff --git a/sources b/sources
index 2d63e61..2b6123f 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (onefetch-3.1.0.crate) = f985c9a6227fbb34343dc964f2f5df595ae9508407502cd2a29ed270cd9f94d9ec3027a04b98419f5ba117fb312ad9eb9855af6761fb7ed1c6a7184eca3967a9
+SHA512 (onefetch-3.2.0.crate) = 9cc9eb1b2ce4fc05df35fb27a60bf966ea1597c3f3192dc21915539917b2aebe074cac8302e7b3125df6dfb393d5f7ba165cc0718ce2c4df1f8028f574078575

                 reply	other threads:[~2026-11-01 11:32 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=179353272389.1.10061369570996135688.rpms-rust-onefetch-e29007b55819@fedoraproject.org \
    --to=code@musicinmybrain.net \
    --cc=git-commits@fedoraproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox