about summary refs log tree commit diff
path: root/third_party/bazel/rules_nixpkgs/CONTRIBUTING.md
blob: f98c3ab184a48c3459b7e91b472af10af7e085c6 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
# Contributing to Bazel

## Contributor License Agreement

Contributions to this project must be accompanied by a Contributor License
Agreement. You (or your employer) retain the copyright to your contribution,
this simply gives us permission to use and redistribute your contributions as
part of the project. Head over to <https://cla.developers.google.com/> to see
your current agreements on file or to sign a new one.

You generally only need to submit a CLA once, so if you've already submitted one
(even if it was for a different project), you probably don't need to do it
again.

## Contribution process

1. Explain your idea and discuss your plan with members of the team.
   The best way to do this is to create an [issue][issue-tracker] or
   comment on an existing issue.
1. Prepare a git commit with your change. Don't forget to
   add [tests][tests]. Run the existing tests with `bazel test //...`.
   Update [README.md](./README.md) if appropriate.
1. [Create a pull request](https://help.github.com/articles/creating-a-pull-request/).
   This will start the code review process. **All submissions,
   including submissions by project members, require review.**
1. You may be asked to make some changes. You'll also need to sign the
   CLA at this point, if you haven't done so already. Our continuous
   integration bots will test your change automatically on supported
   platforms. Once everything looks good, your change will be merged.

[issue-tracker]: https://github.com/tweag/rules_nixpkgs/issues
[tests]: https://github.com/tweag/rules_nixpkgs/tree/master/tests

## Setting up your development environment

Read how to [set up your development environment](https://bazel.build/contributing.html)