| Summary: | [web connector] Allow more task properties to be set using fixed mappings | ||
|---|---|---|---|
| Product: | z_Archived | Reporter: | Jörg Thönnes <jtk499> |
| Component: | Mylyn | Assignee: | Project Inbox <mylyn-triaged> |
| Status: | CLOSED MOVED | QA Contact: | |
| Severity: | enhancement | ||
| Priority: | P3 | CC: | javadev, Michal.Tkacz, vermersch+eclipse, villane |
| Version: | 2.0 M2 | ||
| Target Milestone: | --- | ||
| Hardware: | All | ||
| OS: | All | ||
| Whiteboard: | |||
| Bug Depends on: | 189787 | ||
| Bug Blocks: | |||
|
Description
Jörg Thönnes
(In reply to comment #0) > Personally, I would like to see the completion status fetched from the web > connector rather soon. Joerg, do you fancy to provide a patch? (In reply to comment #1) > (In reply to comment #0) > > Personally, I would like to see the completion status fetched from the web > > connector rather soon. > Joerg, do you fancy to provide a patch? I knew you would ask that ;-) Eugene, to be honest: I would love to contribute, being an experienced Java programmer and enthusiastic Eclipse + Mylar user. But I did not do any Eclipse plugin programming so far and did not jump over the barrier to start it yet. My time is very limited due to business and personal involvements, so I would like to have some support setting up a dev environment for the web connector alone. Maybe we could discuss this offline (e-mail). Cheers, Jörg Joerg, Mylar Contributor Reference wiki page is the good starting point http://wiki.eclipse.org/index.php/Mylar_Contributor_Reference You also welcome to ask questions in mylar-dev mailing list. See project home page to subscribe info. http://www.eclipse.org/mylar/ For the most part you will probably have to deal with WebRepositoryConnector, which isn't really bound to Eclipse stuff. So, you should be able to make standalone tests for it. Eugene, please provide some Mylar context as a starting point. Thanks. Joerg, please use context from bug 189787. I suppose we need to resolve it before starting on this one. I am also wondering if we can avoid to have UI for mapping and just encode mapping details into query. Perhaps use something similar to "choice" in MesageFormat : (${task.status,closed#Complete|open#In Progress}) See http://java.sun.com/j2se/1.4.2/docs/api/java/text/MessageFormat.html Considering how complex the queries can already be, I think the choice format wouldn't add too much complexity. But if someone were modifying the default queries often, it could be annoying to do that if there mapping info is there all the time. It seems like something that should be set ONCE per repository, not per query. *** Bug 198228 has been marked as a duplicate of this bug. *** (In reply to comment #7) > Problem with dates is that they would require to specify custom data formats > because these attributes have Date type in AbstractTask. They would require to specify custom data formats in Mylyn connector ? Or in web interface ? For other fields such as estimated and elapsed time does it need such change. Big thanks Actually there is no elapsed time in Mylyn's data structures. As for estimated time, it need to be in hours (int value in the AbstractTask), but on the web UI it could be shown as 10h, 2d, 5 weeks, etc. Hence it does require some kind of conversion. All formats and conversion details need to be specified somewhere in the connector configuration. *** Bug 199693 has been marked as a duplicate of this bug. *** I made a request for ({Priority}.+?) and ({Module|Component|...}.+?) named groups and was pointed to this bug.
I also have similar problem with ({Status}.+?) since it can only be "Complete" and "Incomplete". Our
web based Sharepoint systems has the Status values: "Open", "Closed", "Resolved", "Inactive" that I would like
to be able to access
Here is the list of patterns that currently considered as "complete" - "completed|fixed|resolved|invalid|verified|deleted|closed|done", everything else will be "incomplete". 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 |