- Fork https://github.com/DE-labtory/cleisthenes
- Register issue you are going to work, and discuss with maintainers whether this feature is needed. Or you can choose existing issue.
- After assigned the issue, work on it
- Document about your code
- Test with
go test -v ./...
- Format your code with
goimports -w ./
commands - After passing tc and formatting, create pr to
develop
branch referencing issue number - Passing travis-ci with more than one approve from maintainers, you can rebase and merge to the develop branch
- After passing all the tc, no build error we can merge to
master
branch at milestone
master
: project with release level can be merged tomaster
branchdevelop
: new feature developed after fully verified from others can be merged todevelop
branch
- For not overlapping work with others, please work on small feature as possible.
- When register new issue, concrete documenting issue helps other to understand what you are going to work on and to feedback about your proposal easily.
[type]/[description]
Sample
feature/#20
refac/message
docs/pbft
- Start with lowercase letter.
- Don't put a
.
at the end of the message. - Write message authoritatively
- Add issue number to end of commit message.
[type] : [description]
Sample
docs : add more description about PBFT [ISSUE-1]
fix : change type int to unit [ISSUE-20]
- impl : Just implements TODO function or method
- fix : Fix the bug
- chore : Extra work
- feat : A new feature
- perf : A code related performance
- docs : Write or change the docs
- refactor : Only code change
- test : All about tests (add, fix...)
- critical : A feature related or affect the architecture