Skip to main content

Contributing

Open an issue first​

Please open an issue before you open a pull request, and wait for us to reply before you start work. Small fixes, such as a typo or an obvious one-line bug, can go straight to a pull request.

If you want to add a feature, you must talk to us in an issue first. It may already be on our roadmap, or it may be something we only offer commercially. We may close pull requests for features that weren't discussed in an issue first.

Security issues are the exception: report them privately as described in the security policy, not in a public issue or pull request.

Before you contribute​

Before we can use your code, you must sign the North Pole Security Individual Contributor License Agreement (CLA), which you can do online. The CLA is necessary mainly because you own the copyright to your changes even after your contribution becomes part of our codebase, so we need your permission to use and distribute your code. We also need to be sure of various other things—for instance that you’ll tell us if you know that your code infringes on other people’s patents. You don’t have to sign the CLA until after you’ve submitted your code for review and a member has approved it, but you must do it before we can put your code into our codebase.

Code Reviews​

All submissions - including those by project members - require review. We provide feedback and comments through GitHub's normal pull request mechanism.

If you receive feedback from one of the maintainers with suggestions or requested changes, please make the appropriate changes and upload a new commit, do not force-push an amended change or rebase, as this prevents GitHub from presenting "changes since last review".

If you receive feedback that you are uncertain about, feel free to ask for more details, but please note that we do have limited time so it may take time for us to respond.

Code Style​

Santa's codebase is generally written to adhere to Google's C++ and Objective-C style guides. To avoid wasting time discussing the finer points of code style, we use clang-format to enforce cohesive styling. You can run ./Testing/fix.sh in your workspace to automatically format your code before submitting your PR.