<commit_before>#!/bin/sh -ex
ALPINE_VERSION=v3.2
APK_TOOLS=apk-tools-static-2.6.0_rc4-r0.apk
BUSYBOX=busybox-static-1.23.2-r0.apk
ALPINE_KEYS=alpine-keys-1.1-r0.apk


mkdir alpine 2>/dev/null || true
cd alpine
rm MIRRORS.txt 2>/dev/null || true
wget --no-use-server-timestamp http://nl.alpinelinux.org/alpine/MIRRORS.txt -O MIRRORS.txt
mirror=$(sort --random-sort MIRRORS.txt | head -n 1)
wget --no-use-server-timestamp $mirror/$ALPINE_VERSION/main/x86_64/$APK_TOOLS -O $APK_TOOLS
wget --no-use-server-timestamp $mirror/$ALPINE_VERSION/main/x86_64/$BUSYBOX -O $BUSYBOX
wget --no-use-server-timestamp $mirror/$ALPINE_VERSION/main/x86_64/$ALPINE_KEYS -O $ALPINE_KEYS

sha1sum -c <<SHA1SUMS
4e93e25cc41ce44d7039371417d3eddc70b9298f  $APK_TOOLS
ff581245a7291bb13a642a4a90704829bf6cbbbb  $BUSYBOX
036260ac2053a02048a57703c62c0730e63b0d79  $ALPINE_KEYS
SHA1SUMS
cd ..

tar -xf alpine/$APK_TOOLS sbin/apk.static -O > apk
tar -xf alpine/$BUSYBOX bin/busybox.static -O > busybox
cp alpine/$ALPINE_KEYS alpine-keys.apk

chmod +x apk busybox<commit_msg>The apk-tools upgraded to apk-tools-static-2.6.0-r0.apk<commit_after>#!/bin/sh -ex
ALPINE_VERSION=v3.2
APK_TOOLS=apk-tools-static-2.6.0-r0.apk
BUSYBOX=busybox-static-1.23.2-r0.apk
ALPINE_KEYS=alpine-keys-1.1-r0.apk


mkdir alpine 2>/dev/null || true
cd alpine
rm MIRRORS.txt 2>/dev/null || true
wget --no-use-server-timestamp http://nl.alpinelinux.org/alpine/MIRRORS.txt -O MIRRORS.txt
mirror=$(sort --random-sort MIRRORS.txt | head -n 1)
wget --no-use-server-timestamp ${mirror}$ALPINE_VERSION/main/x86_64/$APK_TOOLS -O $APK_TOOLS
wget --no-use-server-timestamp ${mirror}$ALPINE_VERSION/main/x86_64/$BUSYBOX -O $BUSYBOX
wget --no-use-server-timestamp ${mirror}$ALPINE_VERSION/main/x86_64/$ALPINE_KEYS -O $ALPINE_KEYS

sha1sum -c <<SHA1SUMS
eb4490c6f7078248d9882a160c20669033ce8bd6  $APK_TOOLS
ff581245a7291bb13a642a4a90704829bf6cbbbb  $BUSYBOX
036260ac2053a02048a57703c62c0730e63b0d79  $ALPINE_KEYS
SHA1SUMS
cd ..

tar -xf alpine/$APK_TOOLS sbin/apk.static -O > apk
tar -xf alpine/$BUSYBOX bin/busybox.static -O > busybox
cp alpine/$ALPINE_KEYS alpine-keys.apk

chmod +x apk busybox
{'fraction_non_alphanumeric': 0.13317647058823529, 'fraction_numerical': 0.11105882352941177, 'mean_word_length': 4.84065934065934, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 11, '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': '1630117', 'n_tokens_mistral': 1152, 'n_tokens_neox': 1000, 'n_words': 147}