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