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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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.
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.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
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)
+++
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
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
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
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
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
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
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
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
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,
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
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
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.
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)
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
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
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
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,
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
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-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
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
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
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
', 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
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
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
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
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
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
401 - 464 of 464 matches
Mail list logo