Skip to content

Latest commit

 

History

History
68 lines (45 loc) · 2.18 KB

CONTRIBUTING.md

File metadata and controls

68 lines (45 loc) · 2.18 KB

English / 中文

Contributing and Review Guidelines

All contributions are welcome!

Branching

Our branching method is git-flow

  • master: Latest stable branch
  • dev: Stable branch waiting for release(merge to master)
  • feature-xxxx: A developing branch of a new feature named xxxx
  • bugfix-xxxx: A branch to fix the bug named xxxx

How to

Issue

Go to issues page

Fix bugs

  1. Fork this repo
  2. Create a new branch named bugfix-xxxx forked from your repo's master branch
  3. Fix the bug
  4. Test the fixed code
  5. Make pull request back to this repo's dev branch
  6. Wait the community to review the code
  7. Merged(Bug fixed)

Develop a new feature

  1. Fork this repo
  2. Create a new branch named feature-xxxx forked from your repo's dev branch
  3. Coding in feature-xxxx
  4. Pull this repo's dev branch to your feature-xxxx constantly
  5. Test your code
  6. Make pull request back to this repo's dev branch
  7. Wait the community to review the code
  8. Merged !!!!

Code formatting

The code formatting tool are described by the google-java-format-gradle-plugin.

Execute the task googleJavaFormat to format all *.java files in the project

./gradlew goJF

Execute the task verifyGoogleJavaFormat to verify that all *.java files are formatted properly

./gradlew verGJF

Continous integration

Continous integration platform

  • travis-ci: Build Status

Code quality

  • CodeFactor: CodeFactor
  • Codacy: Codacy Badge