[Kde-scm-interest] Post-commit hooks script

Jean-Nicolas Artaud jean.nicolas.artaud at kogmbh.com
Tue Dec 8 17:57:41 CET 2009


Hello guys.

The post-update script is ended for 
CCMAIL: CCBUG: BUG: FEATURE:

I have test it with simple pushes and simple commits, and it works as 
expected. I send it with this mail, don't hesitate to point me problems !

Regards
Jean-Nicolas

Le samedi 05 décembre 2009 09:13:42 AM, Jean-Nicolas Artaud a écrit :
> Le samedi 05 décembre 2009 12:11:19 AM, Oswald Buddenhagen a écrit :
> > On Fri, Dec 04, 2009 at 07:49:52PM +0100, Jean-Nicolas Artaud wrote:
> > >     # One mail send for each CCMAIL
> > >     for myMail in email_addresses
> > >         mailIo = IO.popen("/usr/sbin/sendmail #{myMail}", 'w')
> >
> > that's a bad idea. for one, each mesage has a separate message id, which
> > makes duplicate elimination not work. second, spawning a separate
> > sendmail for each mail is wasting resources.
> >
> > as you are ignoring refs other than the currently updated one, you'll
> > re-send all mails when a branch from the same repo is merged.
> > you are entirely ignoring the existence of new refs, which will lead to
> > kinda interesting effects when someone creates a bugfix branch.
> 
> Johannes had already explained to me in private. He gives me tips, I will
>  use them to have something working and right ASAP. We'll just take yourse
>  when it will be ready : it will surely be better than mine and waste less
>  ressources.
> 
> > quite frankly, you did the trivial work. you can either do the hard
> > stuff and spend a lot of time on it or just wait for me to finish -
> > there are enough other things to do, and i'll do my script anyway, as i
> > a) need it for another project and b) want something generic for
> > submission to git upstream.
> 
> Ok perfect, once done we'll use it of course. Thank you for the answer btw.
> 
> > _______________________________________________
> > Kde-scm-interest mailing list
> > Kde-scm-interest at kde.org
> > https://mail.kde.org/mailman/listinfo/kde-scm-interest
> 
> Jean-Nicolas
> _______________________________________________
> Kde-scm-interest mailing list
> Kde-scm-interest at kde.org
> https://mail.kde.org/mailman/listinfo/kde-scm-interest
> 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: post-update
Type: application/x-ruby
Size: 3463 bytes
Desc: not available
Url : http://mail.kde.org/pipermail/kde-scm-interest/attachments/20091208/4b2c12f7/attachment.bin 


More information about the Kde-scm-interest mailing list