How To Create Patch For Stendhal: Difference between revisions
Content deleted Content added
imported>Kymara |
imported>Kymara exlpain what a patch is. add cli link. add another best practise |
||
Line 1:
If you want to contribute to Stendhal with some changes to some files you can ease us integrating the changes if you create a patch file for your changes.
A '''patch file''' is a record of all the changes made to the code. It is one file in a particular format which defines which source files, and which lines of the source files are to be changed, as well as the changes themself. As you can imagine this makes adding changes a much smoother process.
There are two neat ways to make a patch file. We are going to describe here how to create a patch on each of this ways.
As a prerequisite for both ways of creating a patch is a checked out version of Stendhal.
Line 7 ⟶ 11:
* Discuss your plans with the team at {{irc-arianne}}
* Test your changes locally
* Open the patch file in a text editor and review it, to check it is really adding the changes you mean to add, and nothing else
{{TODO|list more best practice tips}}
Line 27 ⟶ 32:
== Command line way ==
{{TODO|describe how to create a patch via
| |||