|
/
Zope
/
gocept svn checkins
/
Archive
/
2009
/
2009-05
/
SVN: r29710 - zopeversions
[
SVN: r29628 - in webmailer/mytum.webmail/trunk: . ... ]
[
SVN: r29713 - gocept.infrastructure/testing/util/t... ]
SVN: r29710 - zopeversions
Wolfgang Schnerring <ws(at)gocept.com> |
2009-05-02 09:00:41 |
[ FULL ]
|
Author: wosc
Date: Sat May 2 09:00:40 2009
New Revision: 29710
Log:
update zope.testing to 3.7.4 to get the fix for https://bugs.launchpad.net/zope3/+bug/339813:
display doctest line numbers in tracebacks -- thanks mac for fixing that
Modified:
zopeversions/zope-stable.cfg
Modified: zopeversions/zope-stable.cfg
==============================================================================
--- zopeversions/zope-stable.cfg (original)
+++ zopeversions/zope-stable.cfg Sat May 2 09:00:40 2009
(at)(at) -153,7 +153,7 (at)(at)
zope.tal = 3.5.0
zope.tales = 3.4.0
zope.testbrowser = 3.6.0a2
-zope.testing = 3.7.1
+zope.testing = 3.7.4
zope.thread = 3.4
zope.traversing = 3.5.3
zope.viewlet = 3.5.0
|
SVN: r29711 - pganalyze
Christian Theune <ct(at)gocept.com> |
2009-05-04 10:45:27 |
[ FULL ]
|
Author: ctheune
Date: Mon May 4 10:45:22 2009
New Revision: 29711
Log:
Create project area for postgresql log analyzer
Added:
pganalyze/
|
SVN: r29712 - pganalyze/trunk
Christian Theune <ct(at)gocept.com> |
2009-05-04 10:45:40 |
[ FULL ]
|
Author: ctheune
Date: Mon May 4 10:45:37 2009
New Revision: 29712
Log:
inital import
Added:
pganalyze/trunk/
pganalyze/trunk/bootstrap.py (contents, props changed)
pganalyze/trunk/buildout.cfg
pganalyze/trunk/graph.py (contents, props changed)
pganalyze/trunk/parse.py (contents, props changed)
Added: pganalyze/trunk/bootstrap.py
==============================================================================
--- (empty file)
+++ pganalyze/trunk/bootstrap.py Mon May 4 10:45:37 2009
(at)(at) -0,0 +1,77 (at)(at)
+##############################################################################
+#
+# Copyright (c) 2006 Zope Corporation and Contributors.
+# All Rights Reserved.
+#
+# This software is subject to the provisions of the Zope Public License,
+# Version 2.1 (ZPL). A copy of the ZPL should accompany this distribution.
+# THIS SOFTWARE IS PROVIDED "AS IS" AND ANY AND ALL EXPRESS OR IMPLIED
+# WARRANTIES ARE DISCLAIMED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
+# WARRANTIES OF TITLE, MERCHANTABILITY, AGAINST INFRINGEMENT, AND FITNESS
+# FOR A PARTICULAR PURPOSE.
+#
+##############################################################################
+"""Bootstrap a buildout-based project
+
+Simply run this script in a directory containing a buildout.cfg.
+The script accepts buildout command-line options, so you can
+use the -c option to specify an alternate configuration file.
+
+$Id: bootstrap.py 90478 2008-08-27 22:44:46Z georgyberdyshev $
+"""
+
+import os, shutil, sys, tempfile, urllib2
+
+tmpeggs = tempfile.mkdtemp()
+
+is_jython = sys.platform.startswith('java')
+
+try:
+ import pkg_resources
+except ImportError:
+ ez = {}
+ exec urllib2.urlopen('http://peak.telecommunity.com/dist/ez_setup.py'
+ ).read() in ez
+ ez['use_setuptools'](to_dir=tmpeggs, download_delay=0)
+
+ import pkg_resources
+
+if sys.platform == 'win32':
+ def quote(c):
+ if ' ' in c:
+ return '"%s"' % c # work around spawn lamosity on windows
+ else:
+ return c
+else:
+ def quote (c):
+ return c
+
+cmd = 'from setuptools.command.easy_install import main; main()'
+ws = pkg_resources.working_set
+
+if is_jython:
+ import subprocess
+
+ assert subprocess.Popen([sys.executable] + ['-c', quote(cmd), '-mqNxd',
+ quote(tmpeggs), 'zc.buildout'],
+ env=dict(os.environ,
+ PYTHONPATH=
+ ws.find(pkg_resources.Requirement.parse('setuptools')).location
+ ),
+ ).wait() == 0
+
+else:
+ assert os.spawnle(
+ os.P_WAIT, sys.executable, quote (sys.executable),
+ '-c', quote (cmd), '-mqNxd', quote (tmpeggs), 'zc.buildout',
+ dict(os.environ,
+ PYTHONPATH=
+ ws.find(pkg_resources.Requirement.parse('setuptools')).location
+ ),
+ ) == 0
+
+ws.add_entry(tmpeggs)
+ws.require('zc.buildout')
+import zc.buildout.buildout
+zc.buildout.buildout.main(sys.argv[1:] + ['bootstrap'])
+shutil.rmtree(tmpeggs)
Added: pganalyze/trunk/buildout.cfg
==============================================================================
--- (empty file)
+++ pganalyze/trunk/buildout.cfg Mon May 4 10:45:37 2009
(at)(at) -0,0 +1,7 (at)(at)
+[buildout]
+parts = py
+
+[py]
+recipe = zc.recipe.egg
+eggs = PyChart
+interpreter = py
Added: pganalyze/trunk/graph.py
==============================================================================
--- (empty file)
+++ pganalyze/trunk/graph.py Mon May 4 10:45:37 2009
(at)(at) -0,0 +1,26 (at)(at)
+# vim:fileencoding=utf-8
+# Copyright (c) 2009 gocept gmbh & co. kg
+# See also LICENSE.txt
+
+import math
+import sys
+import pickle
+from pychart import *
+theme.get_options()
+
+data = open('parsed.dat', 'rb')
+days = pickle.load(data)
+
+ar = area.T(x_axis=axis.X(label="X label", format=lambda x:str(int(2**x))),
+ y_axis=axis.Y(label="Y label"),
+ y_coord=log_coord.T(),
+ y_range=(0.1, None),
+ x_range=(-1, None),
+ size=(1000,1000))
+
+for hcol, data in enumerate(days.values()):
+ data = data.items()
+ data.sort(key=lambda x:x[0])
+ ar.add_plot(bar_plot.T(label="foo", data=data, hcol=hcol))
+
+ar.draw()
Added: pganalyze/trunk/parse.py
==============================================================================
--- (empty file)
+++ pganalyze/trunk/parse.py Mon May 4 10:45:37 2009
(at)(at) -0,0 +1,39 (at)(at)
+# vim:fileencoding=utf-8
+# Copyright (c) 2009 gocept gmbh & co. kg
+# See also LICENSE.txt
+
+import pickle
+import datetime
+import re
+import sys
+import math
+
+PATTERN = re.compile('^([0-9]{4}\-[0-9]{2}\-[0-9]{2}).*duration: ([0-9\.]+)
ms')
+
+try:
+ data = open('parsed.dat', 'rb')
+ days = pickle.load(data)
+except IOError:
+ days = {}
+
+
+for no, line in enumerate(open(sys.argv[1])):
+ result = PATTERN.search(line)
+ if not result:
+ continue
+ day = datetime.datetime(*map(int, result.groups()[0].split('-')))
+ if day not in days:
+ days[day] = {}
+ groups = days[day]
+ time = float(result.groups()[1])
+ group = max(math.floor(math.log(time, 2)), -1)
+ groups.setdefault(group, 0)
+ groups[group] += 1
+
+
+
+for day in sorted(days):
+ for group in range(-1, int(max(days[day].keys())+1)):
+ days[day].setdefault(group, 0)
+
+pickle.dump(days, open('parsed.dat', 'wb'))
|
SVN: r29732 - zopeversions
Christian Zagrodnick <cz(at)gocept.com> |
2009-05-16 11:24:17 |
[ FULL ]
|
Author: zagy
Date: Sat May 16 11:24:14 2009
New Revision: 29732
Log:
updated zope versions; also added libxml2 and libxslt urls here *wink wosc
Modified:
zopeversions/zope-stable.cfg
Modified: zopeversions/zope-stable.cfg
==============================================================================
--- zopeversions/zope-stable.cfg (original)
+++ zopeversions/zope-stable.cfg Sat May 16 11:24:14 2009
(at)(at) -7,6 +7,10 (at)(at)
versions = stable-zope
find-links = http://download.gocept.com/packages/
+[lxml]
+libxml2-url = http://xmlsoft.org/sources/libxml2-2.7.2.tar.gz
+libxslt-url = http://xmlsoft.org/sources/libxslt-1.1.24.tar.gz
+
[stable-zope]
ClientForm = 0.2.10
PILwoTk = 1.1.6.4
(at)(at) -55,14 +59,14 (at)(at)
zope.annotation = 3.4.2
zope.app.apidoc = 3.6.2
zope.app.applicationcontrol = 3.4.2
-zope.app.appsetup = 3.10.1
+zope.app.appsetup = 3.11
zope.app.authentication = 3.6.0
zope.app.basicskin = 3.4.0
zope.app.broken = 3.5.0
zope.app.cache = 3.5.0
zope.app.catalog = 3.5.1
zope.app.component = 3.7.0
-zope.app.container = 3.7.2
+zope.app.container = 3.8.0
zope.app.content = 3.4.0
zope.app.dav = 3.5.0
zope.app.debug = 3.4.0
(at)(at) -71,7 +75,7 (at)(at)
zope.app.exception = 3.4.2
zope.app.file = 3.5.0
zope.app.folder = 3.5.0
-zope.app.form = 3.7.2
+zope.app.form = 3.7.3
zope.app.generations = 3.5.0
zope.app.http = 3.5.2
zope.app.i18n = 3.6.0
(at)(at) -94,7 +98,7 (at)(at)
zope.app.server = 3.4.0
zope.app.session = 3.6.0
zope.app.skins = 3.4.0
-zope.app.testing = 3.6.1
+zope.app.testing = 3.6.2
zope.app.tree = 3.6.0
zope.app.twisted = 3.4.2
zope.app.undo = 3.5.0
(at)(at) -104,7 +108,7 (at)(at)
zope.app.zcmlfiles = 3.5.3
zope.app.zopeappgenerations = 3.4.0
zope.authentication = 3.7.0
-zope.browser = 0.5.0
+zope.browser = 1.1
zope.cachedescriptors = 3.5.0
zope.catalog = 3.8.0
zope.component = 3.6.0
(at)(at) -139,14 +143,15 (at)(at)
zope.password = 3.5.1
zope.principalannotation = 3.6.0
zope.principalregistry = 3.7.0
+zope.processlifetime = 1.0
zope.proxy = 3.5.0
-zope.publisher = 3.6.3
+zope.publisher = 3.7.0
zope.schema = 3.5.4
-zope.security = 3.6.3
+zope.security = 3.7.0
zope.securitypolicy = 3.6.0
zope.sendmail = 3.5.1
zope.server = 3.5.0
-zope.session = 3.9.0
+zope.session = 3.9.1
zope.site = 3.6.0
zope.size = 3.4.0
zope.structuredtext = 3.4.0
|
SVN: r29733 - zopeversions
Christian Zagrodnick <cz(at)gocept.com> |
2009-05-18 16:35:58 |
[ FULL ]
|
Author: zagy
Date: Mon May 18 16:35:56 2009
New Revision: 29733
Log:
pin z3c.recipe.staticlxml as 0.7 is apparently broken
Modified:
zopeversions/zope-stable.cfg
Modified: zopeversions/zope-stable.cfg
==============================================================================
--- zopeversions/zope-stable.cfg (original)
+++ zopeversions/zope-stable.cfg Mon May 18 16:35:56 2009
(at)(at) -44,6 +44,7 (at)(at)
z3c.flashmessage = 1.0
z3c.menu.simple = 0.5.1
z3c.pagelet = 1.0.2
+z3c.recipe.staticlxml = 0.7dev-r99014
z3c.traverser = 0.2.3
zc.datetimewidget = 0.6.1
zc.form = 0.1.3
|
SVN: r29734 - zopeversions
Christian Zagrodnick <cz(at)gocept.com> |
2009-05-18 16:37:16 |
[ FULL ]
|
Author: zagy
Date: Mon May 18 16:37:15 2009
New Revision: 29734
Log:
correct spelling and update to latest version
Modified:
zopeversions/zope-stable.cfg
Modified: zopeversions/zope-stable.cfg
==============================================================================
--- zopeversions/zope-stable.cfg (original)
+++ zopeversions/zope-stable.cfg Mon May 18 16:37:15 2009
(at)(at) -135,7 +135,7 (at)(at)
zope.i18nmessageid = 3.4.3
zope.index = 3.5.1
zope.interface = 3.5.1
-zope.livecycleevent = 3.5.1
+zope.lifecycleevent = 3.5.2
zope.location = 3.5.3
zope.mimetype = 0.3.0
zope.minmax = 1.1.0
|
SVN: r29735 - zopeversions
Christian Zagrodnick <cz(at)gocept.com> |
2009-05-18 16:40:07 |
[ FULL ]
|
Author: zagy
Date: Mon May 18 16:40:06 2009
New Revision: 29735
Log:
update zope.container
Modified:
zopeversions/zope-stable.cfg
Modified: zopeversions/zope-stable.cfg
==============================================================================
--- zopeversions/zope-stable.cfg (original)
+++ zopeversions/zope-stable.cfg Mon May 18 16:40:06 2009
(at)(at) -114,7 +114,7 (at)(at)
zope.catalog = 3.8.0
zope.component = 3.6.0
zope.configuration = 3.6.0
-zope.container = 3.8.1
+zope.container = 3.8.2
zope.contentprovider = 3.5.0
zope.contenttype = 3.4.1
zope.copy = 3.5.0
(at)(at) -136,7 +136,7 (at)(at)
zope.index = 3.5.1
zope.interface = 3.5.1
zope.lifecycleevent = 3.5.2
-zope.location = 3.5.3
+zope.location = 3.5.4
zope.mimetype = 0.3.0
zope.minmax = 1.1.0
zope.modulealias = 3.4.0
|
SVN: r29736 - zopeversions
Christian Zagrodnick <cz(at)gocept.com> |
2009-05-18 16:49:24 |
[ FULL ]
|
Author: zagy
Date: Mon May 18 16:49:21 2009
New Revision: 29736
Log:
pin zc.recipe.cmmi to 1.1.6 as 1.2 is broken as well
Modified:
zopeversions/zope-stable.cfg
Modified: zopeversions/zope-stable.cfg
==============================================================================
--- zopeversions/zope-stable.cfg (original)
+++ zopeversions/zope-stable.cfg Mon May 18 16:49:21 2009
(at)(at) -45,6 +45,7 (at)(at)
z3c.menu.simple = 0.5.1
z3c.pagelet = 1.0.2
z3c.recipe.staticlxml = 0.7dev-r99014
+zc.recipe.cmmi = 1.1.6
z3c.traverser = 0.2.3
zc.datetimewidget = 0.6.1
zc.form = 0.1.3
|
SVN: r29737 - zopeversions
Christian Zagrodnick <cz(at)gocept.com> |
2009-05-18 16:50:26 |
[ FULL ]
|
Author: zagy
Date: Mon May 18 16:50:25 2009
New Revision: 29737
Log:
sortierung
Modified:
zopeversions/zope-stable.cfg
Modified: zopeversions/zope-stable.cfg
==============================================================================
--- zopeversions/zope-stable.cfg (original)
+++ zopeversions/zope-stable.cfg Mon May 18 16:50:25 2009
(at)(at) -45,11 +45,11 (at)(at)
z3c.menu.simple = 0.5.1
z3c.pagelet = 1.0.2
z3c.recipe.staticlxml = 0.7dev-r99014
-zc.recipe.cmmi = 1.1.6
z3c.traverser = 0.2.3
zc.datetimewidget = 0.6.1
zc.form = 0.1.3
zc.i18n = 0.6.1
+zc.recipe.cmmi = 1.1.6
zc.relation = 1.0
zc.resourcelibrary = 1.0.2
zc.selenium = 1.2.0
|
SVN: r29745 - zopeversions
Christian Zagrodnick <cz(at)gocept.com> |
2009-05-20 10:40:14 |
[ FULL ]
|
Author: zagy
Date: Wed May 20 10:40:12 2009
New Revision: 29745
Log:
remotetask 0.4
Modified:
zopeversions/zope-stable.cfg
Modified: zopeversions/zope-stable.cfg
==============================================================================
--- zopeversions/zope-stable.cfg (original)
+++ zopeversions/zope-stable.cfg Wed May 20 10:40:12 2009
(at)(at) -31,7 +31,7 (at)(at)
iso8601 = 0.1.3
ldapadapter = 0.7
ldappas = 0.7
-lovely.remotetask = 0.3
+lovely.remotetask = 0.4
lxml = 2.2
pyftpdlib = 0.5.1
pysqlite = 2.4.1
|
SVN: r29746 - zopeversions
Christian Zagrodnick <cz(at)gocept.com> |
2009-05-20 11:03:46 |
[ FULL ]
|
Author: zagy
Date: Wed May 20 11:03:44 2009
New Revision: 29746
Log:
pin zope.intid
Modified:
zopeversions/zope-stable.cfg
Modified: zopeversions/zope-stable.cfg
==============================================================================
--- zopeversions/zope-stable.cfg (original)
+++ zopeversions/zope-stable.cfg Wed May 20 11:03:44 2009
(at)(at) -136,6 +136,7 (at)(at)
zope.i18nmessageid = 3.4.3
zope.index = 3.5.1
zope.interface = 3.5.1
+zope.intid = 3.7.1
zope.lifecycleevent = 3.5.2
zope.location = 3.5.4
zope.mimetype = 0.3.0
|
SVN: r29781 - zopeversions
Christian Zagrodnick <cz(at)gocept.com> |
2009-05-28 13:56:37 |
[ FULL ]
|
Author: zagy
Date: Thu May 28 13:56:36 2009
New Revision: 29781
Log:
pin zc.recipe.macro
Modified:
zopeversions/zope-stable.cfg
Modified: zopeversions/zope-stable.cfg
==============================================================================
--- zopeversions/zope-stable.cfg (original)
+++ zopeversions/zope-stable.cfg Thu May 28 13:56:36 2009
(at)(at) -50,6 +50,7 (at)(at)
zc.form = 0.1.3
zc.i18n = 0.6.1
zc.recipe.cmmi = 1.1.6
+zc.recipe.macro = 1.2.4
zc.relation = 1.0
zc.resourcelibrary = 1.0.2
zc.selenium = 1.2.0
(at)(at) -97,7 +98,7 (at)(at)
zope.app.schema = 3.4.0
zope.app.security = 3.7.0
zope.app.securitypolicy = 3.5.1
-zope.app.server = 3.4.0
+zope.app.server = 3.4.2
zope.app.session = 3.6.0
zope.app.skins = 3.4.0
zope.app.testing = 3.6.2
|
SVN: r29782 - zopeversions
Christian Zagrodnick <cz(at)gocept.com> |
2009-05-28 14:05:27 |
[ FULL ]
|
Author: zagy
Date: Thu May 28 14:05:26 2009
New Revision: 29782
Log:
unpin zc.recipe.macro
Modified:
zopeversions/zope-stable.cfg
Modified: zopeversions/zope-stable.cfg
==============================================================================
--- zopeversions/zope-stable.cfg (original)
+++ zopeversions/zope-stable.cfg Thu May 28 14:05:26 2009
(at)(at) -50,7 +50,6 (at)(at)
zc.form = 0.1.3
zc.i18n = 0.6.1
zc.recipe.cmmi = 1.1.6
-zc.recipe.macro = 1.2.4
zc.relation = 1.0
zc.resourcelibrary = 1.0.2
zc.selenium = 1.2.0
|
SVN: r29783 - zopeversions
Christian Zagrodnick <cz(at)gocept.com> |
2009-05-29 10:50:57 |
[ FULL ]
|
Author: zagy
Date: Fri May 29 10:50:56 2009
New Revision: 29783
Log:
ZODB 3.9.0b1
Modified:
zopeversions/zope-stable.cfg
Modified: zopeversions/zope-stable.cfg
==============================================================================
--- zopeversions/zope-stable.cfg (original)
+++ zopeversions/zope-stable.cfg Fri May 29 10:50:56 2009
(at)(at) -17,7 +17,7 (at)(at)
RestrictedPython = 3.5.1
SQLAlchemy = 0.4.7p1
ZConfig = 2.6.1
-ZODB3 = 3.8.1
+ZODB3 = 3.9.0b1
decorator = 3.0.0
docutils = 0.5
ftputil = 2.4
|
|