-
-
Notifications
You must be signed in to change notification settings - Fork 431
Plugin Ordering
Niall O'Higgins edited this page Aug 19, 2013
·
9 revisions
The execution of plugin hooks needs to be order-able beyond mere phase buckets. This will be configurable on a per-project bases, but that should be the the exception, not the rule. Plugins should be intelligent enough to make ordering (usually) automatic.
@peterbraden has made a lot of progress on this. To test his changes you must run the following components on the following branches:
- Strider:worker-api-refactor
- Strider-Simple-Worker:worker-api-refactor
- Strider-Extension-Loader:worker-api-refactor
Strikethrough mean resolved
- Many published plugins missing
id
field in strider.json. Fix or move to package.json section before release. -
Node.JS rules moved out of core, you must have strider-node installed.[Added strider-node to strider package.json -@niallo] - Regarding the above move out of core - if this plugin is missing, the job will hang which is useless. How do we handle missing plugins for jobs?
Currently saved jobs seem to just hang and never run? Tried a node.js project with strider-node installed and the plugin's export function is never run. Are there some commits missing?- Plugins are never initialized by the simple-worker. Hence, they never run for a project.
Would this problem go away if there were just more granular phases? probably not.
Plugins that would need to be run before or after other plugins within a phase
- ??? sauce / tunneling / qunit ?
Lower weights get executed first.
Plugin indicates a specific plugin or class of plugins before or after which it should be run