We are glad to have contributors out of the core team; contributions, including (but not limited to) style/bug fixes, implementation of features, proposals of schemes/algorithms, and thorough documentation, are welcomed. Feel free to follow us and fork the repository.
You can report bugs to us through the BoAT-X Issues. We appreciate a detailed description of the problem you met, including but not limited to the version, the device/chip brand and model, the blockchain etc. It is welcome to provide the detailed steps that could reproduce the bug. If applicable, log files or screenshots could also help.
All contributors and their contribution are required to agree with and follow Apache License 2.0.
Before submitting your code, make sure to follow the Contributor license agreement beforehand. DO NOT submit your code unless you fully accept the aggreement. Your submission implies you have accepted the agreement.
What you submit should link to an issue in the BoAT-X Issues. Create one if there is no issue about what you're going to submit. Please also create a Pull Request for the issue and submission.
The commit messages must be formatted. Refer to AngularJS commit message format for details.
Each commit message consists of a header, a body, and a footer.
<header>
<BLANK LINE>
<body>
<BLANK LINE>
<footer>
-
<type>(<scope>): <short summary>
Header format is list as above, among them,
type
is one of the following options:- feat (feature)
- fix (bug fix)
- docs (documentation)
- style (formatting, missing semi colons, …)
- refactor (code change that neither fixes a bug nor adds a feature)
- test (when adding missing tests)
- chore (maintain)
scope
is optional.short summary
is the short description of the commit. -
body
is the detail description of the commit, it's optional. -
footer
is optional.
- A submission with bug A fixed.
- the simple commit message maybe:
or
fix: fix bug A
fix: fix bug A the detail description of fixing bug A
- If you want to emphasize the scope of the bug's impact(for example, the bug affects module X), the commit message may be:
or
fix(module X): fix bug A
fix(module X): fix bug A the detail description of fixing bug A
- If you want to close some issue in this commit(for example, issue #9 need to be closed), the commit message may be:
or
fix(module X): fix bug A fix #9
fix(module X): fix bug A the detail description of fixing bug A fix #9
- the simple commit message maybe:
- A submission with feature A added.
- the simple commit message maybe:
or
feat: add new feature A
feat: add feature B the detail description of adding feature B
- the simple commit message maybe:
You could also use tools such as git-cz to easily format the commit message.