i want to be able to do this:
# grocery list * apples * bananas * strawberries
#!/usr/bin/env python | |
# Copyright (c) 2008 Nick Jensen | |
# MIT License | |
import xml.dom.minidom | |
import urllib, sys, datetime | |
PHONE_STRIPS = ('-', ' ', ')', '(') |
## Normal/flat -- this is still the default output of fab --list: | |
Available commands: | |
build_docs | |
deploy | |
db.migrate | |
system.install_package | |
system.debian.update_apt |
i want to be able to do this:
# grocery list * apples * bananas * strawberries
>>> def init(headers={}): | |
... print "headers before: %r" % headers | |
... headers['foo'] = 'bar' | |
... print "headers after: %r" % headers | |
... | |
... | |
>>> init() | |
headers before: {} | |
headers after: {'foo': 'bar'} | |
>>> init() |
from fabric.api import parallel, execute, sudo | |
@parallel | |
def uptime(): | |
sudo('uptime') | |
def do_my_stuff(): | |
execute(uptime, hosts=['web1', 'web2']) |
The code will get better. Linus' Law: "given enough eyeballs, all bugs are shallow": we'll be able to get community contributions and bug reports, and thus the code will grow better faster than we can grow it ourselves. Also, Joy's Law - "No matter who you are, most of the smartest people work for someone else": we'll get better code from people who don't work for us than from people who do.
We'll write better code. Wall's 3rd great virtual of a programmer, Hubris: we'll write better code when we don't want other people to say bad things about us. We'll do better with the world watching than with just us.
Increased ability to hire. We're a 19k circ newspaper in a town most people have never heard of. Open source will help put us on the map, make us a place people actually might be interested in working.
When we do hire, we'll be able to hire peop
An overview of the moving pieces in app deployment currently (ex. chef, puppet, salt, ansible, git, omnibus, compass, less, DB migrations, databases).
Deploying a moderately complex web application has become quite a challenge over the years. As best-practices have evolved, it has become progressively more time-consuming to keep up with what tools exist and how to use them effectively. This talk will provide an overview of the ecosystem and provide pointers for more information about individual components or problems.