| Summary: | [connector] RedMine | ||
|---|---|---|---|
| Product: | z_Archived | Reporter: | David Lee Lambert <davidl> |
| Component: | Mylyn | Assignee: | Mylyn Inbox <mylyn-inbox> |
| Status: | RESOLVED NOT_ECLIPSE | QA Contact: | |
| Severity: | enhancement | ||
| Priority: | P4 | CC: | akarypid, aleksandra.k.wozniak, bloritsch, cforce, co, eximius, his, jgonzalez, jonas.demeulenaere, kojder.andrzej, kowalczyk.krzysztof, lothar, lucas.panjer, malaperle, mario.saric, markus, minora, mlists, thorsten.stettin, tuler |
| Version: | unspecified | Keywords: | helpwanted |
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Linux | ||
| URL: | http://www.redmine.org/ | ||
| Whiteboard: | |||
|
Description
David Lee Lambert
If RedMine provides a web service API (e.g. REST, SOAP) it would be helpful if someone could post a link. (In reply to comment #1) > If RedMine provides a web service API (e.g. REST, SOAP) it would be helpful if > someone could post a link. > Hi. Currently there's no WS API, but I can write one. Is there a place where I can find API requirements for Mylar ? Jean-Philippe, there is no generic Mylar connector that could use some "standardized" issue tracker API. The minimal requirements for repository connector are listed here http://wiki.eclipse.org/index.php/Mylar_Integrator_Reference#Task_repository_requirements Maybe you could try implement same API as one of the existing connectors can deal with and then use that connector for your repository. CodeBeamer folks implemented remote API that is used by their own connector, so maybe you can collaborate with them somehow. See http://wiki.eclipse.org/index.php/Mylar_Extensions#CodeBeamer_Mylar_Connector Great idea, we're currently evaluating Trac vs. RedMine, and while RedMine seems better than Trac, the integration with MyLyn is a real plus. (In reply to comment #4) > Great idea, we're currently evaluating Trac vs. RedMine, and while RedMine > seems better than Trac, the integration with MyLyn is a real plus. Exactly the same situation for our project. Thumbs up for the RedMine connector :-) Hi. I'm currently working on creating a MyLyn connector for Redmine. And I'd like to know where i can find some information to start my implementation. thanks. We are also looking at moving from trac to redmine and an eclipse plugin would probably be the last thing that would be needed to seal the deal for redmine. Unfortunately, I'm not familiar enough with eclipse or redmine to offer much help other than testing. Frederico, Karl: please note that Mylyn 3.0 changes are now in progress, and we recommend not starting your implementation until the API has been revised. See bug 227660 for details. The Intergrator Reference will be updated after the API revisions: http://wiki.eclipse.org/index.php/Mylyn_Integrator_Reference I'm reading the Mylyn Integrator Reference to know more about it. When I starting to planning the implementation i will note the api changes. thanks. Until a dedicated Redmine connector has been developed, it might be interesting to add the Redmine demo site as example to the generic web connector. These are the parameters for the Sandbox project on demo.redmine.org: Server: http://demo.redmine.org Label: Redmine Demo - Sandbox User id: guest Password: guest Task url: ${serverUrl}/issues/show/ New task url: ${serverUrl}/projects/sandbox/issues/new Request url: ${serverUrl}/projects/sandbox/issues Query url: ${serverUrl}/projects/sandbox/issues (GET) Query pattern: <td><a href=".+?">({Id}.+?)</a></td>.+?<td class="tracker">({Type}.+?)</td><td class="status">({Status}.+?)</td><td class="priority">.+?</td><td class="subject"><a href=".+?">({Description}.+?)</a></td><td class="assigned_to">({Owner}.*?)</td><td class="updated_on">.+?</td> Login request url: ${serverUrl}/login?username=${userId}&password=${password} (POST) Thanks Jonas! Please consider adding these to: http://wiki.eclipse.org/index.php/Mylyn/User_Guide#Generic_Web_Repository_Connector I would rather/also add it as a template in the generic web connector itself, in the server preselects, though I cannot do that myself. I made a screen cast of the process here: http://acer-rubrum.blogspot.com/2008/05/using-redmine-with-mylyn-eclipse-plugin.html But I'd still prefer the dedicated plugin. It's one of the few things that I miss about Trac, that redmine does not provide. Karl: thanks, I previously added your video to the User Guide: http://wiki.eclipse.org/index.php/Mylyn/User_Guide#Other_Resources Jonas: you could provide a patch with the template settings: http://wiki.eclipse.org/index.php/Mylyn/Contributor_Reference Sorry but I've currently no development environment available, nor do I know which branch to work on. Would it be possible for someone to update the file org.eclipse.mylyn/org.eclipse.mylyn.web.tasks/plugin.xml with this repository addition (and test it please)? I hope someone is willing to do so.
<repository
repositoryKind="web"
label="Redmine Sandbox (Redmine)"
urlRepository="http://demo.redmine.org"
urlNewTask="${serverUrl}/projects/sandbox/issues/new"
urlTask="${serverUrl}/issues/show/"
urlTaskQuery="${serverUrl}/projects/sandbox/issues">
<attribute name="queryPattern"
value="<td><a href=".+?">({Id}.+?)</a></td>.+?<td class="tracker">({Type}.+?)</td><td class="status">({Status}.+?)</td><td class="priority">.+?</td><td class="subject"><a href=".+?">({Description}.+?)</a></td><td class="assigned_to">({Owner}.*?)</td><td class="updated_on">.+?</td>"/>
<attribute name="loginRequestMethod" value="POST"/>
<attribute name="loginRequestUrl"
value="${serverUrl}/account/login.php?form_loginname=${userId}&form_pw=${password}&login=Login"/>
</repository>
(In reply to comment #15) The loginRequestUrl in the previous post was wrong, it must be <attribute name="loginRequestUrl" value="${serverUrl}/login?username=${userId}&password=${password}"/> So the configuration to be added in plugin.xml must be: <repository repositoryKind="web" label="Redmine Sandbox (Redmine)" urlRepository="http://demo.redmine.org" urlNewTask="${serverUrl}/projects/sandbox/issues/new" urlTask="${serverUrl}/issues/show/" urlTaskQuery="${serverUrl}/projects/sandbox/issues"> <attribute name="queryPattern" value="<td><a href=".+?">({Id}.+?)</a></td>.+?<td class="tracker">({Type}.+?)</td><td class="status">({Status}.+?)</td><td class="priority">.+?</td><td class="subject"><a href=".+?">({Description}.+?)</a></td><td class="assigned_to">({Owner}.*?)</td><td class="updated_on">.+?</td>"/> <attribute name="loginRequestMethod" value="POST"/> <attribute name="loginRequestUrl" value="${serverUrl}/login?username=${userId}&password=${password}"/> </repository> I would like to add a vote for this bug. I also added a bug in Redmine to have them support such and integration. Hopefully it can happen by 0.8.0.... Note that the connector on SourceForge has an update site and uses the EPL license. Note that the SF project does not support the newly released Redmine 0.9.1. They clearly state: "Project is inactive - only bugfixes for Redmine 0.8.x will be available. No new Features, no support of Redmine 0.9." It is high time to revive this defect and bring Redmine support to Mylyn. Since Redmine-Mylyn-Connector does not support Redmine 0.9 I would like to vote for this feature too. The connector is an essential tool for me. I vote for it. +1 It's hard to live without it :( - so here's my vote :) Very important for me too. The current traffic came up because of a topic in the Redmine forum ( http://www.redmine.org/boards/1/topics/10923 ). +1 Add my vote for this connector. Redmine is really very useful and configurable tool and its user-base is growing with every version. It's very inconvenient and even somehow strange not to have mylyn connector for it. That is the reason why many users are forced to choose between very usable project tool and no eclipse integration on one side and less likable issue tracker that has the connector on the other. That's tough dilemma, whatever you choose - you lose (and miss) something. +1 It's one of the most important tools in my job. +1 Such a pity that there is no good solution for this -- a redmine-mylyn connector would be very appreciated. (In reply to comment #24) > The current traffic came up because of a topic in the Redmine forum ( > http://www.redmine.org/boards/1/topics/10923 ). And from here: http://sourceforge.net/tracker/index.php?func=detail&aid=2944581&group_id=228995&atid=1075435 another attempt to remove myself from the cc list There is some work done on a connector at sourceforge: http://sourceforge.net/projects/redmin-mylyncon/ Would the mylyn community (tasktop) be interested to bring that work to eclipse to be able to close this ticket? I have to admit that I could not get the connector to work yet, but that may be well a problem on my side ;-) I am always getting an "unexpected status code - 404" message when I try to connect to redmine. Maybe it's that Eclipse 3.7 i so new, or that I try to use the latest redmine (1.2). Will need more research there. Anyway, it would be great if redmine support would come to mylyn. (In reply to comment #30) > I am always getting an "unexpected status code - 404" message when I try to > connect to redmine. Maybe it's that Eclipse 3.7 i so new, or that I try to use > the latest redmine (1.2). The connector seems not to be compatible with 1.2 yet, as per its description. I couldn't get it to work, the server plugin doesn't even appear in Redmine's plugin list with 1.2. (In reply to comment #31) > (In reply to comment #30) > > > I am always getting an "unexpected status code - 404" message when I try to > > connect to redmine. Maybe it's that Eclipse 3.7 i so new, or that I try to use > > the latest redmine (1.2). > > The connector seems not to be compatible with 1.2 yet, as per its description. > I couldn't get it to work, the server plugin doesn't even appear in Redmine's > plugin list with 1.2. Its working now in following version for redmine 1.2.1 Mylyn Connector: Redmine 0.3.1.201108240907 net.sf.redmine_mylyn.feature.feature.group Sven Krzyzak Mylyn Connector: Redmine - Redmine-Plugin-Support 0.1.0.201108240907 net.sf.redmine_mylyn.extensions.feature.feature.group Sven Krzyzak Only retrieve context has an autentification issue:https://sourceforge.net/tracker/?func=detail&aid=3397465&group_id=228995&atid=1075435 I'm marking this bug resolved as not_eclipse per the last comment. The connector is maintained outside of the Mylyn project and available from this project page: http://sourceforge.net/projects/redmin-mylyncon/ . (In reply to comment #33) > I'm marking this bug resolved as not_eclipse per the last comment. The > connector is maintained outside of the Mylyn project and available from this > project page: http://sourceforge.net/projects/redmin-mylyncon/ . The project page states: As of 2012-04-15, this project is no longer under active development. Is there a way to migrate the code into eclipse so that it is maintained? (In reply to comment #34) > (In reply to comment #33) > > I'm marking this bug resolved as not_eclipse per the last comment. The > > connector is maintained outside of the Mylyn project and available from this > > project page: http://sourceforge.net/projects/redmin-mylyncon/ . > > The project page states: > As of 2012-04-15, this project is no longer under active development. > > Is there a way to migrate the code into eclipse so that it is maintained? The project page states it's Eclipse Public License, so that should take care of any IP issues, right? In order to bring code to Eclipse it has to go through an extensive IP review process. It helps if code is licensed under the EPL in terms of hosting it on Eclipse but it would still need to go through the same review process. While Eclipse is a great platform for hosting it can't magically solve the lack of maintainership problem and we don't have spare cycles in the Mylyn project to on another connector. I have regularly heard that people interested in Redmine and wonder if there is enough potential for building a community around the connector outside of Eclipse, e.g. by taking over the SourceForge project? |