Updated Contributing Code (markdown)

Unknwon 2016-03-15 14:40:28 -04:00
parent 58add1e1ec
commit 7f184281d3

@ -1,17 +1,23 @@
This document describes requirements and best practices for contributing code (Pull Request) to Gogs project. This document describes requirements and best practices for contributing code (Pull Request) to Gogs project.
If you have/find any concern/problem with this document, **DO NOT** create an issue on this repository, instead, please go to [Gitter](https://gitter.im/gogits/gogs) and discuss. If you have/find any concern/problem with this document, **DO NOT** create an issue in this repository, instead, please go to [Gitter](https://gitter.im/gogits/gogs) and discuss.
### Those We Do Accept ### Before You Start
#### Those We Do Accept
1. Typos in template files or code comments. 1. Typos in template files or code comments.
2. Bug fixes or feature implementations (be sure to discuss first). 2. Bug fixes or feature implementations (be sure to discuss first).
2. Issues that are labeled as [help wanted](https://github.com/gogits/gogs/issues?q=is%3Aopen+is%3Aissue+label%3A%22help+wanted%22) (be sure to claim first to prevent two people work on the same thing). 2. Issues that are labeled as [help wanted](https://github.com/gogits/gogs/issues?q=is%3Aopen+is%3Aissue+label%3A%22help+wanted%22) (be sure to claim first to prevent two people work on the same thing).
### Those We Do Not Accept #### Those We Do Not Accept
1. We do not accept pull requests for locale files (`conf/locale_xx-XX.ini` files), please read the [guide](https://gogs.io/docs/features/i18n), except for `conf/locale_en-US.ini` file. 1. We do not accept pull requests for locale files (`conf/locale_xx-XX.ini` files), please read the [guide](https://gogs.io/docs/features/i18n), except for `conf/locale_en-US.ini` file.
#### Make A Claim
Write a comment to the corresponding thread to claim you're working on it, so people wouldn't have conflict on what they're working on.
### Coding Guidelines ### Coding Guidelines
1. Please follow the general [code convention](https://github.com/Unknwon/go-code-convention/blob/master/en-US/README.md) for Go. 1. Please follow the general [code convention](https://github.com/Unknwon/go-code-convention/blob/master/en-US/README.md) for Go.