diff options
-rw-r--r-- | deployment/mgagit/templates/gitolite.rc | 2 | ||||
-rw-r--r-- | deployment/mgagit/templates/group_owned_repo.gl | 1 | ||||
-rw-r--r-- | deployment/mgagit/templates/repodef_repo.gl | 1 |
3 files changed, 3 insertions, 1 deletions
diff --git a/deployment/mgagit/templates/gitolite.rc b/deployment/mgagit/templates/gitolite.rc index 171b6662..e498cf6e 100644 --- a/deployment/mgagit/templates/gitolite.rc +++ b/deployment/mgagit/templates/gitolite.rc @@ -21,7 +21,7 @@ UMASK => 0022, # look for "git-config" in the documentation - GIT_CONFIG_KEYS => 'gitweb\.description gitweb\.owner hooks\.mailinglist hooks\.emailprefix hooks\.envelopesender', + GIT_CONFIG_KEYS => 'gitweb\.description gitweb\.owner hooks\.mailinglist hooks\.emailprefix hooks\.envelopesender hooks\.showrev', # comment out if you don't need all the extra detail in the logfile LOG_EXTRA => 1, diff --git a/deployment/mgagit/templates/group_owned_repo.gl b/deployment/mgagit/templates/group_owned_repo.gl index f7ec2324..b785b55c 100644 --- a/deployment/mgagit/templates/group_owned_repo.gl +++ b/deployment/mgagit/templates/group_owned_repo.gl @@ -23,6 +23,7 @@ repo [% repo %] [% END -%] config hooks.emailprefix = "[[% repo %]] " config hooks.envelopesender = "root@mageia.org" + config hooks.showrev = "t=%s; echo '-----------------------------------------------------------------------';echo; printf 'http://gitweb.mageia.org/'$GL_REPO'/commit/?id=%%s' $t; echo;echo; git show -C $t; echo" config gitweb.description = "[% r.repos.$repo.description %]" [% IF r.users.$maintainer -%] config gitweb.owner = "[% r.users.$maintainer.cn.0 %] [[% maintainer %]]" diff --git a/deployment/mgagit/templates/repodef_repo.gl b/deployment/mgagit/templates/repodef_repo.gl index ebc9d904..ceb523e0 100644 --- a/deployment/mgagit/templates/repodef_repo.gl +++ b/deployment/mgagit/templates/repodef_repo.gl @@ -5,4 +5,5 @@ repo [% repo %] config hooks.mailinglist = "sysadmin-commits@ml.mageia.org" config hooks.emailprefix = "[[% repo %]] " config hooks.envelopesender = "root@mageia.org" + config hooks.showrev = "t=%s; echo '-----------------------------------------------------------------------';echo; printf 'http://gitweb.mageia.org/'$GL_REPO'/commit/?id=%%s' $t; echo;echo; git show -C $t; echo" config gitweb.description = "[% r.repos.$repo.description %]" |