| Summary: | [build][workflow] add mechanism for handling build actions | ||
|---|---|---|---|
| Product: | z_Archived | Reporter: | Torkild Resheim <torkildr> |
| Component: | Mylyn | Assignee: | Project Inbox <mylyn-triaged> |
| Status: | CLOSED MOVED | QA Contact: | |
| Severity: | enhancement | ||
| Priority: | P3 | CC: | greensopinion, steffen.pingel |
| Version: | unspecified | ||
| Target Milestone: | --- | ||
| Hardware: | All | ||
| OS: | All | ||
| Whiteboard: | |||
| Bug Depends on: | |||
| Bug Blocks: | 357472 | ||
|
Description
Torkild Resheim
Interesting idea. We have received requests to add support for workflow automation for tasks in the past which sounds very similar. This would be a good opportunity to gather experience by making it work for (Hudson) builds while keeping generalization in mind. How do you see this kind of feature working if Eclipse is not running? Would it skip running these actions? Would it be possible to run these actions on demand (ie: by user interaction with the UI)? (In reply to comment #2) > How do you see this kind of feature working if Eclipse is not running? Would it Do you mean for instance when being a part of the Tasktop application? I don't see any problems with that. As long as the various actions have all their dependencies in place they could run. If not, their contributing plug-ins would not be installed so they would not be available. If an action for some reason is configured but unavailable it should be ignored. > skip running these actions? Would it be possible to run these actions on demand > (ie: by user interaction with the UI)? Yes, we could add an extra flag to the declaration that indicates that such use is allowed and add these actions to the context menu of build jobs. (In reply to comment #3) > (In reply to comment #2) > > How do you see this kind of feature working if Eclipse is not running? Would > it > Do you mean for instance when being a part of the Tasktop application? I don't > see any problems with that. As long as the various actions have all their > dependencies in place they could run. If not, their contributing plug-ins would > not be installed so they would not be available. If an action for some reason is > configured but unavailable it should be ignored. What I mean is, if the actions are to be triggered upon status change, how does this functionality behave if/when the Eclipse process is terminated and restarted 12 hours later (for example). If the status of a build changes 20 times in that period, how would Eclipse behave when it is restarted? Would it simply ignore all of the status changes, would it trigger those actions for the most recent change, how do you see this working? Ah. Thank you for the clarification David. In my current implementation only status changes taking place while Eclipse is running will trigger actions. My initial idea was to keep it simple. But as Steffen has indicated, this could evolve into something far more useful. So maybe it would be a good idea being able to keep track of all status changes. Even those that take place while Eclipse is not running. The idea was that this mechanism could allow the user to download a file or play a sound when something happened. That would only be useful if the user was present when the status change took place. 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 |