On 2/22/13 11:33 AM, Andrej Golcov wrote:
To expand a bit further : Instead of this we better focus on
implementing product listeners (new ticket needed ;) ... and if you
ask me rather than this we better spend some time working towards
generic IResourceChangeListener and IResourceManipulator interfaces
aimed at unifying, improving and replacing the currently scattered
I*ChangeListener APIs .
... I'm 99% sure Andrej will agree ... :P
I'm 100% agree :)
What I'm doing now is patching trac with new interface
IComponentChangeListener, than will have to do the same for
Priorities, Versions etc.
A lot of copy-paste. So if we agree on this, I would rather spend
time working towards generic solution while amount of trac patching is
similar.
And there is still hope for pushing changes back to Trac.
+1 for generic solution and an attempt to push that to trac.
This would also be usable for multi-product aware plugins to get
notified on product additions as this will no longer be the case after
we introduce IGlobalSetupParticipant proposed in one of my previous mails.
Cheers,
Jure