[Xfce4-commits] <xfce-git-hooks:master> Use noreply at xfce.org as the email address used to send commit mails.

Jannis Pohlmann jannis at xfce.org
Fri Sep 18 04:04:01 CEST 2009


Updating branch refs/heads/master
         to 12f2f09b216b4e7d2ef28779e2d7a9fe4e7ea7c9 (commit)
       from e1da322ef770acf3155f092861ca4dff5e2759f1 (commit)

commit 12f2f09b216b4e7d2ef28779e2d7a9fe4e7ea7c9
Author: Jannis Pohlmann <jannis at xfce.org>
Date:   Fri Sep 18 04:02:16 2009 +0200

    Use noreply at xfce.org as the email address used to send commit mails.
    
    Apparently, mailman doesn't care about envelope sender which we tried to
    set in order to make it accept mails from people not subscribed to the
    commits mailing list. So, we'll be using noreply at xfce.org now until
    there's a better solution.

 hooks/update-03-send-commit-mails |   14 ++------------
 1 files changed, 2 insertions(+), 12 deletions(-)

diff --git a/hooks/update-03-send-commit-mails b/hooks/update-03-send-commit-mails
index 34605f7..ba8a5a5 100755
--- a/hooks/update-03-send-commit-mails
+++ b/hooks/update-03-send-commit-mails
@@ -37,22 +37,12 @@ replyto=`git repo-config  xfce-hooks.replyto`
 
 xfce_git_hook_committer()
 {
-  git show --pretty=format:'%cn <%ce>' -s "$1"
+  git show --pretty=format:'%cn <noreply at xfce.org>' -s "$1"
 }
 
 xfce_git_hook_tagger()
 {
-  git show --summary "$1" | grep '^Tagger:' | sed 's/^Tagger: //'
-}
-
-xfce_git_hook_author()
-{
-  git show --pretty=format:'%an <%ae>' "$1"
-}
-
-xfce_git_hook_tag_date()
-{
-  git show --summary "$1" | head -n3 | grep '^Date:' | sed -e 's/^Date: //'
+  git show --summary "$1" | grep '^Tagger:' | sed 's/^Tagger: //' | sed 's/<.*>/noreply at xfce.org/'
 }
 
 xfce_git_hook_short_refname()



More information about the Xfce4-commits mailing list