Hash: SHA1

On 04/17/2011 10:08 AM, Sascha Welter wrote:
> (Sun, Apr 17, 2011 at 07:10:07AM -0400) Tres Seaver wrote/schrieb/egrapse:
>> Moving a "big old application" across multiple major versions at onece
>> of any platform is likely to be painful:
> Tres,
> I know how to move an app to newer zope versions. My apps are enough
> well behaved to have survived since 2.7 with few changes and from 2.10
> straight to 2.13 needed only very few adjustments so far.
> What I want to know:
> The term "CatalogPathAwareness" was not found in the archives of
> zope-dev in the last 6 years or so. Can any zope developer deprecate or
> remove things on their own without discussion?

"Code talks."  Hanno deprecated the CPA base class in r115308 in August
2010 with the comment:

 Fully deprecate both CatalogAwareness and CatalogPathAwareness. They
 are untested and unused. Event subscribers for zope.lifecycleevents
 are the way to go.

Note that this was in the midst of a set of *huge* improveements to the
catalog (the query plan stuff), for which we should be very grateful:
such improvements grant legitimacy to Hanno's judgement about the state
of the code.

Note that if you need time to finish revising code which depends on the
deprecated components, you can pin "Products.ZCatalog<=2.13.99" until
your code is ready:  that is one of the beauties of moving the code into
a separately-released distribution.

> Removing CatalogAware/CatalogPathAware from Products.ZCatalog is one
> point in question. Removing manage_afterAdd et al is another. This will
> break lots of code out there that would happily run on otherwise.

'manage_afterAdd' and siblings have been deprecated for a *long* time
(since Zope 2.9.0b1, 2005-12-06):


- -- 
Tres Seaver          +1 540-429-0999          tsea...@palladion.com
Palladion Software   "Excellence by Design"    http://palladion.com
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/


Zope-Dev maillist  -  Zope-Dev@zope.org
**  No cross posts or HTML encoding!  **
(Related lists - 
 https://mail.zope.org/mailman/listinfo/zope )

Reply via email to