Re: [Repoze-dev] entry points vs ZCA registrations

2010-11-15 Thread Martin Aspeli
On 15 November 2010 21:21, Michael Mulich mr...@psu.edu wrote: Part of my decision to use entry points was from my experience at pycon. People hear reference to zope and either cringe or run away. So if people see zope.* as a dependency they decide not to use use it. ;) I think this is one of

Re: [Repoze-dev] repoze.bfg is now Pyramid

2010-11-05 Thread Martin Aspeli
On 5 November 2010 19:50, Chris McDonough chr...@plope.com wrote: Personally, I couldn't be happier about this.  I'm proud of the work we've done so far, and I'm extremely optimistic about the future of Pyramid and the Pylons Project. Can I just say this is an almost unheard of degree of

Re: [Repoze-dev] Repackaged PIL 1.1.7

2010-04-16 Thread Martin Aspeli
Easy or not doesn't matter:  he flat refuses. To play devil's advocate: Why don't we just fork PIL entirely? I appreciate that a 1.1.7 came out recently, but before that 1.1.6 lasted three years. I doubt it'd be hard to keep up with a fork. The advantage is that we could package it

Re: [Repoze-dev] Repackaged PIL 1.1.7

2010-04-16 Thread Martin Aspeli
Hi Tres, On 17 April 2010 00:12, Tres Seaver tsea...@palladion.com wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Martin Aspeli wrote: Easy or not doesn't matter:  he flat refuses. To play devil's advocate: Why don't we just fork PIL entirely? I appreciate that a 1.1.7 came out

Re: [Repoze-dev] Build failed in Hudson: repoze.bfg #17

2010-03-03 Thread Martin Aspeli
Chris McDonough wrote: Please bear with us... we need to get a separate list set up for this and bug tracker stuff. Is there any documentation on how you've set this up? - What are you using for test reporting? collective.xmltestreport or something else? - How did you get Cobertura

Re: [Repoze-dev] Build failed in Hudson: repoze.bfg #17

2010-03-03 Thread Martin Aspeli
Chris McDonough wrote: Here's the set of commands that get run to test e.g. repoze.bfg: /opt/Python-2.6.4/bin/virtualenv --no-site-packages r$SVN_REVISION/ r$SVN_REVISION/bin/easy_install nose coverage nosexcover No sex cover, ey? That sounds like an STD risk. cd repoze.bfg-trunk

Re: [Repoze-dev] repoze.plone use with plone versions 3.1?

2010-01-17 Thread Martin Aspeli
Hanno Schlichting wrote: On Sun, Jan 17, 2010 at 10:51 AM, Wichert Akkermanwich...@wiggy.net wrote: There is something to consider: I suspect more things are started to require the new publisher events from Zope2, either directly or via one of the backport packages for Zope 2.10. I'm not sure

Re: [Repoze-dev] repoze.plone use with plone versions 3.1?

2010-01-16 Thread Martin Aspeli
ken manheimer wrote: now, instead of just asking whether and how to use plone under wsgi, i'm considering whether i should be looking at switching my focus to bfg, at least for some projects. while i'm thankful to better understand the various projects, i'm a bit overwhelmed at the

Re: [Repoze-dev] [Repoze-checkins] r7852 - in repoze.bfg/branches/wichert-paster: . repoze/bfg repoze/bfg/paster_templates/alchemy repoze/bfg/paster_templates/alchemy/+package+ repoze/bfg/paster_templ

2010-01-07 Thread Martin Aspeli
Wichert Akkerman wrote: On 2010-1-7 06:11, Chris McDonough wrote: OK, I took a look... Besides the paster thing, everything looks ok to me. Thanks for the work. Currently there are import errors that would prevent either the alchemy or the routesalchemy template from actually working.

Re: [Repoze-dev] repoze.vhm and repoze.zope2 odd behavior

2009-12-29 Thread Martin Aspeli
Nathan Van Gheem wrote: Thanks for the feedback on this. I've set up some tests that I think illustrate what is going on pretty well. We can get you svn access for sure. :) How can I go about getting that? Email Chris McDonough. At least that's what I did. ;) Here are the test results..

Re: [Repoze-dev] repoze.vhm and repoze.zope2 odd behavior

2009-12-29 Thread Martin Aspeli
Nathan Van Gheem wrote: So - this looks identical to the vanilla example (VIRTUAL_URL, ACTUAL_URL, URL). Does this configuration work as expected? Yes. As an aside, if you're using RewriteEngine anyway, you might as well use repoze.vhm#vhm_path. The X-header stuff is mostly useful

Re: [Repoze-dev] repoze.vhm and repoze.zope2 odd behavior

2009-12-29 Thread Martin Aspeli
Chris McDonough wrote: Martin Aspeli wrote: I assumed it was just acquisition trickery. Looking more closely, z2bob.py uses the repoze.vhm.virtual_root via the getVirtualRoot in the repoze.vhm.utils package to get the virtual root and it seems to create the correct path for traversal

Re: [Repoze-dev] repoze.vhm and repoze.zope2 odd behavior

2009-12-27 Thread Martin Aspeli
Hanno Schlichting wrote: On Sun, Dec 27, 2009 at 7:21 PM, Nathan Van Gheemvangh...@gmail.com wrote: The page renders completely fine with those actions missing. I stepped into the code a bit and the plone.contentactions viewlet isn't even called when repoze.vhm is used. Hhm, the only

Re: [Repoze-dev] repoze.vhm and repoze.zope2 odd behavior

2009-12-27 Thread Martin Aspeli
Hi Nathan, is_view_template is not working correctly because the VIRTUAL_URL is not getting set correctly in repoze.vhm. Basically, repoze.zope2 uses the environ value of repoze.vhm.virtual_url to generate the VIRTUAL_URL. Then the actual url is grabbed from that VIRTUAL_URL. As far as I

Re: [Repoze-dev] new site based on repoze.bfg

2009-12-01 Thread Martin Aspeli
Tim Hoffman wrote: Hi Folks I have been working on a site (www.polytechnic.wa.edu.au) based on repoze.bfg running on app engine for the last few months. Hey, cool, Python people in WA. :) And for you ignorant Americans, that's not Washington, that's Western Australia. Nice site, too. (I

Re: [Repoze-dev] new site based on repoze.bfg

2009-12-01 Thread Martin Aspeli
Martin Aspeli wrote: Tim Hoffman wrote: Hi Folks I have been working on a site (www.polytechnic.wa.edu.au) based on repoze.bfg running on app engine for the last few months. Hey, cool, Python people in WA. :) And for you ignorant Americans, that's not Washington, that's Western

Re: [Repoze-dev] new site based on repoze.bfg

2009-12-01 Thread Martin Aspeli
Malthe Borch wrote: 2009/12/1 Martin Aspeli optilude+li...@gmail.com: Lest I offended anybody, I would like to insert an additional smiley at the end of that last sentence, like so: ;-) I think there was no offense, but it is only fair to mention that the British are very much at war

Re: [Repoze-dev] new site based on repoze.bfg

2009-12-01 Thread Martin Aspeli
Steve Schmechel wrote: Your blog still places you in London. http://optilude.blogspot.com/ That's not my blog (anymore). That's like three blogs ago. There's also http://optilude.wordpress.com (dead) and http://martinaspeli.net (less dead). And yes, I do live in Australia at the moment.

Re: [Repoze-dev] new site based on repoze.bfg

2009-12-01 Thread Martin Aspeli
Tim Hoffman wrote: I didn't know you where in Aus, where abouts ? West Perth. Martin -- Author of `Professional Plone Development`, a book for developers who want to work with Plone. See http://martinaspeli.net/plone-book ___ Repoze-dev mailing

Re: [Repoze-dev] new site based on repoze.bfg

2009-12-01 Thread Martin Aspeli
Tim Hoffman wrote: You mean Sparx EA? How do you use it? Yep, very nice piece of software. Mmm... I have worked with it quite a bit. It's pretty good for UML. It's not quite there yet for actual Enterprise Architecture modelling. And it has some really weird bits, like the way you build

Re: [Repoze-dev] new site based on repoze.bfg

2009-12-01 Thread Martin Aspeli
Tim Hoffman wrote: Bloody hell. How long have you been in Perth? Since February. :) KT Studio was in West Perth (Dumas House) when I started with them in 2001, then we moved to East Perth, the more recently to Bentley (Tech Park, but part of Swan Tafe - since rebranded to Polytechnic

Re: [Repoze-dev] Package naming

2009-11-02 Thread Martin Aspeli
Malthe Borch wrote: Perhaps packages which provide middleware functionality should be named ``wsgi.*``, e.g. ``wsgi.bitblt`` or ``wsgi.who`` and we'd opt similar namespaces for packages that belong to other realms. I think it's better to use top-level namespaces to indicate ownership, if

Re: [Repoze-dev] zope.schema, zope.formlib in bfg? or help a newb understand zca coolness

2009-10-03 Thread Martin Aspeli
Thomas G. Willis wrote: OK, not sure if this is a blasphemous question or not. I've been slowly working through Web Component Development with Zope 3 , and instead of trying out the things in zopeproject, I figured that trying out the things in bfg as well may yield a greater understanding

Re: [Repoze-dev] zope.schema, zope.formlib in bfg? or help a newb understand zca coolness

2009-10-03 Thread Martin Aspeli
Hi Chris, Chris McDonough wrote: Form generation libraries that contain validation are very tough to generalize in a way that lends itself to framework convenience. I think Formish does a pretty good job here, because it physically separates out a lot of stuff that's all glommed

[Repoze-dev] repoze.vhm and ports other than 80

2009-08-09 Thread Martin Aspeli
Hi, I've been debugging some weirdness with deliverance 0.3 in front of repoze.vhm and the vhm_xhosts middleware, which specifically happens when the VHM host has a port in it (e.g. localhost:8000). Basically, Deliverance uses webob.Request, and in particular its 'url' property to construct

Re: [Repoze-dev] repoze.vhm and ports other than 80

2009-08-09 Thread Martin Aspeli
Chris McDonough wrote: On 8/9/09 8:16 AM, Martin Aspeli wrote: Hi, I've been debugging some weirdness with deliverance 0.3 in front of repoze.vhm and the vhm_xhosts middleware, which specifically happens when the VHM host has a port in it (e.g. localhost:8000). Basically, Deliverance uses

Re: [Repoze-dev] repoze.bfg 1.0 final to be released by Monday July 6.

2009-06-29 Thread Martin Aspeli
Chris McDonough wrote: If nobody finds any showstopper bugs, repoze.bfg 1.0 will be released on or before Monday July 6. Speak now or forever hold your peace wrt to API issues; after 1.0 the existing APIs will be frozen. No comments on the stability of the release at all, but it seems a

Re: [Repoze-dev] Is it possible to integrate repoze.plone and Pylons in one WSGI application?

2009-06-18 Thread Martin Aspeli
Edwin Chu wrote: Hi all I am working on a project using Pylons and I need to add CMS functionality to that Pylons project. I am looking for some existing CMS solution that can be integrated into Pylons WSGI pipeline. The requirements of the CMS are basic, like editing page content, menu

Re: [Repoze-dev] bobo ?

2009-06-13 Thread Martin Aspeli
Chris McDonough wrote: On 6/13/09 9:33 AM, Andreas Reuleaux wrote: has anyone had a look at bobo (recently created by Jim Fulton)? http://bobo.digicool.com/ Seems similar in spirit to bfg, I wonder why he doesn't want to join bfg development. Maybe it's just for fun? I suspect Jim's

Re: [Repoze-dev] repoze grok comparison

2009-05-07 Thread Martin Aspeli
Shane Hathaway wrote: Martin Aspeli wrote: The grok approach is unfamiliar at first, for sure, and could do with more documentation. But then so could the writing of ZCML directives. Grok (and martian) do have some really nice abstractions, including good testing support. I have

Re: [Repoze-dev] repoze.bfg trunk C-free

2009-05-03 Thread Martin Aspeli
Malthe Borch wrote: 2009/5/2 Chris McDonough chr...@plope.com: Tim Hoffman has been trying to get it going on GAE, and I think the trunk mostly works except for the chameleon.zpt bits (there are apparently no ast or compiler modules on GAE). Which is part of the reason why GAE is immature

Re: [Repoze-dev] repoze.zope2: Post-publication response modification

2009-04-13 Thread Martin Aspeli
Hi Chris, If you only need to transform pages that are rendered as the result of responses that are not due to errors, you could modify the repoze.zope2 ObobHelper class' map_result method and add a line around line 527 that sends an event. I think we do need to handle at least things

Re: [Repoze-dev] bfg zcml directives...

2008-12-22 Thread Martin Aspeli
Mmmm... I didn't mean for this to get quite so emotional. :) Chris (and Agendaless) is of course free to do whatever he wants with BFG. And as I've shown many times, I'm very supportive of the great work coming out of the Repoze project. However, if Repoze is aiming to bridge the gap between

Re: [Repoze-dev] bfg zcml directives...

2008-12-22 Thread Martin Aspeli
Tres Seaver wrote: Note that one change I would make to the docs is to make using the 'bfg' namespace *not* the default in the examples; marking each non-Zope directive with 'bfg:' (in the examples, not necessarily in a real-world config) would remind people, this is not your father's

Re: [Repoze-dev] bfg zcml directives...

2008-12-22 Thread Martin Aspeli
Paul Everitt wrote: On Dec 22, 2008, at 1:06 PM, Martin Aspeli wrote: Wichert Akkerman wrote: Previously Martin Aspeli wrote: If you want to pull in, say, plone.supermodel (a pure Zope 3 package that should be re-usable and may be useful to BFG if it ever wants to serialise Zope 3

Re: [Repoze-dev] bfg zcml directives...

2008-12-22 Thread Martin Aspeli
Wichert Akkerman wrote: If reimplementing something is easy to do (which is generally true considering we all have Zope's source) and allows you to drop all that extra baggage that - why not? Because you have to maintain it forever. Of course, you may not mind doing that - it'll be a

Re: [Repoze-dev] Merging repoze.who and tgext.authorization?

2008-10-26 Thread Martin Aspeli
Gustavo Narea wrote: 1.- Turn tgext.authorization into repoze.what (who - authentication; what - authorization). But this won't solve the problem with the documentation nor the plugins. With no technical understanding of the problem domain whatsoever, I vote +1 to this name. :p Martin

Re: [Repoze-dev] z3c.pt maillist/tracker/docs and so on...

2008-08-11 Thread Martin Aspeli
Chris McDonough wrote: OK... z3c.pt project created at http://code.google.com/p/z3c-pt/ Google group at http://groups.google.com/group/z3c_pt I've made Malthe an owner of the Google group and once everybody else signs up I'll do the same for the project.. Can we get this into gmane too?

Re: [Repoze-dev] Keeping pages out of deliverance's hands

2008-04-12 Thread Martin Aspeli
Reinout van Rees wrote: Hi all, One thing that's not clear to me: how to keep certain pages out of deliverance's hands? The zmi pages (/manage, /manage_main, etc.) are the ones I'm most interested in at the moment. If I tickle my brain I come up with some irc messages and some emails,