Re: [Zope-dev] Why I dislike narrative doctests

2008-04-25 Thread Lennart Regebro
On Thu, Apr 24, 2008 at 10:07 PM, Jim Fulton [EMAIL PROTECTED] wrote: - If a file is documentation and a test, make sure it is good documentation. In that case, documentation comes first. Don't add so many tests that it ruins the documentation. - Test edge cases in separate tests. These

Re: [Zope-dev] Why I dislike narrative doctests

2008-04-25 Thread Christian Theune
On Thu, Apr 24, 2008 at 04:07:12PM -0400, Jim Fulton wrote: - If a file is documentation and a test, make sure it is good documentation. In that case, documentation comes first. Don't add so many tests that it ruins the documentation. - Test edge cases in separate tests. These are

[Zope-dev] Re: Why I dislike narrative doctests

2008-04-25 Thread Philipp von Weitershausen
Lennart Regebro wrote: On Thu, Apr 24, 2008 at 10:07 PM, Jim Fulton [EMAIL PROTECTED] wrote: - If a file is documentation and a test, make sure it is good documentation. In that case, documentation comes first. Don't add so many tests that it ruins the documentation. - Test edge cases in

Re: [Zope-dev] Re: new zope.org, sphinx, and documentation management

2008-04-25 Thread Paul Carduner
After a fair amount of work figuring out Sphinx, I modified the default css and template to produce something that could be more or less seemlessly integrated into the new zope.org. Anyhow, I encourage everyone to take a look at http://docs.carduner.net/z3c.form/ for a working example. This

[Zope-dev] Zope Tests: 5 OK

2008-04-25 Thread Zope Tests Summarizer
Summary of messages to the zope-tests list. Period Thu Apr 24 11:00:00 2008 UTC to Fri Apr 25 11:00:00 2008 UTC. There were 5 messages: 5 from Zope Tests. Tests passed OK --- Subject: OK : Zope-2.8 Python-2.3.6 : Linux From: Zope Tests Date: Thu Apr 24 21:03:42 EDT 2008 URL:

[Zope-dev] registering adapters and subscribers for string labels

2008-04-25 Thread Chris Withers
Hi All, I bumped into hurry.workflow yesterday and was reminded again that we often have the need to register components against string labels. As an example, I want to register a subscriber to a particular workflow transition. Now, the hurry.workflow examples I've seen seem to revolve around

Re: [Zope-dev] Re: new zope.org, sphinx, and documentation management

2008-04-25 Thread David Pratt
Hi Paul. Good work. Personally, I am interested in switching out the jinja templates for zpt or ctal since am not that keen about mixing template languages for myself. It looks like the more recent changes to sphinx should accommodate this with the template_bridge but have yet to investigate

Re: [Zope-dev] Why I dislike narrative doctests

2008-04-25 Thread Jim Fulton
On Apr 25, 2008, at 1:59 AM, Lennart Regebro wrote: On Thu, Apr 24, 2008 at 10:07 PM, Jim Fulton [EMAIL PROTECTED] wrote: - If a file is documentation and a test, make sure it is good documentation. In that case, documentation comes first. Don't add so many tests that it ruins the

Re: [Zope-dev] Why I dislike narrative doctests

2008-04-25 Thread Kent Tenney
On Thu, Apr 24, 2008 at 3:07 PM, Jim Fulton [EMAIL PROTECTED] wrote: On Apr 24, 2008, at 1:12 AM, Christian Theune wrote: Hi, On Wed, Apr 23, 2008 at 04:47:59PM -0400, Jim Fulton wrote: On Apr 23, 2008, at 4:47 PM, Marius Gedminas wrote: ... The point of my message was

Re: [Zope-dev] Why I dislike narrative doctests

2008-04-25 Thread Jim Fulton
On Apr 25, 2008, at 10:20 AM, Kent Tenney wrote: However, as Sphinx lowers the barrier to cross-referencing, Sounds like I need to check that out. :) they will become important as link destinations from 'real' documentation. Maaaybe. I like doctests for readability even if they aren't

Re: [Zope-dev] Why I dislike narrative doctests

2008-04-25 Thread Stephan Richter
On Friday 25 April 2008, Jim Fulton wrote: However, as Sphinx lowers the barrier to cross-referencing, Sounds like I need to check that out. :) Paul just diud that work the last two days for z3c.form: http://docs.carduner.net/z3c.form/ Regards, Stephan -- Stephan Richter Web Software

Re: [Zope-dev] Why I dislike narrative doctests

2008-04-25 Thread Kent Tenney
On Fri, Apr 25, 2008 at 9:39 AM, Jim Fulton [EMAIL PROTECTED] wrote: On Apr 25, 2008, at 10:20 AM, Kent Tenney wrote: However, as Sphinx lowers the barrier to cross-referencing, Sounds like I need to check that out. :) they will become important as link destinations from 'real'

Re: [Zope-dev] Why I dislike narrative doctests

2008-04-25 Thread Kent Tenney
On Fri, Apr 25, 2008 at 10:11 AM, Kent Tenney [EMAIL PROTECTED] wrote: On Fri, Apr 25, 2008 at 9:39 AM, Jim Fulton [EMAIL PROTECTED] wrote: On Apr 25, 2008, at 10:20 AM, Kent Tenney wrote: However, as Sphinx lowers the barrier to cross-referencing, Sounds like I need to

Re: [Zope-dev] Why I dislike narrative doctests

2008-04-25 Thread Jim Fulton
On Apr 25, 2008, at 11:22 AM, Stephan Richter wrote: - A variation is to have a narrative that doesn't try hard to be documentation. The narrative can be convenient, up to a point, even in a test. These should be clearly marked as not being documentation. Why is this not documentation?

Re: [Zope-dev] ZConfig 2.5.1 test failures

2008-04-25 Thread Marius Gedminas
On Thu, Apr 24, 2008 at 02:03:53PM -0700, Timothy Selivanow wrote: On Wed, 2008-04-23 at 22:38 +0300, Marius Gedminas wrote: By the way, the usual way to run tests in the Zope-3-land is to use bin/test rather than setup.py test. It uses a slightly different test runner that uses a

[Zope-dev] buildbot.zope.org?

2008-04-25 Thread Paul Winkler
What's the story with http://buildbot.zope.org ? It looks like most of the slaves are either disconnected, or failing to build at all, with errors like this: e.g. http://buildbot.zope.org/Zope3%20trunk%202.4%20Windows%202000%20zc-bbwin3/builds/704/svn/0 ... File

Re: [Zope-dev] buildbot.zope.org?

2008-04-25 Thread Adam GROSZER
Hello Paul, Theuni built a new one: http://zopebuildbot.whq.gocept.com/ But it's down again... Friday, April 25, 2008, 6:46:32 PM, you wrote: PW What's the story with http://buildbot.zope.org ? PW It looks like most of the slaves are either disconnected, or failing PW to build at all, with

[Zope-dev] Re: Zope2 interfaces delenda est!

2008-04-25 Thread Hanno Schlichting
Tres Seaver wrote: I'd like to rip out the old Interface module from the 2.11 branch and the trunk, along with all the useless decoys which import it. THere is no *good* BBB reason to keep them around: anybody still depending on them in A.G. 2008 needs to switch over, anyway. Objections?

Re: [Zope-dev] Zope2 interfaces delenda est!

2008-04-25 Thread Stefan H. Holek
+1 for trunk -1 for 2.11 branch Stefan On 25. Apr 2008, at 20:49, Tres Seaver wrote: I'd like to rip out the old Interface module from the 2.11 branch and the trunk, along with all the useless decoys which import it. -- Anything that happens, happens. --Douglas Adams

Re: [Zope-dev] buildbot.zope.org?

2008-04-25 Thread Benji York
On Fri, Apr 25, 2008 at 12:46 PM, Paul Winkler [EMAIL PROTECTED] wrote: What's the story with http://buildbot.zope.org ? It's unloved. Do you have any spare love? -- Benji York Senior Software Engineer Zope Corporation ___ Zope-Dev maillist -

[Zope-dev] zope.app.locales i18nmergeall.py not used anymore?

2008-04-25 Thread Maurits van Rees
Hi, zope/app/locales/TRANSLATE.txt says: ... After that, you need to merge those changes to all existing translations. You can do that by executing the ``i18nmergeall.py`` script from the ``utilities`` directory of your Zope 3 checkout: $ python utilities/i18nmergeall.py -l

[Zope-dev] comments on DateTime(DateTime()) preserving timezone? (launchpad 200007)

2008-04-25 Thread Paul Winkler
I've got a fix, with tests, for https://bugs.launchpad.net/zope2/+bug/27 checked in at Zope/branches/slinkp-datetime-27 If nobody objects in the next few days, I'd like to merge this to trunk, and the 2.11, 2.10, and 2.9 branches. -- http://www.slinkp.com

Re: [Zope-dev] Zope2 interfaces delenda est!

2008-04-25 Thread Wichert Akkerman
Previously Tres Seaver wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I'd like to rip out the old Interface module from the 2.11 branch and the trunk, along with all the useless decoys which import it. THere is no *good* BBB reason to keep them around: anybody still depending on

Re: [Zope-dev] Zope2 interfaces delenda est!

2008-04-25 Thread Andreas Jung
--On 25. April 2008 21:39:14 +0200 Stefan H. Holek [EMAIL PROTECTED] wrote: +1 for trunk -1 for 2.11 branch Same vote from my side. The 2.11 branch is in beta state and for this reason no major changes for 2.11 please. Andreas pgphPwqNpCYq2.pgp Description: PGP signature

Re: [Zope-dev] comments on DateTime(DateTime()) preserving timezone? (launchpad 200007)

2008-04-25 Thread Andreas Jung
--On 25. April 2008 17:07:29 -0400 Paul Winkler [EMAIL PROTECTED] wrote: I've got a fix, with tests, for https://bugs.launchpad.net/zope2/+bug/27 checked in at Zope/branches/slinkp-datetime-27 If nobody objects in the next few days, I'd like to merge this to trunk, and the 2.11,

Re: [Zope-dev] Re: new zope.org, sphinx, and documentation management

2008-04-25 Thread Paul Carduner
On Fri, Apr 25, 2008 at 5:48 AM, David Pratt [EMAIL PROTECTED] wrote: Hi Paul. Good work. Personally, I am interested in switching out the jinja templates for zpt or ctal since am not that keen about mixing template languages for myself. It looks like the more recent changes to sphinx should