Compare commits
No commits in common. "3cd1a1d718efccee917044c5b93c7b10726a3b23" and "72f4d4fd1852d773a13438d1b1def64bf74e645e" have entirely different histories.
3cd1a1d718
...
72f4d4fd18
3 changed files with 3 additions and 24 deletions
|
@ -17,7 +17,9 @@ for dist in "${DISTS[@]}"; do
|
||||||
for section in "${SECTIONS[@]}"; do
|
for section in "${SECTIONS[@]}"; do
|
||||||
cd "${LOCAL_ROOT}/${dist}/${section}"
|
cd "${LOCAL_ROOT}/${dist}/${section}"
|
||||||
rm --force "${MISSING}"
|
rm --force "${MISSING}"
|
||||||
wget "${REMOTE_ROOT}/${dist}/${section}/${MISSING}" &>/dev/null ||
|
wget "${REMOTE_ROOT}/${dist}/${section}/${MISSING}" &>/dev/null
|
||||||
|
if [ ${?} -ne 0 ]; then
|
||||||
echo "${ERROR}"
|
echo "${ERROR}"
|
||||||
|
fi
|
||||||
done
|
done
|
||||||
done
|
done
|
||||||
|
|
23
py.cpypy.sh
23
py.cpypy.sh
|
@ -1,23 +0,0 @@
|
||||||
#! /usr/bin/env sh
|
|
||||||
|
|
||||||
root="/sw/python/cpypy"
|
|
||||||
|
|
||||||
data="download-metadata.json"
|
|
||||||
|
|
||||||
path="${root}/${data}"
|
|
||||||
url="https://github.com\
|
|
||||||
/astral-sh/uv/raw/refs/heads/main/crates/uv-python/${data}"
|
|
||||||
|
|
||||||
rm --force --recursive "${root}"
|
|
||||||
mkdir --parents "${root}"
|
|
||||||
wget --continue --output-document "${path}" "${url}"
|
|
||||||
|
|
||||||
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}"
|
|
||||||
done
|
|
Loading…
Reference in a new issue