caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
* [Caml-list] Own OPAM repository
@ 2013-07-03 12:07 Robert Jakob
  2013-07-04 14:13 ` Daniel Bünzli
  0 siblings, 1 reply; 3+ messages in thread
From: Robert Jakob @ 2013-07-03 12:07 UTC (permalink / raw)
  To: caml list

Hello,

is there a description how a http based OPAM repository has to look
like if I want to create my own?

Maybe I just didn't find it on the OPAM documentation pages.

Thanks.
R.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [Caml-list] Own OPAM repository
  2013-07-03 12:07 [Caml-list] Own OPAM repository Robert Jakob
@ 2013-07-04 14:13 ` Daniel Bünzli
  2013-07-04 14:59   ` Daniel Bünzli
  0 siblings, 1 reply; 3+ messages in thread
From: Daniel Bünzli @ 2013-07-04 14:13 UTC (permalink / raw)
  To: caml list

Le mercredi, 3 juillet 2013 à 13:07, Robert Jakob a écrit :
> is there a description how a http based OPAM repository has to look
> like if I want to create my own?

I don't think so but it's very easy. Something along these lines should get you started:

    mkdir -p repo/packages

put your packages in the directory `repo/packages/`

    cd repo && opam-mk-repo

And then just make the `repo` directory available over http.

Best,

Daniel



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [Caml-list] Own OPAM repository
  2013-07-04 14:13 ` Daniel Bünzli
@ 2013-07-04 14:59   ` Daniel Bünzli
  0 siblings, 0 replies; 3+ messages in thread
From: Daniel Bünzli @ 2013-07-04 14:59 UTC (permalink / raw)
  To: caml list



Le jeudi, 4 juillet 2013 à 15:13, Daniel Bünzli a écrit :

> cd repo && opam-mk-repo

Note, this should be done each time you add a new package. It will also download and cache the tarballs in an archive/ directory in the repo. You can avoid that by invoking opam-mk-repo with the -i option.  

Best,

Daniel

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2013-07-04 14:59 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-07-03 12:07 [Caml-list] Own OPAM repository Robert Jakob
2013-07-04 14:13 ` Daniel Bünzli
2013-07-04 14:59   ` Daniel Bünzli

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).