Permalink
Fetching contributors…
Cannot retrieve contributors at this time
31 lines (25 sloc) 1.38 KB

Contributing to Mist

When you're contributing to Mist, there are a few rules you should follow.

How To Contribute

  1. Fork The Repository (waylaidwanderer/Mist)
  2. Branch It
    • this is because when you do the pull request for it, it includes commits you make after you make the pull request and before the pull request is accepted
  3. Make Your Changes
  4. Commit Your Changes
  5. Do 3 and 4 as Needed
  6. Push Your Changes Back to GitHub
  7. Start a Pull Request on the Repository
    • make sure you explain what the pull request does

Indentation

With Mist, you should use four (4) spaces as an indent; tabs should not be used as indentation ever. This comes from Microsoft's C# Coding Conventions (thank you, Philipp). It gets annoying when you have both in there, and it clogs up commit logs trying to fix it.

Brackets

Brackets should be on the next line of a function definition or an if directive. Brackets should always be on their own line.

Issues

Make sure you

  • Describe the problem
  • Show how to reproduce it, if applicable
  • Explain what you think is causing it, if applicable
  • Give a plausible solution

Commits

Commits should be in the present tense, and with Title Capitalization. If needed, a body should be on the next line in normal capitalization.