Commits

Anonymous committed e410dff

Updating plone.org.br buildout:
- include pas.plugins.sqlalchemy product
- adjust options for prodution site with Zeo and two instances (instance and instance-debug)
- upgrade Plone to 4.2b2
- create a local copy of version to easy run in offline mode
- send all other non documented modifications

Comments (0)

Files changed (11)

README.txt

File contents unchanged.
 
 # Change the number here to change the version of Plone being used
 extends =
-    http://good-py.appspot.com/release/plone.app.theming/1.0b7?plone=4.1rc3
+    versions.cfg
+#   http://good-py.appspot.com/release/plone.app.theming/1.0b9?plone=4.2b2
 versions = versions
 
 find-links =
     PIL
     ploneorgbr.portal.policy
     charm
+    plone.app.changeownership
 
 develop =
 
 zcml =
+   pas.plugins.sqlalchemy
+   plone.app.changeownership
 
 [versions]
 
-[charm]
-recipe = charm
-
 [instance]
 recipe = plone.recipe.zope2instance
 user = admin:admin
 http-address = 8181
 #debug-mode = on
 #verbose-security = on
-blob-storage = var/blobstorage
+#blob-storage = var/blobstorage
 environment-vars =
     PYTHON_EGG_CACHE ${buildout:directory}/var/.python-eggs
     zope_i18n_compile_mo_files true

bootstrap.py

File contents unchanged.

desenvolvimento.cfg

 develop =
 
 eggs +=
-    Products.DocFinderTab
-    Products.PDBDebugMode
+#    Products.DocFinderTab
+#    Products.PDBDebugMode
 #    Products.PrintingMailHost
 #    Products.Clouseau
 #    Products.Gloworm
 #    Products.DCWorkflowGraph
-    plone.reload
+#    plone.reload
 #    uwosh.northstar
 #    threadframe
 
 zcml +=
-   plone.reload
+#   plone.reload
 #   uwosh.northstar
 
 [roadrunner]
 
 [instance]
 port-base = 0
-debug-mode = on
-verbose-security = on
-event-log-level = DEBUG
-zope-conf-additional =
-    http-realm Desenv
+#debug-mode = on
+#verbose-security = on
+#event-log-level = DEBUG
+#zope-conf-additional =
+#    http-realm Desenv
 
 [omelette]
 recipe = collective.recipe.omelette

etc/logrotate.conf.tmpl

File contents unchanged.

funnelweb.cfg

File contents unchanged.

homologa.cfg

File contents unchanged.
 [buildout]
 
 extends =
-    versions.cfg
     base.cfg
+    sources.cfg
 
 extensions -=
     buildout.dumppickedversions
 
 parts +=
     zhw
-    instance1
-    instance2
+    instance
+    instance-debug
     zeo
     backup
     backup-diario
 
 overwrite-picked-versions-file = true
 
+extensions +=
+    mr.developer
+
+sources = sources
+auto-checkout =
+    *
+
 develop =
-
-eggs +=
-
-zcml +=
+    src/pas.plugins.sqlalchemy
+    src/ploneorgbr.portal.policy
+    src/ploneorgbr.portal.theme
 
 [zhw]
 recipe = zc.recipe.egg
 
 [instance]
 http-address = ${hosts:instance}:${ports:instance}
-port-base = 1
 zodb-cache-size = 55000
 #zeo-client-cache-size = 100MB
 debug-mode = off
-#zserver-threads = 2
+zserver-threads = 2
 zeo-client = true
-zeo-address = ${zeoserver:zeo-address}
-blob-storage = ${zeoserver:blob-storage}
-effective-user = ${users:os}
-zope-conf-additional +=
-      python-check-interval 1200
+zeo-address = ${zeo:zeo-address}
+effective-user = plone
+http-address = zopebrasil.python.org.br:8181
+shared-blob = on
+blob-storage = ${buildout:directory}/var/blobstorage
+environment-vars =
+    PYTHON_EGG_CACHE ${buildout:directory}/var/.python-eggs
+    zope_i18n_compile_mo_files true
+    PTS_LANGUAGES en, pt-br, es
+eggs =
+    Zope2
+    ${buildout:eggs}
+zcml =
+    ${buildout:zcml}
+products =
+    ${buildout:directory}/products
 
-[instance1]
+[instance-debug]
 recipe = collective.recipe.zope2cluster
 instance-clone = instance
-http-address = ${hosts:instance}:${ports:instance1}
-
-[instance2]
-recipe = collective.recipe.zope2cluster
-instance-clone = instance
-http-address = ${hosts:instance}:${ports:instance2}
+http-address = 127.0.0.1:9080
 
 [supervisor]
 recipe = collective.recipe.supervisor
 password = ${supervisor-settings:password}
 serverurl = http://${hosts:supervisor}:${ports:supervisor}
 programs =
-    10 zeo        (autostart=true  startsecs=10)  ${zeoserver:location}/bin/runzeo                   true  ${users:zope}
-    20 instance1  (autostart=true  startsecs=30)  ${buildout:directory}/parts/instance1/bin/runzope  true  ${users:zope}
-    20 instance2  (autostart=true  startsecs=30)  ${buildout:directory}/parts/instance2/bin/runzope  true  ${users:zope}
+    10 zeo        (autostart=true  startsecs=10)  ${zeo:location}/bin/runzeo                   true  ${users:zope}
+    2#0 instance   (autostart=true  startsecs=30)  ${buildout:directory}/bin/instance [-i console] ${buildout:directory} true
 
 eventlisteners =
-    Memmon        TICK_60   ${buildout:directory}/bin/memmon [-p instance1=400MB -p instance2=400MB -m suporte@tangrama.com.br]
-#    HttpOk        TICK_60   ${buildout:directory}/bin/httpok [-p instance1 -t 20 http://${hosts:instance}:${ports:instance2}]
+    Memmon        TICK_60   ${buildout:directory}/bin/memmon [-p instance=600MB -m webmaster@python.org.br]
+    HttpOk        TICK_60   ${buildout:directory}/bin/httpok [-p instance -t 20 http://plone.org.br]
 #    CrashMail     TICK_60   ${buildout:directory}/bin/crashmail [-p in  stance1 -p instance2 -m suporte@tangrama.com.br]
 
 logfile = ${buildout:directory}/var/log/supervisord.log
 nodaemon = false
 
 [zeo]
-recipe = plone.recipe.zope2zeoserver
-zope2-location = ${zope2:location}
-zeo-address = ${hosts:zeoserver}:${ports:zeoserver}
-blob-storage = ${zeo:zeo-var}/blobstorage
-eggs = plone.app.blob
+recipe = plone.recipe.zeoserver
+zeo-address = 127.0.0.1:8100
+blob-storage = ${instance:blob-storage}
+monitor-address = 127.0.0.1:12098
+eggs =
+      ZopeUndo
+      plone.app.blob
 
 [backup]
 recipe = collective.recipe.backup

products/README.txt

File contents unchanged.
 [sources]
-ploneorgbr.portal.policy = hg https://bitbucket.org/ploneorgbr/ploneorgbr.portal.policy
-ploneorgbr.portal.theme = hg https://bitbucket.org/ploneorgbr/ploneorgbr.portal.theme
+ploneorgbr.portal.policy = hg ssh://hg@bitbucket.org/ploneorgbr/ploneorgbr.portal.policy
+ploneorgbr.portal.theme = hg ssh://hg@bitbucket.org/ploneorgbr/ploneorgbr.portal.theme
+pas.plugins.sqlalchemy= git git://github.com/rudaporto/pas.plugins.sqlalchemy.git

var/README.txt

File contents unchanged.