guix-kreyren/guix/scripts
Ludovic Courtès 493375cdb2
publish: Maintain a hash-part-to-store-item mapping in cache.
Fixes <https://bugs.gnu.org/33897>.

* guix/scripts/publish.scm (hash-part-mapping-cache-file)
(hash-part->path*): New procedures.
* guix/scripts/publish.scm (render-narinfo/cached)[delete-entry]: Delete
the 'hash-part-mapping-cache-file'.
Use 'hash-part->path*' instead of 'hash-part->path'.
* tests/publish.scm ("with cache, vanishing item"): New test.
2019-05-26 01:34:17 +02:00
..
container
import
system
archive.scm
authenticate.scm
build.scm
challenge.scm
container.scm
copy.scm
describe.scm
download.scm
edit.scm
environment.scm
gc.scm
graph.scm
hash.scm
import.scm
install.scm
lint.scm
offload.scm
pack.scm
package.scm
perform-download.scm
processes.scm
publish.scm
pull.scm
refresh.scm
remove.scm
repl.scm
search.scm
size.scm
substitute.scm
system.scm
upgrade.scm
weather.scm