Re: [Zope-dev] KGS trunk without failures

2009-07-28 Thread Sebastien Douche
On Mon, Jul 27, 2009 at 22:43, Stephan
Richter wrote:
> Hi everyone,
>
> last week I worked on getting the KGS trunk located in zope.release to pass
> without failures. (Python 2.5 on Linux, i686)

Thank you for the work! Not the same result on my buildbot (64 bits):
Tests with errors:
   test_send_failQuit (zope.sendmail.tests.test_mailer.TestSMTPMailer)
   test_send_failQuit (zope.sendmail.tests.test_mailer.TestSMTPMailerWithNoEHLO)

Tests with failures:
   
/srv/buildbot/slave/zope3/py2.5-64bit-linux-kgs35/build/test/eggs/keas.profile-0.1.0-py2.5.egg/keas/profile/README.txt
   
/srv/buildbot/slave/zope3/py2.5-64bit-linux-kgs35/build/test/eggs/keas.unit-1.0.0-py2.5.egg/keas/unit/README.txt
   
/srv/buildbot/slave/zope3/py2.5-64bit-linux-kgs35/build/test/eggs/zope.fssync-3.5.1-py2.5.egg/zope/fssync/tests/../caseinsensitivity.txt
   
/srv/buildbot/slave/zope3/py2.5-64bit-linux-kgs35/build/test/eggs/zope.index-3.5.2-py2.5-linux-x86_64.egg/zope/index/text/tests/../textindex.txt

The log:
http://zope.buildbot.securactive.org/builders/py2.5-64bit-linux-kgs35/builds/89/steps/test/logs/stdio

> If someone could setup a buildbot to run all the tests nightly, that would be
> great.

http://zope.buildbot.securactive.org/waterfall

8 Buildbots :
-  KGS Zope 3.4.0 Python2.4 32bits
-  KGS Zope 3.4.0 Python2.4 64bits
-  KGS Zope 3.4.0 Python2.5 32bits
-  KGS Zope 3.4.0 Python2.5 64bits
-  KGS Zope 3.5.0 Python2.5 32bits
-  KGS Zope 3.5.0 Python2.5 64bits
-  KGS Zope 3.5.0 Python2.6 32bits
-  KGS Zope 3.5.0 Python2.6 64bits

Need to work on Firewall ( for internal buildbot), python-memcached
needs to retrieve external FTP data (?!).

-- 
Sebastien Douche 
Twitter: http://bit.ly/afkrK (agile, python, open source)
___
Zope-Dev maillist  -  Zope-Dev@zope.org
http://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope )


[Zope-dev] Zope Tests: 3 OK, 5 Failed

2009-07-28 Thread Zope Tests Summarizer
Summary of messages to the zope-tests list.
Period Mon Jul 27 12:00:00 2009 UTC to Tue Jul 28 12:00:00 2009 UTC.
There were 8 messages: 8 from Zope Tests.


Test failures
-

Subject: FAILED (failures=1) : Zope-2.12 Python-2.6.2 : Linux
From: Zope Tests
Date: Mon Jul 27 20:50:39 EDT 2009
URL: http://mail.zope.org/pipermail/zope-tests/2009-July/012162.html

Subject: FAILED (failures=1) : Zope-2.12-alltests Python-2.4.6 : Linux
From: Zope Tests
Date: Mon Jul 27 20:52:39 EDT 2009
URL: http://mail.zope.org/pipermail/zope-tests/2009-July/012163.html

Subject: FAILED (failures=7) : Zope-2.12-alltests Python-2.6.2 : Linux
From: Zope Tests
Date: Mon Jul 27 20:54:39 EDT 2009
URL: http://mail.zope.org/pipermail/zope-tests/2009-July/012164.html

Subject: FAILED (failures=1) : Zope-trunk Python-2.6.2 : Linux
From: Zope Tests
Date: Mon Jul 27 20:56:39 EDT 2009
URL: http://mail.zope.org/pipermail/zope-tests/2009-July/012165.html

Subject: FAILED (failures=7) : Zope-trunk-alltests Python-2.6.2 : Linux
From: Zope Tests
Date: Mon Jul 27 20:58:39 EDT 2009
URL: http://mail.zope.org/pipermail/zope-tests/2009-July/012166.html


Tests passed OK
---

Subject: OK : Zope-2.10 Python-2.4.6 : Linux
From: Zope Tests
Date: Mon Jul 27 20:44:38 EDT 2009
URL: http://mail.zope.org/pipermail/zope-tests/2009-July/012159.html

Subject: OK : Zope-2.11 Python-2.4.6 : Linux
From: Zope Tests
Date: Mon Jul 27 20:46:39 EDT 2009
URL: http://mail.zope.org/pipermail/zope-tests/2009-July/012160.html

Subject: OK : Zope-2.12 Python-2.4.6 : Linux
From: Zope Tests
Date: Mon Jul 27 20:48:39 EDT 2009
URL: http://mail.zope.org/pipermail/zope-tests/2009-July/012161.html

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


Re: [Zope-dev] ZopeTestCase and interactions

2009-07-28 Thread Hanno Schlichting
On Mon, Jul 27, 2009 at 2:57 AM, Martin Aspeli wrote:
> Hanno Schlichting wrote:
>> The ZopeTestCase classes themselves don't set up any of the ZCML
>> structure right now and I'd like to keep it that way.
>
> True. This isn't a ZCML, thing, though. :)

The thread local itself is not. But without the permission utilities
being registered you don't get very far.

>> Isn't the placeless layer exactly for this use-case of getting some
>> "minimal integration" fixture set up? Since Zope 2.12 a Zope2 specific
>> version of that is in Testing.ZopeTestCase.placeless. Before you would
>> get it from zope.app.testing.placelesssetup.
>
> I see. That sounds like a sensible place. My main aim is that when you
> use a PloneTestCase, you should get the interaction set up so that calls
> to zope.security.checkPermission() don't fail. Does PTC and other
> similar things set up the placeless layer? Or something like it?

So far nothing sets up the interaction as far as I know.

I tried talking Stefan into having a look at this mess ;-)

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


Re: [Zope-dev] Integrating Five code properly into Zope2?

2009-07-28 Thread Lennart Regebro
2009/7/26 Hanno Schlichting :
> Do people generally agree with this direction?

I have no objections.

> P.S. Maybe this would allow one day to remove the Five package again
> from the main Zope2 distribution, ... maybe :)

Well, simplification is always good, but I predict that Products.Five
will go away the day Zope2 becomes a set of BBB packages for ZTK. ;-)

-- 
Lennart Regebro: Python, Zope, Plone, Grok
http://regebro.wordpress.com/
+33 661 58 14 64
___
Zope-Dev maillist  -  Zope-Dev@zope.org
http://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope )


Re: [Zope-dev] unregistering persistent utilities

2009-07-28 Thread Christian Theune
Hi,

On 07/28/2009 08:26 AM, David Glick wrote:
> Is there a recommended way or example code somewhere for removing a
> utility registration from a persistent component registry, when that
> utility's module no longer exists?
>
> The use case is in Plone, which has a local
> zope.app.cache.ram.IRAMCache utility.  Now that Hanno has factored out
> the RAM cache into zope.ramcache, we'd like the persistent utility to
> reference zope.ramcache, so that we can remove our zope.app.cache
> dependency.

Sorry if this is too dense, feel free to ask for more details.

If the class is basically the same but moved around, you might want to 
look at "zodbupdate": http://pypi.python.org/pypi/zodbupdate/0.2

Christian

-- 
Christian Theune · c...@gocept.com
gocept gmbh & co. kg · forsterstraße 29 · 06112 halle (saale) · germany
http://gocept.com · tel +49 345 1229889 0 · fax +49 345 1229889 1
Zope and Plone consulting and development
___
Zope-Dev maillist  -  Zope-Dev@zope.org
http://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope )


Re: [Zope-dev] List of packages in ZTK

2009-07-28 Thread Wolfgang Schnerring
* Wolfgang Schnerring  [2009-07-23 08:32]:
> * Christian Theune  [2009-07-04 13:33]:
>> I took the Zope 3.4 KGS, removed the obvious packages that do not belong
>> to the ZTK out of the list and created a home for the master list that
>> defines which packages belong to the ZTK.
>> http://docs.zope.org/zopetoolkit/about/packages.html
>
> The following packages say about themselves that they are deprecated, so
> I proprose moving them to the "deprecated" section in the package listing
> as well (I can do the editing if I get a "go"):

Silence is consent, isn't it? ;-) Commited in r102361.

Wolfgang

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


Re: [Zope-dev] List of packages in ZTK

2009-07-28 Thread Christian Theune
On 07/29/2009 07:44 AM, Wolfgang Schnerring wrote:
> * Wolfgang Schnerring  [2009-07-23 08:32]:
>> * Christian Theune  [2009-07-04 13:33]:
>>> I took the Zope 3.4 KGS, removed the obvious packages that do not belong
>>> to the ZTK out of the list and created a home for the master list that
>>> defines which packages belong to the ZTK.
>>> http://docs.zope.org/zopetoolkit/about/packages.html
>>
>> The following packages say about themselves that they are deprecated, so
>> I proprose moving them to the "deprecated" section in the package listing
>> as well (I can do the editing if I get a "go"):
>
> Silence is consent, isn't it? ;-) Commited in r102361.

Yes. Thanks for taking the time.

-- 
Christian Theune · c...@gocept.com
gocept gmbh & co. kg · forsterstraße 29 · 06112 halle (saale) · germany
http://gocept.com · tel +49 345 1229889 0 · fax +49 345 1229889 1
Zope and Plone consulting and development
___
Zope-Dev maillist  -  Zope-Dev@zope.org
http://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope )