Skip to content

Latest commit

 

History

History
66 lines (47 loc) · 2.26 KB

CONTRIBUTING.md

File metadata and controls

66 lines (47 loc) · 2.26 KB

Contributing to BOSH

When contributing a pull request, be sure to:

Contributor License Agreement

Follow these steps to make a contribution to any of CF open source repositories:

  1. Ensure that you have completed our CLA Agreement for individuals or corporations.

  2. Set your name and email (these should match the information on your submitted CLA)

git config --global user.name "Firstname Lastname"
git config --global user.email "your_email@example.com"
  1. See development docs to start contributing to BOSH.

Creating a Local Development Release

  1. Create a tarball release with a desired name 'e.g. bosh-test-release.tgz':

    bosh create-release --force --tarball bosh-test-release.tgz

  2. Upload release to test environment:

    bosh upload-release ./path/to/bosh-test-release.tgz

Commit messages

Please follow the rules of writing good Git commit messages:

  • Separate subject from body with a blank line
  • Limit the subject line to 50 characters
  • Capitalize the subject line
  • Do not end the subject line with a period
  • Use the imperative mood in the subject line
  • Wrap the body at 72 characters
  • Use the body to explain what and why vs. how

In addition to those rules, we also like to include references to external resources, such as Pivotal Tracker stories and GitHub issues. For example, at the bottom of your commit messages:

[GH: Fixes #123, Related: #432, #111]
[finishes #3494307298](https://www.pivotaltracker.com/story/show/3494307298)

Also, if you're pairing or working with more people on your commit, we encourage you to use the Co-authored-by line in order to attribute credit to everyone that contributed. For example (yes you can have as many of those as you want):

Co-authored-by: Rob Boshman <rboshman@cloudfoundry.org>
Co-authored-by: Alice Boshington <aboshington@cloudfoundry.org>