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

Reply via email to