no mail after git-push ?

Peter Kjellerstedt peter.kjellerstedt at axis.com
Wed May 6 11:03:42 UTC 2009


> -----Original Message-----
> From: Mike Frysinger [mailto:vapier at gentoo.org]
> Sent: den 6 maj 2009 12:40
> To: Peter Kjellerstedt
> Cc: uclibc at uclibc.org
> Subject: Re: no mail after git-push ?
> 
> On Wednesday 06 May 2009 06:07:13 Peter Kjellerstedt wrote:
> > From Mike Frysinger:
> > > On Wednesday 06 May 2009 05:24:50 Will Newton wrote:
> > > > On Tue, May 5, 2009 at 6:27 PM, Carmelo AMOROSO wrote:
> > > > > is not possible to receive git=push notificaation by emails as
> > > > > we had for svn commit ?
> > > >
> > > > The post-recieve-email hook in the git contrib directory should
> > > > do what you want.
> > >
> > > Ian configured the repos to use that already, but for some reason it
> > > isnt working.  imo, the format sucks hard anyways, so i implemented
> > > my own hook based on format-patch.  should be working now ... i'll
> > > run it manually to send out old commits though.
> >
> > A step in the right direction, but the mails (judging by the ones
> > I received for busybox) seem to be lacking some vital information,
> > e.g., the sha1 of the commit, what branch it was made on
> 
> read the actual e-mail.  there are X-* tags in there with all relevant
> information.

Ah, then it's there at least; just a bit harder to find...

> > preferably a link to the web where the commit can be seen
> 
> the old commit log didnt have it so i didnt add it to the new one.
> but i dont have a problem adding it.
> 
> > Also I
> > would very much prefer to have the subject line of the commit
> > message remain in the body since at least the mail reader I use
> > has quite some distance between the mail subject and mail body
> > which means I need to move my eyes up and down to first read the
> > subject, and then read the rest of the body, rather than just read
> > the bodies which I am used to...
> 
> get a better reader ?  unless there's other people who would prefer
> this change, i'm inclined to not do it ...

Maybe it is just me, but when reading commit mails I am used
to only reading the body for the actual commit message. I only
glance briefly at the list of subjects before starting to read
the actual messages.

> > Please find attached the post-receive script that GStreamer uses.
> > Even if you do not want to use it literally, I hope it may be
> > of some inspiration. It has the mail list and web URL hard coded,
> > but that should be easy enough to change to use git config instead.
> 
> perl is not my thing, so it wont be too much assistance in terms of
> copy & paste.  do you have a URL for an example commit message 
> generated by this ?

Here is the mail archive for GStreamer's commit mails:

http://sourceforge.net/mailarchive/forum.php?forum_name=gstreamer-cvs&max_rows=25&style=nested&viewmonth=200905

For short diffs (<10kB by default) it includes the diff in the 
mail, and for longer diffs it includes a link instead 

> -mike

//Peter



More information about the uClibc mailing list