@task
def update_info(ctx):
    with ctx.lcd(settings.SRC_DIR):
        ctx.local('date')
        ctx.local('git branch -a')
        ctx.local('git log -3')
        ctx.local('git status')
        ctx.local('git submodule status')
        ctx.local('git rev-parse HEAD > media/revision.txt')
Write info about the current state to a publicly visible file.
dataset/ETHPy150Open lmorchard/badg.us/scripts/update/update.py/update_info