Community
Participate
Working Groups
Updating the repository configuration can be expensive for large repositories. In order to support more fine-grained updating of configuration details AbstractRepositoryConnector.updateRepositoryConfiguration() should support a task parameter to limit the scope of an update.
Created attachment 148173 [details] patch
Created attachment 148174 [details] mylyn/context/zip
I have taken a similar approach as suggested on bug 290490 but limited the amount of changes required.
Hi Steffen, I started with a similar approach as in your patch - I used ITask as the argument for the new method but then I realized that it's not possible to directly get a project id from ITask, so I switched to TaskData. Did I miss something? Is there any simple way to get project id for ITask? Cheers, Pawel
Yes, this will require storing the projectId on the task. I have commented on bug 290490 with a suggestion. The reason I do not want to include TaskData is for consistency with similar API methods and that TaskData may not be available in all cases, e.g. for web based tasks. I have filed bug 290606 to track further generalization of repository configuration handling.
Thank you for the explanation.