Go module should be github.com/buger/goreplay/v2 for Golang servers to pick it up
yurivict opened this issue · comments
yuri@FreeBSD commented
For an example, please see here.
The version 1.3.3 is also not picked up.
I use this script to download all package versions that Golang server sees:
#!/bin/sh
SINCE=$1 # like 2022-12-01T00:00:00Z
while [ -n "${SINCE}" ]; do
# download
echo "downloading SINCE=${SINCE}"
wget "https://index.golang.org/index?limit=2000&since=${SINCE}" -q -O output-${SINCE}.json
# get last since
SINCE_NEW=`tail -1 output-${SINCE}.json | sed -e 's|.*"Timestamp":"||; s|".*||'`
# EOF?
if [ "${SINCE_NEW}" = "${SINCE}" ] || [ -z "${SINCE_NEW}" ]; then
echo "=== End of project list reached @ ${SINCE} ==="
exit 0
else
SINCE=${SINCE_NEW}
fi
done