[Zope-dev] Zope 2: move nt_svcutils to separate distribution

2010-07-02 Thread Baiju M
Hi,

I was working on running ZEO as a windows service using plone.recipe.zeoserver:
http://svn.plone.org/svn/collective/buildout/plone.recipe.zeoserver/branches/baijum-windows-service/
(This branch need some review)

For this functionality (running ZEO as a windows service), that recipe need to
depend on Zope2 distribution as it require nt_svcutils package.
I propose to create a separate distribution which just contains
nt_svcutils package.

Regards,
Baiju M
___
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 )


[Zope-dev] Zope Tests: 23 OK, 3 Failed, 2 Unknown

2010-07-02 Thread Zope Tests Summarizer
Summary of messages to the zope-tests list.
Period Thu Jul  1 12:00:00 2010 UTC to Fri Jul  2 12:00:00 2010 UTC.
There were 28 messages: 6 from Zope Tests, 11 from ccomb at free.fr, 1 from ct 
at gocept.com, 10 from jdriessen at thehealthagency.com.


Test failures
-

Subject: FAILED: Repository policy check found errors in 417 projects
From: ct at gocept.com
Date: Thu Jul  1 21:11:22 EDT 2010
URL: http://mail.zope.org/pipermail/zope-tests/2010-July/015992.html

Subject: FAILED : ZTK 1.0dev / Python2.4.6 Linux 32bit
From: ccomb at free.fr
Date: Fri Jul  2 00:19:08 EDT 2010
URL: http://mail.zope.org/pipermail/zope-tests/2010-July/016002.html

Subject: FAILED : Zope Buildbot / ztk_win slave-win
From: jdriessen at thehealthagency.com
Date: Fri Jul  2 07:27:50 EDT 2010
URL: http://mail.zope.org/pipermail/zope-tests/2010-July/016012.html


Unknown
---

Subject: UNKNOWN : Zope-trunk Python-2.6.5 : Linux
From: Zope Tests
Date: Thu Jul  1 21:31:12 EDT 2010
URL: http://mail.zope.org/pipermail/zope-tests/2010-July/015997.html

Subject: UNKNOWN : Zope-trunk-alltests Python-2.6.5 : Linux
From: Zope Tests
Date: Thu Jul  1 21:33:12 EDT 2010
URL: http://mail.zope.org/pipermail/zope-tests/2010-July/015998.html


Tests passed OK
---

Subject: OK : Zope Buildbot / zope2.12 slave-osx
From: jdriessen at thehealthagency.com
Date: Thu Jul  1 08:47:39 EDT 2010
URL: http://mail.zope.org/pipermail/zope-tests/2010-July/015989.html

Subject: OK : Zope Buildbot / zope2 slave-osx
From: jdriessen at thehealthagency.com
Date: Thu Jul  1 08:54:13 EDT 2010
URL: http://mail.zope.org/pipermail/zope-tests/2010-July/015990.html

Subject: OK : Zope Buildbot / ztk slave-osx
From: jdriessen at thehealthagency.com
Date: Thu Jul  1 09:25:18 EDT 2010
URL: http://mail.zope.org/pipermail/zope-tests/2010-July/015991.html

Subject: OK : Zope-2.10 Python-2.4.6 : Linux
From: Zope Tests
Date: Thu Jul  1 21:23:12 EDT 2010
URL: http://mail.zope.org/pipermail/zope-tests/2010-July/015993.html

Subject: OK : Zope-2.11 Python-2.4.6 : Linux
From: Zope Tests
Date: Thu Jul  1 21:25:12 EDT 2010
URL: http://mail.zope.org/pipermail/zope-tests/2010-July/015994.html

Subject: OK : Zope-2.12 Python-2.6.5 : Linux
From: Zope Tests
Date: Thu Jul  1 21:27:12 EDT 2010
URL: http://mail.zope.org/pipermail/zope-tests/2010-July/015995.html

Subject: OK : Zope-2.12-alltests Python-2.6.5 : Linux
From: Zope Tests
Date: Thu Jul  1 21:29:12 EDT 2010
URL: http://mail.zope.org/pipermail/zope-tests/2010-July/015996.html

Subject: OK : BlueBream template / Python2.6.4 32bit linux
From: ccomb at free.fr
Date: Thu Jul  1 22:00:55 EDT 2010
URL: http://mail.zope.org/pipermail/zope-tests/2010-July/015999.html

Subject: OK : BlueBream template / Python2.4.6 32bit linux
From: ccomb at free.fr
Date: Thu Jul  1 22:00:57 EDT 2010
URL: http://mail.zope.org/pipermail/zope-tests/2010-July/016000.html

Subject: OK : BlueBream template / Python2.5.2 32bit linux
From: ccomb at free.fr
Date: Thu Jul  1 22:00:58 EDT 2010
URL: http://mail.zope.org/pipermail/zope-tests/2010-July/016001.html

Subject: OK : ZTK 1.0dev / Python2.5.2 Linux 32bit
From: ccomb at free.fr
Date: Fri Jul  2 00:21:22 EDT 2010
URL: http://mail.zope.org/pipermail/zope-tests/2010-July/016003.html

Subject: OK : ZTK 1.0dev / Python2.6.4 Linux 32bit
From: ccomb at free.fr
Date: Fri Jul  2 00:21:59 EDT 2010
URL: http://mail.zope.org/pipermail/zope-tests/2010-July/016004.html

Subject: OK : Zope 3.4.1 KGS / Python2.4.6 32bit linux
From: ccomb at free.fr
Date: Fri Jul  2 00:39:21 EDT 2010
URL: http://mail.zope.org/pipermail/zope-tests/2010-July/016005.html

Subject: OK : Zope 3.4.1 KGS / Python2.5.2 32bit linux
From: ccomb at free.fr
Date: Fri Jul  2 01:14:14 EDT 2010
URL: http://mail.zope.org/pipermail/zope-tests/2010-July/016006.html

Subject: OK : ZTK 1.0 / Python2.4.6 Linux 32bit
From: ccomb at free.fr
Date: Fri Jul  2 01:54:00 EDT 2010
URL: http://mail.zope.org/pipermail/zope-tests/2010-July/016007.html

Subject: OK : ZTK 1.0 / Python2.6.4 Linux 32bit
From: ccomb at free.fr
Date: Fri Jul  2 01:55:00 EDT 2010
URL: http://mail.zope.org/pipermail/zope-tests/2010-July/016008.html

Subject: OK : ZTK 1.0 / Python2.5.2 Linux 32bit
From: ccomb at free.fr
Date: Fri Jul  2 01:55:35 EDT 2010
URL: http://mail.zope.org/pipermail/zope-tests/2010-July/016009.html

Subject: OK : Zope Buildbot / zope2.12 slave-ubuntu64
From: jdriessen at thehealthagency.com
Date: Fri Jul  2 07:25:49 EDT 2010
URL: http://mail.zope.org/pipermail/zope-tests/2010-July/016010.html

Subject: OK : Zope Buildbot / zope2 slave-ubuntu64
From: jdriessen at thehealthagency.com
Date: Fri Jul  2 07:27:48 EDT 2010
URL: http://mail.zope.org/pipermail/zope-tests/2010-July/016011.html

Subject: OK : Zope Buildbot / zope2.12 slave-ubuntu32
From: jdriessen at thehealthagency.com
Date: Fri Jul  2 07:33:13 EDT 2010
URL: http://mail.zope.org/pipermail/zope-tests/2010-July/016013.html

Subject: OK : Zope Buildbot / zope2 slave-ubuntu32
From: jdriessen at 

Re: [Zope-dev] Zope 2: move nt_svcutils to separate distribution

2010-07-02 Thread Hanno Schlichting
Hi.

I'm reviewing your branch now and will look at the nt_svcutils issue.

Hanno

On Fri, Jul 2, 2010 at 1:56 PM, Baiju M mba...@zeomega.com wrote:
 I was working on running ZEO as a windows service using 
 plone.recipe.zeoserver:
 http://svn.plone.org/svn/collective/buildout/plone.recipe.zeoserver/branches/baijum-windows-service/
 (This branch need some review)

 For this functionality (running ZEO as a windows service), that recipe need to
 depend on Zope2 distribution as it require nt_svcutils package.
 I propose to create a separate distribution which just contains
 nt_svcutils package.
___
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 2: move nt_svcutils to separate distribution

2010-07-02 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hanno Schlichting wrote:

 I'm reviewing your branch now and will look at the nt_svcutils issue.

Could we just move nt_svcutils into the zdaemon package?


Tres.
- --
===
Tres Seaver  +1 540-429-0999  tsea...@palladion.com
Palladion Software   Excellence by Designhttp://palladion.com
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkwt/wcACgkQ+gerLs4ltQ5s4ACeOHngB0IwQk8ONJzc/KgAOV+7
olEAn3xIkJ+UYyT6+czvqBTTn5JIFmGT
=6div
-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 2: move nt_svcutils to separate distribution

2010-07-02 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Tres Seaver wrote:
 Hanno Schlichting wrote:
 
 I'm reviewing your branch now and will look at the nt_svcutils issue.
 
 Could we just move nt_svcutils into the zdaemon package?

Never mind, the extra package looks fine to me (I missed that Baiju had
already done the work).



Tres.
- --
===
Tres Seaver  +1 540-429-0999  tsea...@palladion.com
Palladion Software   Excellence by Designhttp://palladion.com
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkwt/4QACgkQ+gerLs4ltQ6zzACgwC4CqA4XYb8pfa+MdnH7VslD
tioAn3DS3dJ+N6GevFUe4bse8uCf19Bg
=VP+k
-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.app.authentication

2010-07-02 Thread Fred Drake
Sorry for bring an old thread back up, but it's relevant.

On Tue, Jan 26, 2010 at 4:06 AM, Souheil CHELFOUH troll...@gmail.com wrote:
 The tests pass and nothing has been changed but the imports.

Actually, the base classes for SessionCredentialsPlugin changed, and
no longer include these:

persistent.Persistent
zope.app.container.contained.Contained

These are probably good to retain.

The later should probably be replaced with
zope.container.contained.Contained, but the value is the same.  Though
simple, dropping this can affect existing applications in obscure
ways, since adapter lookups are likely to produce different results.

Are there any objections to adding these base classes back in?


  -Fred

-- 
Fred L. Drake, Jr.fdrake at gmail.com
A storm broke loose in my mind.  --Albert Einstein
___
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.i18messageid

2010-07-02 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Chris McDonough wrote:
 Fabio,
 
 Within the last few months you committed the following change to
 zope.i18nmessageid:
 
 http://svn.zope.org/zope.i18nmessageid/trunk/setup.py?rev=102497r1=101297r2=102497
 
 The commit message is Fixed the compilation of the C extension with
 python 2.6: refactored it as a setuptools Feature.  Can I ask what
 problem was being fixed with this commit?
 
 It undid work I did in this revision:
 
 http://svn.zope.org/zope.i18nmessageid/trunk/setup.py?rev=99669r1=97948r2=99669
 
 I should have left a comment in there: the work was effectively there to
 support building zope.i18nmessageid on Jython and other platforms like
 GAE that do not support C extensions at all, even optionally.  The
 package no longer builds on Jython (error: Setup script exited with
 error: Compiling extensions is not supported on Jython), although to be
 honest I don't really understand why not.  I'm hoping we can find a way
 to retain whatever fix you were trying to make but still allow the
 package to build on Jython, but I think I need to understand what
 problem you were fixing first.

I think there is a good case for making the C extension an optional
setuptools feature:  nobody acutally *needs* that extension built to
have their application work.

Jim has asserted (but not really explained) that the C extension closes
some kind of security hole.  I don't see any credible attack vector
myself, but then I no longer believe it worthwhile to devote my own
energy to defending against malicious TTW programmers.

The change here is to remove 'standard=True' from the feature
constructor.  Developers who want the feature enabled can then build the
egg via:

  $ python setup.py --with-codeoptimization bdist_egg

We could then update the zc.recipe.egg:custom recipe to allow specifying
features to be installed for a given egg.


Tres.
- --
===
Tres Seaver  +1 540-429-0999  tsea...@palladion.com
Palladion Software   Excellence by Designhttp://palladion.com
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkwuJrEACgkQ+gerLs4ltQ6RbQCg1CMt5QlZV1DF45i0Elulu4+j
7QUAoL6DsbZOVElG15kLZBh9EbqJipc0
=D9/Y
-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.i18messageid

2010-07-02 Thread Wichert Akkerman
On 2010-7-2 19:49, Tres Seaver wrote:
 The change here is to remove 'standard=True' from the feature
 constructor.  Developers who want the feature enabled can then build the
 egg via:

$ python setup.py --with-codeoptimization bdist_egg

 We could then update the zc.recipe.egg:custom recipe to allow specifying
 features to be installed for a given egg.

That would be a very welcome change for SQLAlchemy as well: it has an 
optional C extension to speed of marshalling data from SQL responses.

Wichert.

-- 
Wichert Akkerman wich...@wiggy.net   It is simple to make things.
http://www.wiggy.net/  It is hard to make things simple.
___
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 )