Skip to content

Latest commit

 

History

History
37 lines (31 loc) · 1.76 KB

CONTRIBUTING.md

File metadata and controls

37 lines (31 loc) · 1.76 KB

Contributing to MLServer

Opening a PR

  • Fork the repository from SeldonIO into local Github account.
  • create a branch from the master of the forked repository.
    git checkout -b <branch>.
    branches can be named as bug|feat|doc|<desc><optional params>
  • make changes, and raise a PR from local repository <branch> to main repository master.
  • make sure that your branch is always uptodate (you may use rebase to resolve conflicts) with SeldonIO/MLServer master branch.
   git remote add upstream https://github.com/SeldonIO/MLServer.git 
   git fetch upstream
   git checkout <your_branch_name>
   git rebase upstream/master

Installation for Contributing

  • git clone the forked repository:
    git clone <your-repo>/MLServer <your-folder>
  • setup mlserver: pip install .
  • run examples in debugging mode and verify execution taking one to breakpoints in one's development branch

Raising a PR

  • Choose a default PR template/templates available underneath /docs/PULL_REQUEST_TEMPLATE/ as a template query param.

Before opening a pull request consider:

  • Is the change important and ready enough to ask the community to spend time reviewing?
  • Have you searched for existing, related issues and pull requests?
  • Is the change being proposed clearly explained and motivated?

When you contribute code, you affirm that the contribution is your original work and that you license the work to the project under the project's open source license. Whether or not you state this explicitly, by submitting any copyrighted material via pull request, email, or other means you agree to license the material under the project's open source license and warrant that you have the legal authority to do so.