Updated ReST documentation
This commit is contained in:
parent
1f3de48182
commit
3337c0f787
8 changed files with 129 additions and 63 deletions
|
|
@ -22,7 +22,8 @@ improving things.
|
|||
|
||||
The most elegant way to contribute code to Evennia is to use Mercurial
|
||||
to create an online *clone* of the Evennia repository and make your
|
||||
changes to that. .
|
||||
changes to that. Here's how to create your own clone (you only need to
|
||||
do this once):
|
||||
|
||||
#. Go to the
|
||||
`Checkout <http://code.google.com/p/evennia/source/checkout>`_ page.
|
||||
|
|
@ -33,18 +34,22 @@ changes to that. .
|
|||
like "my repo for contributing to Evennia". Accept.
|
||||
#. Your new repo is created. You should see it appear in the `clone-repo
|
||||
list <https://code.google.com/p/evennia/source/clones.html>`_. This
|
||||
is actually your own mini-version of the Evennia page! Choose your
|
||||
repo and you will find it has its own Checkout page. Use the command
|
||||
there to get a local copy of your clone to your computer.
|
||||
is actually your own mini-version of the Evennia page!
|
||||
#. Choose your repo and you will find it has its own Checkout page. Use
|
||||
the command shown there to get a local copy of your clone to your
|
||||
computer.
|
||||
|
||||
Once you have an online clone and a local copy of it:
|
||||
|
||||
#. Code away on your computer, fixing bugs or whatnot (you can be
|
||||
offline for this). Commit your code to your local clone as you work,
|
||||
as often as you like.
|
||||
#. When you have something you feel is worthwhile (or just want to ask
|
||||
people's opinions or make an online backup), *push* your local code
|
||||
up to your online repository with Mercurial.
|
||||
#. Let people know what you did, talk discuss. If you think your changes
|
||||
should be merged into main Evennia (maybe you have made bugfixes,
|
||||
added new features etc), make a new
|
||||
#. Let people know what you did - talk and discuss. If you think your
|
||||
changes should be merged into main Evennia (maybe you have made
|
||||
bugfixes, added new features etc), make a new
|
||||
`Issue <http://code.google.com/p/evennia/issues/list>`_ using the
|
||||
"Merge Request" template. Try to separate features with different
|
||||
commits, so it's possible to pick individual features.
|
||||
|
|
@ -58,8 +63,18 @@ Contributing with Patches
|
|||
To help with Evennia development it's recommended to do so using a clone
|
||||
repository as described above. But for small, well isolated fixes you
|
||||
are also welcome to submit your suggested Evennia fixes/addendums as
|
||||
`patches <https://secure.wikimedia.org/wikipedia/en/wiki/Patch_(computing).html>`_
|
||||
if you like. Depending on what fits best, post your patch to the `issue
|
||||
*patches*. You can use normal
|
||||
`patches <https://secure.wikimedia.org/wikipedia/en/wiki/Patch_(computing).html>`_,
|
||||
but it might be easier to use mercurial's own patch mechanism. Make sure
|
||||
you have committed your latest fixes first, then
|
||||
|
||||
::
|
||||
|
||||
hg export tip > mypatch.patch
|
||||
|
||||
This will create a patch file ``mypatch.patch`` that can be imported by
|
||||
others with ``hg import mypatch.patch``. Depending on what fits best,
|
||||
post your patch to the `issue
|
||||
tracker <https://code.google.com/p/evennia/issues/list.html>`_ or to the
|
||||
`discussion
|
||||
forum <https://groups.google.com/forum/#!forum/evennia.html>`_. Please
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue