<commit_before>#
# report versions configured for production deployment
#

DEPLOY_SCRIPTING_DIR=../build-deploy-scripts

function report_version {
   local dirname=$1
   local reportname=$2
   local tagfile=$DEPLOY_SCRIPTING_DIR/$dirname/production.tag

   local tag="unknown"
   if [ -f "$tagfile" ]; then
      tag=$(cat $tagfile)
   fi

   echo " $reportname -> $tag"
}

echo "Versions configured for production deployment"

report_version "deposit-auth-ws" "depositauth service"

report_version "deposit-reg-ws" "depositreg service"

report_version "entity-id-ws" "entityid service"

report_version "orcid-access-ws" "ORCID access service"

report_version "authtoken-ws" "tokenauth service"

report_version "user-ws" "userinfo service"

report_version "libra-etd" "libra-etd webapp"

report_version "libra-oc" "libra-oc webapp"

report_version "deposit-registration" "depositreg webapp"

report_version "libra2-admin" "libra-etd admin webapp"

exit 0<commit_msg>Ensure we include the worker pools version info<commit_after>#
# report versions configured for production deployment
#

DEPLOY_SCRIPTING_DIR=../build-deploy-scripts

function report_version {
   local dirname=$1
   local reportname=$2
   local tagfile=$DEPLOY_SCRIPTING_DIR/$dirname/production.tag

   local tag="unknown"
   if [ -f "$tagfile" ]; then
      tag=$(cat $tagfile)
   fi

   echo " $reportname -> $tag"
}

echo "Versions configured for production deployment"

report_version "deposit-auth-ws" "depositauth service"

report_version "deposit-reg-ws" "depositreg service"

report_version "entity-id-ws" "entityid service"

report_version "orcid-access-ws" "ORCID access service"

report_version "authtoken-ws" "tokenauth service"

report_version "user-ws" "userinfo service"

report_version "libra-etd" "libra-etd webapp"
report_version "libra-etd-workerpool" "libra-etd worker pool"

report_version "libra-oc" "libra-oc webapp"
report_version "libra-oc-workerpool" "libra-oc workerpool"

report_version "deposit-registration" "depositreg webapp"

report_version "libra2-admin" "libra-etd admin webapp"

exit 0
{'fraction_non_alphanumeric': 0.10637278390033542, 'fraction_numerical': 0.003833253473885961, 'mean_word_length': 5.27027027027027, 'pattern_counts': {'":': 0, '<': 3, '<?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': '1192697', 'n_tokens_mistral': 730, 'n_tokens_neox': 703, 'n_words': 171}