From tim.plunkett:

A cool feature might be an opt-in flag like --prune/--destroy/--remove that would kill the old code if we REALLY want the old stuff gone.

Agreed!

Comments

webchick’s picture

Category: Feature request » Task
Priority: Major » Critical

This keeps getting brought up when I show it to people, so setting as a critical task.

phenaproxima’s picture

I've added a basic implementation of this in commit 9d6073c. The flag is --clean, and a plugin must implement CleanerInterface in order for the clean() method, which deletes old crap, to be called.

webchick’s picture

Status: Active » Fixed

Cool, it works! Only on block_info for now, but others could be added.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.