[issue2206] Let the users specify which actions (i.e. pull, push, etc) should trigger a notification on a per repository basis
didlybom
bugs at mercurial.selenic.com
Fri May 21 09:35:37 UTC 2010
New submission from didlybom <didlybom at gmail.com>:
Currently the notify extension can be configured to send a notification to a
given user when a certain "source" (pull, push, serve, bundle) happens for a
set of repositories. However it is not possible to use different source
triggers for each repository or for each user. It would be great to be able
to do so.
For instance, a user may want to be notified when someone pushes to a
certain repository, but not when they pull from it; while that same users
may want to be notified both when they push and when they pull from another
repository.
Thus it would be great to be able to append a "source list" to each
repository glob on the [usersubs] section of the notify extension config
file. If no source list was set then the default source list (specified
through the "sources" setting) would be used. A possible syntax for this
could be:
[usersubs]
user_email = repo_glob1|source_list1, repo_glov2|source_list2
[reposubs]
repo_name = user_glob1|source_list1, user_glob2|source_list2
For example:
[usersubs]
myemail at myserver.com = *my_repo|pull, my_second_repo|pull|push
That is, each source would be separated by a "|" and they sources would
follow the globs that would use a different sources thant he defaults.
Cheers,
Didly
----------
messages: 12617
nosy: didlybom
priority: feature
status: unread
title: Let the users specify which actions (i.e. pull, push, etc) should trigger a notification on a per repository basis
topic: notify
____________________________________________________
Mercurial issue tracker <bugs at mercurial.selenic.com>
<http://mercurial.selenic.com/bts/issue2206>
____________________________________________________
More information about the Mercurial-devel
mailing list