[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Caching calls to download-to-store?
From: |
Ricardo Wurmus |
Subject: |
Caching calls to download-to-store? |
Date: |
Wed, 27 Nov 2024 21:21:20 +0100 |
User-agent: |
mu4e 1.12.7; emacs 29.4 |
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
- Caching calls to download-to-store?,
Ricardo Wurmus <=