From: Mathieu Othacehe <othacehe@gnu.org>
To: "Ludovic Courtès" <ludo@gnu.org>
Cc: guix-devel@gnu.org
Subject: Re: Latest download from website
Date: Thu, 25 Jun 2020 12:10:04 +0200 [thread overview]
Message-ID: <87mu4rcv7n.fsf@gnu.org> (raw)
In-Reply-To: <87k102eqe9.fsf@gnu.org> ("Ludovic \=\?utf-8\?Q\?Court\=C3\=A8s\=22'\?\= \=\?utf-8\?Q\?s\?\= message of "Fri, 19 Jun 2020 22:45:18 +0200")
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
next prev parent reply other threads:[~2020-06-25 10:10 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-06-15 15:20 Latest download from website Mathieu Othacehe
2020-06-16 10:04 ` Ludovic Courtès
2020-06-18 7:24 ` Mathieu Othacehe
2020-06-19 20:45 ` Ludovic Courtès
2020-06-25 10:10 ` Mathieu Othacehe [this message]
2020-06-28 20:19 ` Ludovic Courtès
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87mu4rcv7n.fsf@gnu.org \
--to=othacehe@gnu.org \
--cc=guix-devel@gnu.org \
--cc=ludo@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).