Re: [RFC] Add a new email notification script to "contrib"

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 07/16/2012 06:16 PM, Matthieu Moy wrote:
mhagger@xxxxxxxxxxxx writes:

From: Michael Haggerty <mhagger@xxxxxxxxxxxx>

Add a new Python script, contrib/hooks/post-receive-multimail.py, that
can be used to send notification emails describing pushes into a git
repository.  This script is derived from
contrib/hooks/post-receive-mail, but has many differences, including:

* One email per commit [1].

It's cool to have it, but it would be nice to allow the "one email per
push" mode too. I have co-workers who already complain about the number
of emails sent by the post-receive-mail script. I can't imagine their
reaction if I set up a one-email-per-commit hook ;-).

It's already supported:

    git config hooks.announcelist \
        "nosy@xxxxxxxxxxx, overwhelmed@xxxxxxxxxxx, phb@xxxxxxxxxxx"
    git config hooks.refchangelist \
        "nosy@xxxxxxxxxxx, overwhelmed@xxxxxxxxxxx"
    git config hooks.commitlist "nosy@xxxxxxxxxxx"

Granted, the ReferenceChange emails currently cannot be configured to include diffs, as can those of the old post-receive-email script, and the text alludes to upcoming one-email-per-commit emails. But since it looks like the new script might be put forward as a replacement for the old one, I will obviously put more work into supporting as much of the old functionality as possible.

Thanks for the feedback!

Michael

--
Michael Haggerty
mhagger@xxxxxxxxxxxx
http://softwareswirl.blogspot.com/
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]