From: Goswin von Brederlow <goswin-v-b@web.de>
To: caml-list@inria.fr
Subject: Re: [Caml-list] Trivial compiler patches
Date: Tue, 25 Mar 2014 16:49:58 +0100 [thread overview]
Message-ID: <20140325154958.GA20202@frosties> (raw)
In-Reply-To: <CAPFanBFJ4uxZVDvevTbGFpLduG6nJmMxU=XsaKZjSzCoiF6y7A@mail.gmail.com>
On Sat, Mar 22, 2014 at 09:28:29AM +0100, Gabriel Scherer wrote:
> 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).
Everyone that has never done this before should take a look. Github
has a "help" link that teaches you various steps and makes even first
time use verry easy.
In short you do the following:
1) Point your browser at github.com, log in (create an account if you
don't have one) and search for ocaml [1].
2) click "fork" to make your own copy of the ocaml repository
3) clone your own ocaml repository (on your local machine)
4) edit, compile, test
5) commit the changes (on your local machine)
6) push changes back to github (now everyone can see them)
7) back to your browser, update the page for your own ocaml repository
to see your changes appear
8) click "pull request", review the diff and click "create pull request"
9) wait for the pull request to be accepted
I prefer to make a fresh branch for every pull request and have those
then merged into my master branch that I use locally. But that is up
to you. The github frontend keeps track of your pull requests and
tells you when it got merged and makes it easy to remove the pull
request branches once they are obsolete. The extra branch also makes
it easier to rebase patches in case they need to be updated.
I only recently made my first pull request via github and found it
amazingly simple and comfortable to use.
MfG
Goswin
PS: you do 1-3 only once, 4-6 all the time as you develope your patch
and 8 once for every patch you want to submitt.
--
[1] https://github.com/ocaml/ocaml
next prev parent reply other threads:[~2014-03-25 15:50 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
2014-03-25 15:49 ` Goswin von Brederlow [this message]
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=20140325154958.GA20202@frosties \
--to=goswin-v-b@web.de \
--cc=caml-list@inria.fr \
/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