Skip to main content

Home/ Plone distributed documentation/ Group items tagged egg

Rss Feed Group items tagged

Graham Perrin

python-ldap as egg with buildout - BlueDynamics Alliance - 0 views

Graham Perrin

No, really, you can (just) use Buildout to install Plone. « Alex Clark's Plon... - 0 views

  • Buildout to install Plone
  • Alex Clark
  • a follow up to my Getting Excited about Plone as Eggs post
  • ...13 more annotations...
  • “mostly trivial” to write a buildout.cfg to install Plone
  • a working Plone, but not necessarily a repeatable buildout
  • If you are completely new to buildout
  • install buildout first
  • Distribute
  • curl -O http://python-distribute.org/distribute_setup.py
  • python distribute_setup.py
  • easy_install zc.buildout
  • mkdir plone
  • cd plone
  • buildout init
  • bin/instance console
  • January 7, 2010
Graham Perrin

Saving the day: recovering lost objects - Jarn · Plone Solutions - 1 views

  • recovering lost objects
  • entire section of his site was missing
  • someone had deleted the object
  • ...26 more annotations...
  • 9 days earlier
  • Undo was no longer an option
  • Truncating the Data.fs (removing all transactions since, including the offending one)
  • undesirable
  • through RelStorage
  • time traveling: zc.beforestorage
  • small additional buildout configuration file
  • beforestorage.cfg
  • [buildout]extends = buildout.cfgeggs += zc.beforestorage ZODB3 zope.proxy[versions]ZODB3 = 3.8.1zope.proxy = 3.4.2[relstorage-patch]recipe = plone.recipe.commandcommand = cd ${buildout:eggs-directory}/ZODB3-3.8.1-py2.4-linux-i686.egg/ZODB curl -s http://svn.zope.de/zope.org/relstorage/tags/1.1c1/poll-invalidation-1-zodb-3-8-0.patch | patch -N -p0 cd ${buildout:directory}update-command = ${relstorage-patch:command}[instance]zope-conf-additional += enable-product-installation False
  • enable-product-installation
  • tells Zope not to try and write product information to the ZODB
  • because zc.beforestorage puts your ZODB in read-only mode
  • edit the zope.conf
  • <zodb_db main>    # Main database    cache-size 650000%import zc.beforestorage%import relstorage <before> before 2008-12-08T10:29:03    <relstorage>        <oracle>            dsn RELSTORAGE_DSN            password xxxxxxxxx            user xxxxxxxx        </oracle>    </relstorage> </before>    mount-point /</zodb_db>
  • impossible as the site stores
  • <before> before 2008-12-08T10:29:03    <relstorage>        <oracle>            dsn RELSTORAGE_DSN            password xxxxxxxxx            user xxxxxxxx        </oracle>    </relstorage> </before>
  • when you start the instance, you are in the past
  • found the lost object
  • Export/Import
  • save the export on the server
  • buildout with your regular buildout file
  • restart
  • import the .zexp
  • reindex the imported content
  • related data that lives outside of the object itself is gone
  • Martijn Pieters
Graham Perrin

Zope 3 wiki FAQ - General - Known Good Set (KGS) - 0 views

Graham Perrin

..: hannosch :..: Plone LOC statistics - 0 views

Graham Perrin

..: hannosch :..: News from Plone trunk - 0 views

  • News from Plone trunk
  • November 2008
  • moved our entire stack towards eggs
Graham Perrin

18 Things I Wish Were True About Plone - 0 views

Graham Perrin

Zope 3 Known Good Sets - 1 views

  • Zope 3.4.0 Released
  • January 29, 2009
  • integrates very well with the rest of the Python community
  • ...7 more annotations...
  • Zope 3 is now fully converted to an egg-based system
  • The Known Good Set (KGS)
  • a configuration of packages and their versions that are known to work well together
  • verified by running over twelve thousand tests on a daily basis
  • against Python 2.4 and 2.5 on the 32- and 64-bit platforms
  • "nail" the versions
    • Graham Perrin
       
      Is nailing analogous to pinning? In Plone community, I'm more familiar with the word 'pinning'.
  • KGS can be used in several ways
1 - 9 of 9
Showing 20 items per page