[Zope-dev] Heads-up: Zope 2.8, Zope 3 and Five

2005-03-15 Thread Brian Lloyd
Hi all -

At the Paris sprint, a plan was hatched to integrate Five into 
Zope 2.8, which Jim, Andreas and others responsible for release 
management have endorsed.

This will hopefully actually help spur 2.8 to the finish line as 
well as begin to provide an upgrade path into the future for Zope 2 
developers.

What this will essentially mean for is that:

  - Five will ship in the core distribution with Zope 2.8

  - A subset of the Zope X3.0 packages will ship in the
core distribution

...so it will be possible to use a number of Zope 3 technologies and 
patterns in existing Zope 2 applications.

The Five integration layer provides support for Zope 3 interfaces, 
Zope Configuration Markup Language (ZCML), adapters, views, 
utilities, schema-driven content, and Zope 3 add and edit forms.

Note that the Five layer does *not* attempt provide a ZMI user 
interface for Zope 3 components.

Zope 2.8+ will include the essential Zope 3 packages, so it will 
not be necessary to install Zope 3 separately.

If you are interested, there is now a 'five-integration' branch 
in Z2 SVN where this work is going on.


Brian Lloyd[EMAIL PROTECTED]
V.P. Engineering   540.361.1716  
Zope Corporation   http://www.zope.com 

___
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] Re: [Zope3-dev] Re: Heads-up: Zope 2.8, Zope 3 and Five

2005-03-15 Thread Martijn Faassen
On Tue, Mar 15, 2005 at 04:57:00PM +0100, Christian Heimes wrote:
 I really *love* to have Five and parts of ZopeX3 in Zope2 but I don't 
 like how it is happening. Zope 2.8 is starting to stablize and still 
 contains some critical bugs like the incompatibility with old style 
 BTrees and you are going to add a heavy bunch of new features to it.

[Could you point me to the issue or mail describing the old-style BTree
problem? I may have run into it under another name or something.]

 I would prefere this way:
 
  * Get Zope 2.8.0 out ASAP
 
  * Branch of Zope 2.9 from 2.8 when 2.8 is in rc phase. 2.9 should be 
 the target for ZopeX3 and Five only, no other features so you can get 
 2.9 out some month afte 2.8.0.
 
 Release often, release early and one step after another. You are going 
 to make the same ugly and bad mistake we made with Plone 2.0.0. :(

I completely understand where you're coming from and I share the worries.

Some things mitigate this problem:

* integrating Five doesn't actually imply many significant changes to
  Zope 2.8; it'll just be its own product.

* integrating zope 3 only means some integration in the build script for
  Zope 2. It's just a Python library otherwise.

* we're separating the work on Zope 2.8 and Zope 2.8 + Five, so we can
  back out from this plan if we want to, later, and go the 2.8 and 2.9
  route anyway.

So, in effect, we're not actually *creating* any new features. We're
also not doing any deep integration work (Five already has that work).  
The features already exist and we're just distributing them along with the
standard Zope 2.8 distribution. We're not ambitious about new stuff at all.
I hope that is somewhat different from the path Plone took for 2.0. 

Regards,

Martijn

___
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] Overriding Products

2005-03-15 Thread Martijn Jacobs
Hello guys.
I have a question regarding  product importing in zope 2.7.x,  as since 
zope 2.7 this part is way more flexible then it was before. I'd like to 
accomplish the next situation :

-
A Zope base installation has Product X installed in /lib/python/Products 
which I want to change or develop further
-
x instances of Zope use the produtc from this base install.
-
At one instance I want to test and develop, without breaking the other 
instances.
-
Copying the Product X folder to the instance_home/Products folder is 
not an option, as import conflict errors occure if you do not remove the 
product from the base installation.
-
Copying a local version in all 4 instances is a solution, but to manage 
that will cost alot of work, especially if you have alot of instances.
-

What I really want is that you can copy the Product X folder to the 
Products (or CustomProducts for example) of an zope instance, and that 
zope will figure out itself that it should import that version of the 
product instead of the copy in the base installation. 'Overriding' base 
products is the name you could give this situation.

I tried alot myself, for example checking in the __init__.py if there is 
a copy of this product in instance_home/CustomProducts and then 
importing that product instead of my own, but I always get into trouble :

AttributeError: 'module' object has no attribute 'Classname'
It doesn't have to work for all products, only for some of the products 
that we are developing ourselfs. We also have a different structure than 
normal products as following :
Main Product   - Sub product X
  - Sub product Y

In the __init__.py of Main product we import and initialize the 
subproducts. The idea is to put one of those subproducts in a zope 
instance/CustomProducts folder for further development and that the 
other instances of zope still uses the base version of the subproduct.

I hope you can help, thanks in advance for your time.
Kind regards,
--
Martijn Jacobs
East Site | Postbus 642 | 6800 AP Arnhem
t: +31 (0) 26 35 14 295 | f: +31 (0) 26 44 20 432
@: [EMAIL PROTECTED]  | w: www.eastsite.nl
___
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] Odd behavior of undoable_transactions()

2005-03-15 Thread Paul Winkler
On Sun, Mar 13, 2005 at 06:57:28PM +0100, Florent Guillaume wrote:
 You're right. Please put it in the collector. The prefixes should indeed
 be matching only at '/' boundaries.

OK, issue created at
http://www.zope.org/Collectors/Zope/1726
and assigned to myself.
If nobody objects soon, I will check in tests  fixes
on both the 2_7 CVS branch and on the SVN trunk.
(Is there a 2_8 branch in SVN too? I haven't worked there much yet.)

-- 

Paul Winkler
http://www.slinkp.com
___
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 )