xref: /aosp_15_r20/external/bazel-skylib/CONTRIBUTING.md (revision bcb5dc7965af6ee42bf2f21341a2ec00233a8c8a)
1*bcb5dc79SHONG YifanWant to contribute? Great! First, read this page (including the small print at the end).
2*bcb5dc79SHONG Yifan
3*bcb5dc79SHONG Yifan### Before you contribute
4*bcb5dc79SHONG Yifan**Before we can use your code, you must sign the
5*bcb5dc79SHONG Yifan[Google Individual Contributor License Agreement](https://developers.google.com/open-source/cla/individual?csw=1)
6*bcb5dc79SHONG Yifan(CLA)**, which you can do online.
7*bcb5dc79SHONG Yifan
8*bcb5dc79SHONG YifanThe CLA is necessary mainly because you own the copyright to your changes,
9*bcb5dc79SHONG Yifaneven after your contribution becomes part of our codebase, so we need your
10*bcb5dc79SHONG Yifanpermission to use and distribute your code. We also need to be sure of
11*bcb5dc79SHONG Yifanvarious other things — for instance that you'll tell us if you know that
12*bcb5dc79SHONG Yifanyour code infringes on other people's patents. You don't have to sign
13*bcb5dc79SHONG Yifanthe CLA until after you've submitted your code for review and a member has
14*bcb5dc79SHONG Yifanapproved it, but you must do it before we can put your code into our codebase.
15*bcb5dc79SHONG Yifan
16*bcb5dc79SHONG YifanBefore you start working on a larger contribution, you should get in touch
17*bcb5dc79SHONG Yifanwith us first. Use the issue tracker to explain your idea so we can help and
18*bcb5dc79SHONG Yifanpossibly guide you.
19*bcb5dc79SHONG Yifan
20*bcb5dc79SHONG Yifan### Code reviews and other contributions.
21*bcb5dc79SHONG Yifan**All submissions, including submissions by project members, require review.**
22*bcb5dc79SHONG YifanPlease follow the instructions in [the contributors documentation](http://bazel.io/contributing.html).
23*bcb5dc79SHONG Yifan
24*bcb5dc79SHONG Yifan### The small print
25*bcb5dc79SHONG YifanContributions made by corporations are covered by a different agreement than
26*bcb5dc79SHONG Yifanthe one above, the
27*bcb5dc79SHONG Yifan[Software Grant and Corporate Contributor License Agreement](https://cla.developers.google.com/about/google-corporate).
28