Skip to content

Latest commit

 

History

History
63 lines (53 loc) · 2.36 KB

CONTRIBUTING.md

File metadata and controls

63 lines (53 loc) · 2.36 KB

Contributing

We warmly welcome and greatly appreciate contributions from the community. By participating you agree to the code of conduct. Overall, we follow GPDB's comprehensive contribution policy. Please refer to it here for details.

Getting Started

  • Sign our Contributor License Agreement
  • Fork the gpbackup-s3-plugin repository on GitHub
  • Run go get github.com/greenplum-db/gpbackup-s3-plugin/... and add your fork as a remote
  • Run make depend to install required dependencies
  • Follow the README to set up your environment

Creating a change

  • Create your own feature branch (e.g. git checkout -b gpbackup-s3-plugin_branch) and make changes on this branch.
  • Try and follow similar coding styles as found throughout the code base.
  • Make commits as logical units for ease of reviewing.
  • Rebase with main often to stay in sync with upstream.
  • Add new tests to cover your code. We use Ginkgo and Gomega for testing.
  • Ensure a well written commit message as explained here.
  • Run make format and make test in your feature branch and ensure they are successful.
  • Push your local branch to the fork (e.g. git push <your_fork> gpbackup-s3-plugin_branch)

Submitting a Pull Request

git add .
git commit --fixup <commit SHA>
  -- or --
git commit --squash <commit SHA>
  • Once approved, before merging into main squash your fixups with:
git rebase -i --autosquash origin/main
git push --force-with-lease $USER <my-feature-branch>

Your contribution will be analyzed for product fit and engineering quality prior to merging. Your pull request is much more likely to be accepted if it is small and focused with a clear message that conveys the intent of your change.

Community

Connect with Greenplum on: