caml-list - the Caml user's mailing list
 help / Atom feed
From: Chet Murthy <murthy.chet@gmail.com>
To: "Soegtrop, Michael" <michael.soegtrop@intel.com>
Cc: "caml-list@inria.fr" <caml-list@inria.fr>
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: <CA++P_gezY1i-kzRABCRex_jyj16cvjWbH3irySiPxic2gKrS4w@mail.gmail.com> (raw)
In-Reply-To: <0F7D3B1B3C4B894D824F5B822E3E5A178FD5D0AA@IRSMSX102.ger.corp.intel.com>

[-- 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 <
michael.soegtrop@intel.com> 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, www.intel.de
> 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:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

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

  git send-email \
    --in-reply-to=CA++P_gezY1i-kzRABCRex_jyj16cvjWbH3irySiPxic2gKrS4w@mail.gmail.com \
    --to=murthy.chet@gmail.com \
    --cc=caml-list@inria.fr \
    --cc=michael.soegtrop@intel.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* 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 https://inbox.ocaml.org/caml-list

AGPL code for this site: git clone https://public-inbox.org/ public-inbox