8 Star 33 Fork 11

Gitee 极速下载 / Agones

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
此仓库是为了提升国内下载速度的镜像仓库,每日同步一次。 原始仓库: https://github.com/GoogleCloudPlatform/agones
克隆/下载
CONTRIBUTING.md 7.94 KB
一键复制 编辑 原始数据 按行查看 历史

How to Contribute

We'd love to accept your patches and contributions to this project. There are just a few small guidelines you need to follow.

Contributor License Agreement

Contributions to this project must be accompanied by a Contributor License Agreement. You (or your employer) retain the copyright to your contribution, this simply gives us permission to use and redistribute your contributions as part of the project. Head over to https://cla.developers.google.com/ to see your current agreements on file or to sign a new one.

You generally only need to submit a CLA once, so if you've already submitted one (even if it was for a different project), you probably don't need to do it again.

Code of Conduct

Participation in this project comes under the Contributor Covenant Code of Conduct

Submitting code via Pull Requests

Thank you for considering submitting code to Agones!

  • We follow the GitHub Pull Request Model for all contributions.
  • For large bodies of work, we recommend creating an issue and labelling it "kind/design" outlining the feature that you wish to build, and describing how it will be implemented. This gives a chance for review to happen early, and ensures no wasted effort occurs.
  • For new features, documentation must be included. Review the Documentation Editing and Contribution guide for details.
  • All submissions, including submissions by project members, will require review before being merged.
  • Once review has occurred, please rebase your PR down to a single commit. This will ensure a nice clean Git history.
  • If you are unable to access build errors from your PR, make sure that you have joined the agones-discuss mailing list.
  • Please follow the code formatting instructions below.

Additional Instructions for Unreal Plugin Pull Requests

As there is no CI for the Unreal plugin, the following checklist should be run manually before the PR is approved, using the latest released version of UE4.

  1. Create default C++ template project in UE4.
  2. Create a Plugins folder under the project directory (should be a sibling of the .uproject file).
  3. Copy the sdks/unreal/Agones directory into the Plugins folder.
  4. Build the UE4 project.
  5. If the build succeeded, paste the build logs into the PR.

Formatting

When submitting pull requests, make sure to do the following:

Feature Stages

Often, new features will need to go through experimental stages so that we can gather feedback and adjust as necessary.

You can see this project's feature stage documentation on the Agones website.

If you are working on a new feature, you may need to take feature stages into account. This should be discussed on a design ticket prior to commencement of work.

Continuous Integration

Continuous integration is provided by Google Cloud Container Builder, through the cloudbuilder.yaml file found at the root of the directory.

Build success/failure with relevant details are pushed automatically to pull requests via the not (yet 😉) opensourced build system.

See the Container Builder documentation for more details on how to edit and expand the build process.

Becoming an Approver on Agones

If you are interested in becoming an Approver on the Agones project and getting commit access to the repository, we have a community membership guide, that outlines the process.

Additional Resources

Extending Kubernetes

Coding and Development

  • How to write a good Git Commit message - Great way to make sure your Pull Requests get accepted.

  • Log levels usage:

    • Fatal - a critical error has happened and the application can not perform subsequent work anymore. Examples: missing configuration information in case there are no default values provided, one of the services can not start normally, etc.
    • Error - a serious issue has happened, users are affected without having a way to work around one, but an application may continue to work. This error usually requires someone’s attention. Examples: a file cannot be opened, cannot respond to HTTP request properly, etc.
    • Warn - something bad has happened, but the application still has the chance to heal itself or the issue can wait for some time to be fixed. Example: a system has failed to connect to an external resource but will try again automatically.
    • Info - should be used to document state changes in the application or some entity within the application. These logs provide the skeleton of what has happened. Examples: system started/stopped, remote API calls, a new user has been created/updated, etc.
    • Debug - diagnostic information goes here and everything that can help to troubleshoot an application. Examples: any values in business logic, detailed information about the data flow.

    More details can be found in this article.

Go
1
https://gitee.com/mirrors/Agones.git
git@gitee.com:mirrors/Agones.git
mirrors
Agones
Agones
master

搜索帮助