Wednesday, June 11, 2008

The First Step

We a group of five from S4 CSE Government Engineering College Thrissur is working on the GSOC 2008 project- porting Zope2 to Python2.5. We have been engaged with this project from the first week of May. Basic ideas regarding SVN check out and testing were given by our seniors who did the GSOC 2007 project-porting Zope3. As for our present status we have made the first check in to the Zope trunk.

We got errors and failures in modules Zope2, ZPublisher, Products and Acquisition. Two of us started working in Acquisition and the rest in module Zope2.

In Acquisition, the failures were raised due to the changes in C-API. So we started referring C-API manuals. We have been reading about tp_richcompare and tp_compare. The cause for the failures was that the C-API function was not being called in certain cases. We are trying to fix these failures by mapping the richcompare function to the user defined function wrappercompare. And the work is in progress.

Regarding module Zope2, it was having 4 failures and 1 error. All of them were due to the change in hierarchy of the exception classes, which prevents the correct setting of HTTPResponse status. We have managed to rectify these failures. Meanwhile we got the commit access and we made our first check in.

Our team, Ranjith Babu Kannikara, Bristow Thankachan, Vijin C P, Vyshakh Krishnan and Deepak M R, will come up with more updates next week.

Thank you.

Friday, May 23, 2008

Bootstrapping Progress

Our GSoC Student Ranjith Kannikara has already started making progress on his effort to get Zope 2 running atop of Python 2.5.

As for myself, I've managed to compile and start Zope trunk on Python 2.5, and just the fact it starts up fine is very assuring.

To help Ranjith, and to keep track of progress myself I have set up a buildbot that will be running the tests twice a day. The results look promising. But I'm skipping some tests (ZODB, ZConfig and ZEO).

Lastly, we are still in the process of getting Ranjith commit access to svn.zope.org. He already submitted the documentation, and now he just has to submit his ssh keys.

I've invited Ranjith to post to this blog, which he says he will be doing frequently.

That's it for this week. See you next friday!

Thursday, May 8, 2008

Zope Porting Announcement

Due to growing interest in porting Zope to different versions of Python and different Python implementations, I have started this blog to help track the efforts.

Last year, the Zope Foundation, through the Google Summer of Code program had a sponsored student working on porting Zope 3 to Python 2.5.

This year, we have another student, this time working on porting Zope 2 to Python 2.5, and another student through the Python Software Foundation will be working on porting Zope to Jython.

Expect to see status reports following shortly, as this year's Summer of Code program officially begins on May 26.

In addition to this blog, I've created a Zope Porting group on Google Groups, for more general discussion. If you're interested on helping out with porting Zope to Python 2.5, Jython, or even PyPy or IronPython, please join this group and contribute!