From: Simon Cruanes <simon.cruanes.2007@m4x.org>
To: David Allsopp <dra-news@metastack.com>
Cc: OCaml List <caml-list@inria.fr>
Subject: Re: [Caml-list] Project hosting for new OCaml projects
Date: Wed, 5 Mar 2014 16:24:30 +0100 [thread overview]
Message-ID: <20140305152430.GJ17955@emmental.inria.fr> (raw)
In-Reply-To: <000b01cf3885$6f1ef7a0$4d5ce6e0$@metastack.com>
[-- Attachment #1: Type: text/plain, Size: 2835 bytes --]
Hi,
First let me insist that this is only my personal view.
Le Wed, 05 Mar 2014, David Allsopp a écrit :
> 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?
>
> So, this particular library is a pure OCaml library, which simplifies things
> somewhat. At present it's built using GNU make and of course it is managed
> using findlib.
>
> It seems that the following are worth doing:
>
> * 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
>
> So, apart from any obvious errors/omissions in those steps, I have two
> questions:
>
> 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 Forge
> 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 repository
> 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,
--
Simon
http://weusepgp.info/
key 49AA62B6
fingerprint 949F EB87 8F06 59C6 D7D3 7D8D 4AC0 1D08 49AA 62B6
[-- Attachment #2: Type: application/pgp-signature, Size: 819 bytes --]
next prev parent reply other threads:[~2014-03-05 15:24 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-03-05 15:13 David Allsopp
2014-03-05 15:24 ` Simon Cruanes [this message]
2014-03-05 15:33 ` Yotam Barnoy
2014-03-05 18:00 ` Hezekiah M. Carty
2014-03-06 1:58 ` Francois Berenger
2014-03-05 20:00 ` Daniel Bünzli
[not found] ` <20140305.211003.1668243541649395876.Christophe.Troestler@umons.ac.be>
2014-03-06 9:48 ` Daniel Bünzli
2014-03-06 11:55 ` Sylvain Le Gall
2014-03-06 12:05 ` Daniel Bünzli
2014-03-06 0:20 ` Sylvain Le Gall
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=20140305152430.GJ17955@emmental.inria.fr \
--to=simon.cruanes.2007@m4x.org \
--cc=caml-list@inria.fr \
--cc=dra-news@metastack.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