bwesterb/mirte — pull request #1 by sgielen (2012-06-04 17:24:23+00:00)
Title: Add strict mode to Mirte

This patch adds strict mode to Mirte (disabled by default). When enabled, either by calling `manager.set_strict(True)` or adding `--mirte-strict` to the command-line parameters to `mirte`, the Mirte Manager will not allow silent creation of modules, and will instead throw an exception describing which module had which silent dependency.

I propose that this mode of operation at some point becomes the default (by setting self.strict to True in the Manager constructor). For this, Mirte files may need some adjustment to explicitly name every dependency object. The advantage is that there will be no more bugs in applications because of the wrong object being silently created when the right object is only being created later on, but not used. For example, using this patch and some additions to the Marietje mirtefile, my Marietje installation now uses the right queues in the Orchestrator and the Desk.