[X2Go-Commits] [maintenancescripts] 01/01: git/hooks/update-script._irkerhook.py_: link to commitdiff and place the URL more prominently, replacing the commit ID.

git-admin at x2go.org git-admin at x2go.org
Thu Mar 26 12:12:01 CET 2015


This is an automated email from the git hooks/post-receive script.

x2go pushed a commit to branch master
in repository maintenancescripts.

commit d2a9b9f90a4920e7c96f90f56f1197a2ab6b31b9
Author: Mihai Moldovan <ionic at ionic.de>
Date:   Thu Mar 26 12:11:50 2015 +0100

    git/hooks/update-script._irkerhook.py_: link to commitdiff and place the URL more prominently, replacing the commit ID.
---
 git/hooks/update-script._irkerhook.py_ |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/git/hooks/update-script._irkerhook.py_ b/git/hooks/update-script._irkerhook.py_
index bad7e0a..728f185 100755
--- a/git/hooks/update-script._irkerhook.py_
+++ b/git/hooks/update-script._irkerhook.py_
@@ -26,7 +26,7 @@ default_tinyifier = "http://tinyurl.com/api-create.php?url="
 # Map magic urlprefix values to actual URL prefixes.
 urlprefixmap = {
     "viewcvs": "http://%(host)s/viewcvs/%(repo)s?view=revision&revision=",
-    "gitweb": "http://%(host)s/gitweb?p=%(repo)s.git;a=commit;h=",
+    "gitweb": "http://%(host)s/gitweb?p=%(repo)s.git;a=commitdiff;h=",
     "cgit": "http://%(host)s/cgi-bin/cgit.cgi/%(repo)s/commit/?id=",
     }
 
@@ -226,7 +226,7 @@ class GitExtractor(GenericExtractor):
         self.email = do("git config --get irker.email")
         #self.tcp = do("git config --bool --get irker.tcp")
         self.tcp = True
-        self.template = '%(bold)s%(project)s:%(reset)s %(green)s%(author)s%(reset)s %(repo)s:%(yellow)s%(branch)s%(reset)s * %(bold)s%(rev)s%(reset)s / %(bold)s%(files)s%(reset)s: %(logmsg)s %(brown)s%(url)s%(reset)s'
+        self.template = '%(bold)s%(project)s:%(reset)s %(green)s%(author)s%(reset)s %(repo)s:%(yellow)s%(branch)s%(reset)s * %(bold)s%(url)s%(reset)s / %(bold)s%(files)s%(reset)s: %(logmsg)s %(brown)s'
         self.tinyifier = do("git config --get irker.tinyifier") or default_tinyifier
         #self.color = do("git config --get irker.color")
         self.color = "mIRC"

--
Alioth's /srv/git/code.x2go.org/maintenancescripts.git//..//_hooks_/post-receive-email on /srv/git/code.x2go.org/maintenancescripts.git


More information about the x2go-commits mailing list