From: Christian Lindig <lindig@gmail.com>
To: caml-list@inria.fr
Subject: [Caml-list] Running an Opam Cache?
Date: Sun, 30 Oct 2016 08:34:55 +0000 [thread overview]
Message-ID: <AF14B101-A2B6-4059-BB04-DEB72F22315F@gmail.com> (raw)
Opam is the best way to install OCaml packages. By default it will download each package from the URL provided in a package and thus it relies on these being available over the internet. This entails a danger that they might not, or change (although the checksum provides some protection). Is there a way to setup an Opam repository locally such that an "opam install” would download (selected) sources from a local archive?
I understand that packages can be pinned locally using each package’s Git repo and this would work if each package also includes its opam files. I am looking for a way to populate the cache with the tar/zip files that the Opam packages point to.
— Christian
next reply other threads:[~2016-10-30 8:34 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-10-30 8:34 Christian Lindig [this message]
2016-10-31 18:25 ` Thomas Gazagnaire
2016-10-31 21:37 ` Hezekiah M. Carty
2016-11-01 20:21 ` Thomas Gazagnaire
Reply instructions:
You may reply publicly 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=AF14B101-A2B6-4059-BB04-DEB72F22315F@gmail.com \
--to=lindig@gmail.com \
--cc=caml-list@inria.fr \
/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
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox