Main guidelines
- Don't make major changes to the existing structure without thorough testing
- Thorough testing involves:
- Multiple use scenarios (core, projects, tools)
- Clean tests (remove everything and build from scratch)
Using branches
dev
should be used for development; it doesn’t have to compile successfully but should .master
should always compile.- Create new
dev-featurex
branches to develop new features.
Developer Code Contributions
We encourage any developer to contribute to the COSMOS repositories. The following steps show how anyone can successfully push their code to the main COSMOS repositories
configure git config --global pull.ff only (to set fast forward merges globally)
- git fork the code repository you are interested in
- git clone (you now have permissions to edit your fork)
- create a new feature branch 'ex: feature-save-agent007'
- build your amazing feature code and make sure it compiles successfully
- git add
- git commit
- git pull --rebase
- resolve any conflicts if they exist
- git push to your fork
- git pull request to the main repo