Skip to content
This repository was archived by the owner on Oct 3, 2023. It is now read-only.

Commit 272efd1

Browse files
authored
Adds contributing document (#189)
1 parent 92bfc32 commit 272efd1

1 file changed

Lines changed: 30 additions & 0 deletions

File tree

CONTRIBUTING.md

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
# Contributing Guide
2+
3+
The opencensus-node is written in TypeScript.
4+
5+
The command `npm test` tests code the same way that our CI will test it.
6+
This is a convenience command for a number of steps, which can run separately if needed:
7+
8+
- `npm run compile` compiles the code, checking for type errors.
9+
- `npm run bootstrap` Bootstrap the packages in the current Lerna repo. Installs all of their dependencies and links any cross-dependencies.
10+
11+
# How to become a contributor and submit your own code
12+
13+
## Contributor License Agreements
14+
15+
We'd love to accept your patches! Before we can take them, we have to jump a couple of legal hurdles.
16+
17+
Please fill out either the individual or corporate Contributor License Agreement (CLA).
18+
19+
* If you are an individual writing original source code and you're sure you own the intellectual property, then you'll need to sign an [individual CLA](http://code.google.com/legal/individual-cla-v1.0.html).
20+
* If you work for a company that wants to allow you to contribute your work, then you'll need to sign a [corporate CLA](http://code.google.com/legal/corporate-cla-v1.0.html).
21+
22+
Follow either of the two links above to access the appropriate CLA and instructions for how to sign and return it. Once we receive it, we'll be able to accept your pull requests.
23+
24+
## Contributing A Patch
25+
26+
1. Submit an issue describing your proposed change to the repo in question.
27+
1. The repo owner will respond to your issue promptly.
28+
1. Fork the desired repo, develop and test your code changes.
29+
1. Submit a pull request.
30+
1. If your proposed change is accepted, and you haven't already done so, sign a Contributor License Agreement (see details above).

0 commit comments

Comments
 (0)