Re: [Zope] Zope2.12

2009-12-25 Thread Lennart Regebro
On Fri, Dec 25, 2009 at 01:28, Jim Pharis binbr...@gmail.com wrote: I'm trying to wrap my head around what the changes in Zope2.12 can mean for how I develop in Zope2 now. I've developed things in Zope3 and am getting stuck attempting the same methods in Zope2.12. So I see now that etc/ now

Re: [Zope] Zope2.12

2009-12-25 Thread Jim Pharis
What's my use case for developing Zope3ish/ZTKish in Zope2 instead of just using Zope3? All the preceived benefits of Zope3 now available in Zope2 well still being able to use all our Zope 2 Products. I thought basing Zope2.12 on ZTK bridged the 2 worlds. On Fri, Dec 25, 2009 at 2:10 AM, Andreas

Re: [Zope] Zope2.12

2009-12-25 Thread Andreas Jung
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Jim Pharis wrote: What's my use case for developing Zope3ish/ZTKish in Zope2 instead of just using Zope3? All the preceived benefits of Zope3 now available in Zope2 well still being able to use all our Zope 2 Products. I thought basing Zope2.12 on

Re: [Zope] Zope2.12

2009-12-25 Thread Jim Pharis
So the line you reference in site.zcml is the same for me, and it says look in package-includes/*-configure.zcml. That child dir wasn't actually created though so theres nothing in it. On Fri, Dec 25, 2009 at 4:47 AM, Lennart Regebro rege...@gmail.com wrote: On Fri, Dec 25, 2009 at 01:28, Jim

Re: [Zope] Zope2.12

2009-12-25 Thread Jim Pharis
So developing in Z3 had several perceived benefits no? The problem is that in many cases existing projects couldn't just move to Z3 and start using the CA. From Z3 development was born ZTK, a modular CA implementation that Z2 could now leverage, and I thought in theory all the Z3 CA goodness was

Re: [Zope] Zope2.12

2009-12-25 Thread Andreas Jung
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Jim Pharis wrote: I want to start developing new stuff using CA paradigms in Z2. So *why* Zope 2? The ZTK/Zope 3 modules provide a much cleaner basis for new projects than the Zope 2 app-server. So what is in Zope 3/ZTK missing? Why do you need

Re: [Zope] Zope2.12

2009-12-25 Thread Jim Pharis
I have several existing Z2 Products that aren't going anywhere. I still need these. I can't just move to Z3 and leave our existing Z2 Products behind. On Fri, Dec 25, 2009 at 6:40 AM, Andreas Jung li...@zopyx.com wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Jim Pharis wrote: I

Re: [Zope] Zope2.12

2009-12-25 Thread Jens Vagelpohl
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Jim Pharis wrote: I have several existing Z2 Products that aren't going anywhere. I still need these. I can't just move to Z3 and leave our existing Z2 Products behind. There seems to be a misunderstanding what the ZTK is and what it isn't. The

Re: [Zope] Zope2.12

2009-12-25 Thread Andreas Jung
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Jens Vagelpohl wrote: Jim Pharis wrote: I have several existing Z2 Products that aren't going anywhere. I still need these. I can't just move to Z3 and leave our existing Z2 Products behind. There seems to be a misunderstanding what the ZTK

Re: [Zope] Zope2.12

2009-12-25 Thread Jim Pharis
Yes, I'm running into missing bits in various places. So even though Z2.12 is based on ZTK eggs, and ZTK eggs are designed using all the CA goodness, I still can't easily develop using those methods. So I'm left leaving this conversation thinking that I'm back to developing Products using the

Re: [Zope] Zope2.12

2009-12-25 Thread Andreas Jung
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Jim Pharis wrote: Yes, I'm running into missing bits in various places. So even though Z2.12 is based on ZTK eggs, and ZTK eggs are designed using all the CA goodness, I still can't easily develop using those methods. So I'm left leaving this

Re: [Zope] Zope2.12

2009-12-25 Thread Jens Vagelpohl
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Jim Pharis wrote: Yes, I'm running into missing bits in various places. So even though Z2.12 is based on ZTK eggs, and ZTK eggs are designed using all the CA goodness, I still can't easily develop using those methods. So I'm left leaving this

Re: [Zope] Zope2.12

2009-12-25 Thread Jim Pharis
So far I had just tried developing a site and allow it to be Added and Viewed in the ZMI. In the Z2.12 instance/etc/site.zcml I have... include package=Test/ In the browser dir I put a configure.zcml. browser:containerViews for=Test.interfaces.INewTestSite

Re: [Zope] Zope2.12

2009-12-25 Thread Jens Vagelpohl
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Jim Pharis wrote: browser:containerViews for=Test.interfaces.INewTestSite contents=zope.ManageContent index=zope.View add=zope.ManageContent / ZopeXMLConfigurationError: File

Re: [Zope] Zope2.12

2009-12-25 Thread Lennart Regebro
On Fri, Dec 25, 2009 at 11:47, Jim Pharis binbr...@gmail.com wrote: What's my use case for developing Zope3ish/ZTKish in Zope2 instead of just using Zope3? All the preceived benefits of Zope3 now available in Zope2 well still being able to use all our Zope 2 Products. I thought basing Zope2.12

Re: [Zope] Zope2.12

2009-12-25 Thread Lennart Regebro
On Fri, Dec 25, 2009 at 11:53, Jim Pharis binbr...@gmail.com wrote: So the line you reference in site.zcml is the same for me, and it says look in package-includes/*-configure.zcml. That child dir wasn't actually created though so theres nothing in it. That's correct. But your question was

Re: [Zope] Zope2.12

2009-12-25 Thread Jim Pharis
I know of Five but I must admit I'm not that well acquainted with it. On the contrary, I was under the impression that Five was going to be falling out of usefulness as ZTK was being integrated in Z2. Thanks for clearing this up for me. On Fri, Dec 25, 2009 at 9:11 AM, Lennart Regebro

Re: [Zope] Zope2.12

2009-12-25 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Jim Pharis wrote: Yes, I'm running into missing bits in various places. So even though Z2.12 is based on ZTK eggs, and ZTK eggs are designed using all the CA goodness, I still can't easily develop using those methods. Going on Five years now, I

Re: [Zope-dev] Avoid deprecation warnings in the testrunner

2009-12-25 Thread Lennart Regebro
On Fri, Dec 25, 2009 at 07:49, Fabio Tranchitella kob...@kobold.it wrote: No, that's perferctly correct code and not wrong in any way. It is not wrong from a syntax point of view, but it is wrong because it assumes doctest is a sub-module and not a sub-package. I understand the difference,

[Zope-dev] Zope Tests: 6 OK

2009-12-25 Thread Zope Tests Summarizer
Summary of messages to the zope-tests list. Period Thu Dec 24 12:00:00 2009 UTC to Fri Dec 25 12:00:00 2009 UTC. There were 6 messages: 6 from Zope Tests. Tests passed OK --- Subject: OK : Zope-2.10 Python-2.4.6 : Linux From: Zope Tests Date: Thu Dec 24 20:41:17 EST 2009 URL:

[Zope-dev] small manuel bugfix

2009-12-25 Thread Chris McDonough
I added a branch of manuel to the Zope SVN that fixes the codeblock plugin when you use codeblock roles such as: .. code-block:: python :linenos: Currently it only works without roles, e.g.: .. code-block:: python The branch is at

Re: [Zope-dev] small manuel bugfix

2009-12-25 Thread Chris McDonough
Ugh, that patch is rendered backwards... but you get the idea. Chris McDonough wrote: I added a branch of manuel to the Zope SVN that fixes the codeblock plugin when you use codeblock roles such as: .. code-block:: python :linenos: Currently it only works without roles, e.g.:

Re: [Zope-dev] small manuel bugfix

2009-12-25 Thread Benji York
On Fri, Dec 25, 2009 at 9:37 PM, Chris McDonough chr...@plope.com wrote: I added a branch of manuel to the Zope SVN that fixes the codeblock plugin when you use codeblock roles such as: Looks good. Add tests and I'll merge and release your branch. I'm not sure what form the tests should

Re: [Zope-dev] small manuel bugfix

2009-12-25 Thread Chris McDonough
Benji York wrote: On Fri, Dec 25, 2009 at 9:37 PM, Chris McDonough chr...@plope.com wrote: I added a branch of manuel to the Zope SVN that fixes the codeblock plugin when you use codeblock roles such as: Looks good. Add tests and I'll merge and release your branch. Sorry about the