-- Environment variables don't seem to be overriding plugin
- strategies; rejigger the order.
+- Strategy introspection and disabling.
- prepare-config (and others) create .wizard dir even
when not strictly necessary
- Bug out immediately if tags are not present in the master tip
for strategy_cls in raw_strategies:
try:
strategy = strategy_cls(self, application, dir, web_stub_path)
+ # don't bother with strategies who are already
+ # fully handled
+ if strategy.provides <= self.provides:
+ # this could exacerbate a bug in a strategy
+ # which thinks that it's OK post prepare, but
+ # actually isn't. There's now not an easy way to
+ # say "don't actually run that strategy, please.
+ continue
strategy.prepare()
self.provides |= strategy.provides
self.strategies.append(strategy)