public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/rust-onefetch] rawhide: Update to version 3.3.0; Fixes RHBZ#2580895
@ 2026-12-01 12:58 Benjamin A. Beasley
  0 siblings, 0 replies; only message in thread
From: Benjamin A. Beasley @ 2026-12-01 12:58 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/rust-onefetch
Branch : rawhide
Commit : 7e8445a169ca384859a5cba1bf7b8a7d28dc6f26
Author : Benjamin A. Beasley <code@musicinmybrain.net>
Date   : 2026-12-01T12:57:35+00:00
Stats  : +24/-21 in 7 file(s)
URL    : https://src.fedoraproject.org/rpms/rust-onefetch/c/7e8445a169ca384859a5cba1bf7b8a7d28dc6f26?branch=rawhide

Log:
Update to version 3.3.0; Fixes RHBZ#2580895

---
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 90c89d2..8a42022 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 98879e290cf090b6b21ddf8fc3601a4a15e216e2 Mon Sep 17 00:00:00 2001
+From f4b8198ae4a1421317dbcf1ea57c93a14e01511f 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
@@ -23,5 +23,5 @@ index 2cdeb7e..cc58818 100644
      let repo_name = path
          .with_extension("")
 -- 
-2.56.0
+2.56.1
 

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 cf0ef99..a99878e 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 749bb3ce8b16231d45e842d7e79ddadc7a1be9f8 Mon Sep 17 00:00:00 2001
+From 5957b9c85f11b2b960b19e828091a02c62d5e4da 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,18 +23,18 @@ index cc58818..a5033f4 100644
          .with_extension("")
          .file_name()
 diff --git a/src/data/mod.rs b/src/data/mod.rs
-index bcde48f..5d0d7a9 100644
+index 629b6ce..f56c7df 100644
 --- a/src/data/mod.rs
 +++ b/src/data/mod.rs
-@@ -110,7 +110,7 @@ pub fn build_info(options: &InfoOptions) -> Result<Info> {
+@@ -108,7 +108,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()?)
 +        .commits(&git_metrics, repo.is_shallow())
-         .churn(
-             &git_metrics,
-             options.number_of_file_churns,
+         .churn(&git_metrics, options.number_of_file_churns)
+         .lines_of_code(loc_by_language.as_ref())
+         .size(&repo)
 -- 
-2.56.0
+2.56.1
 

diff --git a/onefetch-fix-metadata-auto.diff b/onefetch-fix-metadata-auto.diff
index c81b29f..8789791 100644
--- a/onefetch-fix-metadata-auto.diff
+++ b/onefetch-fix-metadata-auto.diff
@@ -1,5 +1,5 @@
---- onefetch-3.2.0/Cargo.toml	2006-07-24T01:21:28+00:00
-+++ onefetch-3.2.0/Cargo.toml	2026-11-22T09:13:44.538525+00:00
+--- onefetch-3.3.0/Cargo.toml	2006-07-24T01:21:28+00:00
++++ onefetch-3.3.0/Cargo.toml	2026-12-01T12:57:05.370560+00:00
 @@ -212,13 +212,8 @@
      "event",
  ]

diff --git a/onefetch-fix-metadata.diff b/onefetch-fix-metadata.diff
index 8036563..2b7ec13 100644
--- a/onefetch-fix-metadata.diff
+++ b/onefetch-fix-metadata.diff
@@ -1,5 +1,5 @@
---- onefetch-3.2.0/Cargo.toml	2006-07-24T01:21:28+00:00
-+++ onefetch-3.2.0/Cargo.toml	2026-11-22T09:13:50.951332+00:00
+--- onefetch-3.3.0/Cargo.toml	2006-07-24T01:21:28+00:00
++++ onefetch-3.3.0/Cargo.toml	2026-12-01T12:57:11.589478+00:00
 @@ -73,10 +73,6 @@
  name = "manifest"
  path = "tests/manifest.rs"
@@ -12,7 +12,7 @@
  name = "repo"
  path = "benches/repo.rs"
 @@ -102,7 +98,7 @@
- version = "4.6.11"
+ version = "4.6.12"
  
  [dependencies.gix]
 -version = "0.90.0"
@@ -30,7 +30,7 @@
  
 @@ -167,13 +162,6 @@
  [dependencies.toml]
- version = "1.1.8"
+ version = "1.2.2"
  
 -[dev-dependencies.criterion]
 -version = "0.8.2"
@@ -47,7 +47,7 @@
  
  [dev-dependencies.rstest]
 -version = "0.28.0"
-+version = ">=0.26.0, <0.29.0"
++version = ">=0.26.0, <0.30.0"
  
  [build-dependencies.regex]
- version = "1.13.1"
+ version = "1.13.2"

diff --git a/rust-onefetch.spec b/rust-onefetch.spec
index 854211e..e2f066c 100644
--- a/rust-onefetch.spec
+++ b/rust-onefetch.spec
@@ -7,7 +7,7 @@
 %global crate onefetch
 
 Name:           rust-onefetch
-Version:        3.2.0
+Version:        3.3.0
 Release:        %autorelease
 Summary:        Command-line Git information tool
 
@@ -31,7 +31,8 @@ Patch:          onefetch-fix-metadata-auto.diff
 #   reasonably citing upstream discouragement in
 #   https://github.com/Byron/gitoxide/discussions/900.
 # * Allow older rstest 0.26 for now (upstream wants 0.28):
-#   https://bugzilla.redhat.com/show_bug.cgi?id=2529211
+#   https://bugzilla.redhat.com/show_bug.cgi?id=2529211; allow newer rstest
+#   through 0.29: https://github.com/o2sh/onefetch/pull/1937
 Patch:          onefetch-fix-metadata.diff
 # * Revert the source-code change for gix 0.86+
 # * This allows us to temporarily keep using gix 0.85.
@@ -99,6 +100,7 @@ License:        %{shrink:
 %license LICENSE.dependencies
 %doc ARCHITECTURE.md
 %doc CHANGELOG.md
+%doc DECISIONS.md
 %doc README.md
 %{_bindir}/onefetch
 %{_mandir}/man1/onefetch.1*

diff --git a/rust2rpm.toml b/rust2rpm.toml
index deca6ba..70eafaf 100644
--- a/rust2rpm.toml
+++ b/rust2rpm.toml
@@ -19,7 +19,8 @@ https://github.com/Byron/gitoxide/discussions/900.\
 """,
     """\
 Allow older rstest 0.26 for now (upstream wants 0.28): \
-https://bugzilla.redhat.com/show_bug.cgi?id=2529211\
+https://bugzilla.redhat.com/show_bug.cgi?id=2529211; \
+allow newer rstest through 0.29: https://github.com/o2sh/onefetch/pull/1937\
 """,
 ]
 license-files.exclude = [

diff --git a/sources b/sources
index 2b6123f..deac7cd 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (onefetch-3.2.0.crate) = 9cc9eb1b2ce4fc05df35fb27a60bf966ea1597c3f3192dc21915539917b2aebe074cac8302e7b3125df6dfb393d5f7ba165cc0718ce2c4df1f8028f574078575
+SHA512 (onefetch-3.3.0.crate) = 1449c0b00f284ad7fe14f37d059b3ef4f2f3e89357e7d59b0d97f369ab1e66ab8b8dbd4938eea37193a78b53cf68150444c3607de2b8227583fab5bb9f2c173e

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

only message in thread, other threads:[~2026-12-01 12:58 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-12-01 12:58 [rpms/rust-onefetch] rawhide: Update to version 3.3.0; Fixes RHBZ#2580895 Benjamin A. Beasley

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