加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
CONTRIBUTING.adoc 3.27 KB
一键复制 编辑 原始数据 按行查看 历史
aelamrani 提交于 2018-04-09 07:36 . chore: fix typo

Contributing to Gravitee.io

You think Gravitee.io is awesome and want to contribute to the project? Here are few guidelines that should help you get started.

Using GitHub issues

We use GitHub issues to track bugs and enhancements. Find a bug in the source code? Want to propose new features or enhancements? You can help us by submitting an issue in our repository. Before you submit your issue, search the issues archive or the backlog; maybe your question was already answered.

Issues are only to report bugs, request enhancements, or request new features. For general questions and discussions, use the Gravitee.io Gitter chat.

Providing the following information will help us deal quickly with your issue :

  • Overview of the issue : describe the issue and why this is a bug for you.

  • Gravitee.io version(s) : possible regression?

  • Browsers and Operating System : Linux/Windows/Docker? Browser version for the UI, etc …​

  • You have stack trace, screenshots, logs? add these to the issue’s description.

Submitting changes

You’ve submitted an issue to the project and know how to fix it? You can contribute to the project by forking the repository and submitting your pull requests.

Before you submit your pull request consider the following guidelines:

  • Make your changes in a new git branch:

git checkout -b issue/#<issue-id>-my-fix-branch master
Note : issue-id reference the id generated by GitHub (#issue-id).
  • Create your patch, including appropriate test cases.

  • Update the documentation if you create new features or think the documentation needs to be updated/completed.

  • Commit your changes using a descriptive commit message.

 git commit -a
  • Build your changes locally to ensure all the tests pass:

mvn clean install
  • Push your branch to GitHub:

git push origin issue/#<issue-id>-my-fix-branch
  • In GitHub, send a pull request to <gravitee-io/gravitee-gateway>:master.

  • If we suggest changes then:

    • Make the required updates.

    • Re-run the test suite to ensure tests are still passing.

    • Commit your changes to your branch (e.g. issue/<issue-id>-my-fix-branch).

    • Push the changes to your GitHub repository (this will update your Pull Request).

If the PR gets too outdated we may ask you to rebase and force push to update the PR:

git rebase master
git push origin issue/#<issue-id>-my-fix-branch -f

And That’s it! You’ve just contributed to the project and we really appreciate it ! You can still find help, news and information on our forum.

Contributor License Agreement

Please sign our Contributor License Agreement (CLA) and send it to contact@graviteesource.com. For any code changes to be accepted, the CLA must be signed.

Further Information

You can find more detailed information about contributing in the Github guides.

马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化