How to add features updates in GitHub - Prevedere/prevedere_api GitHub Wiki

prevedere-api is a published Python package in the Pip repository. In order to make sure the published package is exactly equal to what is published, it is important to follow a common workflow for changes and updates.

Branches:

  • master: This is what is published to the world and is line-for-line equivalent to what is hosted by Pip.
  • dev: Pending additions to the master branch are held here. Once new features are finalized, they are merged into this branch.
  • [feature name]: Working branch for features under current development.
  1. Create a new branch with changes specific to the features or changes you want to make.
  2. Push your local branch to github.
  3. Submit a pull-request to merge your branch into the dev branch.
  4. Pull-request is reviewed and is merged into dev or changes are requested.
  5. One or more pull-requests accumulate in the dev branch.
  6. Dev branch is merged into master branch.
  7. New version is published to pip with changelog.