Module Import alias Import alias Import alias Import alias Import alias ImportFrom alias ImportFrom alias alias alias ImportFrom alias alias ImportFrom alias ImportFrom alias ImportFrom alias alias alias alias alias alias alias alias alias alias alias ImportFrom alias alias Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str Assign NameStore ListLoad Str Str Str Assign AttributeStore NameLoad attr Str Assign AttributeStore NameLoad attr Str Assign AttributeStore NameLoad attr Str Assign AttributeStore NameLoad attr Str Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Num Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr ListLoad Str Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str FunctionDef arguments args defaults body Assign AttributeStore NameLoad attr Str Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr ListLoad Str Assign AttributeStore NameLoad attr Str Assign AttributeStore NameLoad attr Str Expr Call NameLoad decorator_list NameLoad FunctionDef arguments args defaults body Assign AttributeStore NameLoad attr Str Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr ListLoad Str Assign AttributeStore NameLoad attr Str Assign AttributeStore NameLoad attr Str Assign AttributeStore NameLoad attr Num Expr Call NameLoad decorator_list NameLoad FunctionDef arguments args defaults body Assign AttributeStore NameLoad attr Str Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr ListLoad Str Assign AttributeStore NameLoad attr Str Assign AttributeStore NameLoad attr Str Assign AttributeStore NameLoad attr Num Expr Call NameLoad decorator_list NameLoad FunctionDef arguments args defaults body Assign AttributeStore NameLoad attr BinOpMod Str NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str Assign AttributeStore NameLoad attr BinOpMod Str TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr BinOpMod Str TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr BinOpMod Str NameLoad decorator_list FunctionDef arguments args defaults body Expr Str Assign NameStore BinOpMod Str AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr keyword ListLoad Str Str Expr Call NameLoad BinOpMod Str NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str For NameStore Call AttributeLoad NameLoad attr NameLoad body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad keyword ListLoad Str Str Str keyword NameLoad With Call NameLoad NameLoad Str NameStore body Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr BinOpMod Str NameLoad NameLoad keyword NameLoad Expr Call NameLoad BinOpMod Str TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad decorator_list NameLoad FunctionDef arguments args defaults body Expr Str Assign NameStore Str Expr Call AttributeLoad NameLoad attr NameLoad Str BinOpMod Str AttributeLoad NameLoad attr keyword NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Str Str keyword NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Str keyword NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Str keyword NameLoad Expr Call NameLoad Str Str decorator_list NameLoad FunctionDef arguments args defaults vararg body Expr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad For NameStore NameLoad body If Call AttributeLoad NameLoad attr NameLoad body If Call AttributeLoad NameLoad attr NameLoad Str body For NameStore Call AttributeLoad Call AttributeLoad NameLoad attr NameLoad Str attr Str body Expr Call AttributeLoad NameLoad attr NameLoad keyword NameLoad If Call AttributeLoad NameLoad attr NameLoad Str body For NameStore Call AttributeLoad Call AttributeLoad NameLoad attr NameLoad Str attr Str body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad Str Expr Call AttributeLoad NameLoad attr keyword NameLoad keyword NameLoad keyword NameLoad Expr Call NameLoad Str Expr Call NameLoad BinOpMod Str Call AttributeLoad NameLoad attr NameLoad Str Expr Call NameLoad Str decorator_list NameLoad FunctionDef arguments args defaults vararg body Expr Str Expr Call NameLoad Str Expr Call NameLoad Str Assign NameStore Call NameLoad NameLoad If CompareEq NameLoad ListLoad Str body Assign NameStore NameLoad If CompareNotIn Str NameLoad body Expr Call AttributeLoad NameLoad attr Num Str Expr Call NameLoad NameLoad If CompareIn Str NameLoad body If Call AttributeLoad NameLoad attr Str keyword NameLoad body Assign NameStore Call AttributeLoad NameLoad attr Expr Call NameLoad BinOpMod Str NameLoad keyword Str Expr Call NameLoad BinOpMod Str NameLoad keyword Str Expr Call AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr If CompareIn Str NameLoad body Expr Call NameLoad BinOpMod Str NameLoad Expr Call NameLoad BinOpMod Str NameLoad With Call NameLoad keyword AttributeLoad NameLoad attr body Expr Call NameLoad BinOpMod Str NameLoad With Call NameLoad AttributeLoad NameLoad attr body Expr Call NameLoad BinOpMod Str NameLoad With Call NameLoad Call NameLoad Str keyword NameLoad body Assign NameStore Call NameLoad Str If UnaryOpNot NameLoad body Expr Call NameLoad Str With Call NameLoad Call NameLoad Str keyword NameLoad body Assign NameStore Call NameLoad Str If UnaryOpNot NameLoad body Expr Call NameLoad Str Expr Call NameLoad BinOpMod Str AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str Str Str Str Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr keyword NameLoad Expr Call NameLoad BinOpMod Str TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Expr Call NameLoad Str Expr Call NameLoad Expr Call NameLoad keyword Str Expr Call NameLoad keyword Str Expr Call NameLoad Str Expr Call NameLoad BinOpMod Str NameLoad If CompareIn Str NameLoad body Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr keyword BinOpMod Str NameLoad decorator_list NameLoad FunctionDef arguments args NameParam defaults body Expr Str Expr Call NameLoad NameLoad keyword AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults Num BinOpAdd AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Expr Str Return Call AttributeLoad Str attr ListComp Call AttributeLoad NameLoad attr NameLoad comprehension NameStore Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults Num NameLoad body Expr Str For NameStore NameLoad body Assign NameStore Call AttributeLoad Str attr ListLoad AttributeLoad NameLoad attr NameLoad If NameLoad body Assign NameStore Call NameLoad keyword NameLoad Expr Call NameLoad BinOpMod Str NameLoad keyword AttributeLoad NameLoad attr Expr Call NameLoad BinOpMod Str NameLoad keyword AttributeLoad NameLoad attr With Call NameLoad Str body Expr Call NameLoad BinOpMod Str TupleLoad NameLoad NameLoad keyword AttributeLoad NameLoad attr If BoolOpAnd AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad body With Call NameLoad Str body Assign NameStore Call AttributeLoad Call NameLoad BinOpMod Str NameLoad attr orelse Assign NameStore Call NameLoad BinOpMod Str NameLoad Expr Call NameLoad NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args defaults body Expr Str Expr Call NameLoad Str If UnaryOpNot AttributeLoad NameLoad attr body Expr Call NameLoad Expr Call NameLoad keyword Str Expr Call NameLoad keyword Str Expr Call AttributeLoad NameLoad attr keyword BinOpMod Str NameLoad Expr Call NameLoad Str decorator_list NameLoad FunctionDef arguments args defaults body Expr Str Expr Call NameLoad Str Expr Call NameLoad AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr BinOpMod Str NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad keyword NameLoad keyword NameLoad Expr Call NameLoad BinOpMod Str TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad decorator_list NameLoad FunctionDef arguments args defaults body Expr Str Expr Call NameLoad Str Expr Call NameLoad BinOpMod Str Dict Str Str Str AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str Str AttributeLoad NameLoad attr decorator_list NameLoad FunctionDef arguments args NameParam defaults body Expr Str Expr Call NameLoad Str Assign NameStore BinOpMod Str NameLoad If CompareNotIn Str NameLoad body Assign NameStore BinOpMod Str TupleLoad NameLoad AttributeLoad NameLoad attr Expr Call NameLoad BinOpMod Str TupleLoad NameLoad NameLoad decorator_list NameLoad FunctionDef arguments args defaults body Expr Str Expr Call NameLoad Str decorator_list NameLoad FunctionDef arguments args defaults body Expr Str Expr Call NameLoad Str Expr Call NameLoad Str decorator_list NameLoad FunctionDef arguments args defaults body Expr Str Expr Call NameLoad Str Expr Call NameLoad Str decorator_list NameLoad FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Return CompareIsNot Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults NameLoad NameLoad body Expr Str Expr Call NameLoad Str If CompareIsNot NameLoad NameLoad body Assign AttributeStore NameLoad attr NameLoad Assign NameStore IfExp UnaryOpNot NameLoad NameLoad NameLoad Assign NameStore IfExp UnaryOpNot NameLoad NameLoad NameLoad With Call NameLoad AttributeLoad NameLoad attr body With Call NameLoad keyword AttributeLoad NameLoad attr body Expr Call NameLoad Str Assign NameStore Call NameLoad BinOpMod Str NameLoad Assign NameStore Call NameLoad NameLoad Str Assign NameStore Call NameLoad NameLoad Str If BoolOpOr NameLoad NameLoad body Expr Call NameLoad BinOpMod Str NameLoad With Call NameLoad keyword AttributeLoad NameLoad attr body Expr Call NameLoad BinOpMod Str NameLoad If NameLoad body Expr Call NameLoad Expr Call NameLoad orelse If NameLoad body Expr Call NameLoad Expr Call NameLoad Expr Call NameLoad BinOpMod Str NameLoad decorator_list NameLoad FunctionDef arguments args NameParam defaults body Expr Str Expr Call NameLoad Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str Expr Call NameLoad NameLoad NameLoad keyword NameLoad Expr Call NameLoad BinOpMod Str TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad decorator_list NameLoad FunctionDef arguments args NameParam defaults NameLoad body Expr Str Expr Call NameLoad Str Assign NameStore BinOpMod Str NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr NameLoad Assign NameStore Str If NameLoad body AugAssignAdd NameStore Str Expr Call NameLoad BinOpMod Str TupleLoad NameLoad AttributeLoad NameLoad attr NameLoad keyword AttributeLoad NameLoad attr Expr Call NameLoad NameLoad NameLoad decorator_list NameLoad FunctionDef arguments args NameParam defaults body Expr Str Expr Call NameLoad Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr BinOpMod Str NameLoad Expr Call NameLoad NameLoad NameLoad keyword NameLoad Expr Call NameLoad BinOpMod Str TupleLoad AttributeLoad NameLoad attr NameLoad keyword AttributeLoad NameLoad attr decorator_list NameLoad FunctionDef arguments args defaults body Expr Str Expr Call NameLoad Str keyword TupleLoad Str Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str Expr Call NameLoad BinOpMod Str TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index Num NameLoad NameLoad decorator_list NameLoad FunctionDef arguments args defaults body Expr Str Expr Call NameLoad Str keyword TupleLoad Str Str Assign NameStore BinOpMod Str NameLoad If UnaryOpNot Call AttributeLoad NameLoad attr NameLoad keyword NameLoad body Expr Call AttributeLoad NameLoad attr Str If CompareEq AttributeLoad NameLoad attr Str body ImportFrom alias identifier orelse ImportFrom alias identifier ImportFrom alias identifier Assign NameStore SubscriptLoad SubscriptLoad NameLoad Index Str Index Str Assign NameStore SubscriptLoad SubscriptLoad NameLoad Index Str Index Str With Call NameLoad keyword NameLoad body Expr Call NameLoad BinOpMod Str NameLoad Expr Call NameLoad BinOpMod Str NameLoad Assign NameStore BinOpMod Str TupleLoad AttributeLoad NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index Num Expr Call NameLoad BinOpMod Str TupleLoad AttributeLoad NameLoad attr NameLoad NameLoad NameLoad decorator_list NameLoad
N/A N/A ConfigParser N/A os N/A random N/A re N/A string getpass getpass argyle postgres nginx system argyle.supervisor supervisor_command upload_supervisor_app_conf argyle.system service_command fabric utils fabric.api cd env get hide local put require run settings sudo task fabric.contrib files console N/A PROJECT_ROOT N/A N/A N/A os path dirname __file__ N/A CONF_ROOT N/A N/A N/A os path join PROJECT_ROOT conf N/A SERVER_ROLES N/A app lb db N/A N/A env project raspberryio N/A N/A env project_user raspberryio N/A N/A env repo git@github.com:python/raspberryio.git N/A N/A env shell /bin/bash -c N/A N/A env disable_known_hosts True N/A N/A env ssh_port 2222 N/A N/A env forward_agent True N/A N/A env password_names N/A newrelic_license_key N/A N/A env ARGYLE_TEMPLATE_DIRS N/A N/A N/A os path join CONF_ROOT templates vagrant N/A N/A N/A N/A N/A N/A env environment staging N/A N/A env vagrant True N/A N/A env hosts N/A 33.33.33.10 N/A N/A env branch develop N/A N/A env server_name vagrant.raspberry.io N/A N/A setup_path N/A task staging N/A N/A N/A N/A N/A N/A env environment staging N/A N/A env vagrant False N/A N/A env hosts N/A raspberryio-staging.caktusgroup.com N/A N/A env branch develop N/A N/A env server_name raspberryio-staging.caktusgroup.com N/A N/A env port 2222 N/A N/A setup_path N/A task production N/A N/A N/A N/A N/A N/A env environment production N/A N/A env vagrant False N/A N/A env hosts N/A raspberry.int.python.org N/A N/A env branch master N/A N/A env server_name raspberry.io N/A N/A env ssh_port 22 N/A N/A setup_path N/A task setup_path N/A N/A N/A N/A N/A N/A env home N/A /home/%(project_user)s/ env N/A N/A env root N/A N/A N/A os path join N/A env home www N/A env environment N/A N/A env code_root N/A N/A N/A os path join N/A env root N/A env project N/A N/A env project_root N/A N/A N/A os path join N/A env code_root N/A env project N/A N/A env virtualenv_root N/A N/A N/A os path join N/A env root env N/A N/A env log_dir N/A N/A N/A os path join N/A env root log N/A N/A env db N/A %s_%s N/A N/A env project N/A env environment N/A N/A env vhost N/A %s_%s N/A N/A env project N/A env environment N/A N/A env settings N/A %(project)s.settings.%(environment)s env N/A create_users N/A N/A N/A N/A N/A Create project user and developer users. N/A ssh_dir N/A /home/%s/.ssh N/A env project_user N/A N/A N/A system create_user N/A env project_user groups N/A www-data login N/A N/A sudo N/A mkdir -p %s ssh_dir N/A user_dir N/A N/A N/A os path join CONF_ROOT users N/A username N/A N/A os listdir user_dir N/A N/A key_file N/A N/A N/A os path normpath N/A N/A N/A os path join user_dir username N/A N/A N/A system create_user username groups N/A dev login admin key_file key_file N/A N/A open key_file rt f N/A N/A ssh_key N/A N/A f read N/A N/A N/A files append N/A %s/authorized_keys ssh_dir ssh_key use_sudo True N/A N/A sudo N/A chown -R %s:%s %s N/A N/A env project_user N/A env project_user ssh_dir N/A task configure_ssh N/A N/A N/A N/A N/A 
    Change sshd_config defaults:
    Change default port
    Disable root login
    Disable password login
    Restrict to only login group
     N/A ssh_config /etc/ssh/sshd_config N/A N/A N/A files sed ssh_config Port 22$ N/A Port %s N/A env ssh_port use_sudo True N/A N/A N/A files sed ssh_config PermitRootLogin yes PermitRootLogin no use_sudo True N/A N/A N/A files append ssh_config AllowGroups login use_sudo True N/A N/A N/A files append ssh_config PasswordAuthentication no use_sudo True N/A N/A service_command ssh reload N/A task install_packages N/A N/A N/A roles N/A N/A Install packages for the given roles. N/A config_file N/A N/A N/A os path join CONF_ROOT packages.conf N/A config N/A N/A ConfigParser SafeConfigParser N/A N/A N/A config read config_file N/A role roles N/A N/A N/A N/A config has_section role N/A N/A N/A N/A config has_option role ppas N/A N/A ppa N/A N/A N/A N/A config get role ppas split N/A N/A N/A N/A system add_ppa ppa update False N/A N/A N/A config has_option role sources N/A N/A section N/A N/A N/A N/A config get role sources split N/A N/A source N/A N/A config get section source N/A key N/A N/A config get section key N/A N/A N/A system add_apt_source source source key key update False N/A N/A sudo apt-get update N/A N/A sudo N/A apt-get install -y %s N/A N/A config get role packages N/A N/A sudo apt-get upgrade -y N/A task setup_server N/A N/A N/A roles N/A N/A Install packages and add configurations for server given roles. N/A N/A require environment N/A N/A sudo /usr/sbin/update-locale LANG=en_US.UTF-8 N/A roles N/A list roles N/A N/A roles N/A all N/A N/A roles SERVER_ROLES N/A N/A base roles N/A N/A N/A N/A roles insert 0 base N/A N/A install_packages roles N/A N/A db roles N/A N/A N/A N/A console confirm Do you want to reset the Postgres cluster?. default False N/A N/A pg_version N/A N/A postgres detect_version N/A N/A sudo N/A pg_dropcluster --stop %s main pg_version user postgres N/A N/A sudo N/A pg_createcluster --start -e UTF-8 --locale en_US.UTF-8 %s main pg_version user postgres N/A N/A N/A postgres create_db_user username N/A env project_user N/A N/A N/A postgres create_db name N/A env db owner N/A env project_user N/A N/A app roles N/A N/A N/A project_run N/A mkdir -p %(root)s env N/A N/A project_run N/A mkdir -p %(log_dir)s env N/A N/A settings user N/A env project_user N/A N/A N/A run N/A git clone %(repo)s %(code_root)s env N/A N/A cd N/A env code_root N/A N/A N/A run N/A git checkout %(branch)s env N/A N/A settings N/A hide everything warn_only True N/A N/A test_for_pip N/A run which pip N/A N/A test_for_pip N/A N/A N/A sudo easy_install -U pip N/A N/A settings N/A hide everything warn_only True N/A N/A test_for_virtualenv N/A run which virtualenv N/A N/A test_for_virtualenv N/A N/A N/A sudo pip install -U virtualenv N/A N/A project_run N/A virtualenv -p python2.7 --clear --distribute %s N/A env virtualenv_root N/A path_file N/A N/A N/A os path join N/A env virtualenv_root lib python2.7 site-packages project.pth N/A N/A N/A files append path_file N/A env code_root use_sudo True N/A N/A sudo N/A chown %s:%s %s N/A N/A env project_user N/A env project_user path_file N/A N/A sudo npm install less@1.3 -g N/A N/A update_requirements N/A N/A upload_supervisor_app_conf app_name gunicorn N/A N/A upload_supervisor_app_conf app_name group N/A N/A supervisor_command reload N/A N/A supervisor_command N/A restart %(environment)s:* env N/A N/A lb roles N/A N/A N/A N/A nginx remove_default_site N/A N/A N/A nginx upload_nginx_site_conf site_name N/A %(project)s-%(environment)s.conf env N/A task project_run N/A N/A cmd N/A N/A N/A  Uses sudo to allow developer to run commands as project user. N/A N/A sudo cmd user N/A env project_user N/A _random_password N/A N/A length chars N/A 8 N/A N/A string letters N/A string digits N/A N/A Generates a random password with the specificed length and chars. N/A N/A N/A join N/A N/A N/A random choice chars N/A i N/A range length N/A _load_passwords N/A N/A names length generate N/A 20 False N/A N/A Retrieve password from the user's home directory, or generate a new random one if none exists N/A name names N/A N/A filename N/A N/A join N/A N/A env home name N/A generate N/A N/A passwd N/A _random_password length length N/A N/A sudo N/A touch %s filename user N/A env project_user N/A N/A sudo N/A chmod 600 %s filename user N/A env project_user N/A N/A hide running N/A N/A N/A sudo N/A echo "%s">%s N/A passwd filename user N/A env project_user N/A N/A N/A env host_string N/A N/A files exists filename N/A N/A N/A hide stdout N/A N/A passwd N/A N/A N/A sudo N/A cat %s filename strip N/A N/A passwd N/A getpass N/A Please enter %s:  name N/A N/A setattr env name passwd N/A update_service_confs N/A N/A N/A N/A N/A Update supervisor configuration. N/A N/A require environment N/A N/A N/A env vagrant N/A N/A N/A upload_newrelic_conf N/A N/A upload_supervisor_app_conf app_name gunicorn N/A N/A upload_supervisor_app_conf app_name group N/A N/A N/A nginx upload_nginx_site_conf site_name N/A %(project)s-%(environment)s.conf env N/A N/A supervisor_command reload N/A task upload_newrelic_conf N/A N/A N/A N/A N/A Upload New Relic configuration from the template. N/A N/A require environment N/A N/A _load_passwords N/A env password_names N/A template N/A N/A N/A os path join CONF_ROOT templates newrelic.ini N/A destination N/A N/A N/A os path join N/A env root N/A newrelic-%(environment)s.ini env N/A N/A N/A files upload_template template destination context env use_sudo True N/A N/A sudo N/A chown %s:%s %s N/A N/A env project_user N/A env project_user destination N/A task update_requirements N/A N/A N/A N/A N/A Update required Python libraries. N/A N/A require environment N/A N/A project_run N/A HOME=%(home)s %(virtualenv)s/bin/pip install --use-mirrors -r %(requirements)s N/A virtualenv requirements home N/A env virtualenv_root N/A N/A N/A os path join N/A env code_root requirements production.txt N/A env home N/A task manage_run N/A N/A command N/A N/A N/A Run a Django management command on the remote server. N/A N/A require environment N/A manage_base N/A %(virtualenv_root)s/bin/django-admin.py  env N/A N/A --settings command N/A N/A command N/A %s --settings=%s N/A command N/A env settings N/A N/A project_run N/A %s %s N/A manage_base command N/A task manage_shell N/A N/A N/A N/A N/A Drop into the remote Django shell. N/A N/A manage_run shell N/A task syncdb N/A N/A N/A N/A N/A Run syncdb and South migrations. N/A N/A manage_run syncdb N/A N/A manage_run migrate --noinput N/A task collectstatic N/A N/A N/A N/A N/A Collect static files. N/A N/A manage_run compress N/A N/A manage_run collectstatic --noinput N/A task match_changes N/A N/A changes match N/A N/A N/A pattern N/A N/A re compile match N/A N/A N/A N/A pattern search changes None N/A deploy N/A N/A branch full N/A None False N/A N/A Deploy to a given environment. N/A N/A require environment N/A N/A branch None N/A N/A N/A env branch branch N/A requirements N/A N/A full False True N/A migrations N/A N/A full False True N/A N/A cd N/A env code_root N/A N/A N/A settings user N/A env project_user N/A N/A N/A run git fetch origin N/A changes N/A run N/A git diff origin/%(branch)s --stat-name-width=9999 env N/A requirements N/A match_changes changes requirements/ N/A migrations N/A match_changes changes /migrations/ N/A N/A requirements migrations N/A N/A N/A supervisor_command N/A stop %(environment)s:* env N/A N/A settings user N/A env project_user N/A N/A N/A run N/A git reset --hard origin/%(branch)s env N/A requirements N/A N/A N/A update_requirements N/A N/A syncdb N/A N/A migrations N/A N/A N/A syncdb N/A N/A collectstatic N/A N/A supervisor_command N/A restart %(environment)s:* env N/A task upload_secrets N/A N/A secrets_filepath N/A N/A N/A Upload a settings.ini file to the server N/A N/A require environment N/A destination_file N/A N/A N/A os path join N/A env root settings.ini N/A N/A put secrets_filepath destination_file use_sudo True N/A N/A sudo N/A chown %s:%s %s N/A N/A env project_user N/A env project_user destination_file N/A task get_db_dump N/A N/A clean N/A True N/A N/A Get db dump of remote enviroment. N/A N/A require environment N/A dump_file N/A %(environment)s.sql env N/A temp_file N/A N/A N/A os path join N/A env home dump_file N/A flags -Ox N/A clean N/A N/A flags c N/A N/A sudo N/A pg_dump %s %s > %s N/A flags N/A env db temp_file user N/A env project_user N/A N/A get temp_file dump_file N/A task load_db_dump N/A N/A dump_file N/A N/A N/A Load db dump on a remote environment. N/A N/A require environment N/A temp_file N/A N/A N/A os path join N/A env home N/A %(environment)s.sql env N/A N/A put dump_file temp_file use_sudo True N/A N/A sudo N/A psql -d %s -f %s N/A N/A env db temp_file user N/A env project_user N/A task reset_local_media N/A N/A N/A N/A N/A  Reset local media from remote host  N/A N/A require environment provided_by N/A staging production N/A media N/A N/A N/A os path join N/A env code_root public/media N/A N/A local N/A rsync -rvaze 'ssh -p %s' %s@%s:%s %s/public N/A N/A env ssh_port N/A env user N/A N/A env hosts N/A 0 media PROJECT_ROOT N/A task reset_local_db N/A N/A N/A N/A N/A  Reset local database from remote host  N/A N/A require code_root provided_by N/A production staging N/A question N/A Are you sure you want to reset your local database with the %(environment)s database? env N/A N/A N/A N/A console confirm question default False N/A N/A N/A N/A utils abort Local database reset aborted. N/A N/A N/A env environment staging N/A raspberryio.settings.staging DATABASES remote N/A raspberryio.settings.production DATABASES remote raspberryio.settings.local DATABASES loc N/A local_db N/A N/A loc N/A default N/A NAME N/A remote_db N/A N/A remote N/A default N/A NAME N/A N/A settings warn_only True N/A N/A N/A local N/A dropdb %s local_db N/A N/A local N/A createdb %s local_db N/A host N/A %s@%s N/A N/A env project_user N/A N/A env hosts N/A 0 N/A N/A local N/A ssh -p %s -C %s pg_dump -Ox %s | psql %s N/A N/A env ssh_port host remote_db local_db N/A task