[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Latest download from website
From: |
Mathieu Othacehe |
Subject: |
Re: Latest download from website |
Date: |
Thu, 25 Jun 2020 12:10:04 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) |
Hey Ludo!
> I missed something. Can’t we have a static page that refers to
> ci.guix.gnu.org/…/latest, and Cuirass returns a redirect from /latest to
> the actual URL?
Yes in fact I missed something first :). I did add build products
support to cuirass JSON API and its Guix "latest-builds" wrapper
procedure.
Then, I patched the website so that it fetches latest builds using this
API. This means that website build needs network access, and a reachable
Cuirass server. Not great.
So, based on your suggestion I added two new routes to Cuirass:
"/search/latest" and "/search/latest/<build-product>". They allow
respectively to get details on the last build and to download any
available build product.
I updated the website to use those routes as you can see here:
https://guix.gnu.org/download/latest/.
Thanks,
Mathieu
Re: Latest download from website, zimoun, 2020/06/16