From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Original-To: caml-list@sympa.inria.fr Delivered-To: caml-list@sympa.inria.fr Received: from mail2-relais-roc.national.inria.fr (mail2-relais-roc.national.inria.fr [192.134.164.83]) by sympa.inria.fr (Postfix) with ESMTPS id CAA377F20C for ; Mon, 11 Feb 2013 10:17:08 +0100 (CET) Received-SPF: None (mail2-smtp-roc.national.inria.fr: no sender authenticity information available from domain of thomas.gazagnaire@gmail.com) identity=pra; client-ip=209.85.212.174; receiver=mail2-smtp-roc.national.inria.fr; envelope-from="thomas.gazagnaire@gmail.com"; x-sender="thomas.gazagnaire@gmail.com"; x-conformance=sidf_compatible Received-SPF: Pass (mail2-smtp-roc.national.inria.fr: domain of thomas.gazagnaire@gmail.com designates 209.85.212.174 as permitted sender) identity=mailfrom; client-ip=209.85.212.174; receiver=mail2-smtp-roc.national.inria.fr; envelope-from="thomas.gazagnaire@gmail.com"; x-sender="thomas.gazagnaire@gmail.com"; x-conformance=sidf_compatible; x-record-type="v=spf1" Received-SPF: None (mail2-smtp-roc.national.inria.fr: no sender authenticity information available from domain of postmaster@mail-wi0-f174.google.com) identity=helo; client-ip=209.85.212.174; receiver=mail2-smtp-roc.national.inria.fr; envelope-from="thomas.gazagnaire@gmail.com"; x-sender="postmaster@mail-wi0-f174.google.com"; x-conformance=sidf_compatible X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AsECAHu2GFHRVdSujWdsb2JhbABEgzqCTagmkmkWDgEBAQEJCQsJEgYjgh8BAQQBOgYBLQsBAwELAQUFJSE0AQUBChIGJYduAwkGBAihf48vhAknAwqJVQEFDJEgYQOXQYRUiQA/gVmCUQ X-IPAS-Result: AsECAHu2GFHRVdSujWdsb2JhbABEgzqCTagmkmkWDgEBAQEJCQsJEgYjgh8BAQQBOgYBLQsBAwELAQUFJSE0AQUBChIGJYduAwkGBAihf48vhAknAwqJVQEFDJEgYQOXQYRUiQA/gVmCUQ X-IronPort-AV: E=Sophos;i="4.84,641,1355094000"; d="scan'208";a="2262061" Received: from mail-wi0-f174.google.com ([209.85.212.174]) by mail2-smtp-roc.national.inria.fr with ESMTP/TLS/RC4-SHA; 11 Feb 2013 10:17:08 +0100 Received: by mail-wi0-f174.google.com with SMTP id hi8so2869065wib.7 for ; Mon, 11 Feb 2013 01:17:08 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:sender:subject:mime-version:content-type:from :in-reply-to:date:cc:content-transfer-encoding:message-id:references :to:x-mailer; bh=Rn+84f85m8RDbOZV60+63dUXhg/GPV/+eDl07o6HNCU=; b=TxnMb8jiWcu5AR6bOHWLOv7qEsDLSyOIWDaV0I9FJsmmXn0yOVZogRB3Dd1lpr6SnE cALhiHabKTi7Rx3IDmzWLGBmZ9bGnz2IF0iTChZ0JscsHVWr2VcP+VYPnlGkPAnrqvER DZkDnupWw4untS+CFQke1S8Cp7/tXOyusXUKvhlixoUiL2VbJfV0TgE58lAWIC5mN6Oa zczPDOx72OHcoiyQFEfUHm+depy0nEBxPM1Gm0MwfEpho9v8Vd8TCZZEIwxHrGAl36Gl EWGDsno7itYoWdbvYOP0RyzImVZNWDRASHwCeBzUCL41eDs68cD7Rc8Oud8n8xA4FX49 GE4Q== X-Received: by 10.180.79.104 with SMTP id i8mr14386197wix.24.1360574228257; Mon, 11 Feb 2013 01:17:08 -0800 (PST) Received: from [10.35.194.114] ([213.30.181.210]) by mx.google.com with ESMTPS id du2sm4766019wib.0.2013.02.11.01.17.06 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 11 Feb 2013 01:17:07 -0800 (PST) Sender: Thomas Gazagnaire Mime-Version: 1.0 (Apple Message framework v1085) Content-Type: text/plain; charset=us-ascii From: Thomas Gazagnaire In-Reply-To: <92AE69ABC13D49FDAEF8612487219BE7@erratique.ch> Date: Mon, 11 Feb 2013 10:17:05 +0100 Cc: OCaml List Content-Transfer-Encoding: quoted-printable Message-Id: <509A76BD-E8E1-41DF-8116-883B8F573E0E@ocamlpro.com> References: <92AE69ABC13D49FDAEF8612487219BE7@erratique.ch> To: =?iso-8859-1?Q?Daniel_B=FCnzli?= X-Mailer: Apple Mail (2.1085) Subject: Re: [Caml-list] opam http repo, archive downloading Hi, > It seems that opam insists in downloading the archives from $URLTOREPO/ar= chives. 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 firs= t serves the one stored locally and if not present, look at the one upstrea= m. 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 >=20 > Best, >=20 > Daniel=20 >=20 >=20 >=20 > --=20 > 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