xref: /aosp_15_r20/external/google-java-format/CONTRIBUTING.md (revision 10816b529e1d7005ca788e7b4c5efd1c72957e26)
1*10816b52SSorin BascaWant to contribute? Great! First, read this page (including the small print at
2*10816b52SSorin Bascathe end).
3*10816b52SSorin Basca
4*10816b52SSorin Basca### Before you contribute
5*10816b52SSorin Basca
6*10816b52SSorin BascaBefore we can use your code, you must sign the [Google Individual Contributor
7*10816b52SSorin BascaLicense
8*10816b52SSorin BascaAgreement](https://developers.google.com/open-source/cla/individual?csw=1)
9*10816b52SSorin Basca(CLA), which you can do online. The CLA is necessary mainly because you own the
10*10816b52SSorin Bascacopyright to your changes, even after your contribution becomes part of our
11*10816b52SSorin Bascacodebase, so we need your permission to use and distribute your code. We also
12*10816b52SSorin Bascaneed to be sure of various other things—for instance that you'll tell us if you
13*10816b52SSorin Bascaknow that your code infringes on other people's patents. You don't have to sign
14*10816b52SSorin Bascathe CLA until after you've submitted your code for review and a member has
15*10816b52SSorin Bascaapproved it, but you must do it before we can put your code into our codebase.
16*10816b52SSorin BascaBefore you start working on a larger contribution, you should get in touch with
17*10816b52SSorin Bascaus first through the issue tracker with your idea so that we can help out and
18*10816b52SSorin Bascapossibly guide you. Coordinating up front makes it much easier to avoid
19*10816b52SSorin Bascafrustration later on.
20*10816b52SSorin Basca
21*10816b52SSorin Basca### Code reviews
22*10816b52SSorin Basca
23*10816b52SSorin BascaAll submissions, including submissions by project members, require review. We
24*10816b52SSorin Bascause GitHub pull requests for this purpose.
25*10816b52SSorin Basca
26*10816b52SSorin Basca### The small print
27*10816b52SSorin Basca
28*10816b52SSorin BascaContributions made by corporations are covered by a different agreement than the
29*10816b52SSorin Bascaone above, the Software Grant and Corporate Contributor License Agreement.
30