|
1 |
| -# Contributing to this Repository |
| 1 | +# How to Contribute |
2 | 2 |
|
3 |
| -Thank you for your interest in contributing! |
| 3 | +We'd love to accept your patches and contributions to this project. |
4 | 4 |
|
5 |
| -Send us your patches early and often and in whatever shape or form. |
| 5 | +## Before you begin |
6 | 6 |
|
7 |
| -## Legal |
| 7 | +### Sign our Contributor License Agreement |
8 | 8 |
|
9 |
| -Unfortunately there are some legal hurdles. Sorry about that. |
| 9 | +Contributions to this project must be accompanied by a |
| 10 | +[Contributor License Agreement](https://cla.developers.google.com/about) (CLA). |
| 11 | +You (or your employer) retain the copyright to your contribution; this simply |
| 12 | +gives us permission to use and redistribute your contributions as part of the |
| 13 | +project. |
10 | 14 |
|
11 |
| -This repository is a Google open source project, and so we require contributors to sign Google's open source Contributor License Agreement. |
12 |
| -It's easy to do, just click here to sign as an [individual](https://developers.google.com/open-source/cla/individual) or [corporation](https://developers.google.com/open-source/cla/corporate). |
13 |
| -Individuals can sign electronically in seconds (see the bottom of the page); corporations will need to email a PDF, or mail. |
| 15 | +If you or your current employer have already signed the Google CLA (even if it |
| 16 | +was for a different project), you probably don't need to do it again. |
14 | 17 |
|
15 |
| -We cannot accept PRs or patches larger than fixing typos and the like without a signed CLA. |
| 18 | +Visit <https://cla.developers.google.com/> to see your current agreements or to |
| 19 | +sign a new one. |
16 | 20 |
|
17 |
| -If your Github account doesn't show the name you used to sign, please mention your name in your PR. |
| 21 | +### Review our Community Guidelines |
| 22 | + |
| 23 | +This project follows [Google's Open Source Community |
| 24 | +Guidelines](https://opensource.google/conduct/). |
| 25 | + |
| 26 | +## Contribution process |
| 27 | + |
| 28 | +### Code Reviews |
| 29 | + |
| 30 | +All submissions, including submissions by project members, require review. We |
| 31 | +use GitHub pull requests for this purpose. Consult |
| 32 | +[GitHub Help](https://help.github.com/articles/about-pull-requests/) for more |
| 33 | +information on using pull requests. |
| 34 | + |
| 35 | +### Setting up your Environment |
| 36 | + |
| 37 | +If you want to contribute to this repository, you need to first [create your own fork](https://docs.github.com/en/get-started/quickstart/fork-a-repo). |
| 38 | +After forking chrome-extensions-samples to your own Github account, run the following steps to get started: |
| 39 | + |
| 40 | +```sh |
| 41 | +# clone your fork to your local machine |
| 42 | +git clone https://github.com/your-fork/chrome-extensions-samples.git |
| 43 | + |
| 44 | +cd chrome-extensions-samples |
| 45 | + |
| 46 | +# install dependencies |
| 47 | +npm install |
| 48 | +``` |
0 commit comments