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 mail1-relais-roc.national.inria.fr (mail1-relais-roc.national.inria.fr [192.134.164.82]) by sympa.inria.fr (Postfix) with ESMTPS id 0C1457F1CB for ; Tue, 11 Dec 2012 16:55:57 +0100 (CET) Received-SPF: None (mail1-smtp-roc.national.inria.fr: no sender authenticity information available from domain of thomas.gazagnaire@gmail.com) identity=pra; client-ip=209.85.212.182; receiver=mail1-smtp-roc.national.inria.fr; envelope-from="thomas.gazagnaire@gmail.com"; x-sender="thomas.gazagnaire@gmail.com"; x-conformance=sidf_compatible Received-SPF: Pass (mail1-smtp-roc.national.inria.fr: domain of thomas.gazagnaire@gmail.com designates 209.85.212.182 as permitted sender) identity=mailfrom; client-ip=209.85.212.182; receiver=mail1-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 (mail1-smtp-roc.national.inria.fr: no sender authenticity information available from domain of postmaster@mail-wi0-f182.google.com) identity=helo; client-ip=209.85.212.182; receiver=mail1-smtp-roc.national.inria.fr; envelope-from="thomas.gazagnaire@gmail.com"; x-sender="postmaster@mail-wi0-f182.google.com"; x-conformance=sidf_compatible X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AigBAFRWx1DRVdS2imdsb2JhbAA7CoNIunUIFg4BAQEKCQ0HEgYjgh4BAQQBOgYBOAEDAQsBBQUtGTQBBQEcBi6HZAMJBgScSY4kgQqFWScNiU4BBQyMT32CVGEDm3KIfT+BV4I+ X-IronPort-AV: E=Sophos;i="4.84,260,1355094000"; d="scan'208";a="185636633" Received: from mail-wi0-f182.google.com ([209.85.212.182]) by mail1-smtp-roc.national.inria.fr with ESMTP/TLS/RC4-SHA; 11 Dec 2012 16:55:56 +0100 Received: by mail-wi0-f182.google.com with SMTP id hn14so1917117wib.9 for ; Tue, 11 Dec 2012 07:55:56 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:subject:mime-version:content-type:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to:x-mailer; bh=kOzqY8olB87Fx6UYXKHbBZECeXymXHNXQSeSHwJp4s0=; b=slCAaIzF9hrXY2b7IByloJijmePSWjrLJA+AmC+IoWfX5qPj/23qIi0SiKsa+kWh7J CRzEBd+MsMvSS8mvvZGlRNkz2ZApi+cv6Sy2j9YaKi0qnMzeGMgyDNrB6DE8yW4J5Jnj Kqp6klnZDviHoOlVIn0s41HSS+xnVnWKU/H3MhR5oQD7Naw4k0oEuQm0zRhWcHdDVUB1 E2nI+SrJ01zk7IQys48rbTc64M9jyUglNOCTScE4J5QXjEMYBnEzM9Yl3dXJ4CM4f9zH +OId7yu0QWsZoUPTAE96w0vWVEEdhgdVT6avtmvcMczD2wDqkICNr5P6X1IU04cAodxm UaDw== Received: by 10.180.93.3 with SMTP id cq3mr22022188wib.1.1355241356416; Tue, 11 Dec 2012 07:55:56 -0800 (PST) Received: from [192.168.0.14] (gou06-3-88-170-165-56.fbx.proxad.net. [88.170.165.56]) by mx.google.com with ESMTPS id b1sm16876496wix.11.2012.12.11.07.55.53 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 11 Dec 2012 07:55:54 -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: <1355238394.35085.YahooMailNeo@web120401.mail.ne1.yahoo.com> Date: Tue, 11 Dec 2012 16:55:52 +0100 Cc: OCaml mailing-list Content-Transfer-Encoding: quoted-printable Message-Id: <7EB8D7B0-DC57-435C-A08A-6FB9E2DF27E0@ocamlpro.com> References: <1355238394.35085.YahooMailNeo@web120401.mail.ne1.yahoo.com> To: Dario Teixeira X-Mailer: Apple Mail (2.1085) Subject: Re: [Caml-list] Creating fresh OPAM repository Hi Dario, > How does one create a fresh repository with OPAM? The documentation has = plenty > of examples of cloning existing repos, but what I want is to start an emp= ty one on the > local filesystem. Does the OPAM tool have some option for this, or is on= e supposed > to do it "by hand", ie, create a filesystem structure that mimics existin= g repos? If you want to start an empty local repository in /foo/bar, just run: $ opam remote local /foo/bar (you can replace 'local' by any other name in the previous commands, it's j= ust a way to identify the repository) After that, you can: * either populate it incrementally by adding the usual '/foo/bar/packages/N= AME.VERSION/{opam,url,descr}' for package descriptions and '/foo/bar/compil= ers/VERSION+NAME.comp' for compiler description. Don't forget to update yo= ur repository by doing 'opam update local' to take these changes into accou= nt; or * use 'opam upload'. This is however not yet tested as well as the first so= lution. If you use it and found some issues, please do not hesitate to fill= a bug. -- Thomas