<commit_before>#!/bin/bash
set -eu -o pipefail

if [[ -e .env ]]; then
  # shellcheck disable=SC1091
  . .env
fi

# shellcheck disable=SC1091
readonly OS_ID=$(. /etc/os-release; echo "$ID")

echo 'Install s3fs'
case $OS_ID in
  ol)
    sudo yum -y --enablerepo=ol7_developer_EPEL install s3fs-fuse
    ;;
  ubuntu)
    sudo apt update
    sudo apt -y install s3fs
    ;;
esac<commit_msg>Support Oracle Linux 8<commit_after>#!/bin/bash
set -eu -o pipefail

if [[ -e .env ]]; then
  # shellcheck disable=SC1091
  . .env
fi

# shellcheck disable=SC1091
readonly OS_ID=$(. /etc/os-release; echo "$ID")
# shellcheck disable=SC1091
readonly OS_VERSION=$(. /etc/os-release; echo "$VERSION")

echo 'Install s3fs'
case $OS_ID in
  ol)
    case ${OS_VERSION%%.*} in
      7)
        sudo yum -y --enablerepo=ol7_developer_EPEL install s3fs-fuse
        ;;
      8)
        sudo yum -y --enablerepo=ol8_developer_EPEL install s3fs-fuse
        ;;
    esac
    ;;
  ubuntu)
    sudo apt update
    sudo apt -y install s3fs
    ;;
esac
{'fraction_non_alphanumeric': 0.12720156555772993, 'fraction_numerical': 0.03228962818003914, 'mean_word_length': 2.693140794223827, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '4297606', 'n_tokens_mistral': 432, 'n_tokens_neox': 387, 'n_words': 107}