aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorMartin Becze <mjbecze@riseup.net>2020-01-30 11:17:00 -0500
committerHartmut Goebel <h.goebel@crazy-compilers.com>2020-12-02 22:09:23 +0100
commitd9feb23e1044b59aaa457825ab5152eaf3bc8a68 (patch)
tree612b04f0381e85ceff783f2b91bced6ee237e5a8 /tests
parent269c1db41bd82f93c7ae5c62a4969a423e556183 (diff)
downloadguix-d9feb23e1044b59aaa457825ab5152eaf3bc8a68.tar
guix-d9feb23e1044b59aaa457825ab5152eaf3bc8a68.tar.gz
import: crate: Memorize crate->guix-package.
This adds memorization to procedures that involve network lookups. 'lookup-crate*' is used on every dependency of a package to get its version list. It is also used to lookup a package's metadata. 'crate-recursive-import' is also memorized since creating the same package twice will trigger a lookup on its dependencies. * guix/import/crate.scm (lookup-crate*): New procedure. (crate->guix-package): Memorize package metadata lookups. (crate-recursive-import): Memorize package creation.
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions