Development workflow - PanDAWMS/panda-harvester GitHub Wiki
Harvester is developed based on GitHub Flow with small customization. The sequence is as follows:
- 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.
- Add commits to the branch. You can experiment any changes since they don't affect the master branch.
- Deploy changes on a test instance. All changes must be verified before being merged to the master branch.
- Open a Pull Request. Pull Requests initiate discussion about your changes.
- 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.
- 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.