[Nagiosplug-devel] Git commit e-mails

Thomas Guyot-Sionnest dermoth at aei.ca
Fri May 22 14:10:28 CEST 2009


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 22/05/09 05:45 AM, Andreas Ericsson wrote:
> Ton Voon wrote:
>> On 22 May 2009, at 01:22, Holger Weiss wrote:
>>
>>> Both options have pros and cons, so let me know what you'd prefer.   
>>> Or,
>>> as another alternative, should we simply continue to send a separate
>>> e-mail for each commit?
>> I would personally prefer one email per commit as it is easier to  
>> glance at what is happening and just read the subject to get an idea  
>> of the changes and the importance. The 5 minute delay is not a big deal.
>>
>> A quick look at the nagiosplug-checkins list (which has 181 members)  
>> shows out of 38 members, 4 wanted a digest. So 90% of the members to  
>> this list prefer individual emails. If git sends out individual  
>> emails, then the list digest would act as the summary view.
>>
>> However, I'd cede to the majority if a summarised view is preferred.
>>
> 
> Personally I like to get things as one email, and getting the diff in
> the email is *usually* not interesting (assuming proper commit messages
> are always written).
> 
> A nice mail-format would be something like this:
> git shortlog -ns old..new; git shortlog old..new; git log old..new
> 
> Which would look something like this:
> 
> ######
> 14   Ton Voon
>  4   Holger Weiss
> 
> Ton Voon
>    patchsubject1
>    patchsubject2
>    ...
>    patchsubject14
> 
> Holger Weiss
>    patchsubject1
>    ...
>    patchsubject4
> 
> (git log output)
> #######
> 
> I personally prefer that since it's quite common to do multiple commits to
> implement a single feature, and this way one gets all the commits in one go.
> Ofcourse, it would be easier if you could just use the post-receive hook,
> since that would prevent mingling of several patch-series, but with a 5 min
> interval I suppose that'll only happen very rarely anyway.

I agree... Since the commit subjects currently do not show anything
useful we have to look inside emails already. A top summary would be
nice, or anything that can reduce the email size (i.e. removing the
diffs) so we'd be able to quickly see what have been committed.


- --
Thomas
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFKFpY06dZ+Kt5BchYRArdvAJ9NVklhaWid/iOlkuTRLY+fyzVqkgCfXF63
wzvUGPFPrFj8arR2D4LUzZQ=
=x0bZ
-----END PGP SIGNATURE-----




More information about the Devel mailing list