同步操作将从 an-tao/drogon 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
Drogon is an open source project at its heart and every contribution is welcome. By participating in this project you agree to stick to common sense and contribute in an overall positive way.
git clone git@github.com:your-username/drogon.git
drogon_ctl
executable in your shell’s PATH
environment variable in case you use a terminal.Now you can create branches, start adding features & bugfixes to the code, and create pull requests.
Feel free to create a pull request if you think you can contribute to the project. You will be listed as a contributor, agree to this document, and the LICENSE.
There are also some recommendations you can follow. These aren’t requirements, but they will make the development more straightforward:
master
branch, and also
merge it into your local branch before creating a pull request if there were
other changes introduced in the meantime.bugfix/123-fix-template-parser
when you want to fix a bug in the
template parser.feature/123-add-l10n-and-i18n
if you want to add localization (l10n) and
internationalization (i18n) as a new feature to the project.bugfix/fix-typo-in-docs
.If you follow these recommendations your pull request will have more success:
clang-format
(>= 8.0.0). The configuration is already
provided in the .clang-format
file, just run the ./format.sh
script
before submitting your pull request.In addition to the guidelines mentioned above, collaborators with write access to the repository should also follow these guidelines:
If there are new tests as part of the pull request, you should make sure that they succeed.
When merging Pull Requests you should use the option Squash & Merge and chose a descriptive commit message for the bugfix / feature (if not already done by the individual contributor).
This way the history in the master
branch will be free of small
corrections and easier to follow for people who aren’t engaged in the
project on a day-to-day basis.
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。