<commit_before>from fabric.api import run, settings, local
#from fabric.decorators import hosts
#from fabric.operations import local

#@hosts('localhost')
def setup():
    "Clones the repositories"
    
    repos = ["<EMAIL>:mvpdev/odk_dropbox.git",
             "<EMAIL>:mvpdev/nmis_analysis.git",
             "<EMAIL>:mvpdev/django-eav.git",]
    for repo in repos:
        local("git clone %s" % repo, capture=True)

    # Here are some comments on virtualenv, pip, and fabric, for right
    # now I'm going to kludge something together with a sym link
    #http://stackoverflow.com/questions/1180411/activate-a-virtualenv-via-fabric-as-deploy-user
    # "pip install -e git+git://github.com/mvpdev/django-eav.git#egg=django-eav"
    local("ln -s django-eav/eav eav", capture=True)

    local("cp custom_settings_example.py custom_settings.py", capture=True)


def git_pull_all():
    "Updates all the repositories"
    
    local('cd odk_dropbox && git pull origin master', capture=True)
    local('cd nmis_analysis && git pull origin master', capture=True)
    local('cd django-eav && git pull origin master', capture=True)<commit_msg>fabfile now pulls the base repo also.<commit_after>from fabric.api import run, settings, local
#from fabric.decorators import hosts
#from fabric.operations import local

#@hosts('localhost')
def setup():
    "Clones the repositories"
    
    repos = ["<EMAIL>:mvpdev/odk_dropbox.git",
             "<EMAIL>:mvpdev/nmis_analysis.git",
             "<EMAIL>:mvpdev/django-eav.git",]
    for repo in repos:
        local("git clone %s" % repo, capture=True)

    # Here are some comments on virtualenv, pip, and fabric, for right
    # now I'm going to kludge something together with a sym link
    #http://stackoverflow.com/questions/1180411/activate-a-virtualenv-via-fabric-as-deploy-user
    # "pip install -e git+git://github.com/mvpdev/django-eav.git#egg=django-eav"
    local("ln -s django-eav/eav eav", capture=True)

    local("cp custom_settings_example.py custom_settings.py", capture=True)


def git_pull_all():
    "Updates all the repositories"
    local('git pull origin master', caputre=True)
    local('cd odk_dropbox && git pull origin master', capture=True)
    local('cd nmis_analysis && git pull origin master', capture=True)
    local('cd django-eav && git pull origin master', capture=True)
{'fraction_non_alphanumeric': 0.12377711612079965, 'fraction_numerical': 0.005954912803062527, 'mean_word_length': 3.7419354838709675, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 9, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3648904', 'n_tokens_mistral': 769, 'n_tokens_neox': 737, 'n_words': 202}