[Checkins] SVN: gocept.recipe.zope3instance/trunk/ - added changelog

Christian Theune ct at gocept.com
Thu Jan 11 02:21:45 EST 2007


Log message for revision 71916:
   - added changelog
   - added support fort update() method
  

Changed:
  A   gocept.recipe.zope3instance/trunk/CHANGES.txt
  U   gocept.recipe.zope3instance/trunk/src/gocept/zope3instance/__init__.py

-=-
Added: gocept.recipe.zope3instance/trunk/CHANGES.txt
===================================================================
--- gocept.recipe.zope3instance/trunk/CHANGES.txt	2007-01-11 07:06:25 UTC (rev 71915)
+++ gocept.recipe.zope3instance/trunk/CHANGES.txt	2007-01-11 07:21:44 UTC (rev 71916)
@@ -0,0 +1,12 @@
+gocept.zope3instance Changes
+
+  This file contains change information for the current release.
+
+  1.0
+
+    - Added support for a generic skeleton mechanism including two layers and
+      a '.in' expansion mechanism.
+
+    - Added support for update()
+
+    - Forked as an experiment from Jim Fulton's dev-branch.


Property changes on: gocept.recipe.zope3instance/trunk/CHANGES.txt
___________________________________________________________________
Name: svn:keywords
   + Id Rev Date
Name: svn:eol-style
   + native

Modified: gocept.recipe.zope3instance/trunk/src/gocept/zope3instance/__init__.py
===================================================================
--- gocept.recipe.zope3instance/trunk/src/gocept/zope3instance/__init__.py	2007-01-11 07:06:25 UTC (rev 71915)
+++ gocept.recipe.zope3instance/trunk/src/gocept/zope3instance/__init__.py	2007-01-11 07:21:44 UTC (rev 71916)
@@ -56,6 +56,12 @@
         options.pop('entry-points', None)
         self.egg = zc.recipe.egg.Egg(buildout, name, options)
 
+    def update(self):
+        # For an update we remove the parts directory first,
+        # and then re-create it.
+        shutil.rmtree(self.options['location'])
+        return self.install()
+
     def install(self):
         options = self.options
 



More information about the Checkins mailing list