mknittig / googlecode-mylyn-connector

Automatically exported from code.google.com/p/googlecode-mylyn-connector
0 stars 0 forks source link

Allow Eclipse Labs project URLs in the task repository setup #71

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Right now, the connector only seems to accept URLs in the format
http://code.google.com/p/projectname

The Eclipse Labs projects have URLs like
http://code.google.com/a/eclipselabs.org/p/projectname

About the release of Eclipse Labs based on Google Code:
http://dev.eclipse.org/blogs/mike/2010/05/13/introducing-eclipse-labs/

Original issue reported on code.google.com by rolfkl...@gmail.com on 14 May 2010 at 9:06

GoogleCodeExporter commented 8 years ago
One reasonably general solution to this problem would be to add a preference 
page to 
the Mylyn tasks preferences. Initially this page would allow users to select 
the URL 
prefix to use when generating task URL's. It should default to the standard 
Google 
prefix http://code.google.com/p but should permit others such as 
http://code.google.com/a/eclipselabs.org/p or http://eclipselabs.org/p.

Since I need this functionality quickly, I would be prepared to prepare a patch 
based 
on this or any other proposal that is acceptable to the community.

Original comment by jgoss...@gmail.com on 15 May 2010 at 3:23

GoogleCodeExporter commented 8 years ago
Issue 72 has been merged into this issue.

Original comment by b.muskalla@gmail.com on 19 May 2010 at 9:20

GoogleCodeExporter commented 8 years ago

Original comment by b.muskalla@gmail.com on 19 May 2010 at 9:57

GoogleCodeExporter commented 8 years ago

Original comment by b.muskalla@gmail.com on 19 May 2010 at 9:57

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
It turned out to much simpler than I thought to fix this problem, needing no 
use of 
preferences, and in addition allowing implementation of more methods in 
GoogleCodeRepository, specifically getRepositoryUrlFromTaskUrl and 
getTaskIdFromTaskUrl. The patch also includes additional Junit tests and test 
data. I 
am attaching a patch for evaluation.

Original comment by jgoss...@gmail.com on 21 May 2010 at 4:18

Attachments:

GoogleCodeExporter commented 8 years ago
Thanks for the patch. But I wonder - what was your intention? Now it is 
possible to add a EclipseLabs URL as taskrepository but you still cannot query 
the repository as far as I can see.

Fixed this issue now in r96 with several other minor refactorings. You're now 
able to add and query affiliate repositores (like EclipseLabs) with the 
connector. Have fun!

Original comment by b.muskalla@gmail.com on 24 May 2010 at 11:15