public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/rust-pretty-git-prompt] epel10: Update to 0.2.1
@ 2026-09-17 7:50 Josh Stone
0 siblings, 0 replies; only message in thread
From: Josh Stone @ 2026-09-17 7:50 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/rust-pretty-git-prompt
Branch : epel10
Commit : 39e1a85a2d64d20ea7d6f82f1900d1f750b941c3
Author : Josh Stone <jistone@redhat.com>
Date : 2020-04-08T13:41:43-07:00
Stats : +7/-65 in 5 file(s)
URL : https://src.fedoraproject.org/rpms/rust-pretty-git-prompt/c/39e1a85a2d64d20ea7d6f82f1900d1f750b941c3?branch=epel10
Log:
Update to 0.2.1
---
diff --git a/.gitignore b/.gitignore
index 814c088..e62d633 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
/pretty-git-prompt-0.2.0.crate
+/pretty-git-prompt-0.2.1.crate
diff --git a/0001-deps-update-git2-to-0.7.patch b/0001-deps-update-git2-to-0.7.patch
deleted file mode 100644
index a798c66..0000000
--- a/0001-deps-update-git2-to-0.7.patch
+++ /dev/null
@@ -1,46 +0,0 @@
-From 37471bc537989dd89af4d96df0aaaf49208c8203 Mon Sep 17 00:00:00 2001
-From: Igor Gnatenko <ignatenko@redhat.com>
-Date: Mon, 12 Mar 2018 11:49:56 +0100
-Subject: [PATCH] deps: update git2 to 0.7
-
-Signed-off-by: Igor Gnatenko <ignatenko@redhat.com>
----
- src/backend.rs | 8 ++++----
- 1 file changed, 4 insertions(+), 4 deletions(-)
-
-diff --git a/src/backend.rs b/src/backend.rs
-index bf8f6b0..4975fe0 100644
---- a/src/backend.rs
-+++ b/src/backend.rs
-@@ -352,8 +352,8 @@ impl Backend {
- }
- let mut d = HashMap::new();
-
-- let changed = STATUS_WT_MODIFIED | STATUS_WT_DELETED | STATUS_WT_TYPECHANGE | STATUS_WT_RENAMED;
-- let staged = STATUS_INDEX_MODIFIED | STATUS_INDEX_DELETED | STATUS_INDEX_TYPECHANGE | STATUS_INDEX_RENAMED | STATUS_INDEX_NEW;
-+ let changed = Status::WT_MODIFIED | Status::WT_DELETED | Status::WT_TYPECHANGE | Status::WT_RENAMED;
-+ let staged = Status::INDEX_MODIFIED | Status::INDEX_DELETED | Status::INDEX_TYPECHANGE | Status::INDEX_RENAMED | Status::INDEX_NEW;
-
- let statuses = match self.get_status() {
- Some(x) => x,
-@@ -368,7 +368,7 @@ impl Backend {
- let counter = d.entry(CHANGED_KEY.to_string()).or_insert(0);
- *counter += 1;
- };
-- if file_status.contains(STATUS_WT_NEW) {
-+ if file_status.contains(Status::WT_NEW) {
- let counter = d.entry(NEW_KEY.to_string()).or_insert(0);
- *counter += 1;
- };
-@@ -376,7 +376,7 @@ impl Backend {
- let counter = d.entry(STAGED_KEY.to_string()).or_insert(0);
- *counter += 1;
- };
-- if file_status.intersects(STATUS_CONFLICTED) {
-+ if file_status.intersects(Status::CONFLICTED) {
- let counter = d.entry(CONFLICTS_KEY.to_string()).or_insert(0);
- *counter += 1;
- };
---
-2.16.2
-
diff --git a/pretty-git-prompt-fix-metadata.diff b/pretty-git-prompt-fix-metadata.diff
deleted file mode 100644
index 298c4e7..0000000
--- a/pretty-git-prompt-fix-metadata.diff
+++ /dev/null
@@ -1,11 +0,0 @@
---- pretty-git-prompt-0.2.0/Cargo.toml 1970-01-01T00:00:00+00:00
-+++ pretty-git-prompt-0.2.0/Cargo.toml 2020-03-19T10:41:19.807001+00:00
-@@ -30,7 +30,7 @@
- default-features = false
-
- [dependencies.git2]
--version = "0.6"
-+version = "0.13"
- features = []
- default-features = false
-
diff --git a/rust-pretty-git-prompt.spec b/rust-pretty-git-prompt.spec
index 3b0333c..a4ff17c 100644
--- a/rust-pretty-git-prompt.spec
+++ b/rust-pretty-git-prompt.spec
@@ -5,19 +5,14 @@
%global crate pretty-git-prompt
Name: rust-%{crate}
-Version: 0.2.0
-Release: 14%{?dist}
+Version: 0.2.1
+Release: 1%{?dist}
Summary: Your current git repository information inside a beautiful shell prompt
# Upstream license specification: MIT
License: MIT
URL: https://crates.io/crates/pretty-git-prompt
Source: %{crates_source}
-# Initial patched metadata
-# * Update git2 to 0.13, https://github.com/TomasTomecek/pretty-git-prompt/pull/51
-Patch0: pretty-git-prompt-fix-metadata.diff
-# Make it work with new git2, https://github.com/TomasTomecek/pretty-git-prompt/pull/39
-Patch1: 0001-deps-update-git2-to-0.7.patch
ExclusiveArch: %{rust_arches}
@@ -63,6 +58,9 @@ License: MIT
%endif
%changelog
+* Wed Apr 08 2020 Josh Stone <jistone@redhat.com> - 0.2.1-1
+- Update to 0.2.1
+
* Thu Mar 19 11:41:19 CET 2020 Igor Raits <ignatenkobrain@fedoraproject.org> - 0.2.0-14
- Update git2 to 0.14
diff --git a/sources b/sources
index ada5b5f..ddb93e6 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (pretty-git-prompt-0.2.0.crate) = 210c07407440e1efe33e54b5134e6b07e9d54d2dfbc72fba56d52506195e2979728d4bacea697c3796deff8a4482f0eba5c8ee738af3a42810647ebef310c805
+SHA512 (pretty-git-prompt-0.2.1.crate) = 921b31f65c222a64d226b39f0ae282c77932d38ebfa9eb99dfe6db2695645a2a6527ceca32871520f309fef09f60327a4632ea9404756a0d72813f5217124edc
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-09-17 7:50 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-09-17 7:50 [rpms/rust-pretty-git-prompt] epel10: Update to 0.2.1 Josh Stone
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox