Merge pull request #361 from svost/master
[novacoin.git] / src / leveldb / CONTRIBUTING.md
1 # Contributing
2
3 We'd love to accept your code patches! However, before we can take them, we
4 have to jump a couple of legal hurdles.
5
6 ## Contributor License Agreements
7
8 Please fill out either the individual or corporate Contributor License
9 Agreement as appropriate.
10
11 * If you are an individual writing original source code and you're sure you
12 own the intellectual property, then sign an [individual CLA](https://developers.google.com/open-source/cla/individual).
13 * If you work for a company that wants to allow you to contribute your work,
14 then sign a [corporate CLA](https://developers.google.com/open-source/cla/corporate).
15
16 Follow either of the two links above to access the appropriate CLA and
17 instructions for how to sign and return it.
18
19 ## Submitting a Patch
20
21 1. Sign the contributors license agreement above.
22 2. Decide which code you want to submit. A submission should be a set of changes
23 that addresses one issue in the [issue tracker](https://github.com/google/leveldb/issues).
24 Please don't mix more than one logical change per submission, because it makes
25 the history hard to follow. If you want to make a change
26 (e.g. add a sample or feature) that doesn't have a corresponding issue in the
27 issue tracker, please create one.
28 3. **Submitting**: When you are ready to submit, send us a Pull Request. Be
29 sure to include the issue number you fixed and the name you used to sign
30 the CLA.
31
32 ## Writing Code ##
33
34 If your contribution contains code, please make sure that it follows 
35 [the style guide](http://google-styleguide.googlecode.com/svn/trunk/cppguide.xml).
36 Otherwise we will have to ask you to make changes, and that's no fun for anyone.