Contributing Guide
June 16, 2017 · View on GitHub
Thank you for your attention to this project. Any bug, doc, examples and suggestion is appreciated. Here are some suggestions for you to create Pull Requests or open Issues.
Branch Management
master
↑
develop <--- PR(bugfix/typo/3rd-PR)
↑ PR
{type}/{description}
Branches
masterbranchmasteris the latest (pre-)release branch.
developbranchdevelopis the stable developing branch. Github Release is used to publish a (pre-)release version tomasterbranch.- It's RECOMMENDED to commit bugfix or feature PR to
develop.
{action}/{description}branch- The branch for a developing or bugfix *. DO NOT commit any PR to such a branch.
Branch Name
{action}/{description}
{action}:feature: used for developing a new feature.bugfix: used for fixing bugs.
- for example:
feature/add_flex_layouthelper
Commit Log
{action} {description}
{action}addupdateorbugfixremove- ...
{description}- It's RECOMMENDED to close issue with syntax
#123, see the doc for more detail. It's useful for responding issues and release flow.
- It's RECOMMENDED to close issue with syntax
for example:
add new layout helperfix #123, make compatible to recyclervew 25.2.0remove abc
Issue
- Please apply a proper label to an issue.
- Suggested to use English.
- Provide sufficient instructions to be able to reproduce the issue and make the issues clear. Such as phone model, system version, sdk version, crash logs and screen captures.
Pull Request And Contributor License Agreement
Create Pull Requests here.
In order to contribute code to vlayout, you (or the legal entity you represent) must sign the Contributor License Agreement (CLA).
You can read and sign the Alibaba CLA online.
For CLA assistant service works properly, please make sure you have added email address that your commits linked to GitHub account.
Code Style Guide
Java & Android
- Use Google Java Style as basic guidelines of java code.
- Follow AOSP Code Style for rest of android related code style.