Skip to content

Development workflow

Tadashi Maeno edited this page Apr 6, 2017 · 6 revisions

Harvester is developed based on GitHub Flow with small customization. The sequence is as follows:

  1. Create a branch or folk. In git, branches are light weight things that are often temporary and may be deleted anytime. The master branch is protected, so that only a couple of persons can push commits there.
  2. Add commits to the branch. You can experiment any changes since they don't affect the master branch.
  3. Deploy changes on a test instance. All changes must be verified before being merged to the master branch.
  4. Open a Pull Request. Pull Requests initiate discussion about your changes.
  5. Discuss and review your code. Once a Pull Request has been opened, your changes are reviewed to check functionalities, the coding style, test results, and so one. Note that your code must follow PEP8.
  6. Merge changes. Once your changes are approved they will be merged to the master branch. The branch can be deleted at this stage since commit logs are also merged.