OffByOneStudios / massive-dangerzone

A platform agnostic module management system.
6 stars 1 forks source link

Create new PluginResolver #12

Open mason-bially opened 11 years ago

mason-bially commented 11 years ago

Besides moving the existing one out of system.py, a new one should be created with a behaviour like system.

Specifically it should allow for the addition of rules like:

Some helper objects would be useful:

Also the plugin resolver should have a couple default rules in the following priority order:

The PluginResolver should allow rules to be labled for ease of addition/insertion/removal. It will likely have to use some pruning mechanisms, and should follow rules sequentially. It's job is twofold given a plugin_id:

cgrinker commented 11 years ago

dd5a9b6388b1c5a26b90198ec80b706dcdb86ccb

mason-bially commented 11 years ago

In hindsight, my original descriptions were too specific, the following general operations would be nice to have: