>>>>> "stevel" == Stephen Lau <[EMAIL PROTECTED]> writes:

stevel> what about a changegroup hook that only fires if there are
stevel> >10 changesets incoming, and a changeset hook that fires if
stevel> there are <=10?

I don't think an adaptive approach is appropriate here.

First, I think it violates the Principle of Least Astonishment.
Sometimes you get an aggregate message, sometimes you get individual
messages (even though they're the result of a single push/pull).  Sooner
or later, someone will want to make the "10" configurable, which will
make the results even more variable.

Second, having multiple formats makes it harder to process the
notifications using scripts, procmail, or other email sorting code.

I'd rather see a single notification email, which always contains the
same level of detail.  The email could include one or more links to
pages with additional information.[2]

mike

[1] Or would the configuration parameter be for all repositories on the
    web site?

[2] For example, the link in the email could take you to a list of
    changesets, with each changeset individually clickable to get the
    details for that changeset.
_______________________________________________
tools-discuss mailing list
tools-discuss@opensolaris.org

Reply via email to