<commit_before>import re
import os
import datetime

from fabric.api import run, env, local, sudo, put, require, cd
from fabric.contrib.project import rsync_project
from fabric.contrib import console
from fabric.operations import get
from fabric import utils
from fabric.context_managers import prefix


LUTRIS_REMOTE = '<EMAIL>:lutris/website.git'
RSYNC_EXCLUDE = (
    '.git',
    '.gitignore',
    '*.pyc',
    '*.example',
    '*.db',
    'media',
    'static',
    'local_settings.py',
    'fabfile.py',
    'bootstrap.py',
    'tags',
    'lutris_client',
)

env.project = 'lutrisweb'
env.home = '/srv'
env.name = 'lutris'
env.settings_module = 'lutrisweb.settings.production'


def _setup_path():
    env.root = os.path.join(env.home, env.name)
    env.code_root = os.path.join(env.root, env.domain)


def staging():
    """ use staging environment on remote host"""
    env.user = 'django'
    env.environment = 'staging'
    env.domain = 'dev.lutris.net'
    env.port = '22101'
    env.hosts = [env.domain + ':' + env.port]
    _setup_path()


def production():
    """ use production environment on remote host"""<commit_msg>Remote more rsync related stuff from fabfile<commit_after>import re
import os
import datetime

from fabric.api import run, env, local, sudo, put, require, cd
from fabric.operations import get
from fabric.context_managers import prefix


LUTRIS_REMOTE = '<EMAIL>:lutris/website.git'

env.project = 'lutrisweb'
env.home = '/srv'
env.name = 'lutris'
env.settings_module = 'lutrisweb.settings.production'


def _setup_path():
    env.root = os.path.join(env.home, env.name)
    env.code_root = os.path.join(env.root, env.domain)


def staging():
    """ use staging environment on remote host"""
    env.user = 'django'
    env.environment = 'staging'
    env.domain = 'dev.lutris.net'
    env.port = '22101'
    env.hosts = [env.domain + ':' + env.port]
    _setup_path()


def production():
    """ use production environment on remote host"""
{'fraction_non_alphanumeric': 0.13721518987341771, 'fraction_numerical': 0.005063291139240506, 'mean_word_length': 3.616822429906542, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, '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': '5948145', 'n_tokens_mistral': 694, 'n_tokens_neox': 654, 'n_words': 170}