From: W. Trevor King Date: Tue, 23 Jun 2009 15:35:23 +0000 (-0400) Subject: Added Bug.extra_strings to support add-on functionality, e.g. `be tag`. X-Git-Tag: 1.0.0~70^2^2~9 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=83e06581ad007e1a1f27f311ccb3a747f0a81ade;p=be.git Added Bug.extra_strings to support add-on functionality, e.g. `be tag`. Versioned properties whose data is a mutable type are tricky, since the simple comparisons we'd been using in libbe.properties.change_hook_property don't work for mutables. For now, we avoid that problem by assuming a change happened whenever a mutable property is set. change_hook_property is a bit untidy at the moment while I work out how to deal with mutables. As an example of using Bug.extra_strings to patch on some useful functionality, I've written becommands/tag.py. I'd suggest future add-ons (e.g. becommands/depend.py?) use the "