<commit_before>#!/bin/sh
set -e

if ! keytool -list -keystore "/etc/pki/java/cacerts" -storepass "<PASSWORD>" -alias "dc0-stl.schafer.lan.64.cer" ; then
  mkdir ~/s3files
  cd ~/s3files
  aws s3 sync . s3://fite-jenkins-config/dc0-stl.schafer.lan.64.cer
  keytool -import -trustcacerts -alias "dc0-stl.schafer.lan.64.cer" -file "~/s3files/dc0-stl.schafer.lan.64.cer" -keystore "/etc/pki/java/cacerts" -storepass "<PASSWORD>" -noprompt
fi
<commit_msg>Use copy instead of sync<commit_after>#!/bin/sh
set -e

KEYSTORE="/etc/ssl/certs/java/cacerts"
LDAPCERT="dc0-stl.schafer.lan.64.cer"
STOREPASSWORD="<PASSWORD>"

if ! keytool -list -keystore $KEYSTORE -storepass $STOREPASSWORD -alias $LDAPCERT ; then
  mkdir ~/s3files
  cd ~/s3files
  aws s3 cp s3://fite-jenkins-config/$LDAPCERT .
  keytool -import -trustcacerts -alias $LDAPCERT -file ~/s3files/$LDAPCERT -keystore $KEYSTORE -storepass $STOREPASSWORD -noprompt
fi

{'fraction_non_alphanumeric': 0.15829694323144106, 'fraction_numerical': 0.027292576419213975, 'mean_word_length': 3.9037433155080214, 'pattern_counts': {'":': 0, '<': 6, '<?xml version=': 0, '>': 6, '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': '5642371', 'n_tokens_mistral': 413, 'n_tokens_neox': 399, 'n_words': 75}