gitea-1156/CONTRIBUTING.md

29 lines
2.1 KiB
Markdown
Raw Normal View History

2014-03-21 16:13:32 +08:00
# Contributing to Gogs
2014-03-24 00:16:17 +08:00
> Thanks [drone](https://github.com/drone/drone) because this guidelines sheet is forked from its [CONTRIBUTING.md](https://github.com/drone/drone/blob/master/CONTRIBUTING.md).
Want to hack on Gogs? Awesome! Here are instructions to get you started. They are probably not perfect, please let us know if anything feels wrong or incomplete.
2014-03-21 16:13:32 +08:00
## Contribution guidelines
### Pull requests are always welcome
2014-03-24 00:16:17 +08:00
We are always thrilled to receive pull requests, and do our best to process them as fast as possible. Not sure if that typo is worth a pull request? Do it! We will appreciate it.
2014-03-21 16:13:32 +08:00
2014-03-24 00:16:17 +08:00
If your pull request is not accepted on the first try, don't be discouraged! If there's a problem with the implementation, hopefully you received feedback on what to improve.
2014-03-21 16:13:32 +08:00
2014-03-24 00:16:17 +08:00
We're trying very hard to keep Gogs lean and focused. We don't want it to do everything for everybody. This means that we might decide against incorporating a new feature.
2014-03-21 16:13:32 +08:00
### Discuss your design on the mailing list
2014-03-24 00:16:17 +08:00
We recommend discussing your plans [on the mailing list](https://groups.google.com/forum/#!forum/gogits) before starting to code - especially for more ambitious contributions. This gives other contributors a chance to point you in the right direction, give feedback on your design, and maybe point out if someone else is working on the same thing.
2014-03-21 16:13:32 +08:00
2014-03-24 00:16:17 +08:00
We may close your pull request if not first discussed on the mailing list. We aren't doing this to be jerks. We are doing this to prevent people from spending large amounts of time on changes that may need to be designed or architected in a specific way, or may not align with the vision of the project.
2014-03-21 16:13:32 +08:00
### Create issues...
2014-03-24 00:16:17 +08:00
Any significant improvement should be documented as [a GitHub issue](https://github.com/gogits/gogs/issues) before anybody starts working on it.
2014-03-21 16:13:32 +08:00
### ...but check for existing issues first!
2014-03-24 00:16:17 +08:00
Please take a moment to check that an issue doesn't already exist documenting your bug report or improvement proposal. If it does, it never hurts to add a quick "+1" or "I have this problem too". This will help prioritize the most common problems and requests.