# 贡献指南 本文档包含有关为此项目做出贡献的信息和指南。 请在开始参加之前阅读。 **主题** * [提问](#提问) * [报告安全问题](#报告安全问题) * [报告其他问题](#报告其他问题) * [提交拉取请求](#提交拉取请求) * [开发人员原产地证书](#开发人员原产地证书-1.1) * [行为守则](#行为守则) ## 提问 我们不使用GitHub的论坛发表问题 对于任何非特定于项目本身的使用问题, 请直接在[Stack Overflow](https://stackoverflow.com)上询问。 通过此方法,你可以快速解决您的问题, 并且任何有相同问题的人可以找到答案。 这也使维护人员能够专注于为其他人改进项目。 ## 报告安全问题 Alamofire Software Foundation 认真对待安全问题。 如果您发现任何关于安全的问题,请立即通知我们! 请**不要**公然公开发布问题, 而是将您的问题私下发送到。 这将有于帮助确保发现的任何漏洞 可以[披露制度](http://en.wikipedia.org/wiki/Responsible_disclosure) 对任何受影响的各方 ## 报告其他问题 为此项目贡献的方法 是当遇到问题时,请发送一篇详细的错误报告。 我们会感谢您写出的一份精心编写的详尽错误报告。 在提交问题之前,请检查项目里的问题数据库是否已存在此问题。 如果您找到匹配项,请添加“+1”或“我也遇到此问题”。 这样做有助于确定最常见问题和请求的优先级。 报告问题时,请包含以下内容: * 您正在使用的Xcode版本 * 您的iOS或OS X版本 * 任何堆栈轨迹或编译器错误的完整输出 * 如果代码段可再现所描述的行为 * 任何其他有助于理解问题的细节 此信息有助于我们更快地查看和修复您的问题。 ## 提交拉取请求 大力鼓励和欢迎拉取请求。在提交拉取请求时,请创建适当的测试用例,说明修复的问题或新功能。 ## 开发人员原产地证书 1.1 为了项目做出贡献,我保证: - (a) The contribution was created in whole or in part by me and I have the right to submit it under the open source license indicated in the file; or - (b) The contribution is based upon previous work that, to the best of my knowledge, is covered under an appropriate open source license and I have the right under that license to submit that work with modifications, whether created in whole or in part by me, under the same open source license (unless I am permitted to submit under a different license), as indicated in the file; or - (c) The contribution was provided directly to me by some other person who certified (a), (b) or (c) and I have not modified it. - (d) I understand and agree that this project and the contribution are public and that a record of the contribution (including all personal information I submit with it, including my sign-off) is maintained indefinitely and may be redistributed consistent with this project or the open source license(s) involved. ## 行为守则 该项目采取贡献者公约为准则。 这项目的成果将会被我们的行为或行动影响。 我们期望每个为此项目做出贡献的人都会对此表示敬意。 详情请阅读 [CONDUCT.md](https://github.com/Alamofire/Foundation/blob/master/CONDUCT.md)。 ---- *上述陈述的一些想法和措辞是基于 [Docker](https://github.com/docker/docker/blob/master/CONTRIBUTING.md) 和 [Linux](http://elinux.org/Developer_Certificate_Of_Origin) 社区. 我们表彰和感激他们为促进项目合作所做的付出。*