<commit_before>#!/bin/bash

set -e

TAG="registry.gitlab.gnome.org/gnome/glib-networking/master:v5"

cd "$(dirname "$0")"

podman build --build-arg HOST_USER_ID="$UID" --tag "${TAG}" .

if [ "$1" = "--push" ]; then
  podman login registry.gitlab.gnome.org
  podman push $TAG
else
  podman run --rm \
      --volume "$(pwd)/..:/home/user/app" --workdir "/home/user/app" \
      --tty --interactive "${TAG}" bash
fi<commit_msg>Revert "ci: docker -> podman"<commit_after>#!/bin/bash

set -e

TAG="registry.gitlab.gnome.org/gnome/glib-networking/master:v4"

cd "$(dirname "$0")"

sudo docker build --build-arg HOST_USER_ID="$UID" --tag "${TAG}" --file "Dockerfile" .

if [ "$1" = "--push" ]; then
  sudo docker login registry.gitlab.gnome.org
  sudo docker push $TAG
else
  sudo docker run --rm \
      --volume "$(pwd)/..:/home/user/app" --workdir "/home/user/app" \
      --tty --interactive "${TAG}" bash
fi
{'fraction_non_alphanumeric': 0.2108167770419426, 'fraction_numerical': 0.006622516556291391, 'mean_word_length': 3.0132743362831858, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 4, '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': '203926', 'n_tokens_mistral': 365, 'n_tokens_neox': 337, 'n_words': 80}