Skip to content

Latest commit

 

History

History
71 lines (46 loc) · 1.64 KB

CONTRIBUTING.CN.md

File metadata and controls

71 lines (46 loc) · 1.64 KB

贡献

您可以通过提 issues 和 pull request 方式来为 Feflow 做贡献

Issue 提交

对于贡献者

在提 issue 前请确保满足一下条件:

  • 必须是一个 bug 或者功能新增。
  • 必须是 Feflow 相关问题。
  • 已经在 issue 中搜索过,并且没有找到相似的 issue 或者解决方案。
  • 完善下面模板中的信息

如果已经满足以上条件,我们提供了 issue 的标准模版,请按照模板填写。

Pull request

我们除了希望听到您的反馈和建议外,我们也希望您接受代码形式的直接帮助,对我们的 GitHub 发出 pull request 请求。

以下是具体步骤:

Fork仓库

点击 Fork 按钮,将需要参与的项目仓库 fork 到自己的 Github 中。

Clone 已 fork 项目

在自己的 github 中,找到 fork 下来的项目,git clone 到本地。

$ git clone git@github.com:<yourname>/feflow.git

添加 Feflow 仓库

将 fork 源仓库连接到本地仓库:

$ git remote add <name> <url>
# 例如:
$ git remote add feflow git@github.com:Tencent/feflow.git

保持与 Feflow 仓库的同步

更新上游仓库:

$ git pull --rebase <name> <branch>
# 等同于以下两条命令
$ git fetch <name> <branch>
$ git rebase <name>/<branch>

commit 信息提交

commit 信息请遵循Angular提交格式规范,以便可以自动生成 CHANGELOG 。具体格式请参考 commit 文档规范。

开发调试代码

# 进入到 Feflow 的代码目录,如:
$ cd packages/feflow-cli
# 代码构建
$ npm run build

# 代码调试
$ node bin/feflow <commands> --debug