<commit_before>#!/bin/bash
set -e
project_name=nodejs
copr_login=$COPR_LOGIN
copr_username=$COPR_USERNAME
copr_token=$COPR_TOKEN
spec_file=${project_name}.spec


mkdir -p ~/.config
cat > ~/.config/copr <<EOF
[copr-cli]
login = ${copr_login}
username = ${copr_username}
token = ${copr_token}
copr_url = https://copr.fedoraproject.org
EOF

version=`awk '$1=="Version:" {print $2}' ${spec_file}`
release=`awk '$1=="Release:" {print $2}' ${spec_file} |tr -d "%{?dist}"`
srpm_file=./dist/SRPMS/${project_name}-${version}-${release}.fc23.src.rpm
copr-cli build --nowait ${project_name} ${srpm_file}

<commit_msg>for lts repo<commit_after>#!/bin/bash
set -e
project_name=nodejs
copr_login=$COPR_LOGIN
copr_username=$COPR_USERNAME
copr_token=$COPR_TOKEN
spec_file=${project_name}.spec


mkdir -p ~/.config
cat > ~/.config/copr <<EOF
[copr-cli]
login = ${copr_login}
username = ${copr_username}
token = ${copr_token}
copr_url = https://copr.fedoraproject.org
EOF

version=`awk '$1=="Version:" {print $2}' ${spec_file}`
release=`awk '$1=="Release:" {print $2}' ${spec_file} |tr -d "%{?dist}"`
srpm_file=./dist/SRPMS/${project_name}-${version}-${release}.fc23.src.rpm
copr-cli build --nowait ${project_name}-lts ${srpm_file}


{'fraction_non_alphanumeric': 0.20164609053497942, 'fraction_numerical': 0.009876543209876543, 'mean_word_length': 6.414634146341464, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 5, 'https://': 2, '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': '1722365', 'n_tokens_mistral': 504, 'n_tokens_neox': 492, 'n_words': 88}