Skip to content

Global download cache system

Georges Racinet requested to merge topic/heptapod/download-caches into branch/heptapod

This introduces caching for artifact downloads, with a configurable global directory to keep them outside of workspaces (clones of the HDK)

This is especially interesting for people that either

  1. create lots of workspaces or
  2. have a slow internet connection.

(I am personally the most extreme case of 1 and a mild case of 2, with the download of the jaeger tarball taking about 3 minutes)

The already existing share pool for Mercurial clones is also made configurable in the same way.

Since rbenv keeps a global directory of gems, and pip has a global downloads cache, this leaves the case of Go modules as the only cause of lengthy downloads. Advices welcome onto how to improve these.

Merge request reports