1
0
forked from sm/vain
vain/contributing.md

1.6 KiB

Contributing

We love pull requests from everyone. By participating in this project, you agree to abide by the golang code of conduct.

The basic steps begin with a clone this repo:

$ git clone https://github.com/dmmcquay/vain.git $GOPATH/src/github.com/dmmcquay/vain

then set up to push up to your hosting service of choice, e.g.:

$ cd $GOPATH/src/github.com/dmmcquay/vain
$ git remote add mine git@github.com/you/vain.git

add a feature and some tests then run the tests, check your formatting:

$ go test github.com/dmmcquay/vain
$ go vet github.com/dmmcquay/vain
$ golint github.com/dmmcquay/vain

If things look good and tests pass commit and push to your remote:

$ git add (files you changed)
$ git commit -m "Job's done"
$ git push mine feature

Push to your fork and at this point you're waiting on us. We will comment on the pull request request within three business days (and, typically, one business day). We may suggest some changes or improvements or alternatives.

Some things that will increase the chance that your pull request is accepted:

contribution guidelines borrowed from factory girl rails.