I believe this should do: https://raw.githubusercontent.com/elico/squid-latest/main/latest.json Maybe it would be possible to update a git repository using a git web hook on the project. If the Squid-Cache project will have some defined way of tagging versions in the git repository it would pretty simple to do. >From my point view both the FTP and the RSYNC might be good and once I will have an official link to the FTP in HTTP format it would be pretty simple as: curl -s http://mirror.marwan.ma/squid/software/|egrep -o "squid\-[0-9\.]+tar\.(xz|gz|bz2)" |tail -1 or: https://github.com/elico/squid-latest/blob/main/get-latest-from-ftp.sh ie: #!/usr/bin/env bash FTP_HTTP_MIRROR="http://mirror.marwan.ma/squid/software/" LATEST_FILE=$(curl -s "${FTP_HTTP_MIRROR}" | egrep -o "squid\-[0-9\.]+tar\.(xz|gz|bz2)" | tail -1) echo "${FTP_HTTP_MIRROR}${LATEST_FILE}" ##END Eliezer ---- Eliezer Croitoru NgTech, Tech Support Mobile: +972-5-28704261 Email: mailto:ngtech1ltd@xxxxxxxxx Web: https://ngtech.co.il/ My-Tube: https://tube.ngtech.co.il/ From: squid-users <squid-users-bounces@xxxxxxxxxxxxxxxxxxxxx> On Behalf Of Justin Michael Schwartzbeck Sent: Friday, 26 August 2022 21:03 To: squid-users@xxxxxxxxxxxxxxxxxxxxx Subject: Programmatically fetch the latest stable version of squid Hello, I want to create a build system that automatically fetches the latest stable version of squid, and builds a container with it. I know I can manually browse to the download page. But I was hoping there could be some way to link it, i.e. /stable/squid-latest.tar.gz or perhaps a static list that I could pull and scan. Thanks _______________________________________________ squid-users mailing list squid-users@xxxxxxxxxxxxxxxxxxxxx http://lists.squid-cache.org/listinfo/squid-users