| Summary: | [connector] Google Code | ||
|---|---|---|---|
| Product: | z_Archived | Reporter: | Eric B <ebessette> |
| Component: | Mylyn | Assignee: | Project Inbox <mylyn-triaged> |
| Status: | CLOSED MOVED | QA Contact: | |
| Severity: | enhancement | ||
| Priority: | P4 | CC: | alex.blewitt, b.muskalla, litrik, markphip, markus, mjmeijer, mn, tonny.madsen, werner.keil |
| Version: | unspecified | Keywords: | helpwanted |
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Windows XP | ||
| Whiteboard: | |||
|
Description
Eric B
For now you can use the generic web repository connector available with the dev builds: http://wiki.eclipse.org/index.php/Mylar_FAQ#Generic_Web_Repository_Connector According to this [1] thread, Google is not planning to provide an API to their issue tracker. So, web connector is the only option for now. http://groups.google.com/group/google-code-hosting/msg/04bfd02b4f0cf579 For those tripping over this bug, I've written a follow up to this issue.
Essentially, the parameters for the generic web connector are:
Task URL: ${serverUrl}/detail?id=
New Task URL: ${serverUrl}/entry
Query Request URL: ${serverUrl}/csv?can=${can}&colspec=ID+Status+Type+Owner+Summary&q=${search}
Query Pattern:
^"({Id}[0-9]+?)","({Status}.*?)","({Type}.*?)","({Owner}.*?)","({Description}.*?)"$
You'll need to add the parameters "can (value 2)" and "search (no value)" to the parameter list; thereafter, you can tweak these for individual queries.
You can find more about the search codes from here
http://alblue.blogspot.com/2009/04/google-code-and-mylyn-redux.html
By the way, I think that the generic web connector should come out of the incubator and be available with the general build; it just hurts people's ability to get connected to things like this when it doesn't get shipped with the main bundle.
It also hurts that there's no way to save a pre-canned web connector setup, like this - you'd be able to export a number of pre-canned web connector setups to get unsupported connectors (like google code) off the ground without having to invest too much in the way they work.
Fyi, Alex put up a more recent post on this: http://alblue.blogspot.com/2009/04/google-code-and-mylyn-redux.html Industrial SQL Connector (bug#184532, which is assigned to me) offers a way of creating precanned connectors using fragments/extension points. Maybe this mechanism can be generalized so it can benefit all of the "Toolkit" connectors: SQL, web, maybe also XML, RSS. This would help adoption of Mylyn and really get Toolkit connectors out of incubation. Worthwile to pusue? related: bug 291239 Just for the sake of completeness: here is the corresponding google code bug for an Issues API ( http://code.google.com/p/support/issues/detail?id=148 ) Google Code has released a read/write Java API for their issue tracker. http://code.google.com/p/support/wiki/IssueTrackerAPIJava Blog post: http://googlecode.blogspot.com/2009/10/issue-tracker-data-api-for-project.html I just created a Google Code project for a Mylyn Connector: http://code.google.com/p/googlecode-mylyn-connector/ Not much code there. I only imported the GData Java Client Library for Project Hosting with dependencies as Eclipse plugins. I'll start putting together something that works as soon as I have time. Any contributions are welcome. A release will come soon. Unfortunately the Google Code API doesn't currently support all necessary methods to implement a full-fledged connector. Please vote for the following issues to get Google to fix this: http://code.google.com/p/support/issues/detail?id=3203 http://code.google.com/p/support/issues/detail?id=3213 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 |