From: Thomas Gazagnaire <thomas@ocamlpro.com>
To: "Daniel Bünzli" <daniel.buenzli@erratique.ch>
Cc: OCaml List <caml-list@inria.fr>
Subject: Re: [Caml-list] opam http repo, archive downloading
Date: Mon, 11 Feb 2013 10:17:05 +0100 [thread overview]
Message-ID: <509A76BD-E8E1-41DF-8116-883B8F573E0E@ocamlpro.com> (raw)
In-Reply-To: <92AE69ABC13D49FDAEF8612487219BE7@erratique.ch>
Hi,
> It seems that opam insists in downloading the archives from $URLTOREPO/archives. Why doesn't it use the url mentionned in $PACKAGE/url ? What's the rationale ?
OPAM servers work as proxy: when a client ask for a source archive, it first serves the one stored locally and if not present, look at the one upstream. So if you don't want to cache the archives, clean-up $URLREPO/archives. This can be used to build a stand-alone local repository which can be used without internet access.
See [1] for a discussion on that topic.
Best,
Thomas
[1] https://github.com/OCamlPro/opam/issues/39
>
> Best,
>
> Daniel
>
>
>
> --
> Caml-list mailing list. Subscription management and archives:
> https://sympa.inria.fr/sympa/arc/caml-list
> Beginner's list: http://groups.yahoo.com/group/ocaml_beginners
> Bug reports: http://caml.inria.fr/bin/caml-bugs
next prev parent reply other threads:[~2013-02-11 9:17 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-02-08 18:05 Daniel Bünzli
2013-02-11 9:17 ` Thomas Gazagnaire [this message]
2013-02-11 11:33 ` Daniel Bünzli
2013-02-11 11:47 ` Thomas Gazagnaire
2013-02-11 13:00 ` Daniel Bünzli
2013-02-11 13:10 ` Gabriel Scherer
2013-02-11 14:07 ` Anil Madhavapeddy
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=509A76BD-E8E1-41DF-8116-883B8F573E0E@ocamlpro.com \
--to=thomas@ocamlpro.com \
--cc=caml-list@inria.fr \
--cc=daniel.buenzli@erratique.ch \
/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