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 mail3-relais-sop.national.inria.fr (mail3-relais-sop.national.inria.fr [192.134.164.104]) by sympa.inria.fr (Postfix) with ESMTPS id C7A567F860 for ; Wed, 5 Mar 2014 16:24:32 +0100 (CET) Received-SPF: Neutral (mail3-smtp-sop.national.inria.fr: domain of simon.cruanes.2007@m4x.org does not assert whether or not 129.104.30.34 is permitted sender) identity=pra; client-ip=129.104.30.34; receiver=mail3-smtp-sop.national.inria.fr; envelope-from="SRS0=/4WG=YG=m4x.org=simon.cruanes.2007@bounces.m4x.org"; x-sender="simon.cruanes.2007@m4x.org"; x-conformance=sidf_compatible; x-record-type="spf2.0" Received-SPF: Pass (mail3-smtp-sop.national.inria.fr: domain of SRS0=/4WG=YG=m4x.org=simon.cruanes.2007@bounces.m4x.org designates 129.104.30.34 as permitted sender) identity=mailfrom; client-ip=129.104.30.34; receiver=mail3-smtp-sop.national.inria.fr; envelope-from="SRS0=/4WG=YG=m4x.org=simon.cruanes.2007@bounces.m4x.org"; x-sender="SRS0=/4WG=YG=m4x.org=simon.cruanes.2007@bounces.m4x.org"; x-conformance=sidf_compatible; x-record-type="spf2.0" Received-SPF: Pass (mail3-smtp-sop.national.inria.fr: domain of postmaster@mx1.polytechnique.org designates 129.104.30.34 as permitted sender) identity=helo; client-ip=129.104.30.34; receiver=mail3-smtp-sop.national.inria.fr; envelope-from="SRS0=/4WG=YG=m4x.org=simon.cruanes.2007@bounces.m4x.org"; x-sender="postmaster@mx1.polytechnique.org"; x-conformance=sidf_compatible; x-record-type="v=spf1" X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AmoBAFNBF1OBaB4inGdsb2JhbABag0GDW78fFg4BAQEBAQgLCQkUKIIlAQEBAwEjVgULCw4TDBUCAg8FNQETiAQIrWCgKxeOYoJlgUkEmDyBM4knBIp8 X-IPAS-Result: AmoBAFNBF1OBaB4inGdsb2JhbABag0GDW78fFg4BAQEBAQgLCQkUKIIlAQEBAwEjVgULCw4TDBUCAg8FNQETiAQIrWCgKxeOYoJlgUkEmDyBM4knBIp8 X-IronPort-AV: E=Sophos;i="4.97,593,1389740400"; d="scan'208";a="51408688" Received: from mx1.polytechnique.org ([129.104.30.34]) by mail3-smtp-sop.national.inria.fr with ESMTP/TLS/ADH-AES256-SHA; 05 Mar 2014 16:24:32 +0100 Received: from emmental.inria.fr (emmental.inria.fr [128.93.0.14]) (using TLSv1 with cipher ECDHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by ssl.polytechnique.org (Postfix) with ESMTPSA id AF9C61409132A; Wed, 5 Mar 2014 16:24:31 +0100 (CET) Date: Wed, 5 Mar 2014 16:24:30 +0100 From: Simon Cruanes To: David Allsopp Cc: OCaml List Message-ID: <20140305152430.GJ17955@emmental.inria.fr> References: <000b01cf3885$6f1ef7a0$4d5ce6e0$@metastack.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="WkHPBKJ2pKcVUM5H" Content-Disposition: inline In-Reply-To: <000b01cf3885$6f1ef7a0$4d5ce6e0$@metastack.com> User-Agent: Mutt/1.5.21 (2010-09-15) X-AV-Checked: ClamAV using ClamSMTP at svoboda.polytechnique.org (Wed Mar 5 16:24:31 2014 +0100 (CET)) X-Spam-Flag: No, tests=bogofilter, spamicity=0.018892, queueID=CE1861409132B X-Org-Mail: simon.cruanes.2007@polytechnique.org Subject: Re: [Caml-list] Project hosting for new OCaml projects --WkHPBKJ2pKcVUM5H Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi, First let me insist that this is only my personal view. Le Wed, 05 Mar 2014, David Allsopp a =C3=A9crit : > I've got a bit of code in a library which seems worth putting online. I'm > trying to consolidate the steps that should be taken to accomplish that > (beyond simply putting a tarball online!) and wondering if anyone can > confirm if what I've come up with is the "best/obvious" course of action. > Indeed, are there already "idiot"'s guides for this - I couldn't see > anything like it on ocaml.org et al? >=20 > So, this particular library is a pure OCaml library, which simplifies thi= ngs > somewhat. At present it's built using GNU make and of course it is managed > using findlib. >=20 > It seems that the following are worth doing: >=20 > * Support OASIS (and in so doing, I believe that will migrate its build > system to ocamlbuild) oasis is very nice in that it centralizes, in a single _oasis file, everything about the project. In particular, it deals with the META file, building cmxa, cma, cmxs, etc. It can generate a "configure" and a Makefile (if you so wish), points to the documentation, the VCS repository, deals with several libraries (or sub-libraries, see how lwt does it for instance) and executables, etc. > * Support OPAM (which looks incredibly straightforward - being primarily a > Windows user, the OPAM typhoon has flowed past me thus far) Pretty simple indeed, 3 small files in the opam-repository and you're done. Also the opam team is quite reactive and helpful with packaging problems. > * Put the SCM online somewhere; submit a pull request for opam-repository; > announce it >=20 > So, apart from any obvious errors/omissions in those steps, I have two > questions: >=20 > 1. What are the differences, politely, in terms of things you can and can= 't > do between using GitHub and the OCaml Forge for the project pages? The Fo= rge > seems the obvious choice, even ignoring the offensive name of the other! I think the main advantages of github is that since many people use it, it's easier to fork/contribute to a project (which is simple because it's 1/ forking 2/ committing 3/ submitting a "pull request" that can be discussed online; the patch can be modified as needed, and everyone commenting the pull request can see it). Also, I prefer the UI, but some could disagree. The main issue is lock-in, and it requires an account, but so does the forge afaik. > 2. Given that, is there any benefit/different to hosting the git reposito= ry > on the Forge vs hosting it on github and simply linking to it from the > Forge? My advice, if you already have a github account, is to use it. Otherwise I can't tell. Cheers, --=20 Simon http://weusepgp.info/ key 49AA62B6 fingerprint 949F EB87 8F06 59C6 D7D3 7D8D 4AC0 1D08 49AA 62B6 --WkHPBKJ2pKcVUM5H Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAEBAgAGBQJTF0GuAAoJEErAHQhJqmK2yZoP/0z4mkrVGpYFGtY2ogbHzl6/ e3y5PKHTAjN3fd/zxs3pWmr6KhCEnzKZCrK8VecC40ulzRR34iTTMnVvvtYAw3eK uubDTBpqNMBkvJknmCSZbrrJqzvbyTAUgU1Jx18NhJiDKhoerGXsz6dQFUsU+XKf MhGjOqkO5Z7U0NiVb81W6/gcjy3lQiat/2AKjTYS8SD+621mE76h7wOeicmcG29p DoWV/07QW4/92kKwdEvIg5SCVVaGt8Cn0Jzycey8eZSf4AWIUBbAHGQzqoMoor7h I6ljuxuJyVCzFiS/Ra75x2BAZkidX9g0SbwWSurSLX8H1g+nQ/ypoZMjrSG6xFuE NfuYW+yOLM25lMdMbNbq81W9XYU0JwB82E3Ek5MpJKjkB/8wu3U8S8oCRGnBu8ww 3W5SLVnlFyZ9UswqnwJrtGllLFqmY9vmQUMWVOwqECxBHAhW8xbGWjBo8OpJ4n52 XKa0Gc04dveIg/PN7JesZOwlc3EuLzdhirjxsJK8c5/YF/erHR27GdCHlPHhT1nj RXjkmOtGyTq2nw943zXsdaupQbO6ITe184Lxa8g9Vlla/Wq8BCiybFiDtHML+KVJ oA35hhalja6C/DaU8PtzBJ/pJ/y3wtglocpihjFs6ZHztMplE/7H6PVYk45otOrV wjtgq0mcp7JKxXuaB0ve =CYow -----END PGP SIGNATURE----- --WkHPBKJ2pKcVUM5H--