[Zope-dev] zope-tests - FAILED: 42, OK: 66

2012-01-01 Thread Zope tests summarizer
This is the summary for test reports received on the 
zope-tests list between 2011-12-31 00:00:00 UTC and 2012-01-01 00:00:00 UTC:

See the footnotes for test reports of unsuccessful builds.

An up-to date view of the builders is also available in our 
buildbot documentation: 
http://docs.zope.org/zopetoolkit/process/buildbots.html#the-nightly-builds

Reports received


   Bluebream / Python2.5.5 64bit linux
   Bluebream / Python2.6.7 64bit linux
   Bluebream / Python2.7.2 64bit linux
[1]Repository policy check found errors in 305 projects
[2]Total languishing bugs for zope2: 6
[3]Total languishing bugs for zope: 75
[4]Total languishing bugs for zopeapp: 1
[5]Total languishing bugs for zopetoolkit: 208
   ZTK 1.0 / Python2.4.6 Linux 64bit
   ZTK 1.0 / Python2.5.5 Linux 64bit
   ZTK 1.0 / Python2.6.7 Linux 64bit
   ZTK 1.0dev / Python2.4.6 Linux 64bit
   ZTK 1.0dev / Python2.5.5 Linux 64bit
   ZTK 1.0dev / Python2.6.7 Linux 64bit
   ZTK 1.1 / Python2.5.5 Linux 64bit
   ZTK 1.1 / Python2.6.7 Linux 64bit
   ZTK 1.1 / Python2.7.2 Linux 64bit
   ZTK 1.1dev / Python2.5.5 Linux 64bit
[6]ZTK 1.1dev / Python2.6.7 Linux 64bit
[7]ZTK 1.1dev / Python2.7.2 Linux 64bit
   Zope 3.4 KGS / Python2.4.6 64bit linux
   Zope 3.4 KGS / Python2.5.5 64bit linux
   Zope 3.4 Known Good Set / py2.4-32bit-linux
   Zope 3.4 Known Good Set / py2.4-64bit-linux
   Zope 3.4 Known Good Set / py2.5-32bit-linux
   Zope 3.4 Known Good Set / py2.5-64bit-linux
   Zope Buildbot / zope2.12-py2.6 slave-ubuntu64
   Zope Buildbot / zope2.13-py2.6 slave-ubuntu64
   Zope Buildbot / zope2.13-py2.7 slave-ubuntu64
   Zope Buildbot / zope2.14-py2.6 slave-ubuntu64
   Zope Buildbot / zope2.14-py2.7 slave-ubuntu64
   Zope Buildbot / zopetoolkit-1.0-py2.4 slave-ubuntu64
   Zope Buildbot / zopetoolkit-1.0-py2.5 slave-ubuntu64
   Zope Buildbot / zopetoolkit-1.0-py2.6 slave-ubuntu64
   Zope Buildbot / zopetoolkit-1.1-py2.5 slave-ubuntu64
   Zope Buildbot / zopetoolkit-1.1-py2.6 slave-ubuntu64
[8]Zope Buildbot / zopetoolkit-py2.5 slave-ubuntu64
   Zope Buildbot / zopetoolkit-py2.6 slave-ubuntu64
   Zope-2.10 Python-2.4.6 : Linux
   Zope-2.11 Python-2.4.6 : Linux
   Zope-2.12 Python-2.6.6 : Linux
   Zope-2.12-alltests Python-2.6.6 : Linux
   Zope-2.13 Python-2.6.6 : Linux
   Zope-2.13-alltests Python-2.6.6 : Linux
   Zope-trunk Python-2.6.6 : Linux
   Zope-trunk-alltests Python-2.6.6 : Linux
   winbot / ZODB_dev py_265_win32
   winbot / ZODB_dev py_265_win32
   winbot / ZODB_dev py_265_win64
   winbot / ZODB_dev py_265_win64
[9]winbot / ZODB_dev py_270_win32
[10]   winbot / ZODB_dev py_270_win64
[11]   winbot / z3c.form_py_265_32
[12]   winbot / zc.configuration_py_265_32
[13]   winbot / zc.resourcelibrary_py_265_32
[14]   winbot / zc.resourcelibrary_py_265_32
[15]   winbot / zope.app.basicskin_py_265_32
[16]   winbot / zope.app.form_py_265_32
[17]   winbot / zope.app.generations_py_265_32
[18]   winbot / zope.app.http_py_265_32
[19]   winbot / zope.app.principalannotation_py_265_32
[20]   winbot / zope.app.security_py_265_32
[21]   winbot / zope.applicationcontrol_py_265_32
[22]   winbot / zope.authentication_py_265_32
[23]   winbot / zope.browser_py_265_32
[24]   winbot / zope.component_py_265_32
[25]   winbot / zope.componentvocabulary_py_265_32
[26]   winbot / zope.contentprovider_py_265_32
[27]   winbot / zope.copypastemove_py_265_32
[28]   winbot / zope.deprecation_py_265_32
[29]   winbot / zope.dottedname_py_265_32
[30]   winbot / zope.dublincore_py_265_32
[31]   winbot / zope.error_py_265_32
[32]   winbot / zope.exceptions_py_265_32
[33]   winbot / zope.formlib_py_265_32
[34]   winbot / zope.i18n_py_265_32
[35]   winbot / zope.index_py_265_32
[36]   winbot / zope.pagetemplate_py_265_32
[37]   winbot / zope.principalannotation_py_265_32
[38]   winbot / zope.security_py_265_32
[39]   winbot / zope.securitypolicy_py_265_32
[40]   winbot / zope.site_py_265_32
[41]   winbot / zope.structuredtext_py_265_32
[42]   winbot / zope.tales_py_265_32
   winbot / ztk_10 py_254_win32
   winbot / ztk_10 py_254_win32
   winbot / ztk_10 py_265_win32
   winbot / ztk_10 py_265_win32
   winbot / ztk_10 py_265_win64
   winbot / ztk_10 py_265_win64
   winbot / ztk_11 py_254_win32
   winbot / ztk_11 py_254_win32
   winbot / ztk_11 py_265_win32
   winbot / ztk_11 py_265_win32
   winbot / ztk_11 py_265_win64
   winbot / ztk_11 py_265_win64
   winbot / ztk_11 py_270_win32
   winbot / ztk_11 py_270_win32
   winbot / ztk_11 py_270_win64
   winbot / ztk_11 py_270_win64
   winbot / ztk_dev py_265_win32
   winbot / ztk_dev py_265_win32
   winbot / ztk_dev py_265_win64
   winbot / ztk_dev py_265_win64
   winbot / ztk_dev py_270_win32
   winbot / ztk_dev py_270_win32
   winbot / ztk_d

[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 repoze.retry
* Ships with Zope
* Quite simple

Cons:

* Requires repoze.tm2 and repoze.rety
* Does not properly emit publication events - possible patch in
https://gist.github.com/1548061
* Does not do error handling or exception views
* Claims not to properly implement streaming (though there is some code for it)
* Probably less well tested than infrae.wsgi and repoze.zope2 (at
least there is zero documentation)

## infrae.wsgi

Pros:

* Clean and well documented
* Properly emits publication events
* Supports streaming
* Supports simplified virtual hosting with X-VHM-Host
* Supports exception handling / error views
* Reportedly has significant production use

Cons:

* Not 100% compatible (but close and fixable) - fix to make
plone.transformchain work is here: https://gist.github.com/1547328
* Unnecessary five.grok dependency (but easy to rewrite to use ZCML
registration)
* No support for middleware transaction and retry management, so these
can't be distributed across a WSGI pipeline
* Error logging will not support ZMI error_log and assumes single process
* Error handling is slightly different to standard publisher's
exception views, and also does not honour existing
standard_error_message etc

## repoze.zope2

Pros:

* Clean and well documented
* Reimplements and simplifies the BaseRequest.traverse() code, with comments
* Supports distributed transaction management and retry

Cons:

* Replicates a lot of Zope startup code
* Has now-unnecessary code to manage instances and configuration
* repoze.obob abstraction is unnecessary since nothing else uses this
* Does not emit publication events - possible patch in
http://bugs.repoze.org/issue181
* Does not do error handling or exception views
* Problems with file resources (does not properly traverse to
browserDefault() result) -- possible patch in
http://bugs.repoze.org/issue64
* Requires various middleware (repoze.tm, repoze.retry, repoze.vhm)

## Suggested approach going forward

* Integrate infrae.wsgi into Zope 2
* Remove its five.grok dependency
* Use the same exception-views protocol as ZPublisher (mainly, that
the view name is ``index.html``)
* Stop using __ 'private' variables in response.py  to make it easier
to work with
* Add some BBB support for existing error logging and error messages

Thoughts?
Martin
___
Zope-Dev maillist  -  Zope-Dev@zope.org
https://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists -
 https://mail.zope.org/mailman/listinfo/zope-announce
 https://mail.zope.org/mailman/listinfo/zope )


Re: [Zope-dev] Zope internals documentation

2012-01-01 Thread Martin Aspeli
On 1 January 2012 11:00, Jens Vagelpohl  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 it. Is that doable?
>
> That's how we do it with almost everything underneath the docs.zope.org 
> hostname. The sources are on svn.zope.org are are pulled/built regularly. 
> Where the source comes from doesn't really matter. The only requirement is 
> that it should be a scriptable buildout process, like a buildout/Sphinx setup.

Sphinx on svn.zope.org works for me. :)

Martin
___
Zope-Dev maillist  -  Zope-Dev@zope.org
https://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists -
 https://mail.zope.org/mailman/listinfo/zope-announce
 https://mail.zope.org/mailman/listinfo/zope )


Re: [Zope-dev] Zope internals documentation

2012-01-01 Thread Jens Vagelpohl

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 it. Is that doable?

That's how we do it with almost everything underneath the docs.zope.org 
hostname. The sources are on svn.zope.org are are pulled/built regularly. Where 
the source comes from doesn't really matter. The only requirement is that it 
should be a scriptable buildout process, like a buildout/Sphinx setup.

jens


___
Zope-Dev maillist  -  Zope-Dev@zope.org
https://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists -
 https://mail.zope.org/mailman/listinfo/zope-announce
 https://mail.zope.org/mailman/listinfo/zope )


Re: [Zope-dev] Zope internals documentation

2012-01-01 Thread Martin Aspeli
On 1 January 2012 10:51, Andreas Jung  wrote:
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
>
>
> Martin Aspeli wrote:
>> On 1 January 2012 10:43, Jens Vagelpohl  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.
>>> Thanks, I'll take a look at it today.
>>>
>>>
 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 it. Is that doable?
>
> Wouldn't it make sense to integrate your docs with The Zope Book.
> It's maintained using Sphinx and the sources are on svn.zope.org
> (somewhere).

This is really low level documentation. The Zope Book is for people
using Zope. This is for people who may need to maintain or deep-debug
it.

I'm happy for it to be integrated if people think it makes sense, but
I think it may be quite off-putting to read what is in many places
block-by-block explanations of what the code does.

Martin
___
Zope-Dev maillist  -  Zope-Dev@zope.org
https://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists -
 https://mail.zope.org/mailman/listinfo/zope-announce
 https://mail.zope.org/mailman/listinfo/zope )


Re: [Zope-dev] Zope internals documentation

2012-01-01 Thread Andreas Jung
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1



Martin Aspeli wrote:
> On 1 January 2012 10:43, Jens Vagelpohl  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.
>> Thanks, I'll take a look at it today.
>> 
>> 
>>> 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 it. Is that doable?

Wouldn't it make sense to integrate your docs with The Zope Book.
It's maintained using Sphinx and the sources are on svn.zope.org
(somewhere).

Andreas
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.11 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQGUBAEBAgAGBQJPADrDAAoJEADcfz7u4AZjXNMLvRntVZ8H7GofIzyW5tZbCyEN
YPHeeF+Ci0GWdSQbNzszDngiiNlfWdm9I+urf9yqzF5bJ9ZKdVZGr+gMYGC8kOnL
/7W/MrH3kxdY2uAaPAhRyz1KT0VIAOGV0T3/bJ8KslBsFG01a0frAwkHxSFGUhiN
XmXdQ59fu571F84YuEgSSNfeG1wHYf/+cs0PNgz4RqOJVoq0bdAMm2aHP/PJDTnb
PBSJXk61gsF2UgVIwPTk+N1feG2RPx+dR8SJl8TGQDMPyuZJ+VHuoSczixWwfTd1
z8NUkefjDzOSMif87wsHTQQo6Fl6o+wcX9RO9Gryw0UNr7rzd65nvtj5Zi+pxoLw
3eOKegX3dlMwA/KoIs+vEv4ygzRK7mYAutZI0RxhAMf8zizKvqrDIFzxfjneprvZ
HdkKmcuZFqnk5aQWDWC6vz8M3+smLMMA/NvZa+UWcfWI5c5ntorJxFV/zt/LHYyo
VnS2e0/dDRpZlX51MCPKENSLuLAd7aQ=
=i3FK
-END PGP SIGNATURE-
<>___
Zope-Dev maillist  -  Zope-Dev@zope.org
https://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists -
 https://mail.zope.org/mailman/listinfo/zope-announce
 https://mail.zope.org/mailman/listinfo/zope )


Re: [Zope-dev] Zope internals documentation

2012-01-01 Thread Martin Aspeli
On 1 January 2012 10:43, Jens Vagelpohl  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.
>
> Thanks, I'll take a look at it today.
>
>
>> 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 it. Is that doable?

Martin
___
Zope-Dev maillist  -  Zope-Dev@zope.org
https://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists -
 https://mail.zope.org/mailman/listinfo/zope-announce
 https://mail.zope.org/mailman/listinfo/zope )


Re: [Zope-dev] Zope internals documentation

2012-01-01 Thread Jens Vagelpohl
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.

Thanks, I'll take a look at it today.


> Where is docs.zope.org maintained?

On one of the ZF servers.

jens


___
Zope-Dev maillist  -  Zope-Dev@zope.org
https://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists -
 https://mail.zope.org/mailman/listinfo/zope-announce
 https://mail.zope.org/mailman/listinfo/zope )


Re: [Zope-dev] Zope internals documentation

2012-01-01 Thread Martin Aspeli
On 1 January 2012 09:44, Jens Vagelpohl  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-specific:
>>
>> http://collective-docs.readthedocs.org/en/latest/zope_secrets/index.html
>
> 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.

Where is docs.zope.org maintained?

Martin
___
Zope-Dev maillist  -  Zope-Dev@zope.org
https://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists -
 https://mail.zope.org/mailman/listinfo/zope-announce
 https://mail.zope.org/mailman/listinfo/zope )


Re: [Zope-dev] Zope internals documentation

2012-01-01 Thread Jens Vagelpohl

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-specific:
> 
> http://collective-docs.readthedocs.org/en/latest/zope_secrets/index.html

Hi Martin,

There *is* a better place, docs.zope.org. If you can tell me where the sources 
are I can put it there.

jens



___
Zope-Dev maillist  -  Zope-Dev@zope.org
https://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists -
 https://mail.zope.org/mailman/listinfo/zope-announce
 https://mail.zope.org/mailman/listinfo/zope )