Compare commits

..

2 commits

Author SHA1 Message Date
71e7b74f75
filter 2024-09-29 15:42:16 +02:00
b5bcbf845e
11,10 2024-09-29 15:26:23 +02:00

View file

@ -12,14 +12,23 @@ url="https://github.com\
rm --force --recursive "${root}"
mkdir --parents "${root}"
wget --continue --output-document "${path}" "${url}"
wget --continue --output-document "${path}" "${url}" 2>/dev/null
echo
echo "${path}"
cat "${path}"
for url in $(jq -r ".. | objects | .url?" "${path}" |
grep "\(cpython-3\.12\.6\|pypy3\.10\)"); do
file="$(basename "${url}" | sed "s|%2B|+|g")"
dir="$(dirname "${url}")"
date="$(basename "${dir}")"
path="${root}/${date}"
mkdir --parents "${path}"
wget --continue --output-document "${path}/${file}" "${url}"
grep --invert-match "\(armv7\|ppc64le\|s390x\)" |
grep --invert-match "\(apple-darwin\|macos\|windows-msvc\)"); do
case "$(basename "${url}")" in
cpython-3.12* | cpython-3.11* | cpython-3.10* | pypy3.10*)
file="$(basename "${url}" | sed "s|%2B|+|g")"
dir="$(dirname "${url}")"
date="$(basename "${dir}")"
path="${root}/${date}"
mkdir --parents "${path}"
wget --continue --output-document "${path}/${file}" "${url}"
;;
*) ;;
esac
done