How To Create Patch For Stendhal: Difference between revisions
Jump to navigation
Jump to search
Content deleted Content added
imported>Kymara No edit summary |
imported>Hendrik Brummermann No edit summary |
||
| (12 intermediate revisions by 3 users not shown) | |||
| Line 1: | Line 1: | ||
{{Navigation for Stendhal Top|Developing}} |
{{Navigation for Stendhal Top|Developing}} |
||
{{Navigation for Stendhal Developers}} |
{{Navigation for Stendhal Developers}} |
||
<div style="border:10px solid #A00; padding: 2em"> |
|||
'''Warning''': This page is outdated. We prefer Pull Requests on Codeberg or GitHub. |
|||
</div> |
|||
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. |
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. |
||
| Line 12: | Line 19: | ||
As a prerequisite for both ways of creating a patch is a checked out version of Stendhal. |
As a prerequisite for both ways of creating a patch is a checked out version of Stendhal. |
||
== Common best practices for |
== Common best practices for pull requests and patches == |
||
* Keep your local copy of Stendhal regularly up to date with |
* Keep your local copy of Stendhal regularly up to date with Git to avoid merge conflicts |
||
* Discuss your plans with the team at {{irc-arianne}} |
* Discuss your plans with the team at {{irc-arianne}} |
||
* Update your local copy before you test your changes locally |
* Update your local copy before you test your changes locally |
||
| Line 21: | Line 28: | ||
== Creating patches == |
== Creating patches == |
||
=== Eclipse === |
=== Eclipse === |
||
If you use [[ |
If you use [[Stendhal on Eclipse|Eclipse]] it is quite easy for you to create a patch against current head version in CVS. Before creating a patch you should update your local copy of the sources to the most recent version. You do this by right clicking on the project folder, and in the context menu which appears select ''Team'' and ''Update''. If files have been edited outside Eclipse, please right click on the project folder and click ''Refresh''. |
||
After updating your Stendhal project you can start the patch creation by right clicking on the project. In the context menu which appears select ''Team'' and ''Create Patch'' in the team submenu. This will open up a wizard for creating patches. |
After updating your Stendhal project you can start the patch creation by right clicking on the project. In the context menu which appears select ''Team'' and ''Create Patch'' in the team submenu. This will open up a wizard for creating patches. |
||