[Zope] Finding unused products

Gaute Amundsen gaute at div.org
Sun Nov 29 14:23:42 EST 2009


On Sun, 2009-11-29 at 12:32 +0100, Jens Vagelpohl wrote:
> On Nov 29, 2009, at 11:59 , Gaute Amundsen wrote:
> 
> > 
> > Quick question before I reinvent.
> > 
> > Is there some established way of finding products which have no
> > instances in zodb, and can be safely removed?
> 
> No there isn't. You may have to invest some time writing a script that
>  visits all objects to find out what products they belong to. It may
>  not be worth the effort.
> 
> jens

Unfortunately it has "not been worth the effort" for a number of years,
but now it has become unavoidable.
Walking the tree it is then.

Gaute





More information about the Zope mailing list