Re: [Repoze-dev] Feedback / help on i18n/l10n docs...

2010-05-02 Thread Chris McDonough
On Sun, 2010-05-02 at 12:25 +0200, Damien Baty wrote: Thanks for the answer (which does make sense indeed) and the new section in the doc. I took the liberty of fixing a few typos there. Thanks a lot! - C ___ Repoze-dev mailing list

Re: [Repoze-dev] Feedback / help on i18n/l10n docs...

2010-05-01 Thread Chris McDonough
On Sat, 2010-05-01 at 19:10 +0200, Damien Baty wrote: Hello Chris, Le 25/04/10 15:19, Chris McDonough a écrit : BFG 1.3 will ship with internationalization and localization features. [...] If anyone who needs these features has a chance to provide feedback on or otherwise help

[Repoze-dev] repoze.bfg 1.3a3 released

2010-05-01 Thread Chris McDonough
repoze.bfg version 1.3a3 has been released. It can be installed via easy_install -i http://dist.repoze.org/bfg/1.3/simple repoze.bfg Or via PyPI. The docs at http://docs.repoze.org/bfg/1.3 have been updated. This is just a minor incremental alpha release. The changelog follows: 1.3a3

Re: [Repoze-dev] Bug(s) when not using paste?

2010-04-30 Thread Chris McDonough
On Fri, 2010-04-30 at 19:13 +0100, Chris Withers wrote: Hi All, Because I need to use the Twisted WSGI server for my app and so can't use Paste, While it's obviously useful to not require PasteDeploy, this itself is not true. You can use something like: from repoze.bfg.paster import

Re: [Repoze-dev] LMS a BFG application

2010-04-29 Thread Chris McDonough
Hi. Can you please upload a better image of our organisation. Please provide me email id so that i can send the image or else the image can be taken from http://mahiti.org/portal_css/images/mahiti-logo.jpg this url.Even

Re: [Repoze-dev] imperative configuration prevents application extension?

2010-04-29 Thread Chris McDonough
On 04/28/2010 03:07 PM, Chris Withers wrote: Hi All, In the BFG book their are copious references to the fact that using imperative configuration (or the decorators, my preferred choice) is bad if you plan to write apps that might be extended by others. Am I right in understanding that this

Re: [Repoze-dev] LMS a BFG application

2010-04-29 Thread Chris McDonough
On 04/29/2010 03:08 AM, Srikanth T wrote: Hi Chris http://comments.gmane.org/gmane.comp.web.zope.repoze.devel/3082 In the above link, our organisation's logo is there. But, it's not visible properly. Can a better logo of Mahiti be uploaded there? Oh. No. We have no control over that.

Re: [Repoze-dev] LMS a BFG application

2010-04-29 Thread Chris McDonough
On 04/29/2010 03:55 AM, Srikanth T wrote: Thanks Chris, for the reply. Actually , I filled in a reply in that particular thread of gmane, and the mail came to you and malthe . I had no idea that, it would come to you people. I will get in touch with gmane people. Can you add a line or two in

Re: [Repoze-dev] imperative configuration prevents application extension?

2010-04-29 Thread Chris McDonough
On 04/29/2010 07:32 AM, Chris Withers wrote: Chris McDonough wrote: No. You can always override an individual registration (obtained via imperative configuration, a scan, or via ZCML) with a subsequent imperative registration. Okay, but how would I override a decorator with another decorator

Re: [Repoze-dev] bfg_alchemy template and handle_teardown

2010-04-29 Thread Chris McDonough
On 04/29/2010 10:20 AM, Laurence Rowe wrote: Hi, I'm trying to work out why the following code is in the bfg_alchemy template (http://repoze.org/viewcvs/repoze.bfg/trunk/repoze/bfg/paster_templates/alchemy): subscriber for=repoze.bfg.interfaces.INewRequest

Re: [Repoze-dev] providing utilities

2010-04-29 Thread Chris McDonough
On 04/29/2010 10:37 AM, Chris Withers wrote: Hi All, What's the correct way to provide utilities in BFG imperatively? My guess would be: from repoze.bfg.configuration import Configurator from somewhere import ISomething from zope.component import provideUtility def factory():

Re: [Repoze-dev] bfg_alchemy template and handle_teardown

2010-04-29 Thread Chris McDonough
On 04/29/2010 11:21 AM, Laurence Rowe wrote: 2010/4/29 Chris McDonoughchr...@plope.com: On 04/29/2010 10:39 AM, Chris Withers wrote: Chris McDonough wrote: As far as I know this is unnecessary. It's not in the repoze.cluegun app, nor in the app I worked on at Jarn. Are there any problems

Re: [Repoze-dev] providing utilities

2010-04-29 Thread Chris McDonough
On 04/29/2010 11:41 AM, Chris Withers wrote: Chris McDonough wrote: You could do: def app(global_config, **settings): config = Configurator(settings=settings) config.begin() config.registry.provideUtility(factory(), ISomething) config.scan() config.end() return config.make_wsgi_app

[Repoze-dev] repoze.bfg 1.3a2 released

2010-04-28 Thread Chris McDonough
negotiation in the Internationalizationa and Localization chapter was updated. - Expanded portion of i18n narrative chapter docs which discuss working with gettext files. -- Chris McDonough Agendaless Consulting, Fredericksburg VA The repoze.bfg Web Application Framework Book: http://bfg.repoze.org

Re: [Repoze-dev] Integration testing with imperative configuration

2010-04-27 Thread Chris McDonough
On 4/27/10 7:27 AM, Chris Withers wrote: Hi All, 19.3 in the book covers writing integration tests by loading zcml. In a rare lack of symetry for the book, it doesn't cover the same for imperative configuration. Where can I find integration testing examples when using imperative

Re: [Repoze-dev] Integration testing with imperative configuration

2010-04-27 Thread Chris McDonough
On 4/27/10 8:41 AM, Chris Withers wrote: Chris McDonough wrote: Instead of calling config.load_zcml there, do whatever your application does to configure itself in its run.py (often .scan()), e.g.: class ViewIntegrationTests(unittest.TestCase): def setUp(self): import myapp self.config

Re: [Repoze-dev] Feedback / help on i18n/l10n docs...

2010-04-25 Thread Chris McDonough
On 4/25/10 9:23 AM, Charlie Clark wrote: Am 25.04.2010, 15:19 Uhr, schrieb Chris McDonoughchr...@plope.com: (In particular, if you need this feature and you want to volunteer to *finish* these docs, I'd be ecstatic. Chris, this is great news! Is there a timeline for this? I'm hoping to

Re: [Repoze-dev] I look for Python Routes Requirements feature in BFG URL dispath component

2010-04-25 Thread Chris McDonough
On 4/25/10 10:28 AM, KLEIN Stéphane wrote: Hi, I've read « Route Path Pattern Syntax » in repoze.bfg document (http:// docs.repoze.org/bfg/current/narr/urldispatch.html#route-path-pattern- syntax) and I didn't found something like Python Routes « Requirements » feature

Re: [Repoze-dev] BFG, override configurator settings after Config construction

2010-04-25 Thread Chris McDonough
On 4/25/10 5:25 PM, Wichert Akkerman wrote: On 2010-4-24 19:49, Chris McDonough wrote: Even better, just leave the authentication policy registrations out of ZCML altogether and always pass the authentication and authorization policies to the Configurator constructor instead: config

[Repoze-dev] repoze.bfg 1.3a1 released

2010-04-25 Thread Chris McDonough
repoze.bfg 1.3a1 has been released. It is the first alpha of a new feature release. It may be installed via: easy_install -i http://dist.repoze.org/bfg/1.3/simple Or via PyPI. The docs at http://docs.repoze.org/bfg/1.3 are current for this version. Below is a what's new document

Re: [Repoze-dev] BFG, override configurator settings after Config construction

2010-04-24 Thread Chris McDonough
On 4/24/10 2:56 PM, Iain Duncan wrote: Hi folks, I'm wondering if it's possible to change configurator settings after the constructor has fired and a zcml file has been parsed. Specifically I'd like to be able to use my regular zcml file but then turn off the authentication and authorization

Re: [Repoze-dev] plugging in a new scanner

2010-04-21 Thread Chris McDonough
On 4/21/10 10:51 AM, Chris Withers wrote: Chris McDonough wrote: Monkeypatchable or should I avoid trying to do that... The trunk now uses venusian instead of hardcoded decorator scanning. See the repoze.bfg.view.bfg_view class for an example decorator that registers a callback

Re: [Repoze-dev] Want to contribute an application developed using Repoze.BFG

2010-04-18 Thread Chris McDonough
On 4/18/10 6:09 AM, Srikanth T wrote: Dear Chris McDonough We have developed an application using repoze.BFG. We want to contribute it by putting the source online, as a reference for enthusiasts. We already sent a mail to chr...@agendaless.com mailto:chr...@agendaless.com . Please go

Re: [Repoze-dev] plugging in a new scanner

2010-04-13 Thread Chris McDonough
On 4/13/10 4:15 AM, Chris Withers wrote: Hi All, I'd like to plug in my own decorator (as a way of wiring a method to recieve stomp messages from a particular queue as it happens) to the config.scan() machinery. Are there docs or a recommended way to do this? No. It's hardcoded. I think

Re: [Repoze-dev] ZCA registry confusion

2010-04-13 Thread Chris McDonough
On 4/13/10 7:17 PM, Chris McDonough wrote: On 4/13/10 7:03 PM, Iain Duncan wrote: Hi, I have some custom middleware that is intended to use the same ZCA registry as my bfg app. I've altered the run.py in the bfg app to tell it to use the global site manager, and the middleware looks up

Re: [Repoze-dev] ZCA registry confusion

2010-04-13 Thread Chris McDonough
On 4/13/10 9:22 PM, Iain Duncan wrote: Ok, I think a better way to phrase mine is: - is it safe and/or reasonable to use the repoze.bfg configurator to setup up the global ZCA registry for non-bfg uses? It is not reasonable. It is possible, though. - C

Re: [Repoze-dev] passing root_factory to a route in a hybrid BFG app?

2010-04-12 Thread Chris McDonough
The argument you want is factory, not root_factory (see http://docs.repoze.org/bfg/1.2/zcml/route.html#attributes). If you remember, can you point out where you got root_factory from so I can fix it in that spot? On 4/12/10 4:02 PM, Iain Duncan wrote: Haven't heard anything back from my

Re: [Repoze-dev] passing root_factory to a route in a hybrid BFG app?

2010-04-12 Thread Chris McDonough
On 4/12/10 6:02 PM, Iain Duncan wrote: Thanks Chris. The offending examples are in: http://docs.repoze.org/bfg/1.2/narr/hybrid.html - Hybrid Applications - Using *traverse in a Route Path. Thank you, this is now fixed. - C ___ Repoze-dev mailing

Re: [Repoze-dev] Using the multiprocessing module

2010-04-10 Thread Chris McDonough
On 4/10/10 9:00 AM, Andreas Jung wrote: is it save to use the 'multiprocessing' module inside a BFG app? I don't know think it is any less safe to use it in BFG than it would be in any other app. Multiprocessing does some weird stuff at startup time in its utils module. For instance: def

Re: [Repoze-dev] getting at the ZCAS registry used by a bfg app

2010-04-09 Thread Chris McDonough
___ Repoze-dev mailing list Repoze-dev@lists.repoze.org http://lists.repoze.org/listinfo/repoze-dev -- Chris McDonough Agendaless Consulting, Fredericksburg VA The repoze.bfg Web Application Framework Book: http://bfg.repoze.org/book

Re: [Repoze-dev] getting at the ZCAS registry used by a bfg app

2010-04-09 Thread Chris McDonough
On 4/9/10 6:41 PM, Iain Duncan wrote: Thanks for the suggestion. In this case, what I am doing is handing off the login form generation to the package that is domain application specific, I want that away from my framework code. Right now, all domain app specific code is in it's package and

Re: [Repoze-dev] deprecation of zcml for?

2010-04-08 Thread Chris McDonough
On 4/8/10 1:23 AM, Iain Duncan wrote: Well, now you would have to know what you were looking for, whereas in the older docs, it was quite prominent in the narrative documentation. I realize this is a personal preference thing, and of course you'll do what you think is best, but as someone who

Re: [Repoze-dev] deprecation of zcml for?

2010-04-08 Thread Chris McDonough
On 4/8/10 1:33 PM, Iain Duncan wrote: Cool. that makes sense. So here's a question that didn't seem immediately obvious from the docs and could possibly be made clearer as a foot note in there somewhere ( or maybe I just missed it ), can context be used with an interface? Yes, as it says in

Re: [Repoze-dev] deprecation of zcml for?

2010-04-08 Thread Chris McDonough
On 4/8/10 1:55 PM, Chris McDonough wrote: Yes, as it says in http://docs.repoze.org/bfg/1.2/narr/views.html#predicate-arguments context An object representing Python class that the context must be an instance of, or the interface that the context must provide in order for this view

Re: [Repoze-dev] deprecation of zcml for?

2010-04-07 Thread Chris McDonough
Hi Iain, On 4/6/10 9:19 PM, Iain Duncan wrote: I noticed in the 1.2 docs that view configuration in zcml uses the 'context' predicate instead of the zope 'for' predicate. Just wanted to know if I can still safely use 'for' or whether new code should switch all those. The for spelling will

Re: [Repoze-dev] deprecation of zcml for?

2010-04-07 Thread Chris McDonough
On 4/7/10 9:47 AM, Charlie Clark wrote: Am 07.04.2010, 15:41 Uhr, schrieb Chris McDonoughchr...@plope.com: I noticed in the 1.2 docs that view configuration in zcml uses the 'context' predicate instead of the zope 'for' predicate. Just wanted to know if I can still safely use 'for' or whether

[Repoze-dev] repoze.bfg 1.2.1 released

2010-04-07 Thread Chris McDonough
repoze.bfg 1.2.1 has been released. Get it via: easy_install -i http://dist.repoze.org/bfg/1.2/simple repoze.bfg Or similarly via PyPI. This is a bugfix-only release. The docs at http://docs.repoze.org/bfg/1.2/ have been updated. The changelog follows: 1.2.1 (2010-04-07)

Re: [Repoze-dev] deprecation of zcml for?

2010-04-07 Thread Chris McDonough
On 4/8/10 12:18 AM, Iain Duncan wrote: Further to this, I just noticed that the cluegun sample app uses 'for', so maybe it would also help people checking out the sample apps and the 1.2 docs if 'for' where mentioned. It is... see the description of context within

Re: [Repoze-dev] current repoze.who in PyPI and repoze.what

2010-04-06 Thread Chris McDonough
On 4/6/10 2:27 AM, Tim Hoffman wrote: Yep thats what found. But at the moment if you easy_install repoze.what you end up with repoze.who.2.0.x and you can't seem to get repoze.who 1.0.18 from PyPI Yeah. I fear the only people that can help are people who have access to update the PyPI

Re: [Repoze-dev] RenderResponse objects

2010-04-06 Thread Chris McDonough
On 4/6/10 3:15 AM, Chris Withers wrote: Chris McDonough wrote: Also, how come you put response attributes on the request when using a renderer? How about a RenderResponse object: class RenderResponse(dict): def __init__(self): super(dict,self).__init__() self.content_type = 'the default

Re: [Repoze-dev] current repoze.who in PyPI and repoze.what

2010-04-05 Thread Chris McDonough
On 4/6/10 1:12 AM, Tim Hoffman wrote: Hi I have been using repoze.what (1.0.8) and (due to dependancies) repoze.who 1.0.18 for the last couple of months. Today we where setting up a new instance and found that repoze.who 2.0.a2 was coming down from PyPI as it is the most recent version and

Re: [Repoze-dev] repoze.who auth_tkt tokens

2010-04-04 Thread Chris McDonough
___ Repoze-dev mailing list Repoze-dev@lists.repoze.org http://lists.repoze.org/listinfo/repoze-dev -- Chris McDonough Agendaless Consulting, Fredericksburg VA The repoze.bfg Web Application Framework Book: http://bfg.repoze.org/book

Re: [Repoze-dev] Handling webob.exc.HTTPException in router.

2010-04-04 Thread Chris McDonough
a real context, you'll make it available as an attribute of the exception for use by the registered exception view (e.g. context.context or so). Thanks, this is that I was talking about. Will try to implement. Great. This would be an excellent feature to have. -- Chris McDonough

Re: [Repoze-dev] Colander issue

2010-04-04 Thread Chris McDonough
@lists.repoze.org http://lists.repoze.org/listinfo/repoze-dev -- Chris McDonough Agendaless Consulting, Fredericksburg VA The repoze.bfg Web Application Framework Book: http://bfg.repoze.org/book ___ Repoze-dev mailing list Repoze-dev@lists.repoze.org http

Re: [Repoze-dev] form attribute on request in repoze.formish

2010-04-02 Thread Chris McDonough
. ;) ___ Repoze-dev mailing list Repoze-dev@lists.repoze.org http://lists.repoze.org/listinfo/repoze-dev -- Chris McDonough Agendaless Consulting, Fredericksburg VA The repoze.bfg Web Application Framework Book: http://bfg.repoze.org/book ___ Repoze-dev mailing

Re: [Repoze-dev] Trouble with unicode through formish in repoze.bfg and form attribute in the request

2010-04-02 Thread Chris McDonough
else like this. Thanks! -- Chris McDonough Agendaless Consulting, Fredericksburg VA The repoze.bfg Web Application Framework Book: http://bfg.repoze.org/book ___ Repoze-dev mailing list Repoze-dev@lists.repoze.org http://lists.repoze.org/listinfo/repoze

Re: [Repoze-dev] Using zope.contentprovider and zope.viewlet with repoze.bfg and chameleon

2010-03-31 Thread Chris McDonough
On 3/31/10 6:48 PM, Chris McDonough wrote: I'm not sure this still works, but: It didn't. I changed it minimally so that I believe it will now work against BFG 1.2. -- Chris McDonough Agendaless Consulting, Fredericksburg VA The repoze.bfg Web Application Framework Book: http

Re: [Repoze-dev] Problem of running BFG in GAE

2010-03-26 Thread Chris McDonough
Any body can help on this issue? ___ Repoze-dev mailing list Repoze-dev@lists.repoze.org http://lists.repoze.org/listinfo/repoze-dev -- Chris McDonough Agendaless Consulting, Fredericksburg VA The repoze.bfg Web Application Framework Book

[Repoze-dev] [issue142] Chameleon does not understand Python list comprehension

2010-03-22 Thread Chris McDonough
Chris McDonough chr...@plope.com added the comment: This got fixed in SVN by Malthe today. -- status: unread - resolved __ Repoze Bugs b...@bugs.repoze.org http://bugs.repoze.org/issue142

Re: [Repoze-dev] Can I set an HTTP METHOD in View Configuration ?

2010-03-18 Thread Chris McDonough
___ Repoze-dev mailing list Repoze-dev@lists.repoze.org http://lists.repoze.org/listinfo/repoze-dev -- Chris McDonough Agendaless Consulting, Fredericksburg VA The repoze.bfg Web Application Framework Book: http://bfg.repoze.org/book

Re: [Repoze-dev] Handling webob.exc.HTTPException in router.

2010-03-10 Thread Chris McDonough
as an attribute of the exception for use by the registered exception view (e.g. context.context or so). -- Chris McDonough Agendaless Consulting, Fredericksburg VA The repoze.bfg Web Application Framework Book: http://bfg.repoze.org/book ___ Repoze-dev

Re: [Repoze-dev] Handling webob.exc.HTTPException in router.

2010-03-10 Thread Chris McDonough
On 3/10/10 9:54 AM, Chris McDonough wrote: The context of such an exception view will be the exception instance itself. If you want a particular exception to be able to use a real context, you'll make it available as an attribute of the exception for use by the registered exception view (e.g

[Repoze-dev] [issue140] reversing the arg names of two-arg view callables causes a weird exception

2010-03-09 Thread Chris McDonough
Chris McDonough chr...@plope.com added the comment: Sorry, I chatted with rweir about this; the bugreport was about the opacity of the traceback when the args are reversed; he knows that he reversed the args. -- status: resolved - in-progress __ Repoze

[Repoze-dev] [issue123] chapter 8

2010-03-08 Thread Chris McDonough
Chris McDonough chr...@plope.com added the comment: Wiggy also notes that the ZCML tag documentation in this chapter may be overkill and that maybe it should just defer to the ZCML reference. -- status: unread - chatting __ Repoze Bugs b

Re: [Repoze-dev] Handling webob.exc.HTTPException in router.

2010-03-08 Thread Chris McDonough
On 3/8/10 7:41 AM, Andrey Popp wrote: But features are *the enemy* of frameworks, so as the author I feel compelled to provide a counterargument even if I don't really believe strongly in it. ;-) I like that repoze.bfg reuses webob for WSGI layer, but why not to reuse exceptions from that

Re: [Repoze-dev] Handling webob.exc.HTTPException in router.

2010-03-08 Thread Chris McDonough
, I think it makes sense... do you think you might want to take a stab at implementing that? -- Chris McDonough Agendaless Consulting, Fredericksburg VA The repoze.bfg Web Application Framework Book: http://bfg.repoze.org/book ___ Repoze-dev mailing list

Re: [Repoze-dev] Continuous integration with Hudson

2010-03-07 Thread Chris McDonough
On 3/7/10 2:55 AM, Sebastien Douche wrote: Hi again, I'm learning Hudson[1] for the bluebream project. BFG is a small project, thus I started with it. What do you think? http://hudson.securactive.org/ [1] http://hudson-ci.org/ I think your permissions might be a little screwy there..

Re: [Repoze-dev] rss feed

2010-03-07 Thread Chris McDonough
On 3/7/10 11:39 AM, Michael Haubenwallner wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 hi, i was wondering why the repoze.org feed was not coming up in planetzope - seems it does not validate anymore. Please check errors at

Re: [Repoze-dev] rss feed

2010-03-07 Thread Chris McDonough
On 3/7/10 2:16 PM, Chris McDonough wrote: On 3/7/10 11:39 AM, Michael Haubenwallner wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 hi, i was wondering why the repoze.org feed was not coming up in planetzope - seems it does not validate anymore. Please check errors at http

Re: [Repoze-dev] Continuous integration with Hudson

2010-03-07 Thread Chris McDonough
, thanks! -- Chris McDonough Agendaless Consulting, Fredericksburg VA The repoze.bfg Web Application Framework Book: http://bfg.repoze.org/book ___ Repoze-dev mailing list Repoze-dev@lists.repoze.org http://lists.repoze.org/listinfo/repoze-dev

Re: [Repoze-dev] Handling webob.exc.HTTPException in router.

2010-03-07 Thread Chris McDonough
On 3/7/10 6:46 PM, Andrey Popp wrote: I have ideological question -- why not to handle webob.exc.HTTPException in router? I think it is very useful, consider for example the following case: I need to define some views that works with JSON encoded request body, so there is base class for

Re: [Repoze-dev] Handling webob.exc.HTTPException in router.

2010-03-07 Thread Chris McDonough
On 3/7/10 7:36 PM, Andrey Popp wrote: Yes, I know I can make it work by returning webob.exc.HTTPException objects as response. But the point was to decode JSON request at view initialization phase and raise webob.exc.HTTPBadRequest if needed, so in subclasses at request processing phase

Re: [Repoze-dev] BFG works on Python2.7a4

2010-03-06 Thread Chris McDonough
Thank you Sebastien! On 3/7/10 1:42 AM, Sebastien Douche wrote: The proof: http://bfg.buildbot.securactive.org/waterfall (not the case of Python2.7a3 with distutils issue. Bug report forwarded to Tarek) -- Chris McDonough Agendaless Consulting, Fredericksburg VA The repoze.bfg Web

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

2010-03-03 Thread Chris McDonough
On 3/3/10 9:52 PM, Martin Aspeli wrote: 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? No, sorry. - What are you using for test reporting? collective.xmltestreport

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

2010-03-03 Thread Chris McDonough
On 3/3/10 10:46 PM, Martin Aspeli wrote: 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

Re: [Repoze-dev] Chameleon 1.1 and z3c.pt problems

2010-03-01 Thread Chris McDonough
think the mentioned behaviour is really a bug in Chameleon, I'd be glad to assist in fixing it. Best regards, ___ Repoze-dev mailing list Repoze-dev@lists.repoze.org http://lists.repoze.org/listinfo/repoze-dev -- Chris McDonough Agendaless

Re: [Repoze-dev] PyCon presentations...

2010-03-01 Thread Chris McDonough
On 3/1/10 3:54 PM, Chris McDonough wrote: On 3/1/10 8:09 AM, Matt Goodall wrote: Just a small comment about Carlos's talk ... Zope and BFG are not the only web frameworks that use URL traversal. Twisted Web and restish also split the URL into segments to walk the object (aka resource) graph

[Repoze-dev] PyCon presentations...

2010-02-25 Thread Chris McDonough
Two BFG-related presentations from PyCon 2010 are now online: Carlos de la Guardia's Pay Only for What You Eat: A tour of the repoze.bfg repository and philosophy http://pycon.blip.tv/file/3263959/ Tres Seaver's Evolving Your Framework Under Fire http://pycon.blip.tv/file/3261349/ - C

[Repoze-dev] bfg sprint in hanover E

2010-02-22 Thread Chris McDonough
For those who don't see the board in front and whom don't have twitter, we are in Hanover Room E for the BFG PyCon sprint today. -- Chris McDonough Agendaless Consulting, Fredericksburg VA The repoze.bfg Web Application Framework Book: http://bfg.repoze.org/book

Re: [Repoze-dev] System Error; Transaction closed

2010-02-19 Thread Chris McDonough
: The transaction is closed ___ Repoze-dev mailing list Repoze-dev@lists.repoze.org http://lists.repoze.org/listinfo/repoze-dev -- Chris McDonough Agendaless Consulting, Fredericksburg VA The repoze.bfg Web Application Framework Book: http://bfg.repoze.org

Re: [Repoze-dev] repoze.bfg not installing on Windows

2010-02-18 Thread Chris McDonough
://lists.repoze.org/listinfo/repoze-dev -- Chris McDonough Agendaless Consulting, Fredericksburg VA The repoze.bfg Web Application Framework Book: http://bfg.repoze.org/book ___ Repoze-dev mailing list Repoze-dev@lists.repoze.org http://lists.repoze.org

Re: [Repoze-dev] Need advise on using session with repoze.bfg

2010-02-18 Thread Chris McDonough
://lists.repoze.org/listinfo/repoze-dev ___ Repoze-dev mailing list Repoze-dev@lists.repoze.org http://lists.repoze.org/listinfo/repoze-dev -- Chris McDonough Agendaless Consulting, Fredericksburg VA The repoze.bfg Web Application Framework Book: http

Re: [Repoze-dev] Looking for advice on how to use repoze.what to protect a specific resource/entity.

2010-02-16 Thread Chris McDonough
@lists.repoze.org http://lists.repoze.org/listinfo/repoze-dev -- Chris McDonough Agendaless Consulting, Fredericksburg VA The repoze.bfg Web Application Framework Book: http://bfg.repoze.org/book -- Chris McDonough Agendaless Consulting, Fredericksburg VA The repoze.bfg Web Application Framework

Re: [Repoze-dev] How ti add a Workflow for a repoze.BFG application

2010-02-15 Thread Chris McDonough
/ /configure This way, we were able to create a workflow for our project. -- Thanks Regards, Srikanth.T ___ Repoze-dev mailing list Repoze-dev@lists.repoze.org http://lists.repoze.org/listinfo/repoze-dev -- Chris McDonough Agendaless

Re: [Repoze-dev] Looking for advice on how to use repoze.what to protect a specific resource/entity.

2010-02-15 Thread Chris McDonough
/intended for repoze.what. I suppose I am looking for functionality similiar to zope2 permissions/roles etc... T ___ Repoze-dev mailing list Repoze-dev@lists.repoze.org http://lists.repoze.org/listinfo/repoze-dev -- Chris McDonough Agendaless

Re: [Repoze-dev] repoze.bfg 1.2 released...

2010-02-13 Thread Chris McDonough
in an emulator on my screen. -- Chris McDonough Agendaless Consulting, Fredericksburg VA The repoze.bfg Web Application Framework Book: http://bfg.repoze.org/book ___ Repoze-dev mailing list Repoze-dev@lists.repoze.org http://lists.repoze.org/listinfo

Re: [Repoze-dev] [Bug] View as a callable with two expected arguments.

2010-02-13 Thread Chris McDonough
-definitions Your intuition is right though. If I had it to do all over again, I would probably reverse those two arguments. - C -- Chris McDonough Agendaless Consulting, Fredericksburg VA The repoze.bfg Web Application Framework Book: http://bfg.repoze.org/book

Re: [Repoze-dev] repoze.bfg 1.2 released...

2010-02-13 Thread Chris McDonough
they are meant to be read linearly rather than used as a reference. The tools to read these formats on a desktop are primitive. -- Chris McDonough Agendaless Consulting, Fredericksburg VA The repoze.bfg Web Application Framework Book: http://bfg.repoze.org/book

Re: [Repoze-dev] templates txt in repoze.bfg and chameleon

2010-02-11 Thread Chris McDonough
? ___ Repoze-dev mailing list Repoze-dev@lists.repoze.org http://lists.repoze.org/listinfo/repoze-dev -- Chris McDonough Agendaless Consulting, Fredericksburg VA The repoze.bfg Web Application Framework Book: http://bfg.repoze.org/book

Re: [Repoze-dev] templates txt in repoze.bfg and chameleon

2010-02-11 Thread Chris McDonough
-END PGP SIGNATURE- ___ Repoze-dev mailing list Repoze-dev@lists.repoze.org http://lists.repoze.org/listinfo/repoze-dev -- Chris McDonough Agendaless Consulting, Fredericksburg VA The repoze.bfg Web Application Framework Book: http

[Repoze-dev] repoze.bfg 1.2 released...

2010-02-10 Thread Chris McDonough
at the 1.2 versions of things. The older 1.1 index is available via http://dist.repoze.org/bfg/1.1/simple and the older 1.1 docs are available via http://docs.repoze.org/bfg/1.1. Enjoy! -- Chris McDonough Agendaless Consulting, Fredericksburg VA The repoze.bfg Web Application Framework Book

[Repoze-dev] Will you be a sprint leader at PyCon?

2010-02-09 Thread Chris McDonough
I'll be at PyCon this year in Atlanta. However, unlike last year, I haven't yet stepped up to sponsor/run any particular sprint. I have some definite ideas about things I'd like to sprint on. But I'm not comfortable working on either task as the leader of a group dedicated to finishing any

[Repoze-dev] prep for BFG 1.2 final

2010-02-08 Thread Chris McDonough
Hi all, In the absence of any showstopper bug reports, within the next few days, the latest BFG beta release (1.2b6) will be released as 1.2 final with no diffs except the version number. I'd like to make sure it's as solid a release as possible, so if you've got a BFG app you're using that

Re: [Repoze-dev] BFG book available from Amazon.com (better shipping rates?)

2010-02-07 Thread Chris McDonough
On 2/7/10 9:34 AM, Steve Schmechel wrote: Speaking for United States customers, the FREE with Super Saver Shipping, which your book qualifies for, is better than anything offered on CreateSpace (even though they they are owned by Amazon). Yes. Apparently that doesn't help European folks

Re: [Repoze-dev] Configurar una vista como tipo 'text/xml'

2010-02-06 Thread Chris McDonough
http://docs.repoze.org/bfg/1.2/narr/views.html#varying-attributes-of-rendered-responses class ReportXmlView(object): def __init__(self, context, request): self.context = context self.request = request def __call__(self): self.request.response_content_type =

[Repoze-dev] repoze.bfg 1.2b6 released...

2010-02-06 Thread Chris McDonough
Sigh, another one before final, sorry. repoze.bfg 1.2b6 has been released. Install it via: easy_install -i http://dist.repoze.org/bfg/1.2/simple repoze.bfg or via PyPI. The docs at http://docs.repoze.org/bfg/1.2 have been updated The changelog follows: 1.2b6 (2010-02-06)

[Repoze-dev] BFG book available from Amazon.com (better shipping rates?)

2010-02-06 Thread Chris McDonough
A number of folks in Europe indicated that the shipping rates for the repoze.bfg Web Application Framework book from Createspace to Europe were prohibitive. The book is now available from Amazon.com. I don't really know what the Amazon shipping rates to Europe *are*, but hopefully they're

[Repoze-dev] repoze.bfg 1.2b5 released...

2010-02-04 Thread Chris McDonough
I had hoped that 1.2b4 would be the last beta before 1.2 final, but no such luck. Therefore: repoze.bfg 1.2b5 has been released Install it via: easy_install -i http://dist.repoze.org/bfg/1.2/simple repoze.bfg Or via PyPI. The documentation at http://docs.repoze.org/bfg/1.2 has been

[Repoze-dev] Available for purchase: The repoze.bfg Web Application Framework, Version 1.2 Paperback

2010-02-03 Thread Chris McDonough
Hi All, The repoze.bfg Web Application Framework, Version 1.2 paperback is now available for purchase: https://www.createspace.com/3422488 This is a high-quality printing of the along with extras such as a foreword from Paul Everitt, an author introduction, and cool cover artwork from the

Re: [Repoze-dev] Chameleon on GAE

2010-02-03 Thread Chris McDonough
Hi Tim, AFAICT, as of 1.1 it just works.. no need to distinguish between compile time and runtime. I tested this last night. - C On 2/3/10 8:50 PM, Tim Hoffman wrote: Hi Malthe Do you have a posting somewhere that details how one uses chameleon with appengine. I assume you are

[Repoze-dev] repoze.bfg 1.2b4 released..

2010-02-02 Thread Chris McDonough
repoze.bfg 1.2b4 has been released. It can be installed via: easy_install -i http://dist.repoze.org/bfg/1.2/simple repoze.bfg Or via PyPI. The documentation at http://docs.repoze.org/bfg/1.2 has been updated. With any luck, this will be the last beta release before 1.2 final. The change

Re: [Repoze-dev] Problem with formencode, or chameleon.zpt ?

2010-02-01 Thread Chris McDonough
On 2/1/10 12:47 PM, georgehu wrote: This is the third time I asked the same question, I really appreciate some body could come up with a solution. I'm trying to change the language of the error message , formencode.api.set_stdtranslation(languages=[zh_CN]) then I get, File

[Repoze-dev] [issue116] Chameleon - multiple xml and doctype declarations in rendered templates with macros.

2010-02-01 Thread Chris McDonough
Chris McDonough chr...@plope.com added the comment: committed to chameleon trunk -- status: unread - resolved __ Repoze Bugs b...@bugs.repoze.org http://bugs.repoze.org/issue116

Re: [Repoze-dev] Repoze on identi.ca?

2010-01-31 Thread Chris McDonough
On 1/31/10 6:23 PM, Gustavo Narea wrote: Hi everyone. Sometimes I want to announce stuff related to the Repoze projects I maintain, without using the power and noise of this mailing list, which I'd rather use for important announcements. So, I wanted to ask, would you like to keep and use

Re: [Repoze-dev] Repoze on identi.ca?

2010-01-31 Thread Chris McDonough
On 1/31/10 6:49 PM, Malthe Borch wrote: On 1 February 2010 00:33, Chris McDonoughchr...@plope.com wrote: It's OK by me, although I might forget to read the identi.ca group as I already have trouble keeping up with email, IRC and twitter. I think it could be useful if this group/channel

Re: [Repoze-dev] Cataloging in a BFG application , using subscribers.

2010-01-29 Thread Chris McDonough
Thanks for the post! - C Srikanth T wrote: Hi All, I want to share a small documentation on , how we cataloged objects in a BFG application (application uses ZODB) . *Cataloging objects in BFG* One way to catalog the objects in a BFG application is to use subscribers . The procedure

Re: [Repoze-dev] integrating repoze.bfg with OAuth, OpenID, FacebookConnect etc... for authentication

2010-01-25 Thread Chris McDonough
I don't think it makes much of a difference if you need to write it all from scratch anyway. Either would be fine. - C Tim Hoffman wrote: Hi Folks I am looking for some advice. I need to be able to use multiple authentication sources for a new repoze.bfg based app. Do you think I

Re: [Repoze-dev] integrating repoze.bfg with OAuth, OpenID, FacebookConnect etc... for authentication

2010-01-25 Thread Chris McDonough
On the face of it then , I will probably do the work as plugins to repoze.who as it seems there are a few repoze.who plugins already in existence for OAuth , openid, facebook connect etc that I can hopefully leverage off. Cheers T On Mon, Jan 25, 2010 at 6:46 PM, Chris McDonough chr

Re: [Repoze-dev] integrating repoze.bfg with OAuth, OpenID, FacebookConnect etc... for authentication

2010-01-25 Thread Chris McDonough
identified users) with persistent ACL's and some workflow. T On Mon, Jan 25, 2010 at 10:02 PM, Chris McDonough chr...@plope.com wrote: That would be a good reason to use r.who in this case, sure. Of course, if you don't have enough control when you use r.who, you can always take the code

Re: [Repoze-dev] Updating zope.component to a more recent version in the KGS of BFG?

2010-01-22 Thread Chris McDonough
Hi Damien, Done. I also updated the index as follows: zope.interface 3.5.1 - 3.5.3 zope.i18n 3.7.0 - 3.7.3 zope.component 3.6.0 - 3.9.1 and I removed zope.proxy (not necessary).. - C Damien Baty wrote: Hello, When installing repoze.bfg, I currently get zope.component 3.6.0,

<    1   2   3   4   5   >