<commit_before>from fabric.api import *

env.roledefs['dl'] = ['dl.rockstack.org']

def rsync(args):
    return 'rsync --exclude=repodata -av %s' % args

def sync_local_down():
    local(rsync('%s:build/epel/6/ rpm/build/epel/6/' % env.roledefs['dl'][0]))

def sync_local():
    local(rsync('rpm/build/epel/6/ %s:build/epel/6/' % env.roledefs['dl'][0]))

def sync_repo(name):
    root = '/srv/dl.rockstack.org/rpm/%s/el/6' % name

    sudo(rsync('build/epel/6/ %s' % root))<commit_msg>Tweak sync names in fabfile<commit_after>from fabric.api import *

env.roledefs['dl'] = ['dl.rockstack.org']

def rsync(args):
    return 'rsync --exclude=repodata -av %s' % args

def sync_down():
    local(rsync('%s:build/epel/6/ rpm/build/epel/6/' % env.roledefs['dl'][0]))

def sync_up():
    local(rsync('rpm/build/epel/6/ %s:build/epel/6/' % env.roledefs['dl'][0]))

def sync_repo(name):
    root = '/srv/dl.rockstack.org/rpm/%s/el/6' % name

    sudo(rsync('build/epel/6/ %s' % root))
{'fraction_non_alphanumeric': 0.2194871794871795, 'fraction_numerical': 0.01641025641025641, 'mean_word_length': 3.855721393034826, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '1238414', 'n_tokens_mistral': 431, 'n_tokens_neox': 416, 'n_words': 65}