<commit_before>#!/usr/bin/env bash

set -eu
# USAGE: ./remove_user_all_instances.sh userEmail

find $FLOW_SERVER_CONFIG/ -name "appengine-web.xml" -exec sed -n "s/\(.*\)<application>\(.*\)<\/application>\(.*\)/\2/p" {} \; | sort > instances.txt
<commit_msg>[#3636] Add repo config for all instances script<commit_after>#!/usr/bin/env bash

set -eu
# USAGE: ./remove_user_all_instances.sh userEmail

REPOS_HOME="$(cd $(dirname "$0")/../../.. && pwd)"
FLOW_SERVER_CONFIG="$REPOS_HOME/akvo-flow-server-config"

find $FLOW_SERVER_CONFIG/ -name "appengine-web.xml" -exec sed -n "s/\(.*\)<application>\(.*\)<\/application>\(.*\)/\2/p" {} \; | sort > instances.txt

{'fraction_non_alphanumeric': 0.23404255319148937, 'fraction_numerical': 0.010638297872340425, 'mean_word_length': 3.8455882352941178, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 9, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 2}, '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': '4140665', 'n_tokens_mistral': 263, 'n_tokens_neox': 248, 'n_words': 46}