all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Caching calls to download-to-store?
@ 2024-11-27 20:21 Ricardo Wurmus
  2024-11-28  8:33 ` Ludovic Courtès
  0 siblings, 1 reply; 3+ messages in thread
From: Ricardo Wurmus @ 2024-11-27 20:21 UTC (permalink / raw)
  To: guix-devel

Hi Guix,

the CRAN updater downloads every upstream archive three times.  The
importer memoizes calls to the download procedure, but one download that
is out of reach is the very first.

It is triggered by package-update/url-fetch in (guix upstream).  It uses
download-to-store, which will unconditionally fetch whatever URL it is
given.

I would very much like to parameterize download-to-store, so that we can
optionally cache the results of its invocation.

What do you think?

-- 
Ricardo


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2024-11-28 10:22 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-11-27 20:21 Caching calls to download-to-store? Ricardo Wurmus
2024-11-28  8:33 ` Ludovic Courtès
2024-11-28 10:21   ` Ricardo Wurmus

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.