Re: [Repoze-dev] Buildbot for Repoze

2009-05-08 Thread Chris McDonough
On 5/8/09 8:12 PM, Sebastien Douche wrote: Hi :) I set up a buildbot for Repoze BFG after grok[1] zope3[2]). How test it? The buildout have not test part. [1] http://grok.buildbot.securactive.org/waterfall [2] http://zope.buildbot.securactive.org/waterfall python setup.py test - C

Re: [Repoze-dev] repoze grok comparison

2009-05-07 Thread Chris McDonough
On 5/7/09 3:01 PM, Shane Hathaway wrote: Martin Aspeli wrote: Well... in any case, this discussion is somewhat moot since only framework authors should ever need to write directives or grokkers. In that case, you're disagreeing with my position. Let me state it differently: if only

Re: [Repoze-dev] repoze grok comparison

2009-05-07 Thread Chris McDonough
On 5/7/09 3:44 PM, Shane Hathaway wrote: Chris McDonough wrote: c) handlers actually just *returned* something rather than being called for their side effects. The thing the handler returns could implement the IConfigurationAction interface described here: http://wiki.zope.org/zope3

Re: [Repoze-dev] repoze grok comparison

2009-05-07 Thread Chris McDonough
On 5/7/09 6:17 PM, Shane Hathaway wrote: Chris McDonough wrote: On 5/7/09 5:28 PM, Shane Hathaway wrote: Or just make it simple, and return a tuple of (callback, discriminator). Or a sequence of like [(callback, discriminator), (callback, discriminator), etc], as you say. True. Is it time

Re: [Repoze-dev] repoze grok comparison

2009-05-06 Thread Chris McDonough
On 5/6/09 3:33 PM, Shane Hathaway wrote: Fernando Correa Neto wrote: Adding new template engines to BFG require you to know python while in GROK, it'd require you to grok grok first (which in would then introduce the developer to ZCA) which is definitely a Zope3 thing. You hit on a point

Re: [Repoze-dev] repoze grok comparison

2009-05-04 Thread Chris McDonough
On 5/4/09 1:21 AM, Iain Duncan wrote: Hi folks, I'm new here and was wondering if there is a good Repoze.bfg to Grok comparison page anywhere. If not, I'd like to recommend that it would be a great addition to the docs. I know there is a brief comparison up there, but to someone like me who is

Re: [Repoze-dev] repoze.bfg on gae with zope.pagetemplate and helper routines

2009-05-04 Thread Chris McDonough
Hi Tim, Carlos de la Guardia created zope.pagetemplate bindings for bfg the other day (http://svn.repoze.org/repoze.bfg.zopepagetemplate/trunk/). I might try to change that if it doesn't have what you need to get ZPT support, and then, if necessary, create another package that has the other

Re: [Repoze-dev] [issue72] Python 2.4 and profiler, broken with pyprof2calltree

2009-05-04 Thread Chris McDonough
I still use it with 2.4 (or at least I have in the past, not lately). It'd kinda suck to not be able to profile our old apps that require 2.4. On 5/4/09 1:37 PM, Hanno Schlichting wrote: Hanno Schlichtinghanno...@hannosch.eu added the comment: Since I added that particular dependency I

[Repoze-dev] [issue72] Python 2.4 and profiler, broken with pyprof2calltree

2009-05-04 Thread Chris McDonough
Chris McDonough chr...@plope.com added the comment: I still use it with 2.4 (or at least I have in the past, not lately). It'd kinda suck to not be able to profile our old apps that require 2.4. __ Repoze Bugs b...@bugs.repoze.org http://bugs.repoze.org/issue72

Re: [Repoze-dev] Run repoze.bfg on Google App Engine

2009-05-03 Thread Chris McDonough
On 5/3/09 1:47 PM, Chris McDonough wrote: Cool.. I can't seem to see any content on the tutorial page, though. Nevermind, I found it. ;-) http://xmuer.appspot.com/wiki/gae/bfg_install - C On 5/3/09 6:40 AM, YoungKing wrote: I just made a tutorial at http://xmuer.appspot.com/wiki/gae

Re: [Repoze-dev] Run repoze.bfg on Google App Engine

2009-05-03 Thread Chris McDonough
I've massaged this tutorial (learning GAE in the meantime) and I've put it into the BFG docs: http://svn.repoze.org/repoze.bfg/trunk/docs/tutorials/gae/index.rst Thanks! - C On 5/3/09 6:40 AM, YoungKing wrote: I just made a tutorial at http://xmuer.appspot.com/wiki/gae/bfg_installaccoding to

Re: [Repoze-dev] Separate 'compile' and 'execute' steps in Chameleon [was: Re: repoze.bfg trunk C-free]

2009-05-03 Thread Chris McDonough
On 5/3/09 8:51 PM, Sidnei da Silva wrote: On Sat, May 2, 2009 at 1:53 PM, Carlos de la Guardia carlos.delaguar...@gmail.com wrote: Chameleon.* will not work because it needs to generate code objects and that's forbidden in GAE (no marshal.py, parser.py or direct calls to new.code() or

Re: [Repoze-dev] BFG now running on windows (was Re: repoze.bfg trunk C-free)

2009-05-02 Thread Chris McDonough
On 5/2/09 4:21 AM, Hanno Schlichting wrote: Chris McDonough wrote: I just tried running the c-free version of on Windows for the first time and ran into an issue where zope.1i8nmessageid required compilation. Hhm, which version of the package did you use? At least for 3.4.3

[Repoze-dev] BFG running on Google App Engine

2009-05-02 Thread Chris McDonough
Carlos de la Guardia has repoze.bfg running on Google App Engine: http://bfgapp.appspot.com chameleon.zpt doesn't work there, but Jinja2 does, so we're using http://svn.repoze.org/repoze.bfg.jinja2/trunk/ Three cheers for Carlos.. - C ___ Repoze-dev

Re: [Repoze-dev] repoze.plugin documentation

2009-04-29 Thread Chris McDonough
within the unit test itself. The main benefit of this is that registrations made only to service unit tests don't need to pollute ZCML. - C On 4/27/09 2:56 PM, Chris McDonough wrote: On 4/27/09 1:18 PM, Chris McDonough wrote: I find the introduction lacking; why do I care about indirection

Re: [Repoze-dev] Configuring classifiers in repoze.who

2009-04-29 Thread Chris McDonough
On 4/29/09 2:14 PM, Ignacio Ortega wrote: Hi: I made my own classifier to have a specific identifier and challenger when I make a request from different sources (browser, script, another app...). But I dont get how I can set tha, for example, if my classifier detects that it's a script

Re: [Repoze-dev] repoze.plugin documentation

2009-04-29 Thread Chris McDonough
On 4/29/09 4:32 PM, Ian Bicking wrote: Some questions that come to mind: When I was discussing cases like this with Rob Miller, we also found most plausible pluggability points required specific configuration. For this example there's the client_templates value. You could possibly have a

Re: [Repoze-dev] repoze.plugin documentation

2009-04-27 Thread Chris McDonough
On 4/27/09 2:12 PM, Tres Seaver wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Chris McDonough wrote: On 4/27/09 1:28 PM, Martin Aspeli wrote: Chris McDonough wrote: But anyway, yeah. For someone who has never used zope.component, though, it's really not that important (more

Re: [Repoze-dev] repoze.plugin documentation

2009-04-27 Thread Chris McDonough
On 4/27/09 1:18 PM, Chris McDonough wrote: I find the introduction lacking; why do I care about indirection, what's the benefit. Good point. Um. Why *do* we care about indirection? In particular, why do we care about this sort of generic-function-ish dispatch pattern we call adaptation

[Repoze-dev] removing the lxml dependency from bfg

2009-04-26 Thread Chris McDonough
Malthe Borch just made a release of chameleon.core and chameleon.zpt that removes any dependency on lxml. Woo hoo, thanks Malthe! The benefits of this: it should be possible to install BFG on all systems much more easily and it should be reasonable to use BFG on Windows and GAE. However, to

[Repoze-dev] [issue71] repoze.who has problems with generator wsgi applications.

2009-04-23 Thread Chris McDonough
Chris McDonough chr...@plope.com added the comment: Thank you for the patch! It appears that every piece of middleware I've ever written is broken in the same way. I'll apply this and make a new release after I write tests for your wrap_generator function and the bit that calls it. If you

[Repoze-dev] [issue71] repoze.who has problems with generator wsgi applications.

2009-04-23 Thread Chris McDonough
Chris McDonough chr...@plope.com added the comment: This patch was placed into 1.0.13, which I just released to PyPI (and to our internal lemonade index). Thanks again. -- status: chatting - resolved __ Repoze Bugs b...@bugs.repoze.org http

Re: [Repoze-dev] bfg.repoze.org site needs testing/help

2009-04-21 Thread Chris McDonough
On 4/21/09 2:19 AM, Malthe Borch wrote: 2009/4/20 Chris McDonoughchr...@plope.com: Thanks to Carlos de la Guardia, repoze.bfg now has its own web presence at http://bfg.repoze.org . The site is basically just a way to browse and search BFG documentation and user-supplied content and to get

[Repoze-dev] bfg.repoze.org site needs testing/help

2009-04-20 Thread Chris McDonough
Thanks to Carlos de la Guardia, repoze.bfg now has its own web presence at http://bfg.repoze.org . The site is basically just a way to browse and search BFG documentation and user-supplied content and to get an account so you can add Trac issues and tutorials. Another goal of the site is to

[Repoze-dev] [issue11] Make blog entries on homepage dynaimc

2009-04-18 Thread Chris McDonough
Chris McDonough chr...@plope.com added the comment: snarf_blog will do. -- status: deferred - resolved __ Repoze Bugs b...@bugs.repoze.org http://bugs.repoze.org/issue11

[Repoze-dev] [issue1] Deploying Python web applications is hard

2009-04-18 Thread Chris McDonough
Chris McDonough chr...@plope.com added the comment: Got this one licked mostly I think. -- status: in-progress - resolved __ Repoze Bugs b...@bugs.repoze.org http://bugs.repoze.org/issue1

[Repoze-dev] [issue62] repoze.who logging fixup

2009-04-18 Thread Chris McDonough
Chris McDonough chr...@plope.com added the comment: Patch applied (long ago). -- status: unread - resolved __ Repoze Bugs b...@bugs.repoze.org http://bugs.repoze.org/issue62

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

2009-04-13 Thread Chris McDonough
On 4/13/09 7:32 AM, Martin Aspeli wrote: Hi, I'm looking for something equivalent to plonepostpublicationhook (http://pypi.python.org/pypi/plone.postpublicationhook) for use with repoze.zope2. That is, I want to be able to install a component that can modify the response before it goes out

[Repoze-dev] [issue64] repoze.zope2 not compatible with zope 2.12 browser resources

2009-02-27 Thread Chris McDonough
New submission from Chris McDonough chr...@plope.com: Apparently repoze.zope2 calls the __call__ method of file resources rather than the GET method as it should, when trying to return a resource. Zope 3 browser resources: http://zope3.pov.lt/trac/browser/zope.app.publisher/trunk/src/zope

Re: [Repoze-dev] [Repoze-checkins] r3602 - in repoze.catalog/trunk: . repoze/catalog repoze/catalog/indexes repoze/catalog/indexes/tests

2009-02-12 Thread Chris McDonough
If one of the terms is a range search. - C On Feb 12, 2009, at 5:37 PM, Tres Seaver wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Chris McDonough wrote: - It is now possible to pass a dictionary to the CatalogFieldIndex ``apply`` method. When a dictionary is passed, the member

Re: [Repoze-dev] repoze.who and script_name

2009-02-09 Thread Chris McDonough
Tres Seaver wrote: Chris McDonough wrote: FTR, I tried to apply the patch referenced in Lukasz' email to redirectingformplugin, but as I was doing that, I realized I don't know where SCRIPT_PATH is supposed to come from. It's not a CGI or WSGI envvar as far as I can tell and it's

[Repoze-dev] dispensation to change bfg model_path

2009-02-03 Thread Chris McDonough
Currently repoze.bfg.traversal.model_path returns a string (composed of names separated by slashes). No escaping is done of the individual path segments. This makes it impossible to use model_path in any meaningful way against a model lineage that contains a slash character in any model name.

[Repoze-dev] repoze.bfg 0.6.7 released

2009-01-27 Thread Chris McDonough
Due to customer requirements, repoze.bfg 0.6.7 was just released. It contains no backwards incompatibilities, but adds a virtual root feature, and allows the model_url API to work against Routes contexts. The changelog: 0.6.7 (2009-01-27) == Features - The

[Repoze-dev] repoze.bfg 0.6.5 released

2009-01-26 Thread Chris McDonough
repoze.bfg 0.6.5 was just put into the http://dist.repoze.org/lemonade/dev/simple/ index. This release has a couple of new features, but it's mostly a speed micro-optimization release. As a result, a repoze.bfg hello world application runs (for me) at somewhere between 900 and 1100 req/sec on a

Re: [Repoze-dev] [tg-trunk] Re: Authorization messages are not flashed anymore

2009-01-21 Thread Chris McDonough
Alberto Valverde wrote: Confirmed. The following patch makes the test pass so it will probably fix the flash issue: Index: repoze/who/plugins/form.py === --- repoze/who/plugins/form.py(revision 3293) +++

[Repoze-dev] repoze.bfg 0.6.3

2009-01-19 Thread Chris McDonough
I've been asked to ping the list when I made a new releases of repoze.bfg. So here's the first ping. I've released repoze.bfg 0.6.3. It's in the http://dist.repoze.org/lemonade/dev/simple index. It's a fairly major release but it should present no backwards compatibility problems. The major

Re: [Repoze-dev] url dispatch ng for repoze.bfg

2009-01-18 Thread Chris McDonough
Malthe Borch wrote: Chris McDonough wrote: Here's an example of some ZCML that would create a Routes route: route name=blog_entry path=/blog/:id/:view_name context_factory=.blog.BlogEntry context_interfaces=.interfaces.IBlogEntry .interfaces.IContent /route

[Repoze-dev] url dispatch ng for repoze.bfg

2009-01-17 Thread Chris McDonough
I made a mistake by adding the current generation of URL-dispatch behavior to repoze.bfg. Currently, repoze.bfg allows you to use Routes to invoke a bfg view with a manufactured context based on a route match. To do so, you configure a repoze.bfg.urldispatch.RoutesMapper as the bfg get_root

Re: [Repoze-dev] custom Request and Response classes in repoze.bfg

2009-01-14 Thread Chris McDonough
Rob Miller wrote: hey all, so in building my first repoze.bfg app, it's occurred to me that i'd like to use a custom Request and Response classes, just simple subclasses of the WebOb defaults so that i can set configurable class variables like default_charset. unless i'm missing

Re: [Repoze-dev] Plans for repoze.what v2

2009-01-06 Thread Chris McDonough
Jorge Vargas wrote: On Tue, Jan 6, 2009 at 1:51 PM, Gustavo Narea m...@gustavonarea.net wrote: Hello, everybody. I've already started the development of the next major release of repoze.what (initially labeled as v1.5), v2.0, and I wanted to let you know about my plans and also get

Re: [Repoze-dev] Plans for repoze.what v2

2009-01-06 Thread Chris McDonough
Gustavo Narea wrote: I'm not sure *just* adding roles really cuts it for maximum generality. Maximum generality may not be a goal here, however, and that's your call. But I'll note that roles granted to users or groups seems to be just another way to spell global assertions. A common thing

Re: [Repoze-dev] repoze.zcml slightly incompatible with zope 3.4

2008-12-29 Thread Chris McDonough
I release a new version of repoze.zcml (0.2) a few days ago that depends explicitly on zope.component=3.5.0. But this won't help you if you really do want it to work under stock 3.4. I think the ultimate fix is to remove the ZCML from chameleon (and thus not depend on repoze.zcml or

[Repoze-dev] bfg 0.6 (slight backwards incompatiblities)

2008-12-26 Thread Chris McDonough
I am about to release repoze.bfg 0.6 to the lemonade index. It has some backwards incompatibilities, listed below (thus its version number being bumped from the last revision of 0.5.6 to 0.6). I've included the changelog information in this post; it has instructions which should allow you to

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

2008-12-22 Thread Chris McDonough
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 schema interfaces to/from an XML representation) well,

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

2008-12-22 Thread Chris McDonough
Martin Aspeli wrote: Paul Everitt wrote: On Dec 22, 2008, at 6:36 AM, Martin Aspeli wrote: 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

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

2008-12-21 Thread Chris McDonough
Wichert Akkerman wrote: Previously Martin Aspeli wrote: Chris McDonough wrote: That package is now done... http://static.repoze.org/zcmldocs and http://pypi.python.org/pypi/repoze.zcml/0.1 I've adjusted the trunk of bfg and the trunk of chameleon.zpt to use ZCML declaration

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

2008-12-21 Thread Chris McDonough
Martin Aspeli wrote: Paul Everitt wrote: That seems like a false leap. I freely admit to using hyperbole in my original email to draw out a debate. :-) It does bother me a little, though, that the fix seems to be to fork/re-implement rather than to try and push something downstream.

Re: [Repoze-dev] Redirecting Form, TG2 intergration, and failed logging message

2008-12-16 Thread Chris McDonough
Gustavo Narea wrote: Hi. I've read the code for the RedirectingFormPlugin and I think that in our situation, one solution would be to write our own RedirectingFormPlugin-like plugin, adapted to what we want. Although I think it'd be even better if RedirectingFormPlugin (optionally)

Re: [Repoze-dev] Redirecting Form, TG2 intergration, and failed logging message

2008-12-16 Thread Chris McDonough
On Tue, Dec 16, 2008 at 8:22 PM, Chris McDonough chr...@plope.com wrote: Gustavo Narea wrote: Hi. I've read the code for the RedirectingFormPlugin and I think that in our situation, one solution would be to write our own RedirectingFormPlugin-like plugin, adapted to what we want. Although I

Re: [Repoze-dev] bfg Buildout comments.

2008-12-13 Thread Chris McDonough
jpe...@ykksnap-america.com wrote: Platform current Debian Sid python2.5. 0) nothing to do with repoze. virtualenv -p python2.5 ... does not work. python2.5 /usr/lib/python2.5/site-packages/virtualenv.py ... is fine. Also, current Debian may have multiple python-dev packages, choose

Re: [Repoze-dev] repoze.bfg

2008-07-17 Thread Chris McDonough
Ian Bicking wrote: Chris McDonough wrote: Does this make more sense now? Say yes even if it doesn't because this took a lot of typing. ;-) Yes ;) You can leverage your typing by copying that into the docs too ;) I was thinking of just that when I saw your email back ;-) - C

[Repoze-dev] repoze.bfg

2008-07-16 Thread Chris McDonough
I've been working on a new web framework named (provisionally) repoze.bfg. The relevant README is here: http://svn.repoze.org/repoze.bfg/trunk/README.txt It is essentially a Zope lite. It is Zope-ish in that: - it uses a lot of Zope libraries and concepts (interfaces, some CA constructs,

Re: [Repoze-dev] Z2.9 incompatibilites with tarballs on dist.repoze.org

2008-07-16 Thread Chris McDonough
Chris McDonough wrote: Alan Milligan wrote: Hi, I'm in the midst of rolling repoze out on our BastionLinux RPM's (at https://linux.last-bastion.net/LBN/up2date/plope/6 (repoze.* and zope.*) for *exactly* what files and versions are being shipped). We're at zope-2.9.9, the latest release

Re: [Repoze-dev] repoze.tm wishlist

2008-07-14 Thread Chris McDonough
Mark Ramm wrote: So, we're finally getting around to handling transactions in middleware in tg2, and Alberto and I have been playing with different variations on the repoze.tm theme, and ultimately I think it might be good if we had a transaction middleware that provided a bit more

Re: [Repoze-dev] repoze.tm wishlist

2008-07-14 Thread Chris McDonough
Re-added to list... Alberto Valverde wrote: Mark Ramm wrote: So, we're finally getting around to handling transactions in middleware in tg2, and Alberto and I have been playing with different variations on the repoze.tm theme, and ultimately I think it might be good if we had a transaction

Re: [Repoze-dev] Error creating a Plone site

2008-07-11 Thread Chris McDonough
Ouch. Our repoze.plone egg had bad dependencies. Apologies for this. I've uploaded a new repoze.plone distribution (3.1.2.0) and I've fixed the http://dist.repoze.org/plone/3.1.2 index, adding several new packages that didn't have the right versions by re-matching everything again the Plone

[Repoze-dev] http://dist.repoze.org/simple index retired

2008-05-17 Thread Chris McDonough
The index at http://dist.repoze.org/simple has been retired and any files it referred to that used to live in the http://dist.repoze.org root have been moved into individual index directories. There are now index directories in the root for plone, django, zope, trac, tasty, and who. There is

[Repoze-dev] [issue38] easy_install using http://dist.repoze.org/plone/3.1.1/simple/ fails creates broken software

2008-05-12 Thread Chris McDonough
New submission from Chris McDonough [EMAIL PROTECTED]: Something (probably a distribution-links=) causes virtualenv+easy_install to get the Products.GenericSetup 1.3.3 egg instead of the correct (1.4) version from the index. -- messages: 102 nosy: chrism priority: urgent status

Re: [Repoze-dev] tg.repoze.who and ProxyPass

2008-05-09 Thread Chris McDonough
', FORMBODY) - C percious wrote: Yeah, I realized that. I was just wondering, how can I get it to automatically figure out the paste prefix? This is something that goes off without a hitch in toscawidgets. cheers. -chris On May 9, 5:15 pm, Chris McDonough [EMAIL PROTECTED] wrote: I think

Re: [Repoze-dev] tg.repoze.who

2008-05-02 Thread Chris McDonough
percious wrote: Hey guys. Nice work on repoze.who. I am using it in my production tg2 server. Thank you, and great. Our customer has a need to hook authentication into LDAP. The idea is that LDAP would athenticate the user, and the LDAP username would then be used to perform a lookup on

[Repoze-dev] [issue30] if-modified-since requests seem to fail

2008-04-30 Thread Chris McDonough
Chris McDonough [EMAIL PROTECTED] added the comment: David indicated that this only happened when css debug mode was on... __ Repoze Bugs [EMAIL PROTECTED] http://bugs.repoze.org/issue30

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

2008-04-13 Thread Chris McDonough
Tom Lazar wrote: On Apr 13, 2008, at 6:20 PM, Chris McDonough wrote: Tom Lazar wrote: On 2008-04-13 01:10:08 +0200, Chris McDonough [EMAIL PROTECTED] said: Tom Lazar wrote: On 2008-04-12 22:42:22 +0200, Martin Aspeli [EMAIL PROTECTED] said: Reinout van Rees wrote: Hi all, One thing

[Repoze-dev] [issue33] need exception handling docs

2008-04-10 Thread Chris McDonough
New submission from Chris McDonough [EMAIL PROTECTED]: We need exception handling docs for repoze.zope2 that give a side-by-side comparison of using standard_error_message and http://pythonpaste.org/module-paste.errordocument.html to catch errors and show results. -- messages: 94

Re: [Repoze-dev] WSGI Sprint series

2008-03-28 Thread Chris McDonough
password encryption out for the moment but it should be straightforward to add this later on) Now we need to decide where we want to keep that code. I would be tempted to host those tg2whoplugins in the turbogears svn. What do you think ? I wanted to shout a great Thank You to Chris McDonough

<    1   2   3   4   5