[Zope-dev] Proposal: Merge philikon-aq branch into Zope trunk

2008-04-17 Thread Hanno Schlichting

Hi.

I'd like to propose to merge the philikon-aq branch into Zope trunk aka 
Zope 2.12.


Scope:

For those unfamiliar with the branch, it makes Acquisition aware of 
__parent__ pointers. This makes it unnecessary to use Acquisition 
mixin's for Zope 3 code to use them in Zope 2 code. The security 
machinery of Zope 2 will still be able to work as expected.


Status:

All tests in the Zope itself pass. New tests have been written for all 
edge cases found during the development of the branch.


As a real world exposure Plone has been used to test the branch. All 
tests in Plone except one edge-case of a monkey-patch loaded package 
still pass. Plone in current versions make heavy use of Zope 3 and Five 
technologies inside Zope 2, so I see this as a very good indicator for 
the readiness of the branch. The one edge-case is something which needs 
to be fixed in Plone, as it doesn't make use of any official API.


Risks:

Using Zope 3 code inside Zope 2 has lead to various 'inventive 
solutions' to work around problems. Some of these have not used official 
API's. It is possible that some of those might need to be adjusted. 
Adjusting them should be straight forward in most cases and mostly 
consist of removing the hackish workarounds.


The second problem that might arise, is that the implicit assumption 
that every object inside Zope 2 inherits from Acquisition base classes 
no longer holds. Code that relies on the various aq_* attributes to be 
there need to be adjusted to use the Acquisition methods instead. This 
change is trivial to do and doesn't need to be done at first. It only 
needs to be done when you want to allow direct Zope 3 code in your 
application. As part of the branch all code in Zope 2 itself have been 
adjusted to use the aq_* methods.


Timeline:

I would like to do the merge as soon as possible, so people can easily 
test it against all their applications and report back problems.


Merging it into Zope trunk will get it into the Zope 2.12 release which 
is at this point not scheduled yet, but is unlikely to get a release 
before early 2009. This should give us plenty of time to test.


Opinions, votes?

Hanno

P.S. Thanks to philiKON for doing most of the work on this branch :)

___
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] Proposal: Merge philikon-aq branch into Zope trunk

2008-04-17 Thread Christian Theune
On Thu, Apr 17, 2008 at 12:43:25PM +0200, Martijn Pieters wrote:
 On Thu, Apr 17, 2008 at 12:27 PM, Hanno Schlichting [EMAIL PROTECTED] wrote:
   I would like to do the merge as soon as possible, so people can easily test
  it against all their applications and report back problems.
 
   Merging it into Zope trunk will get it into the Zope 2.12 release which is
  at this point not scheduled yet, but is unlikely to get a release before
  early 2009. This should give us plenty of time to test.
 
   Opinions, votes?
 
 +sys.maxint!

Darn. My +1 won't fit in there anymore!


-- 
gocept gmbh  co. kg - forsterstrasse 29 - 06112 halle (saale) - germany
www.gocept.com - [EMAIL PROTECTED] - phone +49 345 122 9889 7 -
fax +49 345 122 9889 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] Proposal: Merge philikon-aq branch into Zope trunk

2008-04-17 Thread Wichert Akkerman
Previously Martijn Pieters wrote:
 On Thu, Apr 17, 2008 at 12:27 PM, Hanno Schlichting [EMAIL PROTECTED] wrote:
   I would like to do the merge as soon as possible, so people can easily test
  it against all their applications and report back problems.
 
   Merging it into Zope trunk will get it into the Zope 2.12 release which is
  at this point not scheduled yet, but is unlikely to get a release before
  early 2009. This should give us plenty of time to test.
 
   Opinions, votes?
 
 +sys.maxint!

I'm afraid any further +1s will turn that into a negative score now.

Wichert.

-- 
Wichert Akkerman [EMAIL PROTECTED]It is simple to make things.
http://www.wiggy.net/   It is hard to make things simple.
___
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] Proposal: Merge philikon-aq branch into Zope trunk

2008-04-17 Thread Jens Vagelpohl


On Apr 17, 2008, at 12:27 , Hanno Schlichting wrote:

Opinions, votes?


+1



___
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] Proposal: Merge philikon-aq branch into Zope trunk

2008-04-17 Thread Martijn Pieters
On Thu, Apr 17, 2008 at 12:27 PM, Hanno Schlichting [EMAIL PROTECTED] wrote:
  I would like to do the merge as soon as possible, so people can easily test
 it against all their applications and report back problems.

  Merging it into Zope trunk will get it into the Zope 2.12 release which is
 at this point not scheduled yet, but is unlikely to get a release before
 early 2009. This should give us plenty of time to test.

  Opinions, votes?

+sys.maxint!

Thanks, Hanno, for carrying this to it's completion!

-- 
Martijn Pieters
___
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] Proposal: Merge philikon-aq branch into Zope trunk

2008-04-17 Thread Andreas Jung



--On 17. April 2008 12:27:42 +0200 Hanno Schlichting [EMAIL PROTECTED] 
wrote:



Hi.

I'd like to propose to merge the philikon-aq branch into Zope trunk aka
Zope 2.12.


Go ahead.

Andreas

pgphIV5gzoW65.pgp
Description: PGP signature
___
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] Proposal: Merge philikon-aq branch into Zope trunk

2008-04-17 Thread Stefan H. Holek

On 17.04.2008, at 12:27, Hanno Schlichting wrote:

Opinions, votes?



+1

--
Stefan H. Holek
[EMAIL PROTECTED]




___
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 )