[Zope3-dev] Re: zope.app.twisted.main?
Philipp von Weitershausen wrote: Chris Withers wrote: Stephan Richter wrote: On Thursday 01 February 2007 02:42, Chris Withers wrote: Is there a non-twisted main.py of does zope.app.twisted.main get used for all Zope 3 instances? zope.app.server.main How do you switch between the two? mkzopeinstance creates a twisted instance mkzopeinstance --zserver creates a zope.server instance Thanks, added to the Zope3 FAQ Michael -- http://zope.org/Members/d2m http://planetzope.org ___ Zope3-dev mailing list Zope3-dev@zope.org Unsub: http://mail.zope.org/mailman/options/zope3-dev/archive%40mail-archive.com
Re: [Zope3-dev] development checkout
Chris Withers wrote: Is there a how-to somehwere? Yes, http://wiki.zope.org/zope3/SettingUpAZope3Sandbox If possible, please update this wiki page based on other replies. Regards, Baiju M ___ Zope3-dev mailing list Zope3-dev@zope.org Unsub: http://mail.zope.org/mailman/options/zope3-dev/archive%40mail-archive.com
[Zope3-dev] Introduced a master check box to the ZMI
Hello, Log message for revision 72287: Introduce a master checkbox to the ZMI that toggles all other check boxes from a folder listing. I have checked in the change. I think the change itself is no problem and I hope it's done correctly. If not please improve me. If it's entirely unapprecated it will be also ok to revert it. Regards, Florian ___ Zope3-dev mailing list Zope3-dev@zope.org Unsub: http://mail.zope.org/mailman/options/zope3-dev/archive%40mail-archive.com
Re: [Zope3-dev] development checkout
On Thu, Feb 01, 2007 at 08:59:00AM +, Chris Withers wrote: > It's been way too long since I did that, but how do I go about getting > an svn checkout of Zope 3 that I can develop with? Is there a how-to > somehwere? If there isn't, you could write one on the Zope 3 wiki. ;-) > I'd imagine it goes something like: > > 1 - checkout svn url you wish to develop with Yep. svn co svn+ssh://svn.zope.org/repos/main/Zope3/trunk Zope3 or svn co svn+ssh://svn.zope.org/repos/main/Zope3/branches/3.3 Zope3 or replace the svn+ssh with svn > 2 - do some kind of inplace build By typing 'make'. > 3 - point your mkzopeinstance-created instance at the checkout I usually don't bother with mkzopeinstance, just symlink my packages into src/ and drop a one-liner file into zopeskel/etc/package-includes/. I'm not sure mkzopeinstance even works in a svn checkout. IIRC I saw a couple of reports of it failing when run from the checkut. The response usually was "you're not supposed to use it from a checkout; run make install first, then use mkzopeinstance from the installation directory". > 4 - develop This step looks deceptively simple. :-) > 5 - run tests python test.py [options] (in the root directory of the checkout). > How do I do 2 and 5? > > For 2, how do I do a suitable in-place build on Linux? Make sure you have gcc, make, python-dev installed, then type 'make'. > Are there still > up-to-date pre-built binary bits for Windows that I can unpack? If so, > where do I get them from? No idea. I ran away to more developer-friendly OSes a long time ago. > For 5, how do I run tests for a module in the checkout with the > testrunner, as opposed to tests for a module in the instance? python test.py -s module I am not sure if there's a way to make Zope 3 and its test runner notice my packages without symlinking them into src/. zc.buildout may be the answer. I haven't used it on my projects yet, because what I already use works well enough for me. Cheers, Marius Gedminas -- If your company is not involved in something called "ISO 9000" you probably have no idea what it is. If your company _is_ involved in ISO 9000 then you definitely have no idea what it is. (Scott Adams - The Dilbert principle) signature.asc Description: Digital signature ___ Zope3-dev mailing list Zope3-dev@zope.org Unsub: http://mail.zope.org/mailman/options/zope3-dev/archive%40mail-archive.com
[Zope3-dev] Re: zope.app.twisted.main?
Chris Withers wrote: Stephan Richter wrote: On Thursday 01 February 2007 02:42, Chris Withers wrote: Is there a non-twisted main.py of does zope.app.twisted.main get used for all Zope 3 instances? zope.app.server.main How do you switch between the two? mkzopeinstance creates a twisted instance mkzopeinstance --zserver creates a zope.server instance -- http://worldcookery.com -- Professional Zope documentation and training Next Zope 3 training at Camp5: http://trizpug.org/boot-camp/camp5 ___ Zope3-dev mailing list Zope3-dev@zope.org Unsub: http://mail.zope.org/mailman/options/zope3-dev/archive%40mail-archive.com
[Zope3-dev] Re: development checkout
Martin Aspeli wrote: Chris Withers wrote: Hi All, It's been way too long since I did that, but how do I go about getting an svn checkout of Zope 3 that I can develop with? Is there a how-to somehwere? I'd imagine it goes something like: 1 - checkout svn url you wish to develop with 2 - do some kind of inplace build 'make' 3 - point your mkzopeinstance-created instance at the checkout or simply create an instance with Zope3checkout/bin/mkzopeinstance. 4 - develop 5 - run tests bin/test -s yourpackage How do I do 2 and 5? For 2, how do I do a suitable in-place build on Linux? Are there still up-to-date pre-built binary bits for Windows that I can unpack? If so, where do I get them from? Download a standard Zope 3 release from zope.org or use the trunk and install the PYDs from http://www.zope.org/Products/Zope3/Trunk For 5, how do I run tests for a module in the checkout with the testrunner, as opposed to tests for a module in the instance? I'll take a guess that it's not too different from building zope 2: $ python setup.py build_ext -i This is not enough. You need: $ python2.4 setup.py build_ext -i install_data --install-dir . or simply run 'make'. -- http://worldcookery.com -- Professional Zope documentation and training Next Zope 3 training at Camp5: http://trizpug.org/boot-camp/camp5 ___ Zope3-dev mailing list Zope3-dev@zope.org Unsub: http://mail.zope.org/mailman/options/zope3-dev/archive%40mail-archive.com
Re: [Zope3-dev] development checkout
Chris Withers wrote: > > Hi All, > > It's been way too long since I did that, but how do I go about getting > an svn checkout of Zope 3 that I can develop with? Is there a how-to > somehwere? > > I'd imagine it goes something like: > > 1 - checkout svn url you wish to develop with > > 2 - do some kind of inplace build > > 3 - point your mkzopeinstance-created instance at the checkout > > 4 - develop > > 5 - run tests > > How do I do 2 and 5? > > For 2, how do I do a suitable in-place build on Linux? Are there still > up-to-date pre-built binary bits for Windows that I can unpack? If so, > where do I get them from? > > For 5, how do I run tests for a module in the checkout with the > testrunner, as opposed to tests for a module in the instance? > I'll take a guess that it's not too different from building zope 2: $ python setup.py build_ext -i On windows, you probably need mingw32. This may help: http://svn.plone.org/svn/plone/ploneout/trunk/WINDOWS.txt To run tests, you can certainly run tests from an instance, e.g. $ bin/zopectl -m zope.interface I'm not sure how they should be run if you have no instance available, but it's just a matter of finding a testrunner that has the right PYTHONPATH surely. Martin -- View this message in context: http://www.nabble.com/development-checkout-tf3153826.html#a8745753 Sent from the Zope3 - dev mailing list archive at Nabble.com. ___ Zope3-dev mailing list Zope3-dev@zope.org Unsub: http://mail.zope.org/mailman/options/zope3-dev/archive%40mail-archive.com
[Zope3-dev] interview for my diploma thesis about Zope 3 in education
Hi a week ago i posted this ( http://mail.zope.org/pipermail/zope3-users/2007-January/005348.html) at the Zope3-users mailinglist, but got nearly no response. Maybe here i get more attention :) I will post my questions again, if you could spare some time, please try to answer them, so i can give something back to the community in form of my diploma thesis. I will cite the responses in my work. currently i am writing my diploma thesis at the University of Applied Science in Austria, Vienna. The topic is about the usage of Python and Zope (3) in education. There are a lot of papers concerning Python and education, but i found not much about Zope there. So this seems an interesting topic to discuss. So here are my questions: * Do you think Zope (3) can be used at school or university level to support topics in computer science education? What topics would you recommend? Why? * How would you convince someone who is in charge to use Zope 3 in his curriculum? * How do you see Component Based Software Engineering (CBSE) or other Component Frameworks related to Zope 3? What are the differences? Is Zope 3 an alternative for other component based frameworks in the industry and why? (to this question see my follow-up at http://mail.zope.org/pipermail/zope3-users/2007-January/005365.html : This question has a litle bit historical background. At my university they taught us Component Based Software Engineering (CBSE), and how this will change the way, software will be developed. Software development will(may) change to an industry where focus is on components, reuse and testing (at the moment thousends of developers code the same stuff) In the same course they talked about CORBA, COM+ and EJB. My question is: Can they also talk about Zope 3 there? ) * How do you see the future of Zope? Where do you (want to) see it in 2 years? thank you very much! cheers Dominique ___ Zope3-dev mailing list Zope3-dev@zope.org Unsub: http://mail.zope.org/mailman/options/zope3-dev/archive%40mail-archive.com
Re: [Zope3-dev] zope.app.twisted.main?
Stephan Richter wrote: On Thursday 01 February 2007 02:42, Chris Withers wrote: Is there a non-twisted main.py of does zope.app.twisted.main get used for all Zope 3 instances? zope.app.server.main How do you switch between the two? cheers, Chris -- Simplistix - Content Management, Zope & Python Consulting - http://www.simplistix.co.uk ___ Zope3-dev mailing list Zope3-dev@zope.org Unsub: http://mail.zope.org/mailman/options/zope3-dev/archive%40mail-archive.com
Re: [Zope3-dev] customizing accesslog format
Sascha Ottolski wrote: Hi, it appears as if the format for the access log is somewhat hardcoded. I see that there exists (at least) zope.app.server.accesslog zope.app.twisted.accesslog zope.app.twisted.log and twisted.web2.log ouch... From discussions I found it seems as if the latter would be the place to hack the actual logging format (like suggested in http://mail.zope.org/pipermail/zope3-dev/2006-January/017771.html). I'm wondering, is patching twisted really the way to go? It's a shame that the python logging framework isn't used by either twisted or zope3 from what you're saying :-( I wonder if they could be made to do so and if the respective communities would welcome that? Would it be feasible to make the acceslog format be customizable via a zope.conf entry, in a way similar to what possible with apache & co.? Indeed, it should just be another logger section... Chris -- Simplistix - Content Management, Zope & Python Consulting - http://www.simplistix.co.uk ___ Zope3-dev mailing list Zope3-dev@zope.org Unsub: http://mail.zope.org/mailman/options/zope3-dev/archive%40mail-archive.com
[Zope3-dev] development checkout
Hi All, It's been way too long since I did that, but how do I go about getting an svn checkout of Zope 3 that I can develop with? Is there a how-to somehwere? I'd imagine it goes something like: 1 - checkout svn url you wish to develop with 2 - do some kind of inplace build 3 - point your mkzopeinstance-created instance at the checkout 4 - develop 5 - run tests How do I do 2 and 5? For 2, how do I do a suitable in-place build on Linux? Are there still up-to-date pre-built binary bits for Windows that I can unpack? If so, where do I get them from? For 5, how do I run tests for a module in the checkout with the testrunner, as opposed to tests for a module in the instance? cheers, Chris -- Simplistix - Content Management, Zope & Python Consulting - http://www.simplistix.co.uk ___ Zope3-dev mailing list Zope3-dev@zope.org Unsub: http://mail.zope.org/mailman/options/zope3-dev/archive%40mail-archive.com
Re: [Zope3-dev] zope.app.twisted.main?
On Thursday 01 February 2007 02:42, Chris Withers wrote: > Is there a non-twisted main.py of does zope.app.twisted.main get used > for all Zope 3 instances? zope.app.server.main Regards, Stephan -- Stephan Richter CBU Physics & Chemistry (B.S.) / Tufts Physics (Ph.D. student) Web2k - Web Software Design, Development and Training ___ Zope3-dev mailing list Zope3-dev@zope.org Unsub: http://mail.zope.org/mailman/options/zope3-dev/archive%40mail-archive.com