<commit_before>#!/bin/bash
#====================================================================================================
#
# Does a 'git pull --rebase' on every active repo.  Done in parallel.  See pull-all.sh for the series one.
# See https://github.com/phetsims/chipper/issues/576 for more information
#
# Author: <NAME>
# Author: <NAME>
#
#====================================================================================================

CHIPPER_BIN=`dirname "${BASH_SOURCE[0]}"`
WORKING_DIR=${CHIPPER_BIN}/../..
cd ${WORKING_DIR}

for repo in `cat chipper/data/active-repos | xargs | tr -d '\r'`
do
  if [ -d "$repo" ]; then
    echo $repo
    cd $repo

    # Run the pull in the background
    git pull --rebase &
    cd ..
  fi
done

# Wait for all background tasks to complete.
wait<commit_msg>Suppress printing out directories, see https://github.com/phetsims/chipper/issues/576<commit_after>#!/bin/bash
#====================================================================================================
#
# Does a 'git pull --rebase' on every active repo.  Done in parallel.  See pull-all.sh for the series one.
# See https://github.com/phetsims/chipper/issues/576 for more information
#
# Author: <NAME>
# Author: <NAME>
#
#====================================================================================================

CHIPPER_BIN=`dirname "${BASH_SOURCE[0]}"`
WORKING_DIR=${CHIPPER_BIN}/../..
cd ${WORKING_DIR}

for repo in `cat chipper/data/active-repos | xargs | tr -d '\r'`
do
  if [ -d "$repo" ]; then
    cd $repo

    # Run the pull in the background
    git pull --rebase &
    cd ..
  fi
done

# Wait for all background tasks to complete.
wait
{'fraction_non_alphanumeric': 0.3493761140819964, 'fraction_numerical': 0.006535947712418301, 'mean_word_length': 4.485342019543974, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, 'https://': 3, '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': '5968349', 'n_tokens_mistral': 509, 'n_tokens_neox': 471, 'n_words': 144}