<commit_before>import os
import shlex
import string
import subprocess
from ConfigParser import ConfigParser
from datetime import date

DEBUG=1
CP = ConfigParser()


def main():
    CP.read(os.path.join(os.environ['HOME'], '.forgepushrc'))
    engineer = option('re', 'engineer', 'Name of engineer pushing: ')
    text, tag = make_ticket_text(engineer)
    print '*** Create a ticket on NewForge with the following contents:'
    print '*** Summary: Production Push (R:%s, D:%s)' % (
        tag, date.today().strftime('%Y%m%d'))
    print '---BEGIN---'
    print text
    print '---END---'
    raw_input('When this is done, create a JIRA ticket with the same contents...')
    raw_input('Now link the two tickets...')
    newforge_num = raw_input('What is the newforge ticket number? ')
    command('git', 'tag', '-a', tag, '-m', '[#%s] - Push to RE' % newforge_num)
    command('git', 'push', 'origin', 'master')
    command('git', 'push', 'live', 'master')
    command('git', 'push', '--tags', 'origin')
    command('git', 'push', '--tags', 'live')
    raw_input('Now go to the sog-engr channel and let them know that %s is ready'<commit_msg>Add a couple of steps to the pre-push cheklist.<commit_after>import os
import shlex
import string
import subprocess
from ConfigParser import ConfigParser
from datetime import date

DEBUG=1
CP = ConfigParser()


def main():
    CP.read(os.path.join(os.environ['HOME'], '.forgepushrc'))
    engineer = option('re', 'engineer', 'Name of engineer pushing: ')
    text, tag = make_ticket_text(engineer)
    print '*** Create a ticket on NewForge with the following contents:'
    print '*** Summary: Production Push (R:%s, D:%s)' % (
        tag, date.today().strftime('%Y%m%d'))
    print '---BEGIN---'
    print text
    print '---END---'
    raw_input("Verify that there are no new dependencies, or RPM's are build for all deps...")
    raw_input("Verify that a new sandbox builds starts without engr help...")
    raw_input('When this is done, create a JIRA ticket with the same contents...')
    raw_input('Now link the two tickets...')
    newforge_num = raw_input('What is the newforge ticket number? ')
    command('git', 'tag', '-a', tag, '-m', '[#%s] - Push to RE' % newforge_num)
    command('git', 'push', 'origin', 'master')
    command('git', 'push', 'live', 'master')
    command('git', 'push', '--tags', 'origin')
    command('git', 'push', '--tags', 'live')
    raw_input('Now go to the sog-engr channel and let them know that %s is ready'
{'fraction_non_alphanumeric': 0.16673346693386773, 'fraction_numerical': 0.0008016032064128256, 'mean_word_length': 3.64804469273743, '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': '7347228', 'n_tokens_mistral': 796, 'n_tokens_neox': 780, 'n_words': 273}