caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: Gabriel Scherer <gabriel.scherer@gmail.com>
To: "Richard W.M. Jones" <rich@annexia.org>
Cc: Jacques Garrigue <garrigue@math.nagoya-u.ac.jp>,
	OCaML List Mailing <caml-list@inria.fr>
Subject: Re: [Caml-list] Trivial compiler patches
Date: Sat, 22 Mar 2014 09:28:29 +0100	[thread overview]
Message-ID: <CAPFanBFJ4uxZVDvevTbGFpLduG6nJmMxU=XsaKZjSzCoiF6y7A@mail.gmail.com> (raw)
In-Reply-To: <20140322071508.GB10374@annexia.org>

I just created a Mantis issue for the patch:
  http://caml.inria.fr/mantis/view.php?id=6351

The workflow is the following:
  - login; your password should be (random-generated and) recorded in
your browser, two clicks
  - click "report issue", fill relevant info, upload patch, send

It's about two minutes. Alternatively you could have sent a
pull-request against github/ocaml/ocaml (as part of the ongoing "patch
review experiment" http://alan.petitepomme.net/cwn/2014.02.04.html#2
), but I think the workflow is not much quicker (though there are
command-line tools to make it faster).

I looked at the code and indeed the fix itself is trivial, but it was
still useful to make a review: the corresponding arm/emit.mlp change
had additional primitive-registering stuff, and I wondered whether
that also needed to be done in arm64/emit.mlp (answer: no, that is the
only necessary change).

On Sat, Mar 22, 2014 at 8:15 AM, Richard W.M. Jones <rich@annexia.org> wrote:
> On Sat, Mar 22, 2014 at 09:46:53AM +0900, Jacques Garrigue wrote:
>> On 2014/03/22 07:28, Richard W.M. Jones wrote:
>> >
>> > What's a good place to send trivial compiler patches?  I don't want to
>> > open a new bug for what is essentially a one-line aarch64 fix.
>>
>> You should. It would save you the time spent asking this question :-)
>> More seriously, in theory all bug fixes should be tracked, even trivial
>> ones, since it lets others know where they were fixed (and where not).
>
> Let me tell you how ordinary open source projects operate.
>
> (1) They use git.  No one uses svn.
>
> (2) There is usually a mailing list where patches are posted,
> discussed and refined.  For example:
>
> https://lists.gnu.org/archive/html/qemu-devel/2014-03/threads.html
>
> (3) There may be another path for trivial fixes to get into the
> project, eg. for typos, obvious build fixes, whitespace changes and so
> on.  In qemu this is:
>
> http://wiki.qemu.org/Contribute/TrivialPatches
> https://lists.nongnu.org/mailman/listinfo/qemu-trivial
>
> This encourages people not to give up on simple fixes because of
> excessive process.
>
> (4) They use a decent bug tracking system (ie. not Mantis).
>
> Rich.
>
> --
> Richard Jones
> Red Hat
>
> --
> Caml-list mailing list.  Subscription management and archives:
> https://sympa.inria.fr/sympa/arc/caml-list
> Beginner's list: http://groups.yahoo.com/group/ocaml_beginners
> Bug reports: http://caml.inria.fr/bin/caml-bugs

  reply	other threads:[~2014-03-22  8:29 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-03-21 22:28 Richard W.M. Jones
2014-03-22  0:46 ` Jacques Garrigue
2014-03-22  7:15   ` Richard W.M. Jones
2014-03-22  8:28     ` Gabriel Scherer [this message]
2014-03-25 15:49       ` Goswin von Brederlow
2014-03-25 16:01         ` Daniel Bünzli
2014-03-25 16:16         ` Richard W.M. Jones
2014-03-25 16:29           ` Anil Madhavapeddy
2014-03-27  9:34           ` Goswin von Brederlow
2014-03-27 11:22             ` Anil Madhavapeddy
2014-03-27 11:28               ` Thomas Gazagnaire
2014-03-27 12:23             ` François Bobot

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='CAPFanBFJ4uxZVDvevTbGFpLduG6nJmMxU=XsaKZjSzCoiF6y7A@mail.gmail.com' \
    --to=gabriel.scherer@gmail.com \
    --cc=caml-list@inria.fr \
    --cc=garrigue@math.nagoya-u.ac.jp \
    --cc=rich@annexia.org \
    /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;
as well as URLs for NNTP newsgroup(s).