Skip to content
This repository has been archived by the owner on Sep 22, 2018. It is now read-only.

Contributing

Peter Cai edited this page Aug 30, 2014 · 2 revisions

我们推荐以Fork+Pull Request的方式参与贡献。

Pull Request要求:

  1. 必须基于你提交时 最新master 分支代码
  2. 必须在你自己的fork里为每个Pull Request 单独 创建一个新分支
  3. Pull Request有变更时请直接更新单独创建的分支,不要重复提交PR。如无变更原则上不要更新创建的新分支。
  4. 原则上代码应遵循 Coding Style

Commit格式:

模块: 标题

描述
...

Signed-off-by: xxx

提交时请带上 -s 参数,这样就会自动添加 Signed-off-by

Commit信息尽量使用英文(为了和谐)

例如:

WeiboAdapter: Introduce HackyHorizontalScrollView to avoid conflict
Without this patch, the HorizontalScrollView will conflict with the SwipeLayout.

This patch denies SwipeLayout from intercepting touch event and passes it to HackyHorizontalScrollView if touched in the scroll range.

Signed-off-by: Peter Cai <[email protected]>

Clone this wiki locally