fab-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Fab-user] Fabric Doc Examples - String Interpolation


From: James Thigpen
Subject: [Fab-user] Fabric Doc Examples - String Interpolation
Date: Fri, 25 Sep 2009 10:55:44 -0700

Hello,

First, pretty cool so far, but I did have one hitch.

I'm a brand spanking new user, and there is a *lot* of conflicting information out there regarding fabric's string interpolation on blogs and the old docs and whatnot.

I know the string interpolation change is listed in the "what's changed" section for 0.9, but I didn't really think to look at what's changed since I never used 0.1.

If the run() examples on http://docs.fabfile.org/0.9/api/operations.html included an example something like:

env.message = 'Foobar'
run("echo %(message)s" % env)

with maybe a few more notes sprinkled about regarding the deprecation of the config object, it would have saved me about 2-3 hours of frustration. Partial shame on me for not asking someone in the know sooner.

Obsolete blog entries that ended up thoroughly confusing me w.r.t. the string interpolation issue:
http://lethain.com/entry/2008/nov/04/deploying-django-with-fabric/
http://buntin.org/2009/feb/27/django-deployment-continued/
http://morethanseven.net/2009/07/27/fabric-django-git-apache-mod_wsgi-virtualenv-and-p/ (only 2 months old!)
http://nicksergeant.com/blog/programming/developing-and-deploying-applications-fabric-and-subversion

But anyway, that's been my only issue so far.  Well installing on windows was kind of insane, but that's another story that I think you're already aware of. But it's been a really cool ride after I got everything figured out. Automated deployment is so sexy.

Thanks for all the great work!

-jt



reply via email to

[Prev in Thread] Current Thread [Next in Thread]