Skip to content

Latest commit

 

History

History
81 lines (54 loc) · 1.78 KB

CONTRIBUTING.md

File metadata and controls

81 lines (54 loc) · 1.78 KB

Contributing

Installing the go development environment

  1. Install homebrew

    ruby -e "$(curl -fsSL https://raw.github.com/Homebrew/homebrew/go/install)"
    
  2. Install go

    brew install go --cross-compile-all
    
  3. Configure $GOPATH in ~/.bashrc

    export GOPATH="$HOME/go"
    export PATH=$PATH:$GOPATH/bin
    

Installing the appengine development environment

  1. Follow the Google instructions.

Downloading the code

You can download the code and its dependencies using

go get -t github.com/bugsnag/bugsnag-go

It will be put into "$GOPATH/src/github.com/bugsnag/bugsnag-go"

Then install depend

Running Tests

You can run the tests with

go test

If you've made significant changes, please also test the appengine integration with

goapp test

Releasing a New Version

If you are a project maintainer, you can build and release a new version of bugsnag-go as follows:

  1. Commit all your changes.

  2. Update the version number in bugsnag.go.

  3. Add an entry to CHANGELOG.md and update the README if necessary.

  4. Commit tag and push

    git commit -mv1.0.x && git tag v1.0.x && git push origin v1.0.x

  5. Update the setup guides for Go (and its frameworks) on docs.bugsnag.com with any new content.