Bug 195660 - support import/export of repository configurations
Summary: support import/export of repository configurations
Status: RESOLVED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: Mylyn (show other bugs)
Version: unspecified   Edit
Hardware: All All
: P4 enhancement (vote)
Target Milestone: 3.0   Edit
Assignee: Mylyn Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords: bugday
: 198762 (view as bug list)
Depends on:
Blocks:
 
Reported: 2007-07-06 10:22 EDT by Alex Blewitt CLA
Modified: 2008-05-13 16:50 EDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alex Blewitt CLA 2007-07-06 10:22:40 EDT
I've spent a bunch of time configuring a web connector. I'd like to be able to take the work that I've done, and make it available to others. However, there's no easy way to export the data that's used in the Mylyn configuration for others to use (e.g. like how .launch configurations are stored). It would be great if there was a way of saving that definition.

NB This kind of information should really be configured by the preferences, and then you'd be able to export them as normal Eclipse preferences. Any reason why that's not done?
Comment 1 Mik Kersten CLA 2007-07-10 00:34:05 EDT
++1 

As I discussed on bug 193546, I think that a mechanism of this sort is required for the Generic Web Connector to graduate from Incubation status.  Rather than doing this with Eclipse preferences-based sharing, I think that it would be best as a simple Team Project Set like XML file that can be specified by the project itself (e.g. a particular SF.net or Google Code Hosting project).  That way the project admin only has to configure the template once and users should only have to enter credentials and connectivity settings instead of having to figure out URL/param internals.
Comment 2 Eugene Kuleshov CLA 2007-07-10 00:52:17 EDT
I don't think this is anyhow specific to the web repository connector and should be generic for all repositories. 

That would be in line with team project set functionality, which is connector neutral.

Also note that repository templates won't help much, because many issue trackers like sf.net (and in the less extent google code), have multiple projects on the same repository, so actual projects are represented by the accordingly configured queries. Those preconfigured queries need to be provided/imported as part of the project provisioning story.
Comment 3 Mik Kersten CLA 2007-07-10 15:40:38 EDT
+1 for making this generic.  I think it is most relevant to making the generic web connector usable since repositories are much easier to add with a rich connector.  

Regarding queries, note that several connectors (JIRA, CollabNet, Rally) support retrieving queries server side so query import/export is not as relevant to them.
Comment 4 Eugene Kuleshov CLA 2007-07-10 16:04:09 EDT
(In reply to comment #3)
> Regarding queries, note that several connectors (JIRA, CollabNet, Rally)
> support retrieving queries server side so query import/export is not as
> relevant to them.

Server side queries have very limited usefulnes for provisioning. For example, in JIRA there is no real classification or hierarchy, so all queries from all projects are in the same flat list.

Jason also commented about that at some point.
Comment 5 Robert Elves CLA 2007-08-08 20:35:50 EDT
*** Bug 198762 has been marked as a duplicate of this bug. ***
Comment 6 Mik Kersten CLA 2007-08-24 12:15:57 EDT
Jevgeni: Cc'ing you since this is related to work that you have been doing.
Comment 7 Mik Kersten CLA 2007-09-27 22:04:15 EDT
Jevgeni has provided much of the infrastructure needed for this via bug 196031.  If anyone else is interested in taking this on for bugday please propose UI first so that other contributors can share some of the previous discussion about this and point out relevant framework code.
Comment 8 Mik Kersten CLA 2008-05-13 16:50:07 EDT
In Mylyn 2.x this is available via the Operations submenu of the Task List popup menu.