Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 175064

Summary: Create Task Repositories from info provided by projectLinkProviders
Product: z_Archived Reporter: Eugene Kuleshov <ekuleshov>
Component: MylynAssignee: Project Inbox <mylyn-triaged>
Status: CLOSED MOVED QA Contact:
Severity: enhancement    
Priority: P3 CC: robert.elves
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: All   
Whiteboard:
Bug Depends on: 149607    
Bug Blocks:    

Description Eugene Kuleshov CLA 2007-02-21 18:48:42 EST
We need to automate creating new repositories linked trough org.eclipse.mylar.tasks.ui.projectLinkProviders extension point. See http://wiki.eclipse.org/index.php/Mylar_Integrator_Reference#Mapping_from_projects_to_Task_Repositories

It seems like AbstractTaskRepositoryLinkProvider need some API for creating new repositories. Probably just return repository template instance. That would be used from [Add Repository] action in the Project preferences and also picked up by the New Repository wizard when project/resource is in selection.

TaskUI could also iterate trough all workbench projects on startup and ask link providers for these repository templates. But there are some performance concerns about this.
Comment 1 Robert Elves CLA 2007-02-21 18:55:50 EST
What if upon link activation if the repository doesn't exist the template is then used to create repository - credentials requested as per (bug#149607)? Kind of lazy repository construction.
Comment 2 Eugene Kuleshov CLA 2007-02-21 20:03:49 EST
(In reply to comment #1)
> What if upon link activation if the repository doesn't exist the template is
> then used to create repository - credentials requested as per (bug#149607)?
> Kind of lazy repository construction.

Rob, not sure what you mean by "link activation".

We can trigger automatic repository creation from New Repository Task or New Task Repository wizards. I will have to look if it can be also triggered by the hyperlink providers. Though in some cases link provider may not be able to identify repository type, can only give an url (i.e. in case of Subversion info).
Comment 3 Eclipse Webmaster CLA 2022-11-15 11:45:08 EST
Mylyn has been restructured, and our issue tracking has moved to GitHub [1].

We are closing ~14K Bugzilla issues to give the new team a fresh start. If you feel that this issue is still relevant, please create a new one on GitHub.

[1] https://github.com/orgs/eclipse-mylyn