Thank you for taking a moment to read these continuously evolving instructions how to contribute to stringtoolbox. To maintain a high quality of our code base, we are very strict in terms of reviewing and accepting pull requests (PR).
- Make sure you have a GitHub account.
- Make sure you use an up-to-date C++11 compiler; we are usually developing with GNU GCC.
- Register a report about your issue but check beforehand our issue list for similar problems.
- Create a named branch where you want to base your work.
- We are using the YYYYQN.Z.topic scheme with small letters, where YYYY is the year, N is the current quarter, Z is one of
feature
orfix
, and Z is the topic. Example: 2017Q4.feature.awesome-feature. This scheme allows us to quickly list and sort branches. - Make sure that your topic branched off from master.
- We are using the YYYYQN.Z.topic scheme with small letters, where YYYY is the year, N is the current quarter, Z is one of
- Make changes and commits.
- Keep the highest possible warning level.
- We treat warnings as errors.
- Keep C++11-only.
- Keep dependency-free.
- Keep platform-independent (i.e., prefer C++ standard library instead of Windows/POSIX dependent API).