Skip to content

Pipeline

André edited this page Mar 31, 2022 · 7 revisions

The pipeline we use is pretty straight-forward. If you want to change, add or fix something, you start by making your branch, developing the solution and finally, making a Pull Request.

Gitkraken

I strongly recommend the use of Gitkraken. It's one of the best git clients out there!

Branching

Name your branches intelligent. Everyone should quickly comprehend its content!

Developing

Commits

Try to commit every often during the development, make it more manageable!

Code

Always comment on your code wisely, don't comment too much but don't forget to comment!

/// <summary>
/// Returns a player object given it's index
/// </summary>
/// <param name="index">Player Index</param>
public static Player GetPlayer(int index) {
    Players.FirstOrDefault(ply => ply.id == index);
}

Also, don't forget to check our Code Guideline!

Pull Request

No one can merge into the master branch; make a new branch, and then create a Pull Request. Once the Lead Programmer reviews the code, he'll decide if the code is ready to be merged.

Clone this wiki locally