<commit_before>#!/usr/bin/python3
# Syncs all git forks inside the Development directory
import os
import subprocess


# Master Forks
root_dir = "/home/cgar/Development/"
linode_docs = "/home/cgar/Development/linode-docs/"
linux = "/home/cgar/Development/linux/"
rust = "/home/cgar/Development/rust/"

master_forks = (linode_docs, linux, rust)

for forks in master_forks:
    os.chdir(forks)
    subprocess.call("git fetch upstream", shell=True)
    subprocess.call("git merge upstream/master", shell=True)
    subprocess.call("git push", shell=True)

# Devel branch
os.chdir(ansible)
subprocess.call("git fetch upstream", shell=True)
subprocess.call("git merge upstream/devel", shell=True)
subprocess.call("git push", shell=True)<commit_msg>new forks<commit_after>#!/usr/bin/python3
# Syncs all git forks inside the Development directory
import os
import subprocess


# Master Forks
root_dir = "/home/cgar/Development/"
iron = "/home/cgar/Development/iron/"
linode_docs = "/home/cgar/Development/linode-docs/"
linux = "/home/cgar/Development/linux/"
piston = "/home/cgar/Development/piston/"
rust = "/home/cgar/Development/rust/"
servo = "/home/cgar/Development/servo/"

master_forks = (linode_docs, linux, rust)

for forks in master_forks:
    os.chdir(forks)
    subprocess.call("git fetch upstream", shell=True)
    subprocess.call("git merge upstream/master", shell=True)
    subprocess.call("git push", shell=True)

# Devel branch
os.chdir(ansible)
subprocess.call("git fetch upstream", shell=True)
subprocess.call("git merge upstream/devel", shell=True)
subprocess.call("git push", shell=True)
{'fraction_non_alphanumeric': 0.13875, 'fraction_numerical': 0.00125, 'mean_word_length': 5.1106870229007635, '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': 13, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6364186', 'n_tokens_mistral': 587, 'n_tokens_neox': 526, 'n_words': 120}