Re: [Repoze-dev] building indexes to run projects from ;-)

2010-04-21 Thread Fergus Doyle
For maintaining an index for buildout projects, I find http://pypi.python.org/pypi/basketweaver to be very easy to use. Having said that, it probably depends on the following conditions: 1) You have access to a remote server which is likely to be available for at least the length of time the

Re: [Repoze-dev] building indexes to run projects from ;-)

2010-04-21 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Chris Withers wrote: > I know Chris is keen to run from indexes per projects, such as: > > http://dist.repoze.org/bfg/current/simple > > ..so I was wondering what people recommend, software wise, for > maintaining such an index per project? $ /pa

[Repoze-dev] cron-ish jobs

2010-04-21 Thread Chris Withers
Hi Again, Have any patterns emerged for using a BFG-ish configuration, transaction and data stack to perform batch jobs triggered by cron? cheers, Chris -- Simplistix - Content Management, Batch Processing & Python Consulting - http://www.simplistix.co.uk _

[Repoze-dev] building indexes to run projects from ;-)

2010-04-21 Thread Chris Withers
Hi All, I know Chris is keen to run from indexes per projects, such as: http://dist.repoze.org/bfg/current/simple ..so I was wondering what people recommend, software wise, for maintaining such an index per project? cheers, Chris -- Simplistix - Content Management, Batch Processing & Python

Re: [Repoze-dev] FriendlyForm login count not incrementing on failed login

2010-04-21 Thread Gustavo Narea
On 21/04/10 22:22, Gustavo Narea wrote: > > def see_you_later(self): > > """Post-logout""" > > notificator('We hope to see you soon!') > > came_from = str(request.params.get('came_from', '')) or > > url_for('/') > > redirect_to(url_for(came_from)) > According

Re: [Repoze-dev] FriendlyForm login count not incrementing on failed login

2010-04-21 Thread Gustavo Narea
Hi, Ian. On 20/04/10 15:40, Ian Stevens wrote: > Thanks Gustavo. The version of FriendlyForm I'm using, 1.0.4, does not > implement IAuthenticator. I get the following error: > > ValueError: form: An object has failed to implement interface > > The authenticate attribute was not pro

[Repoze-dev] picking versions for use with buildout

2010-04-21 Thread Chris Withers
Hi All, The attached buildout should generate a versions.cfg file suitable for running a particular version of BFG in a buildout. I've attached its output for version 1.2, and the current development index as of writing. Could anyone who knows please check that it has picked the right versi

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

2010-04-21 Thread Chris Withers
Charlie Clark wrote: > Am 21.04.2010, 16:51 Uhr, schrieb Chris Withers : > >> But the above will definitely be in 1.3, right? > > Nice of you to offer to do the work! ;-) Sorry, my comment was unclear, it was about the Venusian work, which is done already. i18n is hard, and who would need that

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] plugging in a new scanner

2010-04-21 Thread Charlie Clark
Am 21.04.2010, 16:51 Uhr, schrieb Chris Withers : > But the above will definitely be in 1.3, right? Nice of you to offer to do the work! ;-) Charlie -- Charlie Clark Managing Director Clark Consulting & Research German Office Helmholtzstr. 20 Düsseldorf D- 40215 Tel: +49-211-600-3657 Mobile: +4

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

2010-04-21 Thread Chris Withers
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 that will be called at config.scan() time. S

Re: [Repoze-dev] wrapped views for routes?

2010-04-21 Thread Wichert Akkerman
On 4/21/10 11:23 , Chris McDonough wrote: > The spelling: > > > > Is syntactic candy that can also be spelled like this: > > > > > So you can probably do this: > > > > wrapper="some-other-view"/> > name="some-other-view"/> > > I haven't tried this, but I

Re: [Repoze-dev] wrapped views for routes?

2010-04-21 Thread Chris McDonough
The spelling: Is syntactic candy that can also be spelled like this: So you can probably do this: I haven't tried this, but I'm pretty sure it will work. On 4/21/10 2:05 AM, Iain Duncan wrote: > Is there any chance of having wrapped views work on views declared with

Re: [Repoze-dev] INewRequest subscriber DBSession question

2010-04-21 Thread Chris McDonough
On 4/20/10 11:54 PM, Iain Duncan wrote: > Hi folks, I noticed that in the new version of the BFGAlchemy sample > app, the transaction manager is used to clear out the session after the > transaction is done. I'm wondering whether there is anything wrong with > cleaning the session by call Session.r