Git Workflow voor API en implementaties

De API ontwikkelen

The basic process of adding your changes is explained in the Hoe u Git(Hub) moet gebruiken section. On top of that we suggest that you create your new branch with a meaningful name.With the new branching model you need to be aware which branch you need to base your PRs on and where it should get merged afterwards. Read about the new branching and versioning model here: Versie-systeem en repository branch layout

Additionally we require that you ensure the module will compile with gradle compileJava. This will run a simple build of the source files. When finished successfully, you can PR your changes to the SpongeAPI repo.

De implementatie ontwikkelen

The process for the implementations is almost the same as for the API. You add your changes as described in Hoe u Git(Hub) moet gebruiken. Note that you should give your branches a meaningful name. With the new branching model you need to be aware which branch you need to base your PRs on and where it should get merged afterwards. Read about the new branching and versioning model here: Versie-systeem en repository branch layout

Voer gradle compileJava uit om te controleren of alles zonder fouten compileert.

Aangezien u aan de implementatie werkt, is het mogelijk dat uw werk wordt gewijzigd in de API. Dit is oké. Vergeet niet te checken of uw pointers naar de versie van de SpongeAPI overeenkomt met de versie van uw brach voordat u commit en pusht. Om dit te kunnen doen, moet u misschien de submodules toevoegen aan de commit (met git add SpongeAPI en/of git add Mixin) voordat u uw implementatie werk commit.

U kunt een pull request openen zodra uw commit is gepusht naar uw fork of repository.