caml-list - the Caml user's mailing list
 help / Atom feed
From: Chet Murthy <>
To: "Soegtrop, Michael" <>
Cc: "" <>
Subject: Re: [Caml-list] Is it possible to have a common download cache for serval opam installations
Date: Thu, 25 Apr 2019 12:07:30 -0700
Message-ID: <> (raw)
In-Reply-To: <>

[-- Attachment #1: Type: text/plain, Size: 1409 bytes --]

When I wanted this (connectivity by a somewhat low-bandwidth connection), I
solved the problem by running a little local HTTP proxy, solely for opam.
Basically, I ran http-replicator with its cache in my $HOME/tmp directory,
and then set the "http_proxy" environment variable (in the same rc-file
where I sourced opam env)

Worked a treat, and simple to setup.

On Thu, Apr 25, 2019 at 9:55 AM Soegtrop, Michael <> wrote:

> Dear Opam Team,
> I am working on scripts to automatically setup a Cygwin MinGW cross based
> development environment for Coq developers on Windows and for testing these
> scripts I have to reinstall Cygwin and opam frequently. I wonder if I could
> spare the downloads by specifying a common download cache folder somewhere
> outside of my Cygwin and .opam folders. Is there an option for this or
> could I e.g. symlink the download folder somewhere or does opam keep and
> index of what is in the download cache folder so that sharing won’t work?
> Best regards,
> Michael
> Intel Deutschland GmbH
> Registered Address: Am Campeon 10-12, 85579 Neubiberg, Germany
> Tel: +49 89 99 8853-0,
> Managing Directors: Christin Eisenschmid, Gary Kershaw
> Chairperson of the Supervisory Board: Nicole Lau
> Registered Office: Munich
> Commercial Register: Amtsgericht Muenchen HRB 186928

[-- Attachment #2: Type: text/html, Size: 2163 bytes --]

  reply index

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-04-25 16:54 Soegtrop, Michael
2019-04-25 19:08 ` Chet Murthy [this message]
2019-04-25 19:23 ` Anil Madhavapeddy
2019-04-26  8:39   ` Soegtrop, Michael

Reply instructions:

You may reply publically to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \ \ \ \ \

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

caml-list - the Caml user's mailing list

Archives are clonable: git clone --mirror

AGPL code for this site: git clone public-inbox