OCamlPro/opam-repository — pull request #311 by lefessan (2013-01-20 21:38:38+00:00)
Title: Typerex 1.99.0-beta

Note: this version contains a "script", of course, written in OCaml, to simplify uploading an opam package to OCamlPro/opam-repository. The program is called "ocp-opamer", and as an example, is used as follow:

ocp-opamer -login GITHUBLOGIN -descr DESCR_FILE -opam OPAM_FILE PACKAGE_NAME VERSION URL_TO_DOWNLOAD

The tool creates the "url" file by downloading and computing the md5sum. It also saves GITHUBLOGIN, DESCR_FILE and OPAM_FILE, so that you don't need to specifiy these args the second time if no change.

It supposes that you have a fork of OCamlPro/opam-repository under your login, and only upload a new branch PACKAGE_NAME in your repository. You can then send a pull request to the main OCamlPro/opam-repository.

Do you think it can be useful for others ?