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 2B8A37ED1D for ; Fri, 16 Oct 2015 20:24:18 +0200 (CEST) IronPort-PHdr: 9a23:6bBRRR/YxN7oy/9uRHKM819IXTAuvvDOBiVQ1KB91uIcTK2v8tzYMVDF4r011RmSDdmduqsP0rCO+4nbGkU+or+5+EgYd5JNUxJXwe43pCcHRPC/NEvgMfTxZDY7FskRHHVs/nW8LFQHUJ2mPw6anHS+4HYoFwnlMkItf6KuStKU3p38jrrqs7ToICx2xxOFKYtoKxu3qQiD/uI3uqBFbpgL9x3Sv3FTcP5Xz247bXianhL7+9vitMU7q3cYjdt6qJUFCfmyP/lgDO8QMDNzOGkw4IjvtALfZQqJ/HoVFGsMwTRSBA2QwBjkX5u5mQvXk81A+Q3SaeH/U7E4Hx+i4qJsVR7soCABOiQwtm/N3J8jxJlHqQ6s8kQsi7XfZ5uYYacmcw== Authentication-Results: mail2-smtp-roc.national.inria.fr; spf=None smtp.pra=David.Chemouil@onera.fr; spf=Pass smtp.mailfrom=David.Chemouil@onera.fr; spf=None smtp.helo=postmaster@briaree.onecert.fr Received-SPF: None (mail2-smtp-roc.national.inria.fr: no sender authenticity information available from domain of David.Chemouil@onera.fr) identity=pra; client-ip=134.212.190.4; receiver=mail2-smtp-roc.national.inria.fr; envelope-from="David.Chemouil@onera.fr"; x-sender="David.Chemouil@onera.fr"; x-conformance=sidf_compatible Received-SPF: Pass (mail2-smtp-roc.national.inria.fr: domain of David.Chemouil@onera.fr designates 134.212.190.4 as permitted sender) identity=mailfrom; client-ip=134.212.190.4; receiver=mail2-smtp-roc.national.inria.fr; envelope-from="David.Chemouil@onera.fr"; x-sender="David.Chemouil@onera.fr"; 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@briaree.onecert.fr) identity=helo; client-ip=134.212.190.4; receiver=mail2-smtp-roc.national.inria.fr; envelope-from="David.Chemouil@onera.fr"; x-sender="postmaster@briaree.onecert.fr"; x-conformance=sidf_compatible X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: A0DwAACsPyFWnAS+1IZeg3pvv1MhgkODMIFEPBABAQEBAQEBARABAQEBAQgUCU+CH4IxFVUhAiYCIVmIJg2gUI9xk0SBIoVUhH6FK4JSgUUFlh0Oh3uFC5wXOIF1AQsBUIFehlYBAQE X-IPAS-Result: A0DwAACsPyFWnAS+1IZeg3pvv1MhgkODMIFEPBABAQEBAQEBARABAQEBAQgUCU+CH4IxFVUhAiYCIVmIJg2gUI9xk0SBIoVUhH6FK4JSgUUFlh0Oh3uFC5wXOIF1AQsBUIFehlYBAQE X-IronPort-AV: E=Sophos;i="5.17,689,1437429600"; d="scan'208";a="183177999" Received: from briaree.onecert.fr ([134.212.190.4]) by mail2-smtp-roc.national.inria.fr with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 16 Oct 2015 20:24:17 +0200 Received: from neree.onecert.fr (thetis.onecert.fr [134.212.178.12]) by briaree.onecert.fr (8.14.4/8.14.3/ONERA-SRI) with ESMTP id t9GIOGdF015431 for ; Fri, 16 Oct 2015 20:24:16 +0200 Received: from neree.onecert.fr (thetis.antiviral [127.0.0.1]) by neree.onecert.fr (8.14.3/8.14.3/ONERA-SRI) with ESMTP id t9GIOGGo030511 for ; Fri, 16 Oct 2015 20:24:16 +0200 Received: from sybille.onecert.fr (sybille.onecert.fr [134.212.190.6]) by neree.onecert.fr (8.14.3/8.14.3/ONERA-SRI) with ESMTP id t9GIOGRM030508 for ; Fri, 16 Oct 2015 20:24:16 +0200 Received: from sybille.onecert.fr (localhost.localdomain [127.0.0.1]) by sybille.onecert.fr (8.14.3/8.14.3/ONERA-SRI) with ESMTP id t9GIOGir027822 for ; Fri, 16 Oct 2015 20:24:16 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Date: Fri, 16 Oct 2015 20:24:16 +0200 From: David CHEMOUIL To: caml-list@inria.fr Organization: Onera/DTIM, Toulouse Message-ID: <6f77545c62146e8d504a5117716d7d1f@sybille.onecert.fr> X-Sender: David.Chemouil@onera.fr User-Agent: Roundcube Webmail X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.4.3 (briaree.onecert.fr [134.212.190.4]); Fri, 16 Oct 2015 20:24:16 +0200 (CEST) X-Virus-Scanned: clamav-milter 0.98.7 at briaree X-Virus-Status: Clean X-Spam-Checker-Version: SpamAssassin 3.2.5-onera_sri_4 (2008-06-10) on briaree.onecert.fr Subject: [Caml-list] releasing and publishing an OCaml program Hi, I am looking for a self-contained, to the point, documentation or tutorial detailing steps, or even commands and scripts to run in order to release and publish an OCaml-programmed piece of software. I guess it partly depends on one's way to develop and organize his or her code base. Still I also guess there are common steps followed by a fair amount of people. As far as we are concerned for our project, we rely on OCaml code solely, plus Opam-installed tools (e.g. Menhir) and libraries; plus Oasis and Ocamlbuild. Our development is hosted on a Git repo. So common tasks we'd like to automate are quite simple: adding the commit number and/or a build number in the OCaml source code (e.g. to display it when running the program), to display a git tag corresponding perhaps to a human-readable version number, publishing the progam on Opam, maybe even publishing a compiled version as a Debian package... As far as possible we'd like to avoid reinventing the wheel as well as duplicating information already present in a file (e.g. the _oasis file contains some data). After some web searching, I was able to find real projects as examples as well as some partial (good) tutorials but it would be nice if there was a single documentation or bunch of scripts to address these rather common requirements. Best dc -- David Chemouil // Onera/DTIM Toulouse // tel:+33-5-6225-2936