caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: Dario Teixeira <darioteixeira@yahoo.com>
To: Thomas Gazagnaire <thomas@ocamlpro.com>
Cc: OCaml mailing-list <caml-list@inria.fr>
Subject: Re: [Caml-list] Creating fresh OPAM repository
Date: Tue, 11 Dec 2012 08:31:33 -0800 (PST)	[thread overview]
Message-ID: <1355243493.7338.YahooMailNeo@web120405.mail.ne1.yahoo.com> (raw)
In-Reply-To: <7EB8D7B0-DC57-435C-A08A-6FB9E2DF27E0@ocamlpro.com>

Hi,

> 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 just a way to identify the repository)

Thanks for the prompt reply, Thomas.  The command you suggested
does not seem to work, at least with OPAM version 0.8.1.

The error message suggests that one of -add, -rm, or -list must be given.
However, all the following fail:

  opam remote -add local /foo/bar
  opam remote -add local file:///foo/bar
  opam remote -add -kind local local /foo/bar
  opam remote -add -kind local local file:///foo/bar

The 'remote' subcommand seems to expect an already formed repository
at the given address.

Any ideas?

Thanks in advance!
Dario Teixeira


  reply	other threads:[~2012-12-11 16:31 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-12-11 15:06 Dario Teixeira
2012-12-11 15:55 ` Thomas Gazagnaire
2012-12-11 16:31   ` Dario Teixeira [this message]
2012-12-11 16:48     ` Anil Madhavapeddy
2012-12-11 16:52       ` Thomas Gazagnaire
2012-12-11 18:40       ` Dario Teixeira

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=1355243493.7338.YahooMailNeo@web120405.mail.ne1.yahoo.com \
    --to=darioteixeira@yahoo.com \
    --cc=caml-list@inria.fr \
    --cc=thomas@ocamlpro.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
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;
as well as URLs for NNTP newsgroup(s).