← Back to team overview

launchpad-dev team mailing list archive

Re: notifications - an implementation straw man (warning explicit discussion of services follows)

 

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

On 11-11-29 03:29 PM, Robert Collins wrote:
> On Wed, Nov 30, 2011 at 6:41 AM, Aaron Bentley
> <aaron@xxxxxxxxxxxxx> wrote:
>> I don't think we need participants in that API.  I think people
>> would like control over all notifications.  So participants can
>> be selected the same way that other recipients are selected.
> 
> I agree that people want that control. The issue here is dealing
> with race conditions.
> 
> Consider: removing an assignee. You would expect the assignee to
> be notified. But LP no longer knows who the assignee is after they
> are removed. So that knowledge needs to be preserved.

ISTM that you could subscribe $USER to "relationship changes of $USER"
and then include the user in the event tags.

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

iEYEARECAAYFAk7VVx0ACgkQ0F+nu1YWqI0JegCfW4+Q5hzFfrs7Z6VrS6ypsaEQ
f9YAnjxTy6TuVR7FLPPaIcLo5Tcvoutu
=PwDl
-----END PGP SIGNATURE-----


Follow ups

References