Back to Wiki Homepage

Secretchronicles Wiki

Requirements for Pushing Code to Github

If you have write access, you will be able to use the "git push" command to push your code changes to one of the major branches in GitHub (ie. devel or a release branch). Before pushing, you must do the following:

  • Verify your code compiles in the normal Linux build
  • Unit test your changes such that you are reasonably sure they work as a whole
  • Make sure the world map loads in world 1
  • Make sure you can play through the first level
  • Verify the level editor can load
  • Make sure the project compiles in an MXE build (cross build)

After pushing, if you pushed to a release branch and if you changed C++ logic, you will normally be responsible for merging your code to the devel branch (or any other dependent branches). This is because other people are not as familiar with your code and will not be able to spot bugs in merging. Again you must make sure the Linux builds and cross builds work, but functional testing is optional.