<commit_before>#!/bin/bash
set -e -v

source /tmp/proxy.sh
dnf makecache
dnf upgrade --best --nodocs --allowerasing -y

dnf --setopt=install_weak_deps=False --best install -v -y \
    --nodocs --allowerasing \
    nextcloud18-sqlite \
    nextcloud18-postgresql \
    nextcloud18-mysql \
    apache \
    apache-mod_proxy \
    php-fpm \
    php-cli \
    php-intl \
    php-pcntl \
    php-redis \
    php-apcu \
    sudo
rpm --erase basesystem-minimal
rpm --erase rootfiles passwd tcb nss_tcb \
    diffutils pam_tcb etcskel tar \
    rpm-plugin-syslog \
    rpm-plugin-systemd-inhibit \
    sash libutempter \
    lsb-release mageia-release-common  mageia-release-Default \
    mageia-repos mageia-repos-cauldron

rpm --erase vim-minimal

cat <<EOF > /etc/sudo.conf
Set disable_coredump false
EOF

cp /tmp/startup.sh /root
cp /tmp/config.php /etc/nextcloud

sed -i -e 's:120;:1200;:'  /usr/share/nextcloud/lib/private/Installer.php
<commit_msg>remove rpm<commit_after>#!/bin/bash
set -e -v

source /tmp/proxy.sh
dnf makecache
dnf upgrade --best --nodocs --allowerasing -y

dnf --setopt=install_weak_deps=False --best install -v -y \
    --nodocs --allowerasing \
    nextcloud18-sqlite \
    nextcloud18-postgresql \
    nextcloud18-mysql \
    apache \
    apache-mod_proxy \
    php-fpm \
    php-cli \
    php-intl \
    php-pcntl \
    php-redis \
    php-apcu \
    sudo
rpm --erase basesystem-minimal
rpm --erase rootfiles passwd tcb nss_tcb \
    diffutils pam_tcb etcskel tar \
    rpm-plugin-syslog \
    rpm-plugin-systemd-inhibit \
    sash libutempter \
    lsb-release mageia-release-common  mageia-release-Default \
    mageia-repos mageia-repos-cauldron meta-task

rpm --erase vim-minimal

cat <<EOF > /etc/sudo.conf
Set disable_coredump false
EOF

cp /tmp/startup.sh /root
cp /tmp/config.php /etc/nextcloud

sed -i -e 's:120;:1200;:'  /usr/share/nextcloud/lib/private/Installer.php

{'fraction_non_alphanumeric': 0.11835875854813256, 'fraction_numerical': 0.013677012098895318, 'mean_word_length': 2.420863309352518, 'pattern_counts': {'":': 0, '<': 7, '<?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': '1960624', 'n_tokens_mistral': 790, 'n_tokens_neox': 728, 'n_words': 156}