Re: [Zope-dev] AccessControl bug fixed

2012-08-22 Thread Martin Aspeli
On 22 August 2012 18:30, Yusei TAHARA yu...@domen.cx wrote: Hello, I found a bug in ZopeSecurityPolicy and fixed it. http://svn.zope.org/AccessControl/trunk/src/AccessControl/ZopeSecurityPolicy.py?rev=127548r1=113657r2=127548 Is it possible to release new version? Are we sure this

Re: [Zope-dev] [Checkins] SVN: zc.buildout/ Moved to github

2012-08-19 Thread Martin Aspeli
On 20 August 2012 01:44, Ross Patterson m...@rpatterson.net wrote: For me the discussion sounds a little like a general denial against github using the legal story as rationale. +10. I'm so glad others are saying the things I think need saying. I *am* a signed ZF contributor and from

Re: [Zope-dev] using WSGIPublisher

2012-06-07 Thread Martin Aspeli
On 7 June 2012 07:20, Michael Howitz m...@gocept.com wrote: Am 06.06.2012 um 19:58 schrieb Hanno Schlichting: […] As I said above, my main concern is keeping publisher events and exception views intact. Some of these events need to happen in code that's currently inside repoze.* middleware.

Re: [Zope-dev] using WSGIPublisher

2012-06-07 Thread Martin Aspeli
On 7 June 2012 07:20, Michael Howitz m...@gocept.com wrote: Am 06.06.2012 um 19:58 schrieb Hanno Schlichting: […] As I said above, my main concern is keeping publisher events and exception views intact. Some of these events need to happen in code that's currently inside repoze.* middleware.

Re: [Zope-dev] Adding broken/missing support to zope.interface? (was: experimental.broken - Graceful handling of broken interfaces and components in the ZODB)

2012-04-09 Thread Martin Aspeli
On 9 April 2012 15:41, Brian Sutherland br...@vanguardistas.net wrote: On Sun, Apr 08, 2012 at 01:04:37PM -0700, Ross Patterson wrote: experimental.broken is working well for me. It greatly aided me in getting through a particularly nasty upgrade allowing me to cleanup the ZCA cruft left

Re: [Zope-dev] Zope 2 WSGI investigation

2012-01-03 Thread Martin Aspeli
On 3 January 2012 08:01, Chris McDonough chr...@plope.com wrote: Am I right in thinking Pyramid no longer uses repoze.tm2 or a middleware approach? What was the rationale for that design decision? You're right, Pyramid scaffolding no longer supplies repoze.tm2 or any other WSGI middleware

Re: [Zope-dev] Zope 2 WSGI investigation

2012-01-02 Thread Martin Aspeli
On 2 January 2012 08:50, Wichert Akkerman wich...@wiggy.net wrote: On 01/01/2012 08:39 PM, Martin Aspeli wrote: Hi, There are three known WSGI implementations of the Zope 2 publisher. I've had a look at them and made some notes about what I think provides the best story: ## Zope 2.13

Re: [Zope-dev] Zope internals documentation

2012-01-02 Thread Martin Aspeli
On 2 January 2012 12:33, Jens Vagelpohl j...@dataflake.org wrote: Hi Martin, Sphinx on svn.zope.org works for me. :) I have created a simple buildout and put it in SVN: http://svn.zope.org/zope_secrets/ The output is shown at http://docs.zope.org/zope_secrets/ and linked from the front

Re: [Zope-dev] Zope 2 WSGI investigation

2012-01-02 Thread Martin Aspeli
On 3 January 2012 06:39, Chris McDonough chr...@plope.com wrote: On Mon, 2012-01-02 at 10:39 +, Martin Aspeli wrote: On 2 January 2012 08:50, Wichert Akkerman wich...@wiggy.net wrote: On 01/01/2012 08:39 PM, Martin Aspeli wrote: Hi, There are three known WSGI implementations

Re: [Zope-dev] Zope internals documentation

2012-01-01 Thread Martin Aspeli
On 1 January 2012 09:44, Jens Vagelpohl j...@dataflake.org wrote: On Dec 31, 2011, at 20:09 , Martin Aspeli wrote: Hi folks, I have documented some of the darker corners of Zope's internals. I put it in the Plone developer documentation for lack of a better place, but it's not Plone

Re: [Zope-dev] Zope internals documentation

2012-01-01 Thread Martin Aspeli
On 1 January 2012 10:43, Jens Vagelpohl j...@dataflake.org wrote: Hi Martin, There *is* a better place, docs.zope.org. If you can tell me where the sources are I can put it there. Sure: Clone https://github.com/collective/collective.developermanual/ and get it from source/zope_secrets.

Re: [Zope-dev] Zope internals documentation

2012-01-01 Thread Martin Aspeli
On 1 January 2012 10:51, Andreas Jung li...@zopyx.com wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Martin Aspeli wrote: On 1 January 2012 10:43, Jens Vagelpohl j...@dataflake.org wrote: Hi Martin, There *is* a better place, docs.zope.org. If you can tell me where the sources

Re: [Zope-dev] Zope internals documentation

2012-01-01 Thread Martin Aspeli
On 1 January 2012 11:00, Jens Vagelpohl j...@dataflake.org wrote: On Jan 1, 2012, at 11:46 , Martin Aspeli wrote: Where is docs.zope.org maintained? On one of the ZF servers. If it's going to go there, I'd like it to (a) be in version control and (b) be somewhere that I can edit

[Zope-dev] Zope 2 WSGI investigation

2012-01-01 Thread Martin Aspeli
Hi, There are three known WSGI implementations of the Zope 2 publisher. I've had a look at them and made some notes about what I think provides the best story: ## Zope 2.13 WSGIPublisher Pros: * Allows distributed transaction management with repoze.tm2 * Allows distributed retry with

[Zope-dev] Zope internals documentation

2011-12-31 Thread Martin Aspeli
Hi folks, I have documented some of the darker corners of Zope's internals. I put it in the Plone developer documentation for lack of a better place, but it's not Plone-specific: http://collective-docs.readthedocs.org/en/latest/zope_secrets/index.html Topics covered include startup,

[Zope-dev] PAS and AccessControl bug?

2011-12-29 Thread Martin Aspeli
Hi, I found this code in PAS, which is mostly lifted from AccessControl.userfolder: def _getObjectContext( self, v, request ): request - ( a, c, n, v ) o 'a 'is the object the object was accessed through o 'c 'is the physical container of the object o 'n 'is

[Zope-dev] ZopeSecurityPolicy global manipulation

2011-12-29 Thread Martin Aspeli
Hi, AccessControl.ZopeSecurityPolicy contains this code: from types import MethodType # AccessControl.Implementation inserts: # ZopeSecurityPolicy, getRoles, rolesForPermissionOn from AccessControl.SimpleObjectPolicies import _noroles rolesForPermissionOn = None # XXX: avoid import loop

Re: [Zope-dev] Enabling External Methods in skin folders

2011-11-17 Thread Martin Aspeli
On 17 November 2011 11:28, li...@nidelven-it.no wrote: Hi, I have a bunch of External Methods I'd like to make available in a skin form, and which reload in the same way a page template would if it was modified and the server was in debug mode. External methods should not require restarts

Re: [Zope-dev] Zope 4 release management

2011-11-17 Thread Martin Aspeli
Hi, On 17 November 2011 12:25, Laurence Rowe l...@lrowe.co.uk wrote: Along with David Glick, I would like to volunteer for the Zope 4 release management role, where I would take responsibility for producing the initial release of Zope 4 and David would then take over for the maintenance

Re: [Zope-dev] Zope 4 roadmap

2011-11-17 Thread Martin Aspeli
On 17 November 2011 14:46, Laurence Rowe l...@lrowe.co.uk wrote: Here's my current understanding of the Zope 4 roadmap. Zope 4 -- Significant progress has already been made on the following features and I expect they should all land in time for a Zope 4 release: - Storing parent

Re: [Zope-dev] Zope 4 release management

2011-11-17 Thread Martin Aspeli
On 17 November 2011 15:50, Jim Fulton j...@zope.com wrote: On Thu, Nov 17, 2011 at 7:25 AM, Laurence Rowe l...@lrowe.co.uk wrote: ... (Interesting roadmap snipped) This process will  necessitate a lot of merging, so I want to propose that we move to Git for development (something we found

Re: [Zope-dev] Zope 4 release management

2011-11-17 Thread Martin Aspeli
On 17 November 2011 16:32, Tres Seaver tsea...@palladion.com wrote: * Zope 4 will not seek to innovate in itself but encourage innovation in software components shared with the wider Python web community. I smell something funny in here:  if we aren't innovating, why are we making the

Re: [Zope-dev] Revert removal of ++skin++ in Zope4?

2011-11-16 Thread Martin Aspeli
On 16 November 2011 11:30, Christian Theune c...@gocept.com wrote: Going down into the new ZMI project I find it to be the most light-weight approach without adding an extra dependency. What is this project? ;-) Martin ___ Zope-Dev maillist -

Re: [Zope-dev] RFC: Proposal for merging jbohman-zope.registry branch of zope.component

2011-08-17 Thread Martin Aspeli
Hi, On 17 August 2011 03:50, Tres Seaver tsea...@palladion.com wrote: - - Land 'zope.registry' as a full ZTK package, with its own Launchpad  artifacts, etc.  This step may also involve moving bugs from  zope.component to zope.registry. This is not a major issue, but just be aware that

Re: [Zope-dev] www.zope.org relaunched

2011-07-07 Thread Martin Aspeli
On 7 July 2011 12:58, Andreas Jung li...@zopyx.com wrote: Dear Zope Community, on behalf of the Zope Foundation I please to announce the relaunch of the new www.zope.org web site. http://www.zope.org The old zope.org site will available for the time being in (reduced form) under

Re: [Zope-dev] direction

2011-07-05 Thread Martin Aspeli
On 5 July 2011 09:42, Hanno Schlichting ha...@hannosch.eu wrote: What you are describing is exactly what I meant by old legacy Zope2 applications. You should be able to use this style of development with Zope 2.13. But you won't be able to upgrade to newer versions of Zope 2 anymore and

Re: [Zope-dev] direction

2011-07-05 Thread Martin Aspeli
On 5 July 2011 10:18, Hanno Schlichting ha...@hannosch.eu wrote: On Tue, Jul 5, 2011 at 11:03 AM, Martin Aspeli optilude+li...@gmail.com wrote: I would've thought it would also be possible for those who rely on this to maintain the relevant eggs as optional installations against Zope 2.x

Re: [Zope-dev] direction

2011-07-05 Thread Martin Aspeli
On 5 July 2011 10:31, Hanno Schlichting ha...@hannosch.eu wrote: On Mon, Jul 4, 2011 at 12:19 PM, yuppie y.2...@wcm-solutions.de wrote: Long-term maintenance for Zope 2.13 would give these projects/deployments at least a few more years. Yes. I'm willing to cut releases for it for quite a

Re: [Zope-dev] direction

2011-07-05 Thread Martin Aspeli
On 5 July 2011 11:10, Jens Vagelpohl j...@dataflake.org wrote: On 7/5/11 11:56 , Martin Aspeli wrote: On 5 July 2011 10:31, Hanno Schlichtingha...@hannosch.eu wrote: So we just got ourselves a Zope2 version 3.0. And no, naming it 4.0 or 5.0 or anything else doesn't make it any better

Re: [Zope-dev] direction

2011-07-05 Thread Martin Aspeli
Hi, On 5 July 2011 11:26, Tobias Helfrich helfr...@know-it.net wrote: Hi Hanno On Tue, Jul 5, 2011 at 10:19 AM, Tobias Helfrich helfr...@know-it.net wrote: OK, so you do think that we might use Zope 2.12 for a quite long time without thinking about anymore updates? Will there be

Re: [Zope-dev] direction

2011-07-04 Thread Martin Aspeli
Something of a meta-comment on this thread: It sounds like people are broadly in agreement on the direction, but not communicating enough about what's actually going on. I think it would be useful to keep some kind of roadmap wiki on zope.org, or at least post to the list periodically saying,

Re: [Zope-dev] direction

2011-07-03 Thread Martin Aspeli
On 3 July 2011 16:44, Hanno Schlichting ha...@hannosch.eu wrote: On Sun, Jul 3, 2011 at 7:09 AM, Chris McDonough chr...@plope.com wrote: Zope still needs to the virtual host monster (or something like it) even with the WSGI publisher; there's nothing equivalent in the WSGI world (unless

Re: [Zope-dev] Sharing session between different zope servers

2011-06-15 Thread Martin Aspeli
Hi, You can use collective.beaker to manage your sessions with beaker, and store on the filesystem (if all on the same server) or memcached (if on different servers). That's a code change, though. Martin On 15 June 2011 17:50, Subish K S kssubish...@yahoo.com wrote: Hi, We have 10+ Zope  

Re: [Zope-dev] component registry navelgazing

2011-06-12 Thread Martin Aspeli
On 12 June 2011 21:48, Chris McDonough chr...@plope.com wrote: Currently if you ask a registry to singly-adapt an object to an interface, and the object you're trying to adapt implements that interface, here's what happens: from zope.component.registry import Components c = Components()

[Zope-dev] ZEO Server service installation on Windows

2011-05-02 Thread Martin Aspeli
Hi, I just found out that, since Zope 2.12 (or 2.13?) it's no longer possible to install a ZEO server as a Windows service. Previously, it used to be possible to do: bin\zeoservice install (where bin\zeoservice is installed by plone.recipe.zeoserver), but apparently no longer. Is this really

Re: [Zope-dev] zope.component test isolation

2011-04-04 Thread Martin Aspeli
Hi, On 4 April 2011 17:30, Wolfgang Schnerring w...@gocept.com wrote: So, how can we proceed here? Should I (and Thomas) try to get a proof-of-concept implementation of this based on plone.testing? Or should we think about what it takes to merge most of plone.testing's ZCA support into

Re: [Zope-dev] Test fixture concepts

2011-03-28 Thread Martin Aspeli
On 28 March 2011 15:45, Tres Seaver tsea...@palladion.com wrote: The vast majority of the doctest testcases in zope.* packages fall into this category:  poor isolation, lots of edge cases which would obscure any real narrative docs, of which there are almost none.  I believe the conflict is

Re: [Zope-dev] Test fixture concepts (was: Zope test layers, pytest, and test isolation)

2011-03-27 Thread Martin Aspeli
Hi, On 27 March 2011 15:54, Uli Fouquet u...@gnufix.de wrote: The (limited) experiences with py.test, however, were awesome. Some points that are quite cool IMHO: - Easy finding of tests: just write some ``test_function`` in a  ``test_module`` and it will be found and executed. That also

Re: [Zope-dev] zope.component test isolation (was: Zope test layers, pytest, and test isolation)

2011-03-26 Thread Martin Aspeli
Hi Jim, On 25 March 2011 14:12, Jim Fulton j...@zope.com wrote: Agree. There is a problem in that provideAdapter() and friends don't use getSiteManager() - the always use the global site manager. And there are parts of zope.component that use module level variables directly, ignoring hooks.

Re: [Zope-dev] zope.component test isolation

2011-03-26 Thread Martin Aspeli
Hi, On 26 March 2011 08:11, Wolfgang Schnerring w...@gocept.com wrote: Hello, * Martin Aspeli optilude+li...@gmail.com [2011-03-25 13:58]: plone.testing (which is Plone non-specific and will shortly be BSD licensed) allows for stacking of ZCA registries. [...] Again, plone.testing

Re: [Zope-dev] Test fixture concepts (was: Zope test layers, pytest, and test isolation)

2011-03-26 Thread Martin Aspeli
Hi, On 26 March 2011 14:18, Wolfgang Schnerring w...@gocept.com wrote: Because, while test layers are nice because they have the above properties, I'm not too happy with the current implementation, namely the use (or is it abuse? ;-) of __bases__ and __name__, which leads very naturally to

Re: [Zope-dev] zope.component test isolation (was: Zope test layers, pytest, and test isolation)

2011-03-25 Thread Martin Aspeli
Hi, On 25 March 2011 13:17, Jim Fulton j...@zope.com wrote: On Fri, Mar 25, 2011 at 4:24 AM, Wolfgang Schnerring w...@gocept.com wrote: Hello Uli, I've spent quite some time thinking (and partly coding) about the same issues you mention (but didn't feel ready to talk about it here, yet), so

Re: [Zope-dev] Anyone want to do Google Summer of code mentoring for PSF?

2011-03-20 Thread Martin Aspeli
Hi, On 20 March 2011 15:00, Hanno Schlichting ha...@hannosch.eu wrote: On Sun, Mar 20, 2011 at 3:28 PM, Jim Fulton j...@zope.com wrote: - The mechanism shouldn't require something to grok/analyze the  code.  The mechanism should be explicit. This is implied by  pythonic.  I remember Grok

Re: [Zope-dev] Anyone want to do Google Summer of code mentoring for PSF?

2011-03-20 Thread Martin Aspeli
Hi, On 20 March 2011 15:29, Jim Fulton j...@zope.com wrote: I think you cannot avoid this, if you want to support an explicit configuration phase. Otherwise the first import of a module could occur at any point at runtime and have a configuration side-effect like registering a new view.

Re: [Zope-dev] ZPublisher: using zope.formlib and z3c.form in Zope 2

2011-03-02 Thread Martin Aspeli
Hi, On 2 March 2011 08:43, yuppie y.2...@wcm-solutions.de wrote: Hi! ZPublisher.Publish and zope.publisher.publish process form inputs differently. Zope 2 returns encoded strings unchanged if no converters are specified. zope.publisher converts encoded strings to unicode. One major reason

Re: [Zope-dev] z3c.form buildout broken

2010-11-21 Thread Martin Aspeli
On 21 November 2010 16:16, Roger d...@projekt01.ch wrote: Why do we use such crapy parts like omplette in z3c.form? I never do any development whatsoever without collective.recipe.omelette. It may not be right for z3c.form, but it's not crappy. Martin

[Zope-dev] lxml dependency in Zope 2.12.10 KGS

2010-09-10 Thread Martin Aspeli
Hi, The Zope 2.12.10 KGS at http://download.zope.org/Zope2/index/2.12.10/versions.cfg specifies lxml = 2.2.6 There is no Python 2.6 Windows build for this egg, which means that this version cannot be installed on Windows under Python 2.6. Version 2.2.4 is the latest version with safe binary

Re: [Zope-dev] lxml dependency in Zope 2.12.10 KGS

2010-09-10 Thread Martin Aspeli
On 10 September 2010 14:04, Hanno Schlichting ha...@hannosch.eu wrote: Hi. On Fri, Sep 10, 2010 at 2:45 PM, Martin Aspeli optilude+li...@gmail.comoptilude%2bli...@gmail.com wrote: The Zope 2.12.10 KGS at http://download.zope.org/Zope2/index/2.12.10/versions.cfg specifies lxml

Re: [Zope-dev] lxml dependency in Zope 2.12.10 KGS

2010-09-10 Thread Martin Aspeli
On 10 September 2010 14:26, Hanno Schlichting ha...@hannosch.eu wrote: On Fri, Sep 10, 2010 at 3:17 PM, Martin Aspeli optilude+li...@gmail.comoptilude%2bli...@gmail.com wrote: If we *are* going to use a convenience pin, then surely the ability to install on the world's most-used operating

Re: [Zope-dev] Different Zope 3.4.2 Newbie feedback

2010-09-09 Thread Martin Aspeli
On 9 September 2010 01:33, Christopher Lozinski lozin...@freerecruiting.com wrote: Here I am sharing my thoughts as a Zope 3.4.2 newbie. As you have been told three times this week already: Zope 3 is in effect dead. You want to look at Grok (if you want less ZCML and more convention-based

Re: [Zope-dev] ZTK TTW Content Types Project Wiki

2010-09-08 Thread Martin Aspeli
Don't be too harsh on Grok/Dexterity. Dexterity has worked out how not to repeat the definitions in interfaces, forms and content objects. It also produces an application with suprisingly little redundant code. I urge you to try it out. The benefits are of course quick turn around, version

Re: [Zope-dev] Zope 3 Newbie Feedback

2010-09-04 Thread Martin Aspeli
Hi, So how to make Blue Bream easier to use? I propose making the initial start up interface a simple content management system, kind of a Plone light. This seems like a bad idea. Blue Bream attempts to be a development framework, not a content management system. You are suggesting we make

[Zope-dev] .lock files on Windows

2010-09-03 Thread Martin Aspeli
Hi, With Plone 4 and thus Zope 2.12.10, we've noticed a problem that I think only affects Windows. Can anyone confirm or shed some more light? Basically, if we run an instance (installed via plone.recipe.zope2instance as bin\instance) in the foreground (bin\instance fg) and then kill it with

Re: [Zope-dev] .lock files on Windows

2010-09-03 Thread Martin Aspeli
On 3 September 2010 17:06, Jim Pharis binbr...@gmail.com wrote: I'm on 2.13.0a3 w/plone.recipe.zope2instanec-4.0.2. Under the scenario Martin described, exiting a fg with ctrl-c, the lock file is cleaned up for me. If I kill the service using Task Manager the lock file remains. It seemed to be

Re: [Zope-dev] (Zope2) a proposed tweak to assigning default roles to permissions

2010-08-19 Thread Martin Aspeli
Hi, On 19 August 2010 16:46, Hanno Schlichting ha...@hannosch.eu wrote: Hi. On Thu, Aug 19, 2010 at 6:15 AM, David Glick davidgl...@groundwire.org wrote: As an alternative to requiring calling setDefaultRoles/addPermission at import time, I suggest that we add an optional roles attribute

Re: [Zope-dev] RFC: ETag support for zope.browserresource

2010-08-09 Thread Martin Aspeli
On 10 August 2010 02:25, Marius Gedminas mar...@gedmin.as wrote: I've added ETag support for zope.browserresource in a branch: http://zope3.pov.lt/trac/changeset/115596 Does anybody have any comments/objections?  If not, I'd like to merge this to trunk and release zope.browserresource 3.11.0.

Re: [Zope-dev] Changing and migrating persistence structure

2010-08-08 Thread Martin Aspeli
Hi Jim, On 08/08/2010, Jim Fulton j...@zope.com wrote: On Thu, Aug 5, 2010 at 2:36 AM, Martin Aspeli optilude+li...@gmail.com wrote: ... I have a package (plone.registry) that currently has a persistent structure like this: Registry(Persistent) | +-- Records(Persistent

Re: [Zope-dev] Changing and migrating persistence structure

2010-08-08 Thread Martin Aspeli
On 8 August 2010 20:29, Hanno Schlichting ha...@hannosch.eu wrote: There should be some way of doing this with custom __getstate__ and __setstate__ methods. It's just tricky to get right and a bit fragile. It's much easier to write the migration code if both the old and new class are

[Zope-dev] Changing and migrating persistence structure

2010-08-05 Thread Martin Aspeli
Hi, [I posted this to zodb-dev, but it seems that list isn't working at the moment(?) so I thought I'd try here too] I have a package (plone.registry) that currently has a persistent structure like this: Registry(Persistent) | +-- Records(Persistent) | +-- BTree of

Re: [Zope-dev] docs.zope.org automation

2010-08-02 Thread Martin Aspeli
On 2 August 2010 22:40, Jens Vagelpohl j...@dataflake.org wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 8/2/10 16:36 , Stephan Richter wrote: On Monday, August 02, 2010, Jens Vagelpohl wrote: 'll have to look at that. Currently, the documentation builder does not do any

Re: [Zope-dev] unit test policy questions

2010-07-29 Thread Martin Aspeli
On 29 July 2010 19:26, yuppie y.2...@wcm-solutions.de wrote: Hi! Traditionally the last two lines of unit test files look like this: if __name__ == '__main__':     unittest.main(defaultTest='test_suite') That makes it easy to run the tests of a specific file. But it doesn't work with

Re: [Zope-dev] unit test policy questions

2010-07-29 Thread Martin Aspeli
On 29 July 2010 20:14, yuppie y.2...@wcm-solutions.de wrote: Martin Aspeli wrote: I never do either. I install zc.recipe.testrunner in a buildout and use bin/test, which picks up tests in modules automatically. Sure. But do you always run all tests it picks up while working on a specific

Re: [Zope-dev] unit test policy questions

2010-07-29 Thread Martin Aspeli
On 29 July 2010 22:35, Tres Seaver tsea...@palladion.com wrote: I don't believe that zope.testing's testrunner works without 'def test_suite()'. Latter versions can detect unittest.TestCase-derived test suites automatically. For doctests you still need test_suite(). Martin

Re: [Zope-dev] Should we merge collective.xmltestreport into zope.testrunner?

2010-07-25 Thread Martin Aspeli
Hi, On 25 July 2010 16:58, Hanno Schlichting ha...@hannosch.eu wrote: On Sun, Jul 25, 2010 at 5:36 AM, Martin Aspeli optilude+li...@gmail.com wrote: A while back, I wrote collective.xmltestreport [1,2]. In short, it's a wrapper around zope.testing's test runner that can produce output

[Zope-dev] Should we merge collective.xmltestreport into zope.testrunner?

2010-07-24 Thread Martin Aspeli
Hi, A while back, I wrote collective.xmltestreport [1,2]. In short, it's a wrapper around zope.testing's test runner that can produce output in an XML format compatible with the xUnit family of testing tools. This is useful for integrating with things like Hudson, which can parse these kinds of

Re: [Zope-dev] [zope2] Help needed with security checks and add views

2010-07-10 Thread Martin Aspeli
On 27 June 2010 00:24, Hanno Schlichting ha...@hannosch.eu wrote: Hi there, recently MJ opened a security related bug and disclosed it to the public at https://bugs.launchpad.net/zope2/+bug/578326. In short Zope 2 never supported the permission attribute on ZCML browser:view declarations.

Re: [Zope-dev] [zope2] Help needed with security checks and add views

2010-07-10 Thread Martin Aspeli
On 10 July 2010 18:16, Hanno Schlichting ha...@hannosch.eu wrote: On Sat, Jul 10, 2010 at 12:14 PM, Martin Aspeli optilude+li...@gmail.com wrote: Fixed in r114488 (2.12 branch) and r114490 (trunk). I don't think I'm allowed to close the issue on Launchpad, but it should be fine now. Awesome

Re: [Zope-dev] [zope2] Help needed with security checks and add views

2010-07-09 Thread Martin Aspeli
On 9 July 2010 16:12, Hanno Schlichting ha...@hannosch.eu wrote: On Thu, Jul 8, 2010 at 3:02 PM, Martin Aspeli optilude+li...@gmail.com wrote: Ideally I'd love to add support for the permission attribute, as clearly people have been using it. But if there's nobody who can figure out how

Re: [Zope-dev] [zope2] Help needed with security checks and add views

2010-07-08 Thread Martin Aspeli
Hi Hanno, On 27 June 2010 00:24, Hanno Schlichting ha...@hannosch.eu wrote: Hi there, recently MJ opened a security related bug and disclosed it to the public at https://bugs.launchpad.net/zope2/+bug/578326. In short Zope 2 never supported the permission attribute on ZCML browser:view

Re: [Zope-dev] New release of z3c.form

2010-07-01 Thread Martin Aspeli
On 1 July 2010 21:10, Godefroid Chapelle got...@bubblenet.be wrote: Le 01/07/10 14:53, Stephan Richter a écrit : On Thursday, July 01, 2010, Godefroid Chapelle wrote: I found http://docs.zope.org/z3c.form/ Last updated Nov 08,2009 Version 1.8.2dev. What is the process to get the latest

Re: [Zope-dev] z3c.form release

2010-05-15 Thread Martin Aspeli
On 15 May 2010 15:39, Wichert Akkerman wich...@wiggy.net wrote: On 5/10/10 17:24 , Wichert Akkerman wrote: I fixed a few issues in z3c.form today. Can anyone make a 2.3.4 release? Since I got no reaction I'll repeat this request: can someone please make a new z3c.form release? Looking at

Re: [Zope-dev] Hanno, please update the ZTK

2010-05-03 Thread Martin Aspeli
On 4 May 2010 00:09, Martijn Faassen faas...@startifact.com wrote: Hanno is making releases of packages in the ZTK. So it's not just Hanno's waste of time; it's mine too. That's where I was coming from when this discussion started. It didn't help that the action of making the fork really hurt

Re: [Zope-dev] zope.test.doctest made into monkey-patches (Was: Circular dependency hell.)

2010-04-20 Thread Martin Aspeli
On 20 April 2010 21:23, Lennart Regebro rege...@gmail.com wrote: On Tue, Apr 20, 2010 at 13:44, Wichert Akkerman wich...@wiggy.net wrote: You may want to move it outside the zope.* namespace to encourage that :) -1 I think zope.testrunner is just fine, and acknowledges the heritage. Namespaces

Re: [Zope-dev] Circular dependency hell.

2010-04-20 Thread Martin Aspeli
Hi Christian, On 21 April 2010 02:58, Christian Theune c...@gocept.com wrote: On 04/20/2010 08:44 PM, Jim Fulton wrote: On Tue, Apr 20, 2010 at 12:09 PM, Christian Theunec...@gocept.com  wrote: Minor note: zope.testing *promotes* layers the wrong way and zope.app.testing definitely

Re: [Zope-dev] RFC: Proposed new style for documenting and testing ZTK packages

2010-04-17 Thread Martin Aspeli
On 18 April 2010 05:20, Tres Seaver tsea...@palladion.com wrote: I'm not against having the snippets be executable, because I *do* want them to work.  I just don't want to encourage anyone to think that they are testing the software when they write the snippets, or execute them.  Executing

Re: [Zope-dev] Circular dependency hell.

2010-04-16 Thread Martin Aspeli
Hi Lennart co, On 17 April 2010 02:38, Lennart Regebro rege...@gmail.com wrote: On Fri, Apr 16, 2010 at 19:53, Jonathan Lange j...@mumak.net wrote: As the author of one of those other testrunners, I can tell you that if you do this you'll find that your number one biggest problem is getting

Re: [Zope-dev] RFC: Proposed new style for documenting and testing ZTK packages

2010-04-16 Thread Martin Aspeli
On 17 April 2010 09:41, Tres Seaver tsea...@palladion.com wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 This kind of goes with Lennart's frustration about trying to port the ZTK packages, or a core subset, to Python 3. I would like to see the ZTK packages have really excellent

[Zope-dev] Stacking zope.component registries

2010-04-08 Thread Martin Aspeli
Hi, I'd like to come up with a way to set up a test fixture that does the component registry equivalent of stackable DemoStorage's: whilst a layer is in effect, calls to provideAdapter() and friends (and ZCML execution) go into a global registry that is stacked on top of the default global

Re: [Zope-dev] Stacking zope.component registries

2010-04-08 Thread Martin Aspeli
Stephan Richter wrote: On Thursday 08 April 2010, Marius Gedminas wrote: Someone (I'm bad with names, sorry!) recently proposed a change to zope.configuration that makes ZCML directives use getSiteManager() instead of getGlobalSiteManager(); with that patch in, Chris's example should make

Re: [Zope-dev] Stacking zope.component registries

2010-04-08 Thread Martin Aspeli
Chris McDonough wrote: On 4/8/10 4:36 PM, Marius Gedminas wrote: from zope.component import getSiteManager getSiteManager.sethook(get_current_registry) That seems a bit short-sighted: it would break all tests that rely on setSite() working. He said he wanted a global registry, but.. who

Re: [Zope-dev] Stacking zope.component registries

2010-04-08 Thread Martin Aspeli
Stephan Richter wrote: On Thursday 08 April 2010, Martin Aspeli wrote: Yes, I did look at it. However, the real goal is to provide isolation for anything that makes ZCA registrations. In particular, that includes provideAdapter() and friends. I suspect z3c.baseregistry can't deal

Re: [Zope-dev] Stacking zope.component registries

2010-04-08 Thread Martin Aspeli
Stephan Richter wrote: On Thursday 08 April 2010, Martin Aspeli wrote: Can you elaborate on what you mean here? So I think this can all be done independently of base registry (unless you are are planning to store the registry in the ZODB). The key for layering is the ability to inherit

Re: [Zope-dev] Segfault in zope.configuration

2010-04-07 Thread Martin Aspeli
Fred Drake wrote: On Tue, Apr 6, 2010 at 10:25 PM, Martin Aspelioptilude+li...@gmail.com wrote: So this is still in pyexpat C code as far as I can tell. :-( This is saddening. But on the other hand, your dedication in helping me find a fix is heartening. ;) I've not managed a 64-bit

Re: [Zope-dev] Segfault in zope.configuration

2010-04-06 Thread Martin Aspeli
Martin Aspeli wrote: Hi, I'm not sure if this is a Python issue or a zope issue. We're getting a segfault on 64-bit SuSE Linux (SLES 11), originating from z3c.autoinclude, which in turn called zope.configuration'sinclude / implementation. This calls expat, which then crashes (no error, log

Re: [Zope-dev] Segfault in zope.configuration

2010-04-06 Thread Martin Aspeli
Martin Aspeli wrote: At this point, something is printed to the console. collective.wtf is a dependency of lw.portal, and its ZCML is being included from lw.portal. /home/osc/osc/eggs/collective.wtf-1.0b9-py2.6.egg/collective/wtf/exportimport.py:8: DeprecationWarning: InitializeClass

[Zope-dev] zope.testing and unittest2

2010-04-02 Thread Martin Aspeli
Hi, Has anyone given any thought to supporting the new constructs of unittest2 (http://pypi.python.org/pypi/unittest2) in zope.testing? Using zope.testing 3.9.3 and a simple test case with unittest2, I made the following observations: - A basic test case works fine; a subclass of

Re: [Zope-dev] Zope 2.13 roadmap

2010-04-01 Thread Martin Aspeli
Hanno Schlichting wrote: On Thu, Apr 1, 2010 at 3:49 AM, Martin Aspelioptilude+li...@gmail.com wrote: What's the next step? I'd love to see some roadmapping ala that you did for Plone 5, in particular to discuss our WSGI story (which I'm interested in helping out with if others can help

[Zope-dev] Segfault in zope.configuration

2010-04-01 Thread Martin Aspeli
Hi, I'm not sure if this is a Python issue or a zope issue. We're getting a segfault on 64-bit SuSE Linux (SLES 11), originating from z3c.autoinclude, which in turn called zope.configuration's include / implementation. This calls expat, which then crashes (no error, log message, or core file,

Re: [Zope-dev] Segfault in zope.configuration

2010-04-01 Thread Martin Aspeli
Fred Drake wrote: On Thu, Apr 1, 2010 at 6:07 AM, Martin Aspelioptilude+li...@gmail.com wrote: Any tips on how to debug or similar experiences would be appreciated! If you're on some Unix flavor, you should be able to deconstruct the return code from the runzope process to determine if the

Re: [Zope-dev] Segfault in zope.configuration

2010-04-01 Thread Martin Aspeli
Fred Drake wrote: On Thu, Apr 1, 2010 at 7:29 AM, Martin Aspelioptilude+li...@gmail.com wrote: I'm pretty sure it is. The pdb rabbit hole ended at pyexpat.c. I can't see what's going on there, but when I did 'r' it blew up. If you can point me at the ZCML file you were trying to parse (or

Re: [Zope-dev] Zope 2.13 roadmap

2010-04-01 Thread Martin Aspeli
Hanno Schlichting wrote: On Thu, Apr 1, 2010 at 9:33 AM, Martin Aspelioptilude+li...@gmail.com wrote: Hanno Schlichting wrote: - Five deprecation +1 - sounds hairy, though. Getting rid of the Zope 2 specific ViewPageTemplateFile and BrowserView (already done, I guess) would be a good

Re: [Zope-dev] Segfault in zope.configuration

2010-04-01 Thread Martin Aspeli
Tres Seaver wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Martin Aspeli wrote: Fred Drake wrote: On Thu, Apr 1, 2010 at 7:29 AM, Martin Aspelioptilude+li...@gmail.com wrote: I'm pretty sure it is. The pdb rabbit hole ended at pyexpat.c. I can't see what's going

Re: [Zope-dev] Segfault in zope.configuration

2010-04-01 Thread Martin Aspeli
Marius Gedminas wrote: On Thu, Apr 01, 2010 at 06:07:26PM +0800, Martin Aspeli wrote: I'm not sure if this is a Python issue or a zope issue. We're getting a segfault on 64-bit SuSE Linux (SLES 11), originating from z3c.autoinclude, which in turn called zope.configuration'sinclude

Re: [Zope-dev] Zope2 - Release Manager

2010-04-01 Thread Martin Aspeli
Lennart Regebro wrote: On Thu, Apr 1, 2010 at 18:24, Lennart Regebrorege...@gmail.com wrote: On Thu, Apr 1, 2010 at 15:53, Tres Seavertsea...@palladion.com wrote: As you can see from the diffs, I gut sidetracked writing tests for HTTPResponse, since I needed to make changes to it to do the

Re: [Zope-dev] Segfault in zope.configuration

2010-04-01 Thread Martin Aspeli
Fred Drake wrote: On Thu, Apr 1, 2010 at 2:17 PM, Tres Seavertsea...@palladion.com wrote: /me is deeply suspicious of *any* distro-provided python, ever. I'm also suspicious of 64-bit builds, given that I'm not using one on my dev machine. I've picked up the OpenSuSE installation ISOs;

Re: [Zope-dev] Zope2: Reducing C dependencies

2010-03-31 Thread Martin Aspeli
Charlie Clark wrote: Am 30.03.2010, 17:31 Uhr, schrieb Hanno Schlichtingha...@hannosch.eu: It simplifies the release process for Zope2. In most cases upgrading to a new version of Zope2 won't involve any changes to C code. If the C code is split out, we won't have to release any new Windows

Re: [Zope-dev] Zope2: Reducing C dependencies

2010-03-31 Thread Martin Aspeli
Charlie Clark wrote: Am 31.03.2010, 13:54 Uhr, schrieb Martin Aspelioptilude+li...@gmail.com: Why -1 if it's just about windows binaries? Because I don't think that, if this were the case, this would be the best solution to the problem. What would be a better solution? Windows is sometimes

Re: [Zope-dev] Summary of this weeks' meeting (2010-03-30)

2010-03-31 Thread Martin Aspeli
Christian Theune wrote: Hi, here's this week's summary. For those of you who can't/don't participate in those meetings, there's the open question about how useful you consider my summaries to be. Please tell! Also in short: we decided to keep going with the meetings, so I'd be happy to

Re: [Zope-dev] Zope2 - Release Manager

2010-03-31 Thread Martin Aspeli
Hanno Schlichting wrote: Hi there, I was in too much of a good mood while having some vacation. So I thought I need more work to do :) I'd like to step up as the release manager for Zope2 for the 2.12 and 2.13 (trunk) releases. Sucke^H^H^H^H^H Good man! Very happy you're doing this. I was

Re: [Zope-dev] Zope2 - Release Manager

2010-03-31 Thread Martin Aspeli
Tres Seaver wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Martin Aspeli wrote: What's the next step? I'd love to see some roadmapping ala that you did for Plone 5, in particular to discuss our WSGI story (which I'm interested in helping out with if others can help too). FWIW, I'm

  1   2   3   4   5   >