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

[Repoze-dev] [issue31] New blog backend

2008-04-03 Thread Chris McDonough
New submission from Chris McDonough [EMAIL PROTECTED]: We need a new blog backend that supports posting entries through the web as well as commenting. -- messages: 88 nosy: chrism priority: feature status: in-progress title: New blog backend __ Repoze

[Repoze-dev] [issue31] New blog backend

2008-04-04 Thread Chris McDonough
Chris McDonough [EMAIL PROTECTED] added the comment: Tim Knapp (duffyd) volunteered to help set one up, so we'll go with whatever he eventually chooses (the only limitation I expressed was that it would be WSGI). Paul Everitt wrote: Paul Everitt [EMAIL PROTECTED] added the comment: We

[Repoze-dev] [issue32] RequestHeader vs. Header in apache vhm config

2008-04-10 Thread Chris McDonough
Chris McDonough [EMAIL PROTECTED] added the comment: There is also a potential issue when *not* setting the vhm root as per a conversation on IRC tonight. Need to try this as the host without a root.. the bug reporter indicated it returned a notfound: http://foo/bar -- status: unread

[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] 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] [issue34] plone openid gives Redirect traceback

2008-04-16 Thread Chris McDonough
Chris McDonough [EMAIL PROTECTED] added the comment: This is fixed with the release of repoze.zope2 0.3.6. See http://lists.repoze.org/pipermail/repoze- checkins/2008-April/000672.html for the details. Thanks for the report! -- status: unread - resolved

[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] 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

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

[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

[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

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

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

[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] repoze.bfg

2008-07-16 Thread Chris McDonough
Paul Everitt wrote: I'm not planning to check it in as I believe the universe of people interested in it might be rather small. [wink] I think templating and the rest of repoze.bfg will continue evolving, and having a second templating model is premature. It'd be fine to check in, I

Re: [Repoze-dev] repoze.bfg

2008-07-16 Thread Chris McDonough
Alberto Valverde wrote: Hi Chris, This is very interesting, really. I'm going to steal many of your ideas ;). Incidentally, we're both developing something similar at the same time. It seems to me that repoze.bfg's goals are pretty similar to Rum's [1] and repoze.lemonade looks like

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] Z2.9 incompatibilites with tarballs on dist.repoze.org

2008-07-16 Thread Chris McDonough
Chris McDonough wrote: 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

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

2008-07-16 Thread Chris McDonough
Alan Milligan wrote: Chris McDonough wrote: Chris McDonough wrote: 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

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

Re: [Repoze-dev] repoze.bfg

2008-07-18 Thread Chris McDonough
Fernando Correa Neto wrote: Hey On Thu, Jul 17, 2008 at 10:40 PM, Chris McDonough [EMAIL PROTECTED] wrote: [snip] View code doesn't typically need to handle traversal in bfg (the framework handles it), so that makes both of the examples above more complicated than necessary. Let's

Re: [Repoze-dev] OpenId and LDAP authentication

2008-08-15 Thread Chris McDonough
You can also take a look at the sample plugins in the plugins directory in the package itself to get a sense of how it all hangs together. And of course you can use IRC or this ML if you get stuck. Thanks! - C On Aug 15, 2008, at 9:38 AM, Gustavo Narea wrote: Hello, Chris! I already

Re: [Repoze-dev] News from Plone trunk - Repoze / WSGI

2008-11-23 Thread Chris McDonough
FTR, building on Hanno's work, I've created an index that allows for the installation of the Zope2 trunk suitable for use with easy_install (requiring no buildout). To do so, I created eggs from the externals used within the buildout directory, and put them in the index. Here's the set of

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] 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

[Repoze-dev] bfg zcml directives...

2008-12-20 Thread Chris McDonough
As a result of messing around with the ZCA + ZCML outside the context of Zope, I've found that it may be possible to significantly reduce the number of egg dependencies of BFG by replacing the code that allows the following ZCML directives to work: - utility - adapter - interface - subscriber As

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
: 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 implementations from this rather than using the stock implementations

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] bfg zcml directives...

2008-12-22 Thread Chris McDonough
Martin Aspeli wrote: repoze.zcml is a symptom that an improvement is needed further down the stack. In the Plone world, we've learned the hard way that rolling your own to avoid having to push something deeper into the stack is a costly strategy in the long run. Paul should certainly know

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

[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 0.6 (slight backwards incompatiblities)

2008-12-26 Thread Chris McDonough
Note also that a lot of zope.* dependencies in the lemonade index were also updated: zope.interface zope.configuration zope.testing zope.schema zope.i18n The newer versions provide for better dependency isolation and speed; you should need to change nothing to use them. Chris McDonough wrote

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

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

2009-01-06 Thread Chris McDonough
Gustavo Narea 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 feedback from you. First of all, please keep in mind that repoze.what's goal

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] 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] custom Request and Response classes in repoze.bfg

2009-01-14 Thread Chris McDonough
Rob Miller wrote: i'm not really following you here. i'm -1 on the idea of an IResponseFactory utility. i think having the ResponseClass available on the request objects meets the need here; the hook is already in WebOb, why not just use it? Because it means changing some very cooked APIs

[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] 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] 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] [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.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

[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] 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.8 released

2009-02-05 Thread Chris McDonough
I just released repoze.bfg 0.6.8 with the following features (from the changelog). It also has some backwards incompatibilities. This release mostly fixes sins of old having to do with generating and resolving model paths. Note that despite my earlier request for dispensation to change

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

2009-02-06 Thread Chris McDonough
Lukasz Szybalski wrote: Hello, There is a bug in tg2 about script_name and repoze.who. There is also a patch to fix the way urls are defined in repoze.who, namely make sure script_name is added in front of any url. 1. http://www.wsgi.org/wsgi/Specifications/routing_args see script_name.

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

2009-02-09 Thread Chris McDonough
, Gustavo Narea m...@gustavonarea.net wrote: Hello, On Friday February 6, 2009 15:47:28 Chris McDonough wrote: Gustavo, don't you have a redirecting form plugin that already does this? Yes, I think it's the one he's using. It takes the SCRIPT_PATH into account when redirecting to the post

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

Re: [Repoze-dev] [what] requirement for repoze.what.plugins.quickstart incompatible with svn dev

2009-02-10 Thread Chris McDonough
Florent Aide wrote: the requirement is: repoze.what.plugins.sql = 1.0rc1 and should read: repoze.what.plugins.sql 1.0rc0 in order that we can use the svn trunk version in develop mode because trunk is in 1.0rc1 right now and once developped its labelled as 1.0rc1dev which is normal

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

2009-02-10 Thread Chris McDonough
Gustavo Narea wrote: On Monday February 9, 2009 21:34:43 Chris McDonough wrote: The thing you sent over a patch and a bugreport for is a plugin for repoze.who's RedirectingFormPlugin. This plugin happens to ship with repoze.who itself (it's one of the default plugins), but TG2's what

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] Add logout url to RedirectingFormPlugin

2009-02-13 Thread Chris McDonough
On Feb 13, 2009, at 5:59 AM, Wichert Akkerman wrote: I have what I think is a reasonably common use case: on logout I want to redirect the user to a thanks-for-stopping-by page. Currently RedirectingFormPlugin always generates an unauthorized exception on logout, which triggers the

[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.wh(o|at)(-[a-zA-Z])? update

2009-03-02 Thread Chris McDonough
Gustavo Narea wrote: Chris, can you please update the online docs for r.what when you have time? Done. - C ___ Repoze-dev mailing list Repoze-dev@lists.repoze.org http://lists.repoze.org/listinfo/repoze-dev

Re: [Repoze-dev] [repoze.zope2] Request handling

2009-03-05 Thread Chris McDonough
The way WebOb deals with this is by allowing users to supply a default_charset attribute on requests (or during request construction). It'd probably be enough to allow people to do the same for Zope requests (maybe as a zope2.ini parameter); when it's non-None, use that as the charset to decode

[Repoze-dev] PyCon 2009 Sprints

2009-03-24 Thread Chris McDonough
At Pycon this year we'll be sharing sprint space with other WSGI web frameworks, including Pylons and TurboGears. We'll hopefully be in the same room as the Zope folks, too, although they are not participating under the same sprint banner. WSGI framework sprint:

Re: [Repoze-dev] repoze.bfg under google appengine?

2009-04-10 Thread Chris McDonough
On 4/10/09 7:10 AM, Miuler wrote: Do we need lxml module? Yes, at least out of the box, to use chameleon templates. Can you use the native python xml? No, not out of the box, and not if you want to use chameleon templates. I want to run within repoze.bfg google appengine It will likely

Re: [Repoze-dev] repoze.bfg under google appengine?

2009-04-10 Thread Chris McDonough
On 4/11/09 12:37 AM, Carlos de la Guardia wrote: Hi, you mentioned at PyCon that Malthe (chameleon guy) is *thinking* about removing the lxml dependency. Do you think that is at all possible? I might have to do some GAE work in the mid term, and it would be swell to use BFG for that. I

[Repoze-dev] [issue60] repoze.who auth_tkt is broken when using string userid containing spaces

2009-04-10 Thread Chris McDonough
Chris McDonough chr...@plope.com added the comment: Fixed in 10.0.11. -- status: chatting - resolved __ Repoze Bugs b...@bugs.repoze.org http://bugs.repoze.org/issue60

[Repoze-dev] repoze.bfg 0.7.0 released

2009-04-11 Thread Chris McDonough
A release of repoze.bfg 0.7.0 was placed in the lemonade index at http://dist.repoze.org/lemonade/dev . This version fixes a few bugs and has one major backwards incompatibility, which is described below (as well as a method to preserve the old behavior): 0.7.0 (2009-04-11)

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] [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

[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

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] [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

[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

Re: [Repoze-dev] removing the lxml dependency from bfg

2009-04-27 Thread Chris McDonough
On 4/27/09 12:41 PM, Malthe Borch wrote: 2009/4/27 Reed O'Brienr...@reedobrien.com: +0 I think it is OK to have a default one. Think hello world. Devil's advocate here, but: print htmlbodyHello world/body/html You kind of don't need a templating language; in particular, you might

Re: [Repoze-dev] removing the lxml dependency from bfg

2009-04-27 Thread Chris McDonough
On 4/27/09 12:47 PM, Reed O'Brien wrote: On Apr 27, 2009, at 12:41 PM, Malthe Borch wrote: 2009/4/27 Reed O'Brienr...@reedobrien.com: +0 I think it is OK to have a default one. Think hello world. Devil's advocate here, but: print htmlbodyHello world/body/html You kind of don't need a

Re: [Repoze-dev] repoze.plugin documentation

2009-04-27 Thread Chris McDonough
On 4/27/09 5:19 AM, Malthe Borch wrote: I realize this documentation[1] is still in progress; yet, here are some comments, posted to the list to maybe encourage some kind of debate (since it's likely that there will be several consumers of this package in repoze.* in the future: I find the

Re: [Repoze-dev] repoze.plugin documentation

2009-04-27 Thread Chris McDonough
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 strictly compares to zope.component). Reading that page as someone who does use zope.component, I was also

Re: [Repoze-dev] removing the lxml dependency from bfg

2009-04-27 Thread Chris McDonough
On 4/27/09 1:37 PM, Malthe Borch wrote: 2009/4/27 Martin Aspelioptilude+li...@gmail.com: I've never once written a web app that didn't need templating, because I've never written one that only responds with text/plain and writing HTML with print or string manipulation is just lame. It's

Re: [Repoze-dev] removing the lxml dependency from bfg

2009-04-27 Thread Chris McDonough
On 4/27/09 1:42 PM, Paul Everitt wrote: On Apr 27, 2009, at 1:40 PM, Chris Rossi wrote: On Mon, Apr 27, 2009 at 1:37 PM, Malthe Borch mbo...@gmail.com wrote: 2009/4/27 Martin Aspeli optilude+li...@gmail.com: I've never once written a web app that didn't need templating, because I've

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

Re: [Repoze-dev] repoze.plugin documentation

2009-04-29 Thread Chris McDonough
On 4/28/09 3:01 AM, Malthe Borch wrote: 2009/4/27 Chris McDonoughchr...@plope.com: Answering myself with the kind of navel-gazing which is sure to drive Tres nuts ;-): Not answering anything, but this thread is as good a place as any: I think the issue of overriding default components is

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] repoze.plugin documentation

2009-04-29 Thread Chris McDonough
On 4/29/09 2:41 AM, Malthe Borch wrote: 2009/4/29 Chris McDonoughchr...@plope.com: When you do need it, the multiplexing is awful handy (e.g. when trying to look up a view based on a context type and a request type). Except there's always this situation: View 1) for=IDocument IRequest

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] BFG security - Groups

2009-04-30 Thread Chris McDonough
Hi Nigel, On 4/30/09 2:45 AM, Nigel Sim wrote: Thats fine, and seems to work in terms of the __acl__ array, but in the examples on the bfgdocs site groups have a prefix, ie: (Allow, 'group:editors', 'edit'), So my questions are: 1) is the group: prefix defined somewhere, or is it just

[Repoze-dev] repoze.bfg 0.7.1 released.

2009-05-01 Thread Chris McDonough
repoze.bfg 0.7.1 has been released. This will almost certainly be the last release in the 0.7 series; the next release will be 0.8. 0.8 will drop all dependencies on packages that require compilation of C code (lxml, zope.deferredimport, zope.hookable, etc). 0.7.1 is also likely the last

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

2009-05-02 Thread Chris McDonough
On 5/1/09 11:52 PM, Martin Aspeli wrote: I think there'd be enormous value in a Getting started on GAE tutorial on bfg.repoze.org. For that I'd like to see: - a skeleton code project - an understanding of how to use the GAE model storage in a BFG application - some kind of basic

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] Run repoze.bfg on Google App Engine

2009-05-03 Thread Chris McDonough
Cool.. I can't seem to see any content on the tutorial page, though. - 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 this pylons wiki .http://code.google.com/p/appengine-monkey/wiki/Pylons The example site is at:

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
On 5/3/09 1:47 PM, Chris McDonough wrote: Cool.. I can't seem to see any content on the tutorial page, though. - C Looks great. For the record, I've released repoze.bfg.jinja2 0.3 to the index at http://dist.repoze.org/bfg/dev/simple . This version of repoze.bfg.jinja2 depends

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

2009-05-03 Thread Chris McDonough
On 5/3/09 2:08 PM, Hanno Schlichting wrote: Martin Aspeli wrote: Anyway, it's nice to see that we may have a tutorial on BFG-on-GAE soon. I'd love to be able to use TAL, though. Django templates give me a headache. ;) zope.tal/es and zope.pagetemplate should work fine after some tweaking,

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] 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

  1   2   3   4   5   6   7   >