r402 - in zope-replacesupport/trunk: . debian

Jonas Meurer mejo at alioth.debian.org
Wed Nov 1 22:37:21 CET 2006


Author: mejo
Date: 2006-11-01 22:37:21 +0100 (Wed, 01 Nov 2006)
New Revision: 402

Removed:
   zope-replacesupport/trunk/AdvancedPatch.py
   zope-replacesupport/trunk/CHANGES.txt
   zope-replacesupport/trunk/HANDLERS.txt
   zope-replacesupport/trunk/Handlers/
   zope-replacesupport/trunk/INSTALL.txt
   zope-replacesupport/trunk/ReplaceHandler.py
   zope-replacesupport/trunk/ReplaceSupport.py
   zope-replacesupport/trunk/SimplePatch.py
   zope-replacesupport/trunk/__init__.py
   zope-replacesupport/trunk/dtml/
   zope-replacesupport/trunk/help/
   zope-replacesupport/trunk/tests/
   zope-replacesupport/trunk/version.txt
Modified:
   zope-replacesupport/trunk/debian/changelog
   zope-replacesupport/trunk/debian/control
   zope-replacesupport/trunk/debian/dzproduct
Log:
tarball, debian update

Deleted: zope-replacesupport/trunk/AdvancedPatch.py
===================================================================
--- zope-replacesupport/trunk/AdvancedPatch.py	2006-11-01 21:32:36 UTC (rev 401)
+++ zope-replacesupport/trunk/AdvancedPatch.py	2006-11-01 21:37:21 UTC (rev 402)
@@ -1,38 +0,0 @@
-# ReplaceSupport 1.0.3
-# (c) 2000-2005, Stefan H. Holek, stefan at epy.co.at
-# http://zope.org/Members/shh/ReplaceSupport
-# License: ZPL
-# Zope: 2.6-2.8
-
-__doc__ = 'Add a Replace tab to Folders'
-__version__ = '1.0.3'
-
-__refresh_module__ = 0
-
-try:
-
-    from Globals import default__class_init__
-    from OFS.FindSupport import FindSupport
-    from ReplaceSupport import ReplaceSupport
-
-    FindSupport.__ac_permissions__ = FindSupport.__ac_permissions__ + ReplaceSupport.__ac_permissions__
-    FindSupport.manage_options = FindSupport.manage_options + ReplaceSupport.manage_options
-    FindSupport.manage_replaceForm = ReplaceSupport.manage_replaceForm
-    FindSupport.manage_replaceResult = ReplaceSupport.manage_replaceResult 
-    FindSupport.ZopeReplace = ReplaceSupport.ZopeReplace.im_func
-    FindSupport.PrincipiaReplace = ReplaceSupport.ZopeReplace.im_func
-    FindSupport._ZopeReplace = ReplaceSupport._ZopeReplace.im_func
-    FindSupport._PrincipiaReplace = ReplaceSupport._ZopeReplace.im_func
-    FindSupport._ReplaceHandlerRegistry = ReplaceSupport._ReplaceHandlerRegistry
-    FindSupport.getReplaceHandlerMetaTypes = ReplaceSupport.getReplaceHandlerMetaTypes.im_func
-
-    default__class_init__(FindSupport)
-
-    from zLOG import LOG, INFO
-    LOG('ReplaceSupport', INFO, 'Applied patch version %s.' % __version__)
-  
-except:
-
-    import traceback
-    traceback.print_exc()
-

Deleted: zope-replacesupport/trunk/CHANGES.txt
===================================================================
--- zope-replacesupport/trunk/CHANGES.txt	2006-11-01 21:32:36 UTC (rev 401)
+++ zope-replacesupport/trunk/CHANGES.txt	2006-11-01 21:37:21 UTC (rev 402)
@@ -1,59 +0,0 @@
-1.0.3
-Made RS compatible with Zope 2.8 and up.
-
-1.0.2
-Brushed up for Zope 2.7 compatibility.
-Removed HTMLDocument handler.
-
-1.0.1
-Fix the unit tests in response to ZopeTestCase 0.6.0
-
-1.0.0
-Added a _ZopeReplace() method that does by default *not* perform the change 
-permission checks introduced in 0.4.4.
-The "Replace" view now greys out meta types that do not have a corresponding
-replace handler defined. 
-Added unit tests based on the ZopeTestCase package.
-
-And the biggest change of all: ReplaceSupport goes 1.0! It has been around
-for a while, has served me and others well, is feature-complete as far as I'm
-concerned, and has a full set of unit tests. What more could a man ask for?
-
-0.4.4
-Added permission checking to core code; ReplaceSupport will now only operate on 
-objects the user has the appropriate change permission for.
-Fixed glitch in ZSQLMethod handler. Thanks to Tony McDonald for pointing me to it.
-Fixed PageTemplate handler to work with all versions of ZPT.
-
-0.4.2
-Fixed Zope 2.3 (actually Python 1.5.2) backwards compatibility
-
-0.4.0
-Applied Anthony Baxter's FindSupport patch to ReplaceSupport. This change 
-now enables replace operations in ZClasses. Note that for the "Replace" tab 
-to show up in a ZClass Product, you will have to use the "Advanced" installation 
-method! Furthermore included the PageTemplate handler.
-
-0.3.4
-Stamped out a bug which would appear when changing folder security settings.
-Made Zope 2.4 compatibility adjustments.
-
-0.3.3
-Fixed a bug in the default installation which would, ahm, simply not work.
-
-0.3.2
-Implemented a ReplaceHandler machinery to allow for easy extension 
-to other metatypes
-
-0.3.0
-Adapted the interface to Zope 2.3
-
-0.2.9
-Implemented replace for Python Scripts and ZSQL Methods
-New installation method inspired by Shane's TransparentFolders
-
-0.2.0
-The core of this product is Carlos de la Guardia's replace tab patch.
-http://www.zope.org/Members/cguardia/replace
-I wanted to make it easier to install
-

Deleted: zope-replacesupport/trunk/HANDLERS.txt
===================================================================
--- zope-replacesupport/trunk/HANDLERS.txt	2006-11-01 21:32:36 UTC (rev 401)
+++ zope-replacesupport/trunk/HANDLERS.txt	2006-11-01 21:37:21 UTC (rev 402)
@@ -1,11 +0,0 @@
-
-You can define your own replace handlers by creating modules
-in the Handlers subdirectory. Such modules must contain a class 
-derived from ReplaceHandler.
-
-See the default handlers for examples and the ReplaceHandler.py 
-module for the base class & some explanations
-
-If you implement additional handlers please send them to me, so I 
-can include them in the distribution.
-

Deleted: zope-replacesupport/trunk/INSTALL.txt
===================================================================
--- zope-replacesupport/trunk/INSTALL.txt	2006-11-01 21:32:36 UTC (rev 401)
+++ zope-replacesupport/trunk/INSTALL.txt	2006-11-01 21:37:21 UTC (rev 402)
@@ -1,77 +0,0 @@
-
-Installation Instructions for ReplaceSupport 1.0.3
-
-Requires Zope 2.3 or higher
-
-Also see http://www.zope.org/Members/shh/ReplaceSupport/
-
-
-Simple Installation
--------------------
-
-PRO: Very easy to apply (and remove)
-CON: Fails to patch certain Folder derived objects
-
-1. Untar the archive into your Products directory
-
-2. Restart Zope
-
-3. All your folders should now have an additional "Replace" tab
-
-
-Advanced Installation: TransparentFolders-Style (RECOMMENDED)
--------------------------------------------------------------
-
-PRO: The patch is applied before OFS initialization. This makes
-     sure all relevant objects are patched properly. 
-CON: Requires some file editing
-
-1. Untar the archive into your Products directory
-
-2. Edit ReplaceSupport/__init__.py and remove (comment out) the 
-   last line reading
-
-     import SimplePatch
-
-3. Edit lib/python/OFS/__init__.py and append the following line:
-
-     import Products.ReplaceSupport.AdvancedPatch
-
-   PLEASE ALSO READ THE NOTES BELOW!
-
-4. Restart Zope
-
-5. All your folders should now have an additional "Replace" tab
-
-
-Notes on changing OFS/__init__.py
----------------------------------
-
-In case you are using other products that modify lib/python/OFS/__init__.py, 
-for example TransparentFolders, you must take care of the order in which the 
-patches are applied.
-
-Always install TransparentFolders first; this Product overwrites 
-OFS/__init__.py. It is recommended to apply the ReplaceSupport patch right 
-after the TransparentFolders patch.
-
-Your lib/python/OFS/__init__.py might look like:
-
-   try:
-       # Apply the TransparentFolders patch.
-       import Products.TransparentFolders.TransparentFolderPatch
-   except: pass # The patch may have been removed.
-
-   try:
-       # Apply the ReplaceSupport patch.
-       import Products.ReplaceSupport.AdvancedPatch
-   except: pass
-
-
-Notes on Permissions
---------------------
-
-If you do not see the "Replace" tab, make sure you have the 
-"Search & replace in objects" permission set. 
-
-

Deleted: zope-replacesupport/trunk/ReplaceHandler.py
===================================================================
--- zope-replacesupport/trunk/ReplaceHandler.py	2006-11-01 21:32:36 UTC (rev 401)
+++ zope-replacesupport/trunk/ReplaceHandler.py	2006-11-01 21:37:21 UTC (rev 402)
@@ -1,43 +0,0 @@
-# ReplaceSupport 1.0.3
-# (c) 2000-2005, Stefan H. Holek, stefan at epy.co.at
-# http://zope.org/Members/shh/ReplaceSupport
-# License: ZPL
-# Zope: 2.6-2.8
-
-__doc__ = 'ReplaceHandler base class'
-__version__ = '0.2.0'
-
-# *must* set this attribute to the respective handler's class 
-# name in each handler module
-#
-__handler_class_name__ = 'Must override!'
-
-# derive your own handler class from this one
-#
-class ReplaceHandler:
-	'''replace handler base class'''
-
-	def getMetaType( self ):
-		'''returns the target object's metatype as string'''
-		return ''
-
-	def getChangePermission( self ):
-		'''returns the permission required to change the object (string).
-		   modification is disallowed by default so you must override'''
-		return ''
-
-	def getBody( self, ob ):
-		'''returns the target object's body as string'''
-		return ''
-
-	def getParams( self, ob ):
-		'''returns the target object's parameters as string.
-		   no need to override if the object at hand does not 
-		   have a parameters attribute'''
-		return ''
-	
-	def manageEdit( self, ob, body, params='' ):
-		'''implements the changing of the target object's body
-		   (and parameters). typically calls manage_edit'''
-		pass
-

Deleted: zope-replacesupport/trunk/ReplaceSupport.py
===================================================================
--- zope-replacesupport/trunk/ReplaceSupport.py	2006-11-01 21:32:36 UTC (rev 401)
+++ zope-replacesupport/trunk/ReplaceSupport.py	2006-11-01 21:37:21 UTC (rev 402)
@@ -1,359 +0,0 @@
-# ReplaceSupport 1.0.2
-# (c) 2000-2004, Stefan H. Holek, stefan at epy.co.at
-# http://zope.org/Members/shh/ReplaceSupport
-# License: ZPL
-# Zope: 2.3-2.7
-
-__doc__ = 'Replace Support'
-__version__ = '1.0.2'
-
-import sys, os, string, time, Globals, ExtensionClass
-from DocumentTemplate.DT_Util import Eval
-from AccessControl.Permission import name_trans
-from AccessControl import getSecurityManager
-from Globals import HTMLFile
-from DocumentTemplate.DT_Util import InstanceDict, TemplateDict
-from DateTime import DateTime
-from string import find, replace
-
-# 2.4 compatibility hack
-try: 
-    from DocumentTemplate.DT_Util import expr_globals
-except ImportError: 
-    expr_globals=None
-
-# 2.4 compatibility hack
-try: 
-    from AccessControl.DTML import RestrictedDTML
-    class td(RestrictedDTML, TemplateDict):
-        pass
-except ImportError: 
-    from AccessControl import getSecurityManager
-    class td(TemplateDict):
-        def validate(self, inst, parent, name, value, md):
-            return getSecurityManager().validate(inst, parent, name, value)
-
-
-class ReplaceSupport(ExtensionClass.Base):
-    """Replace support for Zope Folders"""
-
-    manage_replaceForm=HTMLFile('dtml/replaceForm', globals(), management_view='Replace', 
-                                 help_product='ReplaceSupport', help_topic='Replace.stx')
-    manage_replaceResult=HTMLFile('dtml/replaceResult', globals(), management_view='Replace',
-                                   help_product='ReplaceSupport', help_topic='Replace.stx')
-
-    __ac_permissions__=(
-        ('View management screens',
-         ('manage_replaceForm', 
-          'manage_replaceResult',
-          'getReplaceHandlerMetaTypes',)),
-        ('Search & replace in objects',
-         ('manage_replaceForm', 
-          'manage_replaceResult', 
-          'getReplaceHandlerMetaTypes',
-          'ZopeReplace', 'PrincipiaReplace',)),
-        )
-
-    manage_options=(
-        {'label':'Replace', 'action':'manage_replaceForm',
-         'help':('ReplaceSupport','Replace.stx')},   
-        ) 
-
-
-    def getReplaceHandlerMetaTypes(self):
-        """Return list of handler meta types"""
-        return self._ReplaceHandlerRegistry.getHandlerMetaTypes()
-   
-
-    def ZopeReplace(self, obj, obj_ids=None, obj_metatypes=None,
-                    obj_searchterm=None, obj_replaceterm=None, obj_expr=None,
-                    obj_mtime=None, obj_mspec=None,
-                    obj_permission=None, obj_roles=None,
-                    search_sub=0,
-                    REQUEST=None, result=None, pre=''):
-        """Zope Replace interface"""
-        return self._ZopeReplace(obj, obj_ids, obj_metatypes,
-                                 obj_searchterm, obj_replaceterm, obj_expr,
-                                 obj_mtime, obj_mspec,
-                                 obj_permission, obj_roles,
-                                 search_sub,
-                                 REQUEST, result, pre,
-                                 check_change_permission=1)
-
-    PrincipiaReplace = ZopeReplace
-
-
-    def _ZopeReplace(self, obj, obj_ids=None, obj_metatypes=None,
-                     obj_searchterm=None, obj_replaceterm=None, obj_expr=None,
-                     obj_mtime=None, obj_mspec=None,
-                     obj_permission=None, obj_roles=None,
-                     search_sub=0,
-                     REQUEST=None, result=None, pre='',
-                     check_change_permission=0):
-        """Zope Replace interface; unrestricted"""
-	
-        if result is None:
-            result=[]
-
-            if obj_metatypes and 'all' in obj_metatypes:
-                obj_metatypes=None
-                
-            if obj_mtime and type(obj_mtime)==type('s'):
-                obj_mtime=DateTime(obj_mtime).timeTime()
-
-            if obj_permission:
-                obj_permission=p_name(obj_permission)
-
-            if obj_roles and type(obj_roles) is type('s'):
-                obj_roles=[obj_roles]
-                
-            if obj_expr:
-                # Setup expr machinations
-                md=td()
-                if hasattr(REQUEST, 'AUTHENTICATED_USER'):
-                    md.AUTHENTICATED_USER=REQUEST.AUTHENTICATED_USER
-                obj_expr=(Eval(obj_expr, expr_globals), md, md._push, md._pop)
-
-        base=obj
-        if hasattr(obj, 'aq_base'):
-            base=obj.aq_base
-
-        if hasattr(base, 'objectItems'):
-	    try:    items=obj.objectItems()
-	    except: return result
-        else:
-	    if getattr(base, 'meta_type', None) == 'Z Class':
-	        try:    items=obj.propertysheets.methods.objectItems()
-		except: return result
-	    else:
-		return result
-
-        try: add_result=result.append
-        except:
-            raise AttributeError, `result`
-
-        for id, ob in items:
-            if pre: p="%s/%s" % (pre, id)
-            else:   p=id
-            
-            dflag=0
-            if hasattr(ob, '_p_changed') and (ob._p_changed == None):
-                dflag=1
-
-            if hasattr(ob, 'aq_base'):
-                bs=ob.aq_base
-            else: bs=ob
-
-            if (
-                (not obj_ids or absattr(bs.getId()) in obj_ids)
-                and
-                (not obj_metatypes or (hasattr(bs, 'meta_type') and
-                 bs.meta_type in obj_metatypes))
-                and
-                (not obj_searchterm or
-                 (hasattr(ob, 'PrincipiaSearchSource') and
-                  find(ob.PrincipiaSearchSource(), obj_searchterm) >= 0)
-                 # http://zope.org/Collectors/Zope/1317
-                 or
-                 (hasattr(ob, 'SearchableText') and
-                  find(ob.SearchableText(), obj_searchterm) >= 0)
-                )
-                and
-                (not obj_expr or expr_match(ob, obj_expr))
-                and
-                (not obj_mtime or mtime_match(ob, obj_mtime, obj_mspec))
-                and
-                ( (not obj_permission or not obj_roles) or \
-                   role_match(ob, obj_permission, obj_roles)
-                )
-                ):
-		# Find and apply a handler for this object
-		handler = self._ReplaceHandlerRegistry.getHandler(ob.meta_type)
-		if handler and (not check_change_permission or \
-                   getSecurityManager().checkPermission(handler.getChangePermission(), ob)):
-                    body = replace(handler.getBody(ob), obj_searchterm, obj_replaceterm)
-                    params = replace(handler.getParams(ob), obj_searchterm, obj_replaceterm)	
-                    handler.manageEdit(ob, body, params)
-                    add_result((p, ob))
-                    dflag = 0
-
-            is_zclass = getattr(bs, 'meta_type', None) == 'Z Class'
-            if search_sub and (hasattr(bs, 'objectItems') or is_zclass):
-	        if is_zclass:
-		    subob = ob.propertysheets.methods
-		    sub_p = '%s/propertysheets/methods' % p
-		else:
-		    subob = ob
-		    sub_p = p
-		self._ZopeReplace(subob, obj_ids, obj_metatypes,
-                                  obj_searchterm, obj_replaceterm, obj_expr,
-                                  obj_mtime, obj_mspec,
-                                  obj_permission, obj_roles,
-                                  search_sub,
-                                  REQUEST, result, sub_p,
-                                  check_change_permission)
-
-            if dflag: ob._p_deactivate()
-
-        return result
-
-    _PrincipiaReplace = _ZopeReplace
- 
-
-    # Unused and unlikely to change 'cause I do not seem to figure out
-    # what to do with it...
-if 0:
-    def ZopeReplaceAndApply(self, obj, obj_ids=None, obj_metatypes=None,
-                         obj_searchterm=None, obj_replaceterm=None, obj_expr=None,
-                         obj_mtime=None, obj_mspec=None,
-                         obj_permission=None, obj_roles=None,
-                         search_sub=0,
-                         REQUEST=None, result=None, pre='',
-                         apply_func=None, apply_path=''):
-        """Zope Replace interface and apply"""
-
-        if result is None:
-            result=[]
-
-            if obj_metatypes and 'all' in obj_metatypes:
-                obj_metatypes=None
-                
-            if obj_mtime and type(obj_mtime)==type('s'):
-                obj_mtime=DateTime(obj_mtime).timeTime()
-
-            if obj_permission:
-                obj_permission=p_name(obj_permission)
-
-            if obj_roles and type(obj_roles) is type('s'):
-                obj_roles=[obj_roles]
-                
-            if obj_expr:
-                # Setup expr machinations
-                md=td()
-                if hasattr(REQUEST, 'AUTHENTICATED_USER'):
-                    md.AUTHENTICATED_USER=REQUEST.AUTHENTICATED_USER
-                obj_expr=(Eval(obj_expr, expr_globals), md, md._push, md._pop)
-
-        base=obj
-        if hasattr(obj, 'aq_base'):
-            base=obj.aq_base
-
-        if not hasattr(base, 'objectItems'):
-            return result
-        try:    items=base.objectItems()
-        except: return result
-
-        try: add_result=result.append
-        except:
-            raise AttributeError, `result`
-
-        for id, ob in items:
-            if pre: p="%s/%s" % (pre, id)
-            else:   p=id
-            
-            dflag=0
-            if hasattr(ob, '_p_changed') and (ob._p_changed == None):
-                dflag=1
-
-            if hasattr(ob, 'aq_base'):
-                bs=ob.aq_base
-            else: bs=ob
-
-            if (
-                (not obj_ids or absattr(bs.getId()) in obj_ids)
-                and
-                (not obj_metatypes or (hasattr(bs, 'meta_type') and
-                 bs.meta_type in obj_metatypes))
-                and
-                (not obj_searchterm or
-                 (hasattr(ob, 'PrincipiaSearchSource') and
-                  find(ob.PrincipiaSearchSource(), obj_searchterm) >= 0
-                  ))
-                and
-                (not obj_expr or expr_match(ob, obj_expr))
-                and
-                (not obj_mtime or mtime_match(ob, obj_mtime, obj_mspec))
-                and
-                ( (not obj_permission or not obj_roles) or \
-                   role_match(ob, obj_permission, obj_roles)
-                )
-                ):
-                if apply_func:
-                    apply_func(ob, (apply_path+'/'+p))
-                else:
-                    add_result((p, ob))
-                    dflag=0
-                    
-            if search_sub and hasattr(bs, 'objectItems'):
-                self.ZopeReplaceAndApply(ob, obj_ids, obj_metatypes,
-                                      obj_searchterm, obj_replaceterm, obj_expr,
-                                      obj_mtime, obj_mspec,
-                                      obj_permission, obj_roles,
-                                      search_sub,
-                                      REQUEST, result, p,
-                                      apply_func, apply_path)
-            if dflag: ob._p_deactivate()
-
-        return result
-
-
-
-def expr_match(ob, ed, c=InstanceDict, r=0):
-    e, md, push, pop=ed
-    push(c(ob, md))
-    try: r=e.eval(md)
-    finally:
-        pop()
-        return r
-
-
-def mtime_match(ob, t, q, fn=hasattr):
-    if not fn(ob, '_p_mtime'):
-        return 0    
-    return q=='<' and (ob._p_mtime < t) or (ob._p_mtime > t)
-
-
-def role_match(ob, permission, roles, lt=type([]), tt=type(())):
-    pr=[]
-    fn=pr.append
-    
-    while 1:
-        if hasattr(ob, permission):
-            p=getattr(ob, permission)
-            if type(p) is lt:
-                map(fn, p)
-                if hasattr(ob, 'aq_parent'):
-                    ob=ob.aq_parent
-                    continue
-                break
-            if type(p) is tt:
-                map(fn, p)
-                break
-            if p is None:
-                map(fn, ('Manager', 'Anonymous'))
-                break
-
-        if hasattr(ob, 'aq_parent'):
-            ob=ob.aq_parent
-            continue
-        break
-
-    for role in roles:
-        if not (role in pr):
-            return 0
-    return 1
-
-
-Globals.default__class_init__(ReplaceSupport)
-
-# Helper functions
-
-def absattr(attr):
-    if callable(attr): return attr()
-    return attr
-
-
-def p_name(name):
-    return '_' + string.translate(name, name_trans) + '_Permission'
-
-

Deleted: zope-replacesupport/trunk/SimplePatch.py
===================================================================
--- zope-replacesupport/trunk/SimplePatch.py	2006-11-01 21:32:36 UTC (rev 401)
+++ zope-replacesupport/trunk/SimplePatch.py	2006-11-01 21:37:21 UTC (rev 402)
@@ -1,38 +0,0 @@
-# ReplaceSupport 1.0.3
-# (c) 2000-2005, Stefan H. Holek, stefan at epy.co.at
-# http://zope.org/Members/shh/ReplaceSupport
-# License: ZPL
-# Zope: 2.6-2.8
-
-__doc__ = 'Add a Replace tab to Folders'
-__version__ = '1.0.3'
-
-__refresh_module__ = 0
-
-try:
-
-    from Globals import default__class_init__
-    from OFS.Folder import Folder
-    from ReplaceSupport import ReplaceSupport
-
-    Folder.__ac_permissions__ = Folder.__ac_permissions__ + ReplaceSupport.__ac_permissions__
-    Folder.manage_options = Folder.manage_options + ReplaceSupport.manage_options
-    Folder.manage_replaceForm = ReplaceSupport.manage_replaceForm
-    Folder.manage_replaceResult = ReplaceSupport.manage_replaceResult 
-    Folder.ZopeReplace = ReplaceSupport.ZopeReplace.im_func
-    Folder.PrincipiaReplace = ReplaceSupport.ZopeReplace.im_func
-    Folder._ZopeReplace = ReplaceSupport._ZopeReplace.im_func
-    Folder._PrincipiaReplace = ReplaceSupport._ZopeReplace.im_func
-    Folder._ReplaceHandlerRegistry = ReplaceSupport._ReplaceHandlerRegistry
-    Folder.getReplaceHandlerMetaTypes = ReplaceSupport.getReplaceHandlerMetaTypes.im_func
-    
-    default__class_init__(Folder)
-
-    from zLOG import LOG, INFO
-    LOG('ReplaceSupport', INFO, 'Applied patch version %s.' % __version__)
-
-except:
-
-    import traceback
-    traceback.print_exc()
-

Deleted: zope-replacesupport/trunk/__init__.py
===================================================================
--- zope-replacesupport/trunk/__init__.py	2006-11-01 21:32:36 UTC (rev 401)
+++ zope-replacesupport/trunk/__init__.py	2006-11-01 21:37:21 UTC (rev 402)
@@ -1,22 +0,0 @@
-# ReplaceSupport 1.0.3
-# (c) 2000-2005, Stefan H. Holek, stefan at epy.co.at
-# http://zope.org/Members/shh/ReplaceSupport
-# License: ZPL
-# Zope: 2.6-2.8
-
-__doc__ = 'Add a Replace tab to Folders'
-__version__ = '1.0.3'
-
-# Register the helpfile
-def initialize( context ):
-    if hasattr( context, 'registerHelp' ):
-        context.registerHelp()
-        context.registerHelpTitle( 'Zope Help' )
-
-# Register the replace handlers
-import Handlers
-
-# Comment out the following line if you want to use the advanced
-# installation method. See the INSTALL.txt document for more.
-import SimplePatch
-

Modified: zope-replacesupport/trunk/debian/changelog
===================================================================
--- zope-replacesupport/trunk/debian/changelog	2006-11-01 21:32:36 UTC (rev 401)
+++ zope-replacesupport/trunk/debian/changelog	2006-11-01 21:37:21 UTC (rev 402)
@@ -1,3 +1,16 @@
+zope-replacesupport (1.0.3-3) unstable; urgency=low
+
+  * Add support for Zope 2.10.
+
+ -- Jonas Meurer <mejo at debian.org>  Wed,  1 Nov 2006 20:35:04 +0100
+
+zope-replacesupport (1.0.3-2) unstable; urgency=low
+
+  * move Build-Depends-Indep to Build-Depends
+  * bump standards-version to 3.7.2
+
+ -- Jonas Meurer <mejo at debian.org>  Thu, 15 Jun 2006 20:34:22 +0200
+
 zope-replacesupport (1.0.3-1) unstable; urgency=low
 
   * new upstream release, compatible with zope 2.6 to 2.8

Modified: zope-replacesupport/trunk/debian/control
===================================================================
--- zope-replacesupport/trunk/debian/control	2006-11-01 21:32:36 UTC (rev 401)
+++ zope-replacesupport/trunk/debian/control	2006-11-01 21:37:21 UTC (rev 402)
@@ -3,8 +3,8 @@
 Priority: extra
 Maintainer: Debian Zope team <pkg-zope-developers at lists.alioth.debian.org>
 Uploaders: Jonas Meurer <mejo at debian.org>
-Standards-Version: 3.6.2
-Build-Depends-Indep: debhelper (>> 5.0.0), zope-debhelper
+Standards-Version: 3.7.2
+Build-Depends: debhelper (>> 5.0.0), zope-debhelper
 
 Package: zope-replacesupport
 Architecture: all

Modified: zope-replacesupport/trunk/debian/dzproduct
===================================================================
--- zope-replacesupport/trunk/debian/dzproduct	2006-11-01 21:32:36 UTC (rev 401)
+++ zope-replacesupport/trunk/debian/dzproduct	2006-11-01 21:37:21 UTC (rev 402)
@@ -1,3 +1,3 @@
 Package: zope-replacesupport
 Name: ReplaceSupport
-ZopeVersions: 2.6 2.7 2.8 2.9
+ZopeVersions: 2.6 2.7 2.8 2.9 2.10

Deleted: zope-replacesupport/trunk/version.txt
===================================================================
--- zope-replacesupport/trunk/version.txt	2006-11-01 21:32:36 UTC (rev 401)
+++ zope-replacesupport/trunk/version.txt	2006-11-01 21:37:21 UTC (rev 402)
@@ -1 +0,0 @@
-1.0.3




More information about the pkg-zope-commits mailing list