Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package onefetch for openSUSE:Factory 
checked in at 2023-06-26 18:16:21
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/onefetch (Old)
 and      /work/SRC/openSUSE:Factory/.onefetch.new.15902 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "onefetch"

Mon Jun 26 18:16:21 2023 rev:21 rq:1095312 version:2.18.1~0

Changes:
--------
--- /work/SRC/openSUSE:Factory/onefetch/onefetch.changes        2023-06-23 
21:53:01.602760067 +0200
+++ /work/SRC/openSUSE:Factory/.onefetch.new.15902/onefetch.changes     
2023-06-26 18:16:35.606603529 +0200
@@ -1,0 +2,7 @@
+Mon Jun 26 05:25:01 UTC 2023 - Michael Vetter <[email protected]>
+
+- Update to 2.18.1:
+  * don't fail when computing diff on partial clones (#1093)
+  * fetch banner info from github (#1094)
+
+-------------------------------------------------------------------

Old:
----
  onefetch-2.18.0~0.tar.xz

New:
----
  onefetch-2.18.1~0.tar.xz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ onefetch.spec ++++++
--- /var/tmp/diff_new_pack.0XSSBr/_old  2023-06-26 18:16:39.822622259 +0200
+++ /var/tmp/diff_new_pack.0XSSBr/_new  2023-06-26 18:16:39.870622473 +0200
@@ -17,7 +17,7 @@
 
 
 Name:           onefetch
-Version:        2.18.0~0
+Version:        2.18.1~0
 Release:        0
 Summary:        Git repository summary on your terminal
 License:        GPL-2.0-only AND MIT

++++++ _service ++++++
--- /var/tmp/diff_new_pack.0XSSBr/_old  2023-06-26 18:16:40.214624001 +0200
+++ /var/tmp/diff_new_pack.0XSSBr/_new  2023-06-26 18:16:40.254624178 +0200
@@ -3,7 +3,7 @@
     <param name="url">https://github.com/o2sh/onefetch.git</param>
     <param name="versionformat">@PARENT_TAG@~@TAG_OFFSET@</param>
     <param name="scm">git</param>
-    <param name="revision">2.18.0</param>
+    <param name="revision">2.18.1</param>
     <param name="match-tag">*</param>
     <param name="versionrewrite-pattern">v(\d+\.\d+\.\d+)</param>
     <param name="versionrewrite-replacement">\1</param>

++++++ onefetch-2.18.0~0.tar.xz -> onefetch-2.18.1~0.tar.xz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/onefetch-2.18.0~0/CHANGELOG.md 
new/onefetch-2.18.1~0/CHANGELOG.md
--- old/onefetch-2.18.0~0/CHANGELOG.md  2023-06-20 20:20:46.000000000 +0200
+++ new/onefetch-2.18.1~0/CHANGELOG.md  2023-06-25 00:38:55.000000000 +0200
@@ -5,13 +5,45 @@
 The format is based on [Keep a 
Changelog](https://keepachangelog.com/en/1.0.0/),
 and this project adheres to [Semantic 
Versioning](https://semver.org/spec/v2.0.0.html).
 
-## Unreleased
+## 2.18.0 (2023-06-20)
 
-<csr-id-b6cd415d049b24348150e0e2088f2fdb5822e1cb/>
-<csr-id-7b34b0aef20b1bc1dfd5de56596d3dca53e28d3e/>
-<csr-id-d00ab45d3cab26e6c8394c2952d7704dd58b8245/>
-<csr-id-d43fa9acbbc93cfee2e59faf3652e7893de55ffa/>
-<csr-id-5e4d02552beea1a998239360fe61b8465437884a/>
+### Features
+
+- add new info line called "Churn" which displays the files with the most 
modifications (commits) (#1071) @o2sh @Byron
+- add Hlsl support (#1082) @progDes007
+
+### Chore
+
+- performance: optimize case where repo has a commit-graph for massive 
performance gains (#1081) @Byron
+- docs: add a cmd.exe version of the cd snippet (#1048) @mataha
+- refacto: use the builder pattern to instantiate the `Info` struct (#1047) 
@o2sh @spenserblack
+- improve bot regex (#1086) @o2sh @spenserblack
+
+### Commit Statistics
+
+<csr-read-only-do-not-edit/>
+
+- 14 commits contributed to the release over the course of 40 calendar days.
+- 53 days passed between releases.
+- 1 commit was understood as 
[conventional](https://www.conventionalcommits.org).
+- 4 unique issues were worked on: 
[#1047](https://github.com/o2sh/onefetch/issues/1047), 
[#1071](https://github.com/o2sh/onefetch/issues/1071), 
[#1081](https://github.com/o2sh/onefetch/issues/1081), 
[#1086](https://github.com/o2sh/onefetch/issues/1086)
+
+### Commit Details
+
+<csr-read-only-do-not-edit/>
+
+<details><summary>view details</summary>
+
+- **[#1047](https://github.com/o2sh/onefetch/issues/1047)**
+  - Add info builder pattern 
([`8609f92`](https://github.com/o2sh/onefetch/commit/8609f921ab43f0e64cb0aeb831d92f157a5b0ed3))
+- **[#1071](https://github.com/o2sh/onefetch/issues/1071)**
+  - Added File Churn Metric 
([`1955153`](https://github.com/o2sh/onefetch/commit/1955153a9f998780b78bc391df1a94464c57cc80))
+- **[#1081](https://github.com/o2sh/onefetch/issues/1081)**
+  - Gix upgrade and optimizations 
([`09c4dc9`](https://github.com/o2sh/onefetch/commit/09c4dc9df6e1201eeed54b01f3432f4097ff54dc))
+- **[#1086](https://github.com/o2sh/onefetch/issues/1086)**
+  - Improve bot regex 
([`167b428`](https://github.com/o2sh/onefetch/commit/167b428794c86eb16a415c7da9869f209a3758e1))
+- **Uncategorized** - Extract total_number_of_commits from author map 
([`086ed9e`](https://github.com/o2sh/onefetch/commit/086ed9e1272f411172d3dd51824caa0285413907))
 - Fix help message for churn_pool_size 
([`3e19824`](https://github.com/o2sh/onefetch/commit/3e198246b5afb48d4a30be532a9bd5a67cf9af87))
 - Add unit tests for break_sentence_into_lines 
([`fd1d5f0`](https://github.com/o2sh/onefetch/commit/fd1d5f04bbf1fbf160506fad4a05dd2b1dd35fd9))
 - Re-use info field value in display method 
([`2c9706b`](https://github.com/o2sh/onefetch/commit/2c9706b21920330ae67d4b27b5663d5b9ed957f4))
 - Compute info_field.value() only once to check if empty 
([`b990786`](https://github.com/o2sh/onefetch/commit/b99078628dd4b24ff196703d6ae5889db2f1409d))
 - Remove should_color() 
([`bb85a9c`](https://github.com/o2sh/onefetch/commit/bb85a9cafe05e9b9610e390f53ee5b6855a9bed3))
 - Rename variable 
([`43e93fa`](https://github.com/o2sh/onefetch/commit/43e93fa27c66baa261c5e41b36fc6f947f99dce5))
 - Cargo clippy pedantic ([
 
`444dcaa`](https://github.com/o2sh/onefetch/commit/444dcaa8a4a48c0895baa5afc6f3d2d2c11c0f46))
 - Cargo clippy pedantic 
([`ca1db57`](https://github.com/o2sh/onefetch/commit/ca1db57fd3e60656dd83993dc0a7ba6e8f0a6469))
 - Cargo clippy pedantic 
([`0654eb9`](https://github.com/o2sh/onefetch/commit/0654eb957ffe50a4b1e12cf53569862a68294b35))
+</details>
 
 ## 2.17.1 (2023-04-28)
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/onefetch-2.18.0~0/Cargo.lock 
new/onefetch-2.18.1~0/Cargo.lock
--- old/onefetch-2.18.0~0/Cargo.lock    2023-06-20 20:20:46.000000000 +0200
+++ new/onefetch-2.18.1~0/Cargo.lock    2023-06-25 00:38:55.000000000 +0200
@@ -2495,7 +2495,7 @@
 
 [[package]]
 name = "onefetch"
-version = "2.18.0"
+version = "2.18.1"
 dependencies = [
  "anyhow",
  "askalono",
@@ -2538,14 +2538,14 @@
 
 [[package]]
 name = "onefetch-ascii"
-version = "2.18.0"
+version = "2.18.1"
 dependencies = [
  "owo-colors",
 ]
 
 [[package]]
 name = "onefetch-image"
-version = "2.18.0"
+version = "2.18.1"
 dependencies = [
  "anyhow",
  "base64",
@@ -2557,7 +2557,7 @@
 
 [[package]]
 name = "onefetch-manifest"
-version = "2.18.0"
+version = "2.18.1"
 dependencies = [
  "anyhow",
  "cargo_toml",
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/onefetch-2.18.0~0/Cargo.toml 
new/onefetch-2.18.1~0/Cargo.toml
--- old/onefetch-2.18.0~0/Cargo.toml    2023-06-20 20:20:46.000000000 +0200
+++ new/onefetch-2.18.1~0/Cargo.toml    2023-06-25 00:38:55.000000000 +0200
@@ -11,7 +11,7 @@
 repository = "https://github.com/o2sh/onefetch";
 homepage = "https://onefetch.dev";
 rust-version = "1.65.0"
-version = "2.18.0"
+version = "2.18.1"
 
 [workspace]
 members = ["ascii", "image", "manifest"]
@@ -34,9 +34,9 @@
 human-panic = "1.1.5"
 image = "0.24.6"
 num-format = "0.4.4"
-onefetch-ascii = { path = "ascii", version = "2.18.0" }
-onefetch-image = { path = "image", version = "2.18.0" }
-onefetch-manifest = { path = "manifest", version = "2.18.0" }
+onefetch-ascii = { path = "ascii", version = "2.18.1" }
+onefetch-image = { path = "image", version = "2.18.1" }
+onefetch-manifest = { path = "manifest", version = "2.18.1" }
 owo-colors = "3.5.0"
 regex = "1.8.4"
 serde = "1.0"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/onefetch-2.18.0~0/ascii/CHANGELOG.md 
new/onefetch-2.18.1~0/ascii/CHANGELOG.md
--- old/onefetch-2.18.0~0/ascii/CHANGELOG.md    2023-06-20 20:20:46.000000000 
+0200
+++ new/onefetch-2.18.1~0/ascii/CHANGELOG.md    2023-06-25 00:38:55.000000000 
+0200
@@ -21,7 +21,7 @@
 
 <csr-read-only-do-not-edit/>
 
- - 12 commits contributed to the release over the course of 99 calendar days.
+ - 15 commits contributed to the release over the course of 156 calendar days.
  - 1 commit was understood as 
[conventional](https://www.conventionalcommits.org).
  - 3 unique issues were worked on: 
[#934](https://github.com/o2sh/onefetch/issues/934), 
[#936](https://github.com/o2sh/onefetch/issues/936), 
[#992](https://github.com/o2sh/onefetch/issues/992)
 
@@ -38,6 +38,9 @@
  * **[#992](https://github.com/o2sh/onefetch/issues/992)**
     - Fix typo 
([`fa80f33`](https://github.com/o2sh/onefetch/commit/fa80f3308ff6f19a3c62233ecbc9767ffa7b9ac9))
  * **Uncategorized**
+    - Bump version 
([`9cc5e52`](https://github.com/o2sh/onefetch/commit/9cc5e5295bfd678ae157a3fbcd8019ae6f7759e0))
+    - Cargo clippy pedantic 
([`ca1db57`](https://github.com/o2sh/onefetch/commit/ca1db57fd3e60656dd83993dc0a7ba6e8f0a6469))
+    - Cargo changelog --write 
([`83197c9`](https://github.com/o2sh/onefetch/commit/83197c9fa2f7ee36fe86af05743431921bdff68e))
     - Bump version 
([`e42360d`](https://github.com/o2sh/onefetch/commit/e42360d1569cfab87d2f4d11a8c42e3401bd699f))
     - Cargo changelog --write 
([`3d6d600`](https://github.com/o2sh/onefetch/commit/3d6d6001f1120508165e8ec6c1fad3660e316718))
     - Bump version 
([`ae536d3`](https://github.com/o2sh/onefetch/commit/ae536d39edaaf55b395f32cea0a3b1b9586a1f15))
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/onefetch-2.18.0~0/ascii/Cargo.toml 
new/onefetch-2.18.1~0/ascii/Cargo.toml
--- old/onefetch-2.18.0~0/ascii/Cargo.toml      2023-06-20 20:20:46.000000000 
+0200
+++ new/onefetch-2.18.1~0/ascii/Cargo.toml      2023-06-25 00:38:55.000000000 
+0200
@@ -2,7 +2,7 @@
 authors = ["o2sh <[email protected]>"]
 name = "onefetch-ascii"
 description = "Display colorized ascii art to the terminal"
-version = "2.18.0"
+version = "2.18.1"
 edition = "2021"
 license = "MIT"
 readme = "README.md"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/onefetch-2.18.0~0/docs/onefetch.1 
new/onefetch-2.18.1~0/docs/onefetch.1
--- old/onefetch-2.18.0~0/docs/onefetch.1       2023-06-20 20:20:46.000000000 
+0200
+++ new/onefetch-2.18.1~0/docs/onefetch.1       2023-06-25 00:38:55.000000000 
+0200
@@ -1,7 +1,7 @@
 .\" DO NOT MODIFY THIS FILE!  It was generated by help2man 1.49.2.
-.TH ONEFETCH "1" "June 2023" "onefetch 2.18.0" "User Commands"
+.TH ONEFETCH "1" "June 2023" "onefetch 2.18.1" "User Commands"
 .SH NAME
-onefetch \- manual page for onefetch 2.18.0
+onefetch \- manual page for onefetch 2.18.1
 .SH SYNOPSIS
 .B onefetch
 [\fI\,OPTIONS\/\fR] [\fI\,INPUT\/\fR]
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/onefetch-2.18.0~0/docs/vercel/src/Index.svelte 
new/onefetch-2.18.1~0/docs/vercel/src/Index.svelte
--- old/onefetch-2.18.0~0/docs/vercel/src/Index.svelte  2023-06-20 
20:20:46.000000000 +0200
+++ new/onefetch-2.18.1~0/docs/vercel/src/Index.svelte  2023-06-25 
00:38:55.000000000 +0200
@@ -2,6 +2,10 @@
   import AsciiPreview from './lib/AsciiPreview.svelte';
   import data from '../../../languages.yaml';
   import type { Languages } from '../../../languages.yaml';
+  import { onMount } from 'svelte';
+
+  let tag_name: string;
+  let html_url: string;
 
   const languages = Object.entries(data as Languages).map(
     ([name, { ascii, colors }]) => ({
@@ -10,16 +14,30 @@
       ...colors,
     })
   );
+
+  onMount(async () => {
+    try {
+      const response = await fetch(
+        'https://api.github.com/repos/o2sh/onefetch/releases/latest'
+      );
+      const data = await response.json();
+
+      tag_name = data.tag_name;
+      html_url = data.html_url;
+    } catch (error) {
+      console.error('Error:', error);
+    }
+  });
 </script>
 
 <header>
-  <div class="banner">
-    <small
-      >Version 2.17 is available 🎉 Check the <a
-        href="https://github.com/o2sh/onefetch/releases/tag/2.17.0";
-        >release notes</a
-      >!!</small>
-  </div>
+  {#if tag_name && html_url}
+    <div class="banner">
+      <small
+        >Version {tag_name} is available 🎉 Check the
+        <a href={html_url}>release notes</a>!!</small>
+    </div>
+  {/if}
   <h1>Onefetch</h1>
   <p>
     <small>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/onefetch-2.18.0~0/image/CHANGELOG.md 
new/onefetch-2.18.1~0/image/CHANGELOG.md
--- old/onefetch-2.18.0~0/image/CHANGELOG.md    2023-06-20 20:20:46.000000000 
+0200
+++ new/onefetch-2.18.1~0/image/CHANGELOG.md    2023-06-25 00:38:55.000000000 
+0200
@@ -11,9 +11,9 @@
 
 <csr-read-only-do-not-edit/>
 
- - 32 commits contributed to the release over the course of 167 calendar days.
+ - 39 commits contributed to the release over the course of 224 calendar days.
  - 0 commits were understood as 
[conventional](https://www.conventionalcommits.org).
- - 10 unique issues were worked on: 
[#1004](https://github.com/o2sh/onefetch/issues/1004), 
[#1027](https://github.com/o2sh/onefetch/issues/1027), 
[#838](https://github.com/o2sh/onefetch/issues/838), 
[#859](https://github.com/o2sh/onefetch/issues/859), 
[#865](https://github.com/o2sh/onefetch/issues/865), 
[#924](https://github.com/o2sh/onefetch/issues/924), 
[#930](https://github.com/o2sh/onefetch/issues/930), 
[#934](https://github.com/o2sh/onefetch/issues/934), 
[#964](https://github.com/o2sh/onefetch/issues/964), 
[#992](https://github.com/o2sh/onefetch/issues/992)
+ - 15 unique issues were worked on: 
[#1004](https://github.com/o2sh/onefetch/issues/1004), 
[#1027](https://github.com/o2sh/onefetch/issues/1027), 
[#1036](https://github.com/o2sh/onefetch/issues/1036), 
[#1053](https://github.com/o2sh/onefetch/issues/1053), 
[#1065](https://github.com/o2sh/onefetch/issues/1065), 
[#1073](https://github.com/o2sh/onefetch/issues/1073), 
[#1090](https://github.com/o2sh/onefetch/issues/1090), 
[#838](https://github.com/o2sh/onefetch/issues/838), 
[#859](https://github.com/o2sh/onefetch/issues/859), 
[#865](https://github.com/o2sh/onefetch/issues/865), 
[#924](https://github.com/o2sh/onefetch/issues/924), 
[#930](https://github.com/o2sh/onefetch/issues/930), 
[#934](https://github.com/o2sh/onefetch/issues/934), 
[#964](https://github.com/o2sh/onefetch/issues/964), 
[#992](https://github.com/o2sh/onefetch/issues/992)
 
 ### Commit Details
 
@@ -25,6 +25,16 @@
     - Bump image from 0.24.4 to 0.24.6 
([`356b66a`](https://github.com/o2sh/onefetch/commit/356b66a46921dcc15aad5a3fb5c7c24d4eb6399a))
  * **[#1027](https://github.com/o2sh/onefetch/issues/1027)**
     - Bump clap from 4.1.6 to 4.2.4 
([`65ba0f1`](https://github.com/o2sh/onefetch/commit/65ba0f10f75f9affc5f44008f76771cdc5a5a13b))
+ * **[#1036](https://github.com/o2sh/onefetch/issues/1036)**
+    - Bump clap from 4.2.4 to 4.2.5 
([`a48715e`](https://github.com/o2sh/onefetch/commit/a48715e7f94d607e36eeb59c13127130f66f5b73))
+ * **[#1053](https://github.com/o2sh/onefetch/issues/1053)**
+    - Bump clap from 4.2.5 to 4.2.7 
([`eb27cea`](https://github.com/o2sh/onefetch/commit/eb27cea1431be77656db7e78989f983026e0dcc5))
+ * **[#1065](https://github.com/o2sh/onefetch/issues/1065)**
+    - Bump base64 from 0.21.0 to 0.21.2 
([`460d879`](https://github.com/o2sh/onefetch/commit/460d87929ae5c1bee8d6d4f6e46f1887191ca3b5))
+ * **[#1073](https://github.com/o2sh/onefetch/issues/1073)**
+    - Bump clap from 4.2.7 to 4.3.1 
([`e73f7b6`](https://github.com/o2sh/onefetch/commit/e73f7b652cfa656d48da465f243190c677d84adc))
+ * **[#1090](https://github.com/o2sh/onefetch/issues/1090)**
+    - Bump clap from 4.3.1 to 4.3.4 
([`4a30ac1`](https://github.com/o2sh/onefetch/commit/4a30ac1a1f1cbd4f1b8597dcab5a022b898da07b))
  * **[#838](https://github.com/o2sh/onefetch/issues/838)**
     - Bump libc from 0.2.134 to 0.2.137 
([`48a1b59`](https://github.com/o2sh/onefetch/commit/48a1b59cfa225967e9078e95173dc21990b117af))
  * **[#859](https://github.com/o2sh/onefetch/issues/859)**
@@ -42,6 +52,8 @@
  * **[#992](https://github.com/o2sh/onefetch/issues/992)**
     - Fix typo 
([`fa80f33`](https://github.com/o2sh/onefetch/commit/fa80f3308ff6f19a3c62233ecbc9767ffa7b9ac9))
  * **Uncategorized**
+    - Bump version 
([`9cc5e52`](https://github.com/o2sh/onefetch/commit/9cc5e5295bfd678ae157a3fbcd8019ae6f7759e0))
+    - Cargo changelog --write 
([`83197c9`](https://github.com/o2sh/onefetch/commit/83197c9fa2f7ee36fe86af05743431921bdff68e))
     - Bump version 
([`e42360d`](https://github.com/o2sh/onefetch/commit/e42360d1569cfab87d2f4d11a8c42e3401bd699f))
     - Cargo changelog --write 
([`3d6d600`](https://github.com/o2sh/onefetch/commit/3d6d6001f1120508165e8ec6c1fad3660e316718))
     - Bump version 
([`ae536d3`](https://github.com/o2sh/onefetch/commit/ae536d39edaaf55b395f32cea0a3b1b9586a1f15))
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/onefetch-2.18.0~0/image/Cargo.toml 
new/onefetch-2.18.1~0/image/Cargo.toml
--- old/onefetch-2.18.0~0/image/Cargo.toml      2023-06-20 20:20:46.000000000 
+0200
+++ new/onefetch-2.18.1~0/image/Cargo.toml      2023-06-25 00:38:55.000000000 
+0200
@@ -2,7 +2,7 @@
 authors = ["o2sh <[email protected]>"]
 name = "onefetch-image"
 description = "Display images in the terminal"
-version = "2.18.0"
+version = "2.18.1"
 edition = "2021"
 license = "MIT"
 readme = "README.md"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/onefetch-2.18.0~0/manifest/CHANGELOG.md 
new/onefetch-2.18.1~0/manifest/CHANGELOG.md
--- old/onefetch-2.18.0~0/manifest/CHANGELOG.md 2023-06-20 20:20:46.000000000 
+0200
+++ new/onefetch-2.18.1~0/manifest/CHANGELOG.md 2023-06-25 00:38:55.000000000 
+0200
@@ -11,9 +11,9 @@
 
 <csr-read-only-do-not-edit/>
 
- - 19 commits contributed to the release over the course of 167 calendar days.
+ - 24 commits contributed to the release over the course of 224 calendar days.
  - 0 commits were understood as 
[conventional](https://www.conventionalcommits.org).
- - 3 unique issues were worked on: 
[#851](https://github.com/o2sh/onefetch/issues/851), 
[#959](https://github.com/o2sh/onefetch/issues/959), 
[#981](https://github.com/o2sh/onefetch/issues/981)
+ - 5 unique issues were worked on: 
[#1077](https://github.com/o2sh/onefetch/issues/1077), 
[#1089](https://github.com/o2sh/onefetch/issues/1089), 
[#851](https://github.com/o2sh/onefetch/issues/851), 
[#959](https://github.com/o2sh/onefetch/issues/959), 
[#981](https://github.com/o2sh/onefetch/issues/981)
 
 ### Commit Details
 
@@ -21,6 +21,10 @@
 
 <details><summary>view details</summary>
 
+ * **[#1077](https://github.com/o2sh/onefetch/issues/1077)**
+    - Bump cargo_toml from 0.15.2 to 0.15.3 
([`b6ed0f7`](https://github.com/o2sh/onefetch/commit/b6ed0f7b28c4226bfb815ea3e94ddd6a98df930b))
+ * **[#1089](https://github.com/o2sh/onefetch/issues/1089)**
+    - Bump strum from 0.24.1 to 0.25.0 
([`3071110`](https://github.com/o2sh/onefetch/commit/3071110b80797d14af3a1c782079dc9d11601ca4))
  * **[#851](https://github.com/o2sh/onefetch/issues/851)**
     - Add manifest crate 
([`ed96c45`](https://github.com/o2sh/onefetch/commit/ed96c4547d62e1660bd78663be428cad5dc57867))
  * **[#959](https://github.com/o2sh/onefetch/issues/959)**
@@ -28,6 +32,9 @@
  * **[#981](https://github.com/o2sh/onefetch/issues/981)**
     - Bump cargo_toml from 0.14.1 to 0.15.2 
([`b6dbb62`](https://github.com/o2sh/onefetch/commit/b6dbb62c36cd9f38d4dcfe13dfe99ab608f4ef2a))
  * **Uncategorized**
+    - Bump version 
([`9cc5e52`](https://github.com/o2sh/onefetch/commit/9cc5e5295bfd678ae157a3fbcd8019ae6f7759e0))
+    - Merge branch 'main' of github.com:o2sh/onefetch 
([`a91def0`](https://github.com/o2sh/onefetch/commit/a91def08355a096ca54cce477abfc8297cdea478))
+    - Cargo changelog --write 
([`83197c9`](https://github.com/o2sh/onefetch/commit/83197c9fa2f7ee36fe86af05743431921bdff68e))
     - Bump version 
([`e42360d`](https://github.com/o2sh/onefetch/commit/e42360d1569cfab87d2f4d11a8c42e3401bd699f))
     - Cargo changelog --write 
([`3d6d600`](https://github.com/o2sh/onefetch/commit/3d6d6001f1120508165e8ec6c1fad3660e316718))
     - Bump version 
([`ae536d3`](https://github.com/o2sh/onefetch/commit/ae536d39edaaf55b395f32cea0a3b1b9586a1f15))
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/onefetch-2.18.0~0/manifest/Cargo.toml 
new/onefetch-2.18.1~0/manifest/Cargo.toml
--- old/onefetch-2.18.0~0/manifest/Cargo.toml   2023-06-20 20:20:46.000000000 
+0200
+++ new/onefetch-2.18.1~0/manifest/Cargo.toml   2023-06-25 00:38:55.000000000 
+0200
@@ -2,7 +2,7 @@
 authors = ["o2sh <[email protected]>"]
 name = "onefetch-manifest"
 description = "Detect and parse manifest files"
-version = "2.18.0"
+version = "2.18.1"
 edition = "2021"
 license = "MIT"
 readme = "README.md"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/onefetch-2.18.0~0/src/info/git/mod.rs 
new/onefetch-2.18.1~0/src/info/git/mod.rs
--- old/onefetch-2.18.0~0/src/info/git/mod.rs   2023-06-20 20:20:46.000000000 
+0200
+++ new/onefetch-2.18.1~0/src/info/git/mod.rs   2023-06-25 00:38:55.000000000 
+0200
@@ -249,6 +249,7 @@
             .into_tree()
             .changes()?
             .track_path()
+            .track_rewrites(None)
             .for_each_to_obtain_tree(&commit.tree()?, |change| {
                 let is_file_change = match change.event {
                     Event::Addition { entry_mode, .. } | Event::Modification { 
entry_mode, .. } => {
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/onefetch-2.18.0~0/src/info/title.rs 
new/onefetch-2.18.1~0/src/info/title.rs
--- old/onefetch-2.18.0~0/src/info/title.rs     2023-06-20 20:20:46.000000000 
+0200
+++ new/onefetch-2.18.1~0/src/info/title.rs     2023-06-25 00:38:55.000000000 
+0200
@@ -87,37 +87,18 @@
 mod tests {
     use super::*;
     use anyhow::Result;
-    use gix::{open, Repository, ThreadSafeRepository};
     use owo_colors::AnsiColors;
 
-    fn repo(name: &str) -> Result<Repository> {
-        let name = name.to_string();
-        let repo_path = 
gix_testtools::scripted_fixture_read_only(name).unwrap();
-        let safe_repo = ThreadSafeRepository::open_opts(repo_path, 
open::Options::isolated())?;
-        Ok(safe_repo.to_thread_local())
-    }
-
-    #[test]
-    fn test_get_git_username() -> Result<()> {
-        let repo = repo("basic_repo.sh")?;
-        let username = get_git_username(&repo);
-        assert_eq!(
-            username, "onefetch-committer-name",
-            "see git repo local config committer.name"
-        );
-        Ok(())
-    }
-
     #[test]
     fn test_title_format() -> Result<()> {
-        let repo = repo("basic_repo.sh")?;
-        let mut title = Title::new(
-            &repo,
-            DynColors::Ansi(AnsiColors::Red),
-            DynColors::Ansi(AnsiColors::White),
-            DynColors::Ansi(AnsiColors::Blue),
-            true,
-        );
+        let mut title = Title {
+            git_username: "onefetch-committer-name".to_string(),
+            git_version: "git version 2.37.2".to_string(),
+            title_color: DynColors::Ansi(AnsiColors::Red),
+            tilde_color: DynColors::Ansi(AnsiColors::White),
+            underline_color: DynColors::Ansi(AnsiColors::Blue),
+            is_bold: true,
+        };
 
         title.git_version = "git version 2.37.2".to_string();
         assert!(title.to_string().contains("onefetch-committer-name"));
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/onefetch-2.18.0~0/tests/fixtures/bare_repo.sh 
new/onefetch-2.18.1~0/tests/fixtures/bare_repo.sh
--- old/onefetch-2.18.0~0/tests/fixtures/bare_repo.sh   2023-06-20 
20:20:46.000000000 +0200
+++ new/onefetch-2.18.1~0/tests/fixtures/bare_repo.sh   1970-01-01 
01:00:00.000000000 +0100
@@ -1,4 +0,0 @@
-#!/bin/sh
-set -eu -o pipefail
-
-git init -q --bare
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/onefetch-2.18.0~0/tests/fixtures/basic_repo.sh 
new/onefetch-2.18.1~0/tests/fixtures/basic_repo.sh
--- old/onefetch-2.18.0~0/tests/fixtures/basic_repo.sh  2023-06-20 
20:20:46.000000000 +0200
+++ new/onefetch-2.18.1~0/tests/fixtures/basic_repo.sh  1970-01-01 
01:00:00.000000000 +0100
@@ -1,21 +0,0 @@
-#!/bin/sh
-set -eu -o pipefail
-
-git init -q
-
-# BOTH NAME AND EMAIL ARE NEEDED FOR RECOGNITION
-git config --local --add "committer.name" "onefetch-committer-name"
-git config --local --add "committer.email" 
"[email protected]"
-
-git config --local --add "user.name" "onefetch-user-name"
-git config --local --add "user.email" "[email protected]"
-
-git config --local --add "author.name" "onefetch-author-name"
-git config --local --add "author.email" "[email protected]"
-
-git checkout -b main
-touch this.rs
-git add this.rs
-git commit -q -m c1
-echo hello >> this.rs
-git commit -q -am c2
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/onefetch-2.18.0~0/tests/fixtures/make_bare_repo.sh 
new/onefetch-2.18.1~0/tests/fixtures/make_bare_repo.sh
--- old/onefetch-2.18.0~0/tests/fixtures/make_bare_repo.sh      1970-01-01 
01:00:00.000000000 +0100
+++ new/onefetch-2.18.1~0/tests/fixtures/make_bare_repo.sh      2023-06-25 
00:38:55.000000000 +0200
@@ -0,0 +1,4 @@
+#!/bin/sh
+set -eu -o pipefail
+
+git init -q --bare
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/onefetch-2.18.0~0/tests/fixtures/make_partial_repo.sh 
new/onefetch-2.18.1~0/tests/fixtures/make_partial_repo.sh
--- old/onefetch-2.18.0~0/tests/fixtures/make_partial_repo.sh   1970-01-01 
01:00:00.000000000 +0100
+++ new/onefetch-2.18.1~0/tests/fixtures/make_partial_repo.sh   2023-06-25 
00:38:55.000000000 +0200
@@ -0,0 +1,31 @@
+#!/bin/bash
+set -eu -o pipefail
+
+mkdir base
+(cd base
+    git init -q
+    git checkout -b main
+    touch code.rs
+    git add code.rs
+    git commit -q -m c1
+    echo hello >> code.rs
+    git add code.rs
+    git commit -q -m c2
+    echo world >> code.rs
+    git add code.rs
+    git commit -q -m c3
+    echo something >> code.rs
+    git add code.rs
+    git commit -q -m c4
+    echo more >> code.rs
+    git mv code.rs renamed.rs
+    echo change >> renamed.rs
+    git commit -q -am c5
+
+    git config uploadpack.allowfilter true
+)
+
+git clone --filter=blob:none file://$PWD/base partial
+(cd partial
+    git config diff.renames true
+)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/onefetch-2.18.0~0/tests/fixtures/make_repo.sh 
new/onefetch-2.18.1~0/tests/fixtures/make_repo.sh
--- old/onefetch-2.18.0~0/tests/fixtures/make_repo.sh   1970-01-01 
01:00:00.000000000 +0100
+++ new/onefetch-2.18.1~0/tests/fixtures/make_repo.sh   2023-06-25 
00:38:55.000000000 +0200
@@ -0,0 +1,60 @@
+#!/bin/sh
+set -eu -o pipefail
+
+git init -q
+
+# BOTH NAME AND EMAIL ARE NEEDED FOR RECOGNITION
+git config --local --add "committer.name" "onefetch-committer-name"
+git config --local --add "committer.email" 
"[email protected]"
+
+git remote add origin https://github.com/user/repo.git
+
+git checkout -b main
+touch code.rs
+git add code.rs
+git commit -q -m c1 --author="Author One <[email protected]>"
+git tag tag1
+echo hello >> code.rs
+git add code.rs
+git commit -q -m c2 --author="Author Two <[email protected]>"
+echo world >> code.rs
+git add code.rs
+git commit -q -m c3 --author="Author Three <[email protected]>"
+echo something >> code.rs
+git add code.rs
+git commit -q -m c4 --author="Author Four <[email protected]>"
+echo more >> code.rs
+
+cat > Cargo.toml << EOF
+[package]
+name = "repo"
+version = "0.1.0"
+description = "Amazing tool"
+
+[dependencies]
+anyhow = "1.0.65"
+EOF
+
+cat > LICENSE << '__LICENSE__'
+MIT License
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in all
+copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+SOFTWARE.
+__LICENSE__
+
+
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/onefetch-2.18.0~0/tests/fixtures/make_repo_without_remote.sh 
new/onefetch-2.18.1~0/tests/fixtures/make_repo_without_remote.sh
--- old/onefetch-2.18.0~0/tests/fixtures/make_repo_without_remote.sh    
1970-01-01 01:00:00.000000000 +0100
+++ new/onefetch-2.18.1~0/tests/fixtures/make_repo_without_remote.sh    
2023-06-25 00:38:55.000000000 +0200
@@ -0,0 +1,11 @@
+#!/bin/sh
+set -eu -o pipefail
+
+git init -q
+
+git checkout -b main
+touch this.rs
+git add this.rs
+git commit -q -m c1
+echo hello >> this.rs
+git commit -q -am c2
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/onefetch-2.18.0~0/tests/fixtures/repo.sh 
new/onefetch-2.18.1~0/tests/fixtures/repo.sh
--- old/onefetch-2.18.0~0/tests/fixtures/repo.sh        2023-06-20 
20:20:46.000000000 +0200
+++ new/onefetch-2.18.1~0/tests/fixtures/repo.sh        1970-01-01 
01:00:00.000000000 +0100
@@ -1,66 +0,0 @@
-#!/bin/sh
-set -eu -o pipefail
-
-git init -q
-
-# BOTH NAME AND EMAIL ARE NEEDED FOR RECOGNITION
-git config --local --add "committer.name" "onefetch-committer-name"
-git config --local --add "committer.email" 
"[email protected]"
-
-git config --local --add "user.name" "onefetch-user-name"
-git config --local --add "user.email" "[email protected]"
-
-git config --local --add "author.name" "onefetch-author-name"
-git config --local --add "author.email" "[email protected]"
-
-git remote add origin https://github.com/user/repo.git
-
-git checkout -b main
-touch code.rs
-git add code.rs
-git commit -q -m c1 --author="Author One <[email protected]>"
-git tag tag1
-echo hello >> code.rs
-git add code.rs
-git commit -q -m c2 --author="Author Two <[email protected]>"
-echo world >> code.rs
-git add code.rs
-git commit -q -m c3 --author="Author Three <[email protected]>"
-echo something >> code.rs
-git add code.rs
-git commit -q -m c4 --author="Author Four <[email protected]>"
-echo more >> code.rs
-
-cat > Cargo.toml << EOF
-[package]
-name = "repo"
-version = "0.1.0"
-description = "Amazing tool"
-
-[dependencies]
-anyhow = "1.0.65"
-EOF
-
-cat > LICENSE << '__LICENSE__'
-MIT License
-
-Permission is hereby granted, free of charge, to any person obtaining a copy
-of this software and associated documentation files (the "Software"), to deal
-in the Software without restriction, including without limitation the rights
-to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-copies of the Software, and to permit persons to whom the Software is
-furnished to do so, subject to the following conditions:
-
-The above copyright notice and this permission notice shall be included in all
-copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
-SOFTWARE.
-__LICENSE__
-
-
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/onefetch-2.18.0~0/tests/repo.rs 
new/onefetch-2.18.1~0/tests/repo.rs
--- old/onefetch-2.18.0~0/tests/repo.rs 2023-06-20 20:20:46.000000000 +0200
+++ new/onefetch-2.18.1~0/tests/repo.rs 2023-06-25 00:38:55.000000000 +0200
@@ -4,15 +4,22 @@
 use onefetch::info::{build_info, get_work_dir};
 
 fn repo(name: &str) -> Result<Repository> {
-    let name = name.to_string();
     let repo_path = gix_testtools::scripted_fixture_read_only(name).unwrap();
     let safe_repo = ThreadSafeRepository::open_opts(repo_path, 
open::Options::isolated())?;
     Ok(safe_repo.to_thread_local())
 }
 
+pub fn named_repo(fixture: &str, name: &str) -> Result<Repository> {
+    let repo_path = gix_testtools::scripted_fixture_read_only(fixture)
+        .unwrap()
+        .join(name);
+    let safe_repo = ThreadSafeRepository::open_opts(repo_path, 
open::Options::isolated())?;
+    Ok(safe_repo.to_thread_local())
+}
+
 #[test]
 fn test_bare_repo() -> Result<()> {
-    let repo = repo("bare_repo.sh")?;
+    let repo = repo("make_bare_repo.sh")?;
     let work_dir = get_work_dir(&repo);
     assert!(
         work_dir.is_err(),
@@ -27,7 +34,7 @@
 
 #[test]
 fn test_repo() -> Result<()> {
-    let repo = repo("repo.sh")?;
+    let repo = repo("make_repo.sh")?;
     let config: CliOptions = CliOptions {
         input: repo.path().to_path_buf(),
         info: InfoCliOptions {
@@ -55,7 +62,7 @@
 
 #[test]
 fn test_repo_without_remote() -> Result<()> {
-    let repo = repo("basic_repo.sh")?;
+    let repo = repo("make_repo_without_remote.sh")?;
     let config: CliOptions = CliOptions {
         input: repo.path().to_path_buf(),
         ..Default::default()
@@ -65,3 +72,14 @@
 
     Ok(())
 }
+
+#[test]
+fn test_partial_repo() -> Result<()> {
+    let repo = named_repo("make_partial_repo.sh", "partial")?;
+    let config: CliOptions = CliOptions {
+        input: repo.path().to_path_buf(),
+        ..Default::default()
+    };
+    let _info = build_info(&config).expect("no error");
+    Ok(())
+}

++++++ vendor.tar.xz ++++++
/work/SRC/openSUSE:Factory/onefetch/vendor.tar.xz 
/work/SRC/openSUSE:Factory/.onefetch.new.15902/vendor.tar.xz differ: char 27, 
line 1

Reply via email to