[squid-dev] Want to integrate squid github to Jenkins CI

Justin Michael Schwartzbeck justinmschw at gmail.com
Wed Jan 22 13:45:49 UTC 2020


The SHA list sounds great. Thanks for that. I notice that 4.10 is not
there? Is it not considered "stable" officially?

On Wed, Jan 22, 2020 at 4:50 AM Amos Jeffries <squid3 at treenet.co.nz> wrote:

> On 22/01/20 5:30 pm, Justin Michael Schwartzbeck wrote:
> > Hi Amos, thanks for replying.
> >
> > So I guess maybe I need to narrow this down a little bit more. Is there
> > some programmatic way that I can get the *latest stable release*
> > *version* and *source download link*?
> > Right now I can do this by navigating to the downloads page:
> > http://www.squid-cache.org/Versions/
> >
> > Scroll to "Stable Versions" under source code packages, and see that
> > 4.10 is the latest, along with a link.
> > I guess I could write a script to parse the HTML on that page and find
> > this information, but that is rather clunky, and if the page format ever
> > changes then my script will be broken. Is there another way that you are
> > aware of?
>
> There are several ways.
>
> 1) You can fetch the FTP directory listing from
> <ftp://ftp.squid-cache.org/pub/squid/>
>
>
> 2) You can fetch the checksums file from that directory
> <ftp://ftp.squid-cache.org/pub/squid/sha1s.txt> and process it rather
> than the directory listing. This is sometimes easier for HTTP mirrors of
> the FTP service.
>
>
> Those contain only the latest 2 releases from each series. This way you
> can track when we change stable series - though manual review is advised
> at the changeover, so you may want to make that part just a notice for
> attention rather than an auto-build.
>
>
> Any permanent URLs you need linking back to the website for HTTP
> download, docs, or FTP archive (all released tarballs) can be
> synthesized from the version number.
>
>
> Amos
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squid-cache.org/pipermail/squid-dev/attachments/20200122/060563c3/attachment.html>


More information about the squid-dev mailing list