From: dschoemantruter <dschoemantruter@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: [PR PATCH] common/environment/setup: hide commit signature
Date: Tue, 28 Sep 2021 12:25:43 +0200 [thread overview]
Message-ID: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-33165@inbox.vuxu.org> (raw)
[-- Attachment #1: Type: text/plain, Size: 459 bytes --]
There is a new pull request by dschoemantruter against master on the void-packages repository
https://github.com/dschoemantruter/void-packages hide-commit-signature
https://github.com/void-linux/void-packages/pull/33165
common/environment/setup: hide commit signature
When using signed commits the signature needs to be removed/hidden to extract the date correctly.
A patch file from https://github.com/void-linux/void-packages/pull/33165.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-hide-commit-signature-33165.patch --]
[-- Type: text/x-diff, Size: 981 bytes --]
From 8fcb6d7db5eede62fa9a8dcbbd67c4cadd30c26f Mon Sep 17 00:00:00 2001
From: dschoemantruter <91532608+dschoemantruter@users.noreply.github.com>
Date: Tue, 28 Sep 2021 12:09:51 +0200
Subject: [PATCH] hide commit signature
---
common/environment/setup/git.sh | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/common/environment/setup/git.sh b/common/environment/setup/git.sh
index 4b352fe53870..7b2db6befe2f 100644
--- a/common/environment/setup/git.sh
+++ b/common/environment/setup/git.sh
@@ -17,7 +17,7 @@ elif [ -z "${SOURCE_DATE_EPOCH}" ]; then
if [ -n "$basepkg" -a -z "$($XBPS_GIT_CMD -C ${XBPS_SRCPKGDIR}/${basepkg} ls-files template)" ]; then
export SOURCE_DATE_EPOCH="$(stat -c %Y ${XBPS_SRCPKGDIR}/${basepkg}/template)"
else
- export SOURCE_DATE_EPOCH="$($XBPS_GIT_CMD -C ${XBPS_DISTDIR} log --pretty='%ct' -n1 HEAD)"
+ export SOURCE_DATE_EPOCH="$($XBPS_GIT_CMD -C ${XBPS_DISTDIR} log --no-show-signature --pretty='%ct' -n1 HEAD)"
fi
fi
next reply other threads:[~2021-09-28 10:25 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-09-28 10:25 dschoemantruter [this message]
2021-09-28 15:16 ` [PR PATCH] [Closed]: " sgn
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=gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-33165@inbox.vuxu.org \
--to=dschoemantruter@users.noreply.github.com \
--cc=ml@inbox.vuxu.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;
as well as URLs for NNTP newsgroup(s).