← Back to team overview

oship-dev team mailing list archive

[Fwd: [Merge] lp:~timothywayne-cook/oship/ezrinstall into lp:oship]

 

For those that may not be subscribed to the various branch notifications
I would like to ask for your reviews of this merge proposal.

See the Whiteboard at:
https://code.launchpad.net/~timothywayne-cook/oship/ezrinstall


--Tim


-------- Forwarded Message --------
From: Tim Cook <timothywayne.cook@xxxxxxxxx>
Reply-to: mp+5653@xxxxxxxxxxxxxxxxxx
To: Tim Cook <timothywayne.cook@xxxxxxxxx>
Subject: [Merge] lp:~timothywayne-cook/oship/ezrinstall into lp:oship
Date: Fri, 17 Apr 2009 07:55:16 -0000

Tim Cook has proposed merging lp:~timothywayne-cook/oship/ezrinstall into lp:oship.

Requested reviews:
    OSHIP Development Team (oship-dev): merge to trunk

This branch has a greatly simplified installation procedure at least for Linux).

This new install procedure for this branch is on the Whiteboard.

Following our "merge proposal to trunk", peer-review process.   I need at least two members of oship-dev to validate these procedures and either make comments or vote to go ahead with the merge.  
-- 
Timothy Cook, MSc
Health Informatics Research & Development Services
LinkedIn Profile:http://www.linkedin.com/in/timothywaynecook 
Skype ID == timothy.cook 
**************************************************************
*You may get my Public GPG key from  popular keyservers or   *
*from this link http://timothywayne.cook.googlepages.com/home*
**************************************************************
=== added directory 'oship/bin'
=== added directory 'oship/develop-eggs'
=== added directory 'oship/etc'
=== added file 'oship/etc/README.txt'
--- oship/etc/README.txt	1970-01-01 00:00:00 +0000
+++ oship/etc/README.txt	2009-04-17 06:58:04 +0000
@@ -0,0 +1,26 @@
+In this directory you can find templates which are used by
+``zc.buildout`` to create the configuration files in the parts/etc/ subdir
+of your project.
+
+If you modify files in this directory, you have to run::
+
+  $ bin/buildout
+
+afterwards to rebuild the configuration files in parts/etc/.
+
+In the templates you can use placesholders recognized by zc.buildout
+to name local paths, etc. A zc.buildout placeholder looks like this::
+
+  ${buildout:directory}
+
+which gives you the path of the project directory and will be
+substituted with the real path when you run buildout the next
+time. The set of available placeholders depends on your
+buildout.cfg.
+
+You can also modify files in parts/etc directly, but those changes
+will be overwritten after running bin/buildout the next time.
+
+To run your project you can do::
+
+  $ bin/paster serve parts/etc/deploy.ini

=== added file 'oship/etc/debug.ini.in'
--- oship/etc/debug.ini.in	1970-01-01 00:00:00 +0000
+++ oship/etc/debug.ini.in	2009-04-17 06:58:04 +0000
@@ -0,0 +1,62 @@
+# ${buildout:directory}/parts/log/
+
+[loggers]
+keys = root, wsgi
+
+[handlers]
+keys = console, accesslog
+
+[formatters]
+keys = generic, accesslog
+
+[formatter_generic]
+format = %(asctime)s %(levelname)s [%(name)s] %(message)s
+
+[formatter_accesslog]
+format = %(message)s
+
+[handler_console]
+class = StreamHandler
+args = (sys.stderr,)
+level = NOTSET
+formatter = generic
+
+[handler_accesslog]
+class = FileHandler
+args = ('${buildout:directory}/parts/log/access.log','a')
+level = INFO
+formatter = accesslog
+
+[logger_root]
+level = INFO
+handlers = console
+
+[logger_wsgi]
+level = INFO
+handlers = accesslog
+qualname = wsgi
+propagate = 0
+
+[filter:translogger]
+use = egg:Paste#translogger
+setup_console_handler = False
+logger_name = wsgi
+
+[filter-app:main]
+# Change the last part from 'ajax' to 'pdb' for a post-mortem debugger
+# on the console:
+use = egg:z3c.evalexception#ajax
+next = zope
+
+[app:zope]
+use = egg:oship
+filter-with = translogger
+
+[server:main]
+use = egg:Paste#http
+host = 127.0.0.1
+port = 8080
+
+[DEFAULT]
+# set the name of the zope.conf file
+zope_conf = %(here)s/zope.conf
\ No newline at end of file

=== added file 'oship/etc/deploy.ini.in'
--- oship/etc/deploy.ini.in	1970-01-01 00:00:00 +0000
+++ oship/etc/deploy.ini.in	2009-04-17 06:58:04 +0000
@@ -0,0 +1,56 @@
+# ${buildout:directory}/parts/log/
+
+[loggers]
+keys = root, wsgi
+
+[handlers]
+keys = console, accesslog
+
+[formatters]
+keys = generic, accesslog
+
+[logger_root]
+level = INFO
+handlers = console
+
+[logger_wsgi]
+level = INFO
+handlers = accesslog
+qualname = wsgi
+propagate = 0
+
+[handler_console]
+class = StreamHandler
+args = (sys.stderr,)
+level = NOTSET
+formatter = generic
+
+[handler_accesslog]
+class = FileHandler
+args = ('${buildout:directory}/parts/log/access.log','a')
+level = INFO
+formatter = accesslog
+
+[formatter_generic]
+format = %(asctime)s %(levelname)s [%(name)s] %(message)s
+
+[formatter_accesslog]
+format = %(message)s
+
+[filter:translogger]
+use = egg:Paste#translogger
+setup_console_handler = False
+logger_name = wsgi
+
+[app:main]
+use = egg:oship
+filter-with = translogger
+
+[server:main]
+use = egg:Paste#http
+host = 127.0.0.1
+port = 8080
+
+[DEFAULT]
+# set the name of the zope.conf file
+zope_conf = %(here)s/zope.conf

=== added file 'oship/etc/site.zcml.in'
--- oship/etc/site.zcml.in	1970-01-01 00:00:00 +0000
+++ oship/etc/site.zcml.in	2009-04-17 06:58:04 +0000
@@ -0,0 +1,36 @@
+<configure xmlns="http://namespaces.zope.org/zope";
+           i18n_domain="oship">
+
+  <include package="oship" />
+
+    <configure i18n_domain="oship">
+    
+      <unauthenticatedPrincipal id="zope.anybody"
+                                title="Unauthenticated User" />
+      <unauthenticatedGroup id="zope.Anybody"
+                            title="Unauthenticated Users" />
+      <authenticatedGroup id="zope.Authenticated"
+                        title="Authenticated Users" />
+      <everybodyGroup id="zope.Everybody"
+                      title="All Users" />
+      <principal id="zope.manager"
+                 title="Manager"
+                 login="admin"
+                 password_manager="SHA1"
+                 password="acaaa36e6367c48dd193d56ea7b0baad25b19455e529f5ee"
+                 />
+
+      <!-- Replace the following directive if you do not want
+           public access -->
+      <grant permission="zope.View"
+             principal="zope.Anybody" />
+      <grant permission="zope.app.dublincore.view"
+             principal="zope.Anybody" />
+
+      <role id="zope.Manager" title="Site Manager" />
+      <role id="zope.Member" title="Site Member" />
+      <grantAll role="zope.Manager" />
+      <grant role="zope.Manager"
+             principal="zope.manager" />
+   </configure>
+</configure>
\ No newline at end of file

=== added file 'oship/etc/zdaemon.conf.in'
--- oship/etc/zdaemon.conf.in	1970-01-01 00:00:00 +0000
+++ oship/etc/zdaemon.conf.in	2009-04-17 06:58:04 +0000
@@ -0,0 +1,8 @@
+<runner>
+  program bin/paster serve ${buildout:directory}/parts/etc/deploy.ini
+  daemon on
+  transcript ${buildout:directory}/parts/log/zdaemon.log
+  socket-name ${buildout:directory}/parts/log/zdaemonsock
+  # Enable this to run the child process as a different user
+  # user zope
+</runner>

=== added file 'oship/etc/zope.conf.in'
--- oship/etc/zope.conf.in	1970-01-01 00:00:00 +0000
+++ oship/etc/zope.conf.in	2009-04-17 06:58:04 +0000
@@ -0,0 +1,42 @@
+# Identify the component configuration used to define the site:
+site-definition ${buildout:directory}/etc/site.zcml
+
+<zodb>
+  # Standard Filestorage
+  <filestorage>
+    path ${buildout:directory}/parts/data/Data.fs
+  </filestorage>
+
+# Uncomment this if you want to connect to a ZEO server instead:
+#  <zeoclient>
+#    server localhost:8100
+#    storage 1
+#    # ZEO client cache, in bytes
+#    cache-size 20MB
+#    # Uncomment to have a persistent disk cache
+#    #client zeo1
+#  </zeoclient>
+</zodb>
+
+<eventlog>
+  # This sets up logging to a file.
+  # The "path" setting can be a relative or absolute
+  # filesystem path.
+
+  <logfile>
+    path ${buildout:directory}/parts/log/z3.log
+    formatter zope.exceptions.log.Formatter
+  </logfile>
+
+  # This sets up logging to to standard output.
+  # The "path" setting can be the tokens STDOUT or STDERR
+  
+#  <logfile>
+#    path STDOUT
+#    formatter zope.exceptions.log.Formatter
+#  </logfile>
+</eventlog>
+
+# Comment this line to disable developer mode.  This should be done in
+# production
+devmode on
\ No newline at end of file

=== added directory 'oship/parts'
=== added directory 'oship/parts/data'
=== added directory 'oship/parts/etc'
=== added directory 'oship/parts/i18n'
=== added directory 'oship/parts/log'
=== added directory 'oship/parts/test'