On Tue, Nov 24, 2009 at 8:03 AM, Robert Munteanu <[email protected]> wrote: > On Tue, Nov 24, 2009 at 3:31 PM, Robert Munteanu > <[email protected]> wrote: >> Hi, >> >> As part managing the task repositories I have implemented >> IRepositoryListener in my MantisClientManager. Following the example >> of the Bugzilla connector, I clear the caches whenever I am notified >> of: >> >> - repositoryAdded >> - repositoryRemoved >> - repositorySetttingsChanged >> >> 3) Implement IRepositoryChangeListener like the JiraClientFactory > > It seems that if I receive a Delta of Type PROPERTY for the sync > timestamp I can safely ignore it. > > Are there any other derived ( e.g. don't affect the cached repository > state ) properties that might be skipped?
That sync time stamp is the most important one since it is frequently updated by the framework. In theory arbitrary properties could change on a repository so you might be better off defining a white list of property keys that are relevant to your connector (e.g. character set or other properties that can be changed in the repository settings page). It would be great if you could file a bug to make proper change notifications for task repositories properties available through API. Please add any thoughts about what's missing in TaskRepositoryDelta and related classes. Steffen -- Steffen Pingel Committer, http://eclipse.org/mylyn Senior Developer, http://tasktop.com _______________________________________________ mylyn-integrators mailing list [email protected] https://dev.eclipse.org/mailman/listinfo/mylyn-integrators
