| 1 |
# Contributing |
| 2 |
|
| 3 |
Thank you for your interest in contributing to the Go implementation of CEL! |
| 4 |
|
| 5 |
# Where to Start? |
| 6 |
|
| 7 |
CEL is a dynamic expression language that parses into a portable format, |
| 8 |
and lends itself well to evaluation across processes through its support |
| 9 |
of evaluation with partial state. |
| 10 |
|
| 11 |
We currently welcome a wide variety of contributions: |
| 12 |
|
| 13 |
* Requests for bugs and features through issues. |
| 14 |
* Fixes of bugs and implementations of features. |
| 15 |
* Documentation and examples. |
| 16 |
|
| 17 |
The general guideline is that contributions must improve the user experience |
| 18 |
without significantly altering its semantics or performance characteristics. |
| 19 |
|
| 20 |
Learn more about CEL semantics in the [CEL Spec][1] repo. |
| 21 |
|
| 22 |
# Contribution Process |
| 23 |
|
| 24 |
All submissions require review. Small changes can be submitted directly via |
| 25 |
[Pull Request](./PULL_REQUEST_TEMPLATE.md) on GitHub. Use your judgement about |
| 26 |
what constitutes a small change, but if in doubt, follow this process for |
| 27 |
larger changes: |
| 28 |
|
| 29 |
* Determine whether the changes has already been requested in Issues. |
| 30 |
* If so, please add a comment to indicate your interest as this helps |
| 31 |
the CEL maintainers prioritize changes. |
| 32 |
* If not, file an [Issue](./ISSUE_TEMPLATE.md). |
| 33 |
|
| 34 |
If you are still in doubt about whether to file an Issue or would like to |
| 35 |
consult with the broader CEL Go community, feel free to send a message to |
| 36 |
the [CEL Go Discuss][2] Google group. |
| 37 |
|
| 38 |
## Code Contributions |
| 39 |
|
| 40 |
See [PULL_REQUEST_TEMPLATE.md](./PULL_REQUEST_TEMPLATE.md) for guidelines on |
| 41 |
creating, reviewing, and merging code contributions. |
| 42 |
|
| 43 |
### Contributor License Agreement |
| 44 |
|
| 45 |
Code contributions must be accompanied by a Contributor License Agreement. You |
| 46 |
(or your employer) retain the copyright to your contribution, but the agreement |
| 47 |
gives us permission to use and redistribute your contributions as part of the |
| 48 |
project. Visit <https://cla.developers.google.com/> to view priot agreements, |
| 49 |
or to sign a new one. |
| 50 |
|
| 51 |
You generally only need to submit a CLA once, so if you've already submitted |
| 52 |
one (even if it was for a different project), you probably don't need to do it |
| 53 |
again. |
| 54 |
|
| 55 |
## Code Reviews |
| 56 |
|
| 57 |
All code changes must be reviewed before merge. Expect maintainers to respond |
| 58 |
to new issues or pull requests within a week. |
| 59 |
|
| 60 |
If approval is given to a code change, commits should be squashed on merge. |
| 61 |
This makes it easier to triage issues related to a change, and makes the commit |
| 62 |
graph human-readable. |
| 63 |
|
| 64 |
For outstanding and ongoing issues and particularly for long-running pull |
| 65 |
requests, expect the maintainers to review within a week of a contributor |
| 66 |
asking for a new review. There is no commitment to resolution -- merging |
| 67 |
or closing a pull request, or fixing or closing an issue -- because some |
| 68 |
issues will require more discussion than others. |
| 69 |
|
| 70 |
[1]: https://github.com/google/cel-spec |
| 71 |
[2]: https://groups.google.com/forum/#!forum/cel-go-discuss |