[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

[Subclipse-dev] Re: Mylyn Integration with History view

From: Eugene Kuleshov <eu_at_md.pp.ru>
Date: Wed, 12 Mar 2008 14:14:45 -0400

Mark Phippard wrote:
>> Remote repositories will work if corresponding connector were able to
>> recognize pattern for given task. For example, try to open
>> http://jira-dashboard.tigris.org/svn/jira-dashboard/trunk/org.tigris.jira.ui
>> in the History view and add make sure that
>> http://developer.atlassian.com/jira JIRA repository is registered in Mylyn.
>>
> I do not understand how that works though. Does it go through every
> registered provider? I have the three CollabNet connectors installed.
> In this case, it is the Subclipse repository on tigris and I have the
> Issuezilla connector installed.
>
  Right, it won't work with IssueZilla and probably with other
connectors except JIRA. The thing is that JIRA task ids usually allow to
identify repository right from the id, while IssueZilla and Bugzilla
numeric ids aren't unique for repositories.

  Basically OpenCorrespondingTaskAction.reconcile() iterates trough all
connectors and passing comment text to
AbstractRepositoryConnector.getTaskIdsFromComment(). Then
JiraRepositoryConnector.getTaskIdsFromComment() is using locally cached
project keys retrieved from JIRA to construct matching patterns for task
keys.

>> The only option for Subclipse would be to maintain mapping between
>> task repositories and SVN repositories like you suggested (or maybe even
>> per-url mapping). But I am not sure where we can store such mapping. Do
>> you have any ideas on that?
>>
> I was hoping the Subclipse/Mylyn integration plugin could manage the
> mapping and it would be a matter of how do we provide the mapping to
> Mylyn at runtime.
>
  Yes, that is what I meant. Method SubclipseLinkedTaskInfo.init() could
be extended to retrieve URL from mapping maintained by Subclipse
integration for Mylyn. I was just getting into the technical details
where to save such mapping and what kind of UI should be used to manage
that.

  regards,
  Eugene

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe_at_subclipse.tigris.org
For additional commands, e-mail: dev-help_at_subclipse.tigris.org
Received on 2008-03-12 19:15:06 CET

This is an archived mail posted to the Subclipse Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.