The Cloud Foundry team uses GitHub and accepts contributions via pull request.
See the wiki for design notes and other helpful information.
Follow these steps to make a contribution to any of our open source repositories:
-
Ensure that you have completed our CLA Agreement for individuals or corporations.
-
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"
- Fork the repository
- Check out
masterof cloud_controller - Create a feature branch (
git checkout -b better_cloud_controller) - Make changes on your branch
- Run tests
- Run static analysis
- If you are deploying to bosh, checkout
developof capi-release anddevelopof cf-release - Push to your fork (
git push origin better_cloud_controller) and submit a pull request
We favor pull requests with very small, single commits with a single purpose.
Your pull request is much more likely to be accepted if:
-
Your pull request includes tests
-
Your pull request is small and focused with a clear message that conveys the intent of your change
Whenever possible, please try to PR small, atomic units of work. As a rule of thumb, PRs with > 400 changed lines are difficult for us to review critically. We are happy to work with you to break up larger PRs into more managable chunks.