alexeagle | 64cf46f | 2017-04-24 00:01:11 +0200 | [diff] [blame] | 1 | Want to contribute? Great! First, read this page (including the small print at the end). |
| 2 | |
| 3 | ### Before you contribute |
TypeScript Team | 52b6fe6 | 2018-12-13 14:39:06 -0800 | [diff] [blame] | 4 | |
alexeagle | 64cf46f | 2017-04-24 00:01:11 +0200 | [diff] [blame] | 5 | **Before we can use your code, you must sign the |
| 6 | [Google Individual Contributor License Agreement](https://developers.google.com/open-source/cla/individual?csw=1) |
| 7 | (CLA)**, which you can do online. |
| 8 | |
| 9 | The CLA is necessary mainly because you own the copyright to your changes, |
| 10 | even after your contribution becomes part of our codebase, so we need your |
| 11 | permission to use and distribute your code. We also need to be sure of |
| 12 | various other things for instance that you'll tell us if you know that |
| 13 | your code infringes on other people's patents. You don't have to sign |
| 14 | the CLA until after you've submitted your code for review and a member has |
| 15 | approved it, but you must do it before we can put your code into our codebase. |
| 16 | |
| 17 | Before you start working on a larger contribution, you should get in touch |
| 18 | with us first. Use the issue tracker to explain your idea so we can help and |
| 19 | possibly guide you. |
| 20 | |
TypeScript Team | 52b6fe6 | 2018-12-13 14:39:06 -0800 | [diff] [blame] | 21 | **Before starting a complex contribution we strongly encourage you to share a design document**. |
| 22 | |
| 23 | [Here](https://goo.gl/YCQttR) you can find a document template. |
| 24 | |
alexeagle | 64cf46f | 2017-04-24 00:01:11 +0200 | [diff] [blame] | 25 | ### Code reviews and other contributions. |
TypeScript Team | 52b6fe6 | 2018-12-13 14:39:06 -0800 | [diff] [blame] | 26 | |
alexeagle | 64cf46f | 2017-04-24 00:01:11 +0200 | [diff] [blame] | 27 | **All submissions, including submissions by project members, require review.** |
TypeScript Team | 52b6fe6 | 2018-12-13 14:39:06 -0800 | [diff] [blame] | 28 | We use GitHub's code review system to suggest changes, then merge the changes |
| 29 | to master when the PR is green and reviewed. The changes will then be in the |
| 30 | next release. |
alexeagle | 64cf46f | 2017-04-24 00:01:11 +0200 | [diff] [blame] | 31 | |
| 32 | ### The small print |
TypeScript Team | 52b6fe6 | 2018-12-13 14:39:06 -0800 | [diff] [blame] | 33 | |
alexeagle | 64cf46f | 2017-04-24 00:01:11 +0200 | [diff] [blame] | 34 | Contributions made by corporations are covered by a different agreement than |
| 35 | the one above, the |
| 36 | [Software Grant and Corporate Contributor License Agreement](https://cla.developers.google.com/about/google-corporate). |