Hello,

I'm using Emails on Push Notification Service in my GitLab 7.7.2 server to 
get notifications per commit via e-mail. 

I changed the E-mail format of GitLab by manipulating these two files 
manually  :

$GITLAB/app/views/notify/repository_push_email_html.haml 

and

$GITLAB/app/views/notify/repository_push_email_text.haml

I only changed the format of the e-mail content from original to this 
format for example :

Commits:

Repository: http://gitlab.domain.com/aydin/module-elasticsearch
Branch: refs/heads/master

Commit:  d86ce6c04156d6a00a7a686c5aa1224136654c7f
Link :   
http://gitlab.domain.com/aydin/module-elasticsearch/commit/d86ce6c04156d6a00a7a686c5aa1224136654c7f
Author:  Aydın Doyak

refs #12345 changed provider to rpm


Changes:

=====================================
manifests/init.pp
=====================================
--- a/manifests/init.pp
+++ b/manifests/init.pp
@@ -2,7 +2,7 @@
 
 class elasticsearch (
   $rpm_source  = 
'https://download.elasticsearch.org/elasticsearch/elasticsearch/elasticsearch-1.3.4.noarch.rpm',
+ $provider    = 'rpm',
-  $provider    = 'git',
   $package     = 'elasticsearch',
   
   $java_bin        = $elasticsearch::params::java_bin,

But i want to get a short summary about commits which files were changed 
and how many additions or deletions happened by this commit, like :

 app/assets/stylesheets/styles.scss |  4 ++++
 app/views/gifts/show.html.haml     | 10 +++++++---
 config/locales/tr.yml              |  1 +
 3 files changed, 12 insertions(+), 3 deletions(-)


Is there any way to get this information coming via e-mails with using the 
E-mails on Push Service? And if it's possible, how can i manage this 
information in commit e-mails?

If you'd like to see what and how i exactly changed in these haml files, 
you can check this out : https://github.com/aydintd/gitlab_email_format

Thank you

-- 
You received this message because you are subscribed to the Google Groups 
"GitLab" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to gitlabhq+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/gitlabhq/df86eed1-ecfb-42a1-895f-95887410c07d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to