[Zope-dev] Re: GSoC proposal
ranjith kannikara wrote: I am a student participating in Google Summer of code 2008. My proposal to the Zope foundation is to port Zope2 to Python2.5. I am aware of the works done earlier for porting Zope3 and the issue like restricted python implementation. Please give some suggestions on this project. Zope's not the only ones doing a restricted python implementation. It might be interesting to see what's out there. Then there's the AccessControl-module which has a C-implementation; it would need to be ported as well. (Asking to the room), is it out of reach to simply migrate to zope.security (which already runs on Python 2.5)? Obviously there are differences between the two to the extent that some features simply can't be implemented. \malthe ___ 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] Zope Tests: 5 OK
Summary of messages to the zope-tests list. Period Wed Apr 2 11:00:00 2008 UTC to Thu Apr 3 11:00:00 2008 UTC. There were 5 messages: 5 from Zope Tests. Tests passed OK --- Subject: OK : Zope-2.8 Python-2.3.6 : Linux From: Zope Tests Date: Wed Apr 2 20:58:59 EDT 2008 URL: http://mail.zope.org/pipermail/zope-tests/2008-April/009345.html Subject: OK : Zope-2.9 Python-2.4.4 : Linux From: Zope Tests Date: Wed Apr 2 21:00:29 EDT 2008 URL: http://mail.zope.org/pipermail/zope-tests/2008-April/009346.html Subject: OK : Zope-2.10 Python-2.4.4 : Linux From: Zope Tests Date: Wed Apr 2 21:02:00 EDT 2008 URL: http://mail.zope.org/pipermail/zope-tests/2008-April/009347.html Subject: OK : Zope-2.11 Python-2.4.4 : Linux From: Zope Tests Date: Wed Apr 2 21:03:30 EDT 2008 URL: http://mail.zope.org/pipermail/zope-tests/2008-April/009348.html Subject: OK : Zope-trunk Python-2.4.4 : Linux From: Zope Tests Date: Wed Apr 2 21:05:00 EDT 2008 URL: http://mail.zope.org/pipermail/zope-tests/2008-April/009349.html ___ 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] bsquare'ing
Hello, I'm trying to setup a buildbot here for our buildout based packages. What I don't get is, how that works: f.addStep(Compile(name='bootstrap', command='buildout bootstrap .', description=['bootstrapping'], descriptionDone=['bootstrap'])) We used to issue python2.4 bootstrap.py, buildout bootstrap . gives an error, unless I'm missing something. Also, I'd propose some enhancements too: -def configure(svn_url, http_port=8010, allowForce=False): +def configure(svn_url, svnuser=None, svnpasswd=None, http_port=8010,allowForce=False, poller=None): Creates a buildout master configuration. The configuration returned is almost functional. You just need to add slaves. c = {} c['slavePortnum'] = 8989 -c['change_source'] = SVNPoller(svn_url, split_file=split_file, pollinterval=30) +if poller: + c['change_source'] = poller +else: + c['change_source'] = SVNPoller(svn_url, svnuser=svnsuer, svnpasswd=svnpasswd, split_file=split_file, pollinterval=30) Christian, opinions? Where to make those changes? -- Best regards, Adam GROSZER mailto:[EMAIL PROTECTED] -- Quote of the day: Life is 10% of what happens to you and 90% of how you respond to it. ___ 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] no color with testrunner under python2.5
hi all i have a testrunner configured with buildout like this [test] recipe = zc.recipe.testrunner defaults = ['--auto-color'] eggs = someegg with python2.4 i get colored output, with python2.5 under macos x leopard does anyone have a clue what the cause is? thx, bernd -- Lovely Systems, senior developer phone: +43 5572 908060, fax: +43 5572 908060-77 Schmelzhütterstraße 26a, 6850 Dornbirn, Austria skype: bernd.dorn smime.p7s Description: S/MIME cryptographic 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] bsquare'ing
Adam GROSZER wrote: We used to issue python2.4 bootstrap.py, buildout bootstrap . gives an error, unless I'm missing something. I'm not familiar with Christian's work with bsquare, but suspect giving him the actual error message would be helpful. -- Benji York Senior Software Engineer Zope Corporation ___ 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[2]: [Zope-dev] bsquare'ing
Hello, It's real simple: in dir /home/agroszer/buildbot/slave/cache/build (timeout 1200 secs) watching logfiles {} argv: ['/bin/sh', '-c', 'buildout bootstrap .'] environment: ... closing stdin using PTY: True /bin/sh: line 1: buildout: command not found program finished with exit code 127 Thursday, April 3, 2008, 2:21:50 PM, you wrote: BY Adam GROSZER wrote: We used to issue python2.4 bootstrap.py, buildout bootstrap . gives an error, unless I'm missing something. BY I'm not familiar with Christian's work with bsquare, but suspect giving BY him the actual error message would be helpful. -- Best regards, Adam GROSZERmailto:[EMAIL PROTECTED] -- Quote of the day: If you want to know how old a man is, ask his brother-in-law. ___ 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] Status of zam packages
I am hoping I can get a bit of an update on zam packages on zope svn. Many thanks. Regards, David ___ 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] no color with testrunner under python2.5
Bernd Dorn wrote: with python2.4 i get colored output, with python2.5 under macos x leopard does anyone have a clue what the cause is? If the only difference is running under Python 2.5 instead of 2.4, then I don't have any ideas. I just tested 2.4 and 2.5 on Linux and both worked fine. If you want to investigate, the place to start is in zope/testing/testrunner.py at line 2417. -- Benji York Senior Software Engineer Zope Corporation ___ 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] no color with testrunner under python2.5
On 03.04.2008, at 14:54, Benji York wrote: If the only difference is running under Python 2.5 instead of 2.4, then I don't have any ideas. I just tested 2.4 and 2.5 on Linux and both worked fine. If you want to investigate, the place to start is in zope/testing/ testrunner.py at line 2417. thx for the hint benji on my python2.5 the _curses module was lacking, that was the problem, but as i see curses is not required just for --auto-color, --color works as expected -- Lovely Systems, senior developer phone: +43 5572 908060, fax: +43 5572 908060-77 Schmelzhütterstraße 26a, 6850 Dornbirn, Austria skype: bernd.dorn smime.p7s Description: S/MIME cryptographic 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] no color with testrunner under python2.5
Bernd Dorn wrote: on my python2.5 the _curses module was lacking, that was the problem, but as i see curses is not required just for --auto-color, --color works as expected Right, the --auto-color code takes two things into account: is stdout a terminal and if so, does it have color support. The first is easy to determine, the second depends on curses (and defaults to no color if curses isn't available). -- Benji York Senior Software Engineer Zope Corporation ___ 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-Users] How do I automatically login a user
Let's move this discussion to zope-dev. On Apr 2, 2008, at 5:36 AM, kevin gill wrote: Please check in the code to the sandbox and I will have a look at it. The coding looks straight-forward, but choosing how to work it into the existing components. I will look at the code and come back with questions. I just checked 2 files, session.txt and session.py, into http://svn.zope.org/Sandbox/J1m/ These provide several features, most of which are of particular interest here: - An api to save session credentials independent of login, - saving sha-encoded passwords, - logout api - having an optional additional credential of a user domain, (probably not of general interest) Jim -- Jim Fulton Zope Corporation ___ 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] Re: [Zope3-Users] How do I automatically login a user
Thanks Jim for doing this. Actually, the domain is something I have been looking for also. These other features are really nice. I am hoping this can be worked into something like z3c.authentication for generic use. Hoping roger is following this. Regards, David Jim Fulton wrote: Let's move this discussion to zope-dev. On Apr 2, 2008, at 5:36 AM, kevin gill wrote: Please check in the code to the sandbox and I will have a look at it. The coding looks straight-forward, but choosing how to work it into the existing components. I will look at the code and come back with questions. I just checked 2 files, session.txt and session.py, into http://svn.zope.org/Sandbox/J1m/ These provide several features, most of which are of particular interest here: - An api to save session credentials independent of login, - saving sha-encoded passwords, - logout api - having an optional additional credential of a user domain, (probably not of general interest) Jim -- Jim Fulton Zope Corporation ___ 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 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-Users] bsquare'ing
I think the problem you are having is that buildout Is not installed on your system. I'm not sure what the buildout bootstrap command does but I imagine it is a replacement for the bootstrap.py script. Personally, I think bootstrap.py should be used when it is available. I like your suggested changes and I'd like to add some more. It would be really cool if bsquare could see that buildout.cfg is using develop packages and somehow how check the develop packages out automatically. It would also be nice to parse the dependencies of a package and rebuild it whenever a dependency is rebuilt. Finally my last wish is that bsquare can be used without installing buildbot or twisted on the system. That would mean depending on buildbot and zope.app.twisted and adding console script entry points for the relevant command line scripts they provide. I've been meaning to make some of these changes in pcardune-setup branch but haven't had a lot of time. - Paul On Apr 3, 2008, at 3:39 AM, Adam GROSZER [EMAIL PROTECTED] wrote: Hello, I'm trying to setup a buildbot here for our buildout based packages. What I don't get is, how that works: f.addStep(Compile(name='bootstrap', command='buildout bootstrap .', description=['bootstrapping'], descriptionDone=['bootstrap'])) We used to issue python2.4 bootstrap.py, buildout bootstrap . gives an error, unless I'm missing something. Also, I'd propose some enhancements too: -def configure(svn_url, http_port=8010, allowForce=False): +def configure(svn_url, svnuser=None, svnpasswd=None, http_port=8010,allowForce=False, poller=None): Creates a buildout master configuration. The configuration returned is almost functional. You just need to add slaves. c = {} c['slavePortnum'] = 8989 -c['change_source'] = SVNPoller(svn_url, split_file=split_file, pollinterval=30) +if poller: + c['change_source'] = poller +else: + c['change_source'] = SVNPoller(svn_url, svnuser=svnsuer, svnpasswd=svnpasswd, split_file=split_file, pollinterval=30) Christian, opinions? Where to make those changes? -- Best regards, Adam GROSZER mailto:[EMAIL PROTECTED] -- Quote of the day: Life is 10% of what happens to you and 90% of how you respond to it. ___ Zope3-users mailing list [EMAIL PROTECTED] http://mail.zope.org/mailman/listinfo/zope3-users ___ 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[2]: [Zope3-Users] bsquare'ing
Hello Paul, Having the same ideas here. I'll improve if you don't mind. Thursday, April 3, 2008, 6:35:01 PM, you wrote: PC I think the problem you are having is that buildout Is not installed PC on your system. I'm not sure what the buildout bootstrap command does PC but I imagine it is a replacement for the bootstrap.py script. PC Personally, I think bootstrap.py should be used when it is available. PC I like your suggested changes and I'd like to add some more. It would PC be really cool if bsquare could see that buildout.cfg is using PC develop packages and somehow how check the develop packages out PC automatically. It would also be nice to parse the dependencies of a PC package and rebuild it whenever a dependency is rebuilt. Finally my PC last wish is that bsquare can be used without installing buildbot or PC twisted on the system. That would mean depending on buildbot and PC zope.app.twisted and adding console script entry points for the PC relevant command line scripts they provide. I've been meaning to make PC some of these changes in pcardune-setup branch but haven't had a lot PC of time. PC - Paul PC On Apr 3, 2008, at 3:39 AM, Adam GROSZER [EMAIL PROTECTED] wrote: Hello, I'm trying to setup a buildbot here for our buildout based packages. What I don't get is, how that works: f.addStep(Compile(name='bootstrap', command='buildout bootstrap .', description=['bootstrapping'], descriptionDone=['bootstrap'])) We used to issue python2.4 bootstrap.py, buildout bootstrap . gives an error, unless I'm missing something. Also, I'd propose some enhancements too: -def configure(svn_url, http_port=8010, allowForce=False): +def configure(svn_url, svnuser=None, svnpasswd=None, http_port=8010,allowForce=False, poller=None): Creates a buildout master configuration. The configuration returned is almost functional. You just need to add slaves. c = {} c['slavePortnum'] = 8989 -c['change_source'] = SVNPoller(svn_url, split_file=split_file, pollinterval=30) +if poller: + c['change_source'] = poller +else: + c['change_source'] = SVNPoller(svn_url, svnuser=svnsuer, svnpasswd=svnpasswd, split_file=split_file, pollinterval=30) Christian, opinions? Where to make those changes? -- Best regards, Adam GROSZER mailto:[EMAIL PROTECTED] -- Quote of the day: Life is 10% of what happens to you and 90% of how you respond to it. ___ Zope3-users mailing list [EMAIL PROTECTED] http://mail.zope.org/mailman/listinfo/zope3-users -- Best regards, Adam GROSZERmailto:[EMAIL PROTECTED] -- Quote of the day: If at first you don't succeed, give up, no use being a damn fool. ___ 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] Rejecting HTTPS-only cookies over plain HTTP
Hi folks! I have just posted a bug report on what I see as an inconsistent behaviour of BrowserIdManager. I'd appreciate any comments on the current code. Best regards, Servilio signature.asc Description: This is a digitally signed message part ___ 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] Rejecting HTTPS-only cookies over plain HTTP
Previously Servilio Afre Puentes wrote: I have just posted a bug report on what I see as an inconsistent behaviour of BrowserIdManager. I'd appreciate any comments on the current code. A pointer to that bugreport will hugely increase the chances of someone commenting it. 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] Rejecting HTTPS-only cookies over plain HTTP
On Thu, 2008-04-03 at 20:45 +0200, Wichert Akkerman wrote: Previously Servilio Afre Puentes wrote: I have just posted a bug report on what I see as an inconsistent behaviour of BrowserIdManager. I'd appreciate any comments on the current code. A pointer to that bugreport will hugely increase the chances of someone commenting it. My bad. It is: https://bugs.launchpad.net/zope2/+bug/211437 Wichert. signature.asc Description: This is a digitally signed message part ___ 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] Rejecting HTTPS-only cookies over plain HTTP
On Thu, 2008-04-03 at 14:41 -0400, Servilio Afre Puentes wrote: Hi folks! I have just posted a bug report on what I see as an inconsistent behaviour of BrowserIdManager. I'd appreciate any comments on the current code. Also, the patch I attached fixes a smaller bug causing a cookie not being flushed if cookie_secure is set and the request is served over plain HTTP. Regards, Servilio signature.asc Description: This is a digitally signed message part ___ 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] Re: GSoC proposal
Malthe Borch wrote: (Asking to the room), is it out of reach to simply migrate to zope.security (which already runs on Python 2.5)? Obviously there are differences between the two to the extent that some features simply can't be implemented. zope.security uses RestrictedPython, iirc... Chris -- Simplistix - Content Management, Zope Python Consulting - http://www.simplistix.co.uk ___ 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] Re: GSoC proposal
On 04/04/2008, Chris Withers [EMAIL PROTECTED] wrote: zope.security uses RestrictedPython, iirc... For untrusted python, yes –– but is anyone using this (in Zope 3)? It's integral to most Zope 2 applications of course to allow secure execution of Python scripts, so we will need to port RestrictedPython eventually. \malthe ___ 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] Re: GSoC proposal
On Apr 3, 2008, at 7:09 PM, Malthe Borch wrote: On 04/04/2008, Chris Withers [EMAIL PROTECTED] wrote: zope.security uses RestrictedPython, iirc... For untrusted python, yes –– but is anyone using this (in Zope 3)? It's integral to most Zope 2 applications of course to allow secure execution of Python scripts, so we will need to port RestrictedPython eventually. I *think* this was ported. Zope 3 does use it to moderate attribute access to simple objects, which aren't security proxied, in untrusted code. Jim -- Jim Fulton Zope Corporation ___ 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] Re: GSoC proposal
On Apr 3, 2008, at 7:09 PM, Malthe Borch wrote: On 04/04/2008, Chris Withers [EMAIL PROTECTED] wrote: zope.security uses RestrictedPython, iirc... For untrusted python, yes –– but is anyone using this (in Zope 3)? Yup. Gary ___ 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 )