Update CONTRIBUTING.md

Former-commit-id: 5b8e9f7e6b
pull/1161/head
Piero Toffanin 2020-04-14 11:24:53 -04:00 zatwierdzone przez GitHub
rodzic 404239e429
commit 7e035c80c1
1 zmienionych plików z 1 dodań i 77 usunięć

Wyświetl plik

@ -1,77 +1 @@
# Contributing to OpenDroneMap
:+1::tada: First off, thanks for taking the time to contribute! :tada::+1:
### Code of Conduct
This project adheres to the Contributor Covenant [code of conduct](code_of_conduct.md).
By participating, you are expected to uphold this code.
Please report unacceptable behavior to the [Project Maintainer](mailto:svm@clevelandmetroparks.com).
## How can I contribute?
### Reporting bugs
Bugs are tracked as Github issues. Please create an issue in the repository and tag it with the Bug tag.
Explain the problem and include additional details to help maintainers reproduce the problem:
* **Use a clear and descriptive title** for the issue to identify the problem.
* **Describe the exact steps which reproduce the problem** in as many details as possible. For example, start by explaining how you run ODM (Docker, Vagrant, etc), e.g. which command exactly you used in the terminal. When listing steps, **don't just say what you did, but explain how you did it**.
* **Provide specific examples to demonstrate the steps**. Include links to files or GitHub projects, or copy/pasteable snippets, which you use in those examples. If you're providing snippets in the issue, use [Markdown code blocks](https://help.github.com/articles/markdown-basics/#multiple-lines).
* **Describe the behavior you observed after following the steps** and point out what exactly is the problem with that behavior.
* **Explain which behavior you expected to see instead and why.**
* **Include screenshots and animated GIFs** which show you following the described steps and clearly demonstrate the problem. If you use the keyboard while following the steps, **record the GIF with the [Keybinding Resolver](https://github.com/atom/keybinding-resolver) shown**. You can use [this tool](http://www.cockos.com/licecap/) to record GIFs on macOS and Windows, and [this tool](https://github.com/colinkeenan/silentcast) or [this tool](https://github.com/GNOME/byzanz) on Linux.
* **If the problem is related to performance**, please post your machine's specs (host and guest machine).
* **If the problem wasn't triggered by a specific action**, describe what you were doing before the problem happened and share more information using the guidelines below.
Include details about your configuration and environment:
* **Which version of ODM are you using?** A stable release? a clone of master or dev?
* **What's the name and version of the OS you're using**?
* **Are you running ODM in a virtual machine?** If so, which VM software are you using and which operating systems and versions are used for the host and the guest?
#### Template For Submitting Bug Reports
[Short description of problem here]
**Reproduction Steps:**
1. [First Step]
2. [Second Step]
3. [Other Steps...]
**Expected behavior:**
[Describe expected behavior here]
**Observed behavior:**
[Describe observed behavior here]
**Screenshots and GIFs**
![Screenshots and GIFs which follow reproduction steps to demonstrate the problem](url)
**ODM version:** [Enter Atom version here]
**OS and version:** [Enter OS name and version here]
**Additional information:**
* Problem started happening recently, didn't happen in an older version of ODM: [Yes/No]
* Problem can be reliably reproduced, doesn't happen randomly: [Yes/No]
* Problem happens with all datasets and projects, not only some datasets or projects: [Yes/No]
### Pull Requests
* Include screenshots and animated GIFs in your pull request whenever possible.
* Follow the [PEP8 Python Style Guide](https://www.python.org/dev/peps/pep-0008/).
* End files with a newline.
* Avoid platform-dependent code:
* Use `require('fs-plus').getHomeDirectory()` to get the home directory.
* Use `path.join()` to concatenate filenames.
* Use `os.tmpdir()` rather than `/tmp` when you need to reference the
temporary directory.
* Using a plain `return` when returning explicitly at the end of a function.
* Not `return null`, `return undefined`, `null`, or `undefined`
See https://github.com/OpenDroneMap/documents/blob/master/CONTRIBUTING.md