Have spent rather a lot of time trying to wrestle the deployment docs into shape for the TurboGears 2.1 release. Even with all that work, only the "standard deployment pattern" is really in "good" shape. Alternative servers, alternative deployment styles, etceteras are all still needing lots of love. I am, however, I think, finished with that section for a while unless someone else chips in to help.
Also ran into one of those "argh" inducing issues this evening. A user was trying to follow through the "Using who.ini" discussion on his way to doing OpenID with TurboGears and ran into a weird, subtle bug. Turns out, when you disable TurboGears authentication repoze.what "fails open" as far as much TurboGears code is concerned. The predicates just all silently start evaluating to True. The @require() decorator thankfully does the right thing, but users who do:
tg.predicates.has_permission('manage')Now always get a True value (the predicate object), so if you're using that to control display of information... oops. Not likely to have bitten too many users, but it just seems we should have something raising errors on _nonzero_() if the predicate's aren't "booleanized()".
In other news, given that someone else is trying to get OpenID working, I suppose I should look at the branch of repoze.openid. Upstream wants changes, but I haven't yet figured out what's supposed to happen wrt registration to make those changes work. Repoze just doesn't seem to have a registration story AFAICT.



Comments
2010-03-10 10:27
Turbo gear was though a long a waited release and people call ed it very nice but the small problems in it really ma [...]
2010-03-02 08:56
Thanks!
2010-03-01 22:40
Actually I do use setuptools for RSR. I just haven't yet got out of the Python 2.3 habi t of avoiding "extra" ar [...]
2010-03-01 19:57
Thanks! That was me.
2010-03-01 19:14
Oh, you're not using setuptool s/distribute? I got so used t o packages explicitly listing their dependencies in th [...]
2010-03-01 18:59
Yup, the SquareMap package is a dependency. easy_install Sq uareMap should pull it in. wx Python is also a depende [...]
2010-03-01 18:49
Release early, release often! (Incidentally, when I easy_ install RunSnakeRun 2.0.0b4, I 'm unable to start it: R [...]
2010-02-24 10:11
I wasn't actually there, just read the slides. I really like the characterization "PyPy is Shirt Origami research."
2010-02-20 23:19
It didn't come off as ranty as you may think. I found it mor e thought provoking than the s everal ranty lightning t [...]
2010-02-16 17:06
We actually use trac's functio nal test infrastructure (heavi ly modified). It has custom ki lls + subprocess.
2010-02-15 15:22
python is the best programming language out there. Its an ex cellent platform for 3d progra mming. It has the capabi [...]
2010-02-14 22:34
Unfortunately it isn't a singl e moment. Once you find an in teresting narrative is easy to find a similar but new [...]
2010-02-14 19:49
Add my name to the 'interested ' column.
2010-02-14 19:21
At PyCon, I'm hoping so, but n ot likely in my talk. Doesn't really fit with the "topics t o keep you up all night" [...]
2010-02-14 19:18
Ah, the great advantage of bei ng an arrogant so-and-so, can just skip all that