Skip to content

Commit 47be7c8

Browse files
committed
Update CONTRIBUTING doc
1 parent c7f4469 commit 47be7c8

File tree

1 file changed

+39
-4
lines changed

1 file changed

+39
-4
lines changed

CONTRIBUTING.md

Lines changed: 39 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,21 @@
11
# Contributing to the CLI
2-
### Setting up your environment
2+
3+
- [Development Setup](#development-setup)
4+
* [Environment](#environment)
5+
* [Building](#building)
6+
* [Adding/updating new dependencies](#adding-updating-new-dependencies)
7+
* [Generating mocks/licenses](#generating-mocks-licenses)
8+
* [Cross-compiling](#cross-compiling)
9+
* [Testing](#testing)
10+
- [Contributing code](#contributing-code)
11+
- [Amazon Open Source Code of Conduct](#amazon-open-source-code-of-conduct)
12+
- [Licensing](#licensing)
13+
14+
## Development Setup
15+
### Environment
316
* Make sure you are using Go 1.10 (`go version`).
417
* Copy the source code (`go get github.com/aws/amazon-ecs-cli`).
18+
* We use [dep](https://github.com/golang/dep) to manage dependencies. Make sure you have version 0.3.2 of [dep](https://github.com/golang/dep/releases/tag/v0.3.2) (installation instructions [here](https://golang.github.io/dep/docs/installation.html)).
519

620
### Building
721
From `$GOPATH/src/github.com/aws/amazon-ecs-cli`:
@@ -36,11 +50,27 @@ for the Darwin and Linux platforms.
3650
### Testing
3751
* To run unit tests, run `make test` from `$GOPATH/src/github.com/aws/amazon-ecs-cli`.
3852

39-
### Licensing
40-
The Amazon ECS CLI is released under an [Apache 2.0](http://aws.amazon.com/apache-2-0/) license. Any code you submit will be released under that license.
53+
## Contributing code
54+
* Please check the existing issues and FAQ to see if your feedback has already been reported.
4155

42-
For significant changes, we may ask you to sign a [Contributor License Agreement](http://en.wikipedia.org/wiki/Contributor_License_Agreement).
56+
* Let us know if you are interested in working on an issue by leaving a comment
57+
on the issue in GitHub. This helps avoid multiple people unknowingly working on
58+
the same issue.
59+
60+
* If you would like to propose a new feature, please open an issue on GitHub with
61+
a detailed description. This enables us to collaborate on the feature design
62+
more easily and increases the chances that your feature request will be accepted.
63+
64+
* New features should include full test coverage.
4365

66+
* All submissions, including submissions by project members, require review. We
67+
use GitHub pull requests for this purpose. Consult GitHub Help for more
68+
information on using pull requests.
69+
70+
* Please submit any PRs against the `dev` branch.
71+
72+
* For any PR where you're updating `Gopkg.toml`, make sure to run `dep ensure
73+
&& dep prune` and commit all changes to vendor as a separate commit.
4474

4575
## Amazon Open Source Code of Conduct
4676

@@ -66,3 +96,8 @@ The use of violent threats, abusive, discriminatory, or derogatory language;
6696
Instances of abusive, harassing, or otherwise unacceptable behavior may be reported by contacting opensource-codeofconduct@amazon.com. All complaints will be reviewed and investigated and will result in a response that is deemed necessary and appropriate to the circumstances.
6797

6898
**Attribution.** _This code of conduct is based on the [template](http://todogroup.org/opencodeofconduct) established by the [TODO Group](http://todogroup.org/) and the Scope section from the [Contributor Covenant version 1.4](http://contributor-covenant.org/version/1/4/)._
99+
100+
## Licensing
101+
The Amazon ECS CLI is released under an [Apache 2.0](http://aws.amazon.com/apache-2-0/) license. Any code you submit will be released under that license.
102+
103+
For significant changes, we may ask you to sign a [Contributor License Agreement](http://en.wikipedia.org/wiki/Contributor_License_Agreement).

0 commit comments

Comments
 (0)