gitea/CONTRIBUTING.md

68 lines
3.8 KiB
Markdown
Raw Normal View History

2014-03-21 03:13:32 -05:00
# Contributing to Gogs
2015-03-25 04:07:09 -05:00
> This guidelines sheet is forked from [CONTRIBUTING.md](https://github.com/drone/drone/blob/8d9c7cee56d6c2eac81dc156ce27be6716d97e68/CONTRIBUTING.md).
2014-03-23 11:16:17 -05:00
Gogs is not perfect, and it has bugs or incomplete features in rare cases. You're welcome to tell us, or to contribute some code. This document describes details about how can you contribute to Gogs project.
2014-03-21 03:13:32 -05:00
## Contribution guidelines
2014-09-02 06:11:39 -05:00
Depends on the situation, you will:
2014-03-21 03:13:32 -05:00
- Find a bug and create an issue
- Need more functionality and make a feature request
- Want to contribute code and open a pull request
- Run into issue and need help
2014-09-02 06:11:39 -05:00
### Bug Report
If you find something you consider a bug, please create a issue on [GitHub](https://github.com/gogits/gogs/issues). To avoid wasting time and reduce back-and-forth communication with team members, please include at least the following information in a form comfortable for you:
2014-09-02 06:11:39 -05:00
- Bug Description
- Gogs Version
- Git Version
- System Type
- Error Log
- Other information
2014-09-02 06:11:39 -05:00
Please take a moment to check that an issue on [GitHub](https://github.com/gogits/gogs/issues) 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.
#### Bug Report Example
Gogs crashed when creating a repository with a license, using v0.5.13.0207, SQLite3, Git 1.9.0, Ubuntu 12.04.
Error log:
2014-09-02 06:11:39 -05:00
```
2014/09/01 07:21:49 [E] nil pointer
```
### Feature Request
There is no standard form of making a feature request. Just try to describe the feature as clearly as possible, because team members may not have experience with the functionality you're talking about.
2014-09-02 06:11:39 -05:00
### Pull Request
Please read detailed information on [Wiki](https://github.com/gogits/gogs/wiki/Contributing-Code).
2014-03-21 03:13:32 -05:00
2014-09-02 06:11:39 -05:00
### Ask For Help
2014-03-21 03:13:32 -05:00
2015-02-21 23:12:55 -06:00
Before opening an issue, please make sure your problem isn't already addressed on the [Troubleshooting](http://gogs.io/docs/intro/troubleshooting.md) and [FAQs](http://gogs.io/docs/intro/faqs.html) pages.
2014-03-21 03:13:32 -05:00
2014-09-02 06:11:39 -05:00
## Things To Notice
2014-03-21 03:13:32 -05:00
2014-09-02 06:11:39 -05:00
Please take a moment to check that an issue on [GitHub](https://github.com/gogits/gogs/issues) or card on [Trello](https://trello.com/b/uxAoeLUl/gogs-go-git-service) 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.
2014-03-21 03:13:32 -05:00
2014-12-16 01:28:57 -06:00
## Code of conduct
2014-03-21 03:13:32 -05:00
2014-12-16 01:28:57 -06:00
As contributors and maintainers of this project, we pledge to respect all people who contribute through reporting issues, posting feature requests, updating documentation, submitting pull requests or patches, and other activities.
2014-03-21 03:13:32 -05:00
2014-12-16 01:28:57 -06:00
We are committed to making participation in this project a harassment-free experience for everyone, regardless of level of experience, gender, gender identity and expression, sexual orientation, disability, personal appearance, body size, race, age, or religion.
Examples of unacceptable behavior by participants include the use of sexual language or imagery, derogatory comments or personal attacks, trolling, public or private harassment, insults, or other unprofessional conduct.
Project maintainers have the right and responsibility to remove, edit, or reject comments, commits, code, wiki edits, issues, and other contributions that are not aligned to this Code of Conduct. Project maintainers who do not follow the Code of Conduct may be removed from the project team.
2015-03-25 04:07:09 -05:00
Instances of abusive, harassing, or otherwise unacceptable behavior can be reported by emailing u@gogs.io
2014-12-16 01:28:57 -06:00
This Code of Conduct is adapted from the [Contributor Covenant](http:contributor-covenant.org), version 1.0.0, available at [http://contributor-covenant.org/version/1/0/0/](http://contributor-covenant.org/version/1/0/0/)