no mail after git-push ?

Mike Frysinger vapier at gentoo.org
Wed May 6 10:39:56 UTC 2009


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.

> 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 ...

> 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 ?
-mike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.busybox.net/pipermail/uclibc/attachments/20090506/d47dd845/attachment.pgp>


More information about the uClibc mailing list