Oh, I forgot to mention. I'm rewriting add-gateling as a Mercurial hook
to be fired upon the 'outgoing' hook.
I'm writing it to be an inline Python hook, so it will no longer be a
ksh script, if people care.
cheers,
steve
Stephen Lau wrote:
I'm looking at porting add-gateling, and here's my current idea for how
to do it:
1. user foo does a clone (or pull)
2. map OpenSolaris.org username foo to their email address via webapp
3. lookup this project/repository in the app to find the notification
mailing addr for it
4. query mailman to see if that mailing addr is an opensolaris.org
mailman-managed list
4a. if not, then email that address and let them know this user
did a clone/pull
4b. if so, then call mailman's CLI to subscribe the user's email
does that seem reasonable with folks?
4a is needed in the case that projects only have one committer, and
don't have a mailing list for notifications, or for some reason or
another don't have the notification address set to an opensolaris.org
mailman managed list. I figure in that case, we can send an email saying:
"user foo ([EMAIL PROTECTED]) pulled a copy of scm-migration/ongk"
Sound reasonable?
cheers,
steve
--
stephen lau // [EMAIL PROTECTED] | 650.786.0845 | http://whacked.net
opensolaris // solaris kernel development
_______________________________________________
tools-discuss mailing list
tools-discuss@opensolaris.org