diff options
author | rubenwardy <rw@rubenwardy.com> | 2019-06-13 15:09:15 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-06-13 15:09:15 +0100 |
commit | f2c73def4b0c7fcfab521c0c54ada82a94b065c5 (patch) | |
tree | aaa733995f8e84d2069f9a380fa615ec6e92b0b5 /.github | |
parent | 4c11574e9deeb583f00e8b890f21d87f0d81d816 (diff) | |
download | minetest-f2c73def4b0c7fcfab521c0c54ada82a94b065c5.tar.gz minetest-f2c73def4b0c7fcfab521c0c54ada82a94b065c5.tar.bz2 minetest-f2c73def4b0c7fcfab521c0c54ada82a94b065c5.zip |
Update Github templates (#8593)
Diffstat (limited to '.github')
-rw-r--r-- | .github/CONTRIBUTING.md | 111 | ||||
-rw-r--r-- | .github/ISSUE_TEMPLATE/bug_report.md (renamed from .github/ISSUE_TEMPLATE.md) | 15 | ||||
-rw-r--r-- | .github/ISSUE_TEMPLATE/feature_request.md | 25 | ||||
-rw-r--r-- | .github/PULL_REQUEST_TEMPLATE.md | 19 | ||||
-rw-r--r-- | .github/SECURITY.md | 20 |
5 files changed, 183 insertions, 7 deletions
diff --git a/.github/CONTRIBUTING.md b/.github/CONTRIBUTING.md new file mode 100644 index 000000000..b234fb283 --- /dev/null +++ b/.github/CONTRIBUTING.md @@ -0,0 +1,111 @@ +# Contributing + +Contributions are welcome! Here's how you can help: + +- [Contributing code](#code) +- [Reporting issues](#issues) +- [Requesting features](#feature-requests) +- [Translating](#translations) +- [Donating](#donations) + +## Code + +1. [Fork](https://help.github.com/articles/fork-a-repo/) the repository and [clone](https://help.github.com/articles/cloning-a-repository/) your fork. + +2. Before you start coding, consider opening an [issue at Github](https://github.com/minetest/minetest/issues) to discuss the suitability and implementation of your intended contribution with the core developers. If you are planning to start some very significant coding, you would benefit from first discussing on our IRC development channel [#minetest-dev](http://www.minetest.net/irc/). Note that a proper IRC client is required to speak on this channel. + +3. Start coding! + - Refer to the [Lua API](https://github.com/minetest/minetest/blob/master/doc/lua_api.txt), [Developer Wiki](http://dev.minetest.net/Main_Page) and other [documentation](https://github.com/minetest/minetest/tree/master/doc). + - Follow the [C/C++](http://dev.minetest.net/Code_style_guidelines) and [Lua](http://dev.minetest.net/Lua_code_style_guidelines) code style guidelines. + - Check your code works as expected and document any changes to the Lua API. + +4. Commit & [push](https://help.github.com/articles/pushing-to-a-remote/) your changes to a new branch (not `master`, one change per branch) + - Commit messages should: + - Use the present tense. + - Be descriptive. See the commit messages by core developers for examples. + - The first line should: + - Start with a capital letter. + - Be a compact summary of the commit. + - Preferably have less than 70 characters. + - Have no full stop at the end. + - The second line should be empty. + - The following lines should describe the commit, starting a new line for each point. + +5. Once you are happy with your changes, submit a pull request. + - Open the [pull-request form](https://github.com/minetest/minetest/pull/new/master). + - Add a description explaining what you've done (or if it's a work-in-progress - what you need to do). + +### A pull-request is considered merge-able when: + +1. It follows the roadmap in some way and fits the whole picture of the project: [roadmap introduction](http://c55.me/blog/?p=1491), [roadmap continued](https://forum.minetest.net/viewtopic.php?t=9177) +2. It works. +3. It follows the code style for [C/C++](http://dev.minetest.net/Code_style_guidelines) or [Lua](http://dev.minetest.net/Lua_code_style_guidelines). +4. The code's interfaces are well designed, regardless of other aspects that might need more work in the future. +5. It uses protocols and formats which include the required compatibility. + +## Issues + +If you experience an issue, we would like to know the details - especially when a stable release is on the way. + +1. Do a quick search on GitHub to check if the issue has already been reported. +2. Is it an issue with the Minetest *engine*? If not, report it [elsewhere](http://www.minetest.net/development/#reporting-issues). +3. [Open an issue](https://github.com/minetest/minetest/issues/new) and describe the issue you are having - you could include: + - Error logs (check the bottom of the `debug.txt` file). + - Screenshots. + - Ways you have tried to solve the issue, and whether they worked or not. + - Your Minetest version and the content (games, mods or texture packs) you have installed. + - Your platform (e.g. Windows 10 or Ubuntu 15.04 x64). + +After reporting you should aim to answer questions or clarifications as this helps pinpoint the cause of the issue (if you don't do this your issue may be closed after 1 month). + +## Feature requests + +Feature requests are welcome but take a moment to see if your idea follows the roadmap in some way and fits the whole picture of the project: [roadmap introduction](http://c55.me/blog/?p=1491), [roadmap continued](https://forum.minetest.net/viewtopic.php?t=9177). You should provide a clear explanation with as much detail as possible. + +## Translations + +Translations of Minetest are performed using Weblate. You can access the project page with a list of current languages [here](https://hosted.weblate.org/projects/minetest/minetest/). + +## Donations + +If you'd like to monetarily support Minetest development, you can find donation methods on [our website](http://www.minetest.net/development/#donate). + +# Maintaining + +*This is a concise version of the [Rules & Guidelines](http://dev.minetest.net/Category:Rules_and_Guidelines) on the developer wiki.* + +These notes are for those who have push access Minetest (core developers / maintainers). + +- See the [project organisation](http://dev.minetest.net/Organisation) for the people involved. + +## Reviewing pull requests + +Pull requests should be reviewed and, if appropriate, checked if they achieve their intended purpose. You can show that you are in the process of, or will review the pull request by commenting *"Looks good"* or something similar. + +**If the pull-request is not [merge-able](#a-pull-request-is-considered-merge-able-when):** + +Submit a comment explaining to the author what they need to change to make the pull-request merge-able. + +- If the author comments or makes changes to the pull-request, it can be reviewed again. +- If no response is made from the author within 1 month (when improvements are suggested or a question is asked), it can be closed. + +**If the pull-request is [merge-able](#a-pull-request-is-considered-merge-able-when):** + +Submit a :+1: (+1) or "Looks good" comment to show you believe the pull-request should be merged. "Looks good" comments often signify that the patch might require (more) testing. + +- Two core developers must agree to the merge before it is carried out and both should +1 the pull request. +- Who intends to merge the pull-request should follow the commit rules: + - The title should follow the commit guidelines (title starts with a capital letter, present tense, descriptive). + - Don't modify history older than 10 minutes. + - Use rebase, not merge to get linear history: + - `curl https://github.com/minetest/minetest/pull/1.patch | git am` + +## Reviewing issues and feature requests + +- If an issue does not get a response from its author within 1 month (when requiring more details), it can be closed. +- When an issue is a duplicate, refer to the first ones and close the later ones. +- Tag issues with the appropriate [labels](https://github.com/minetest/minetest/labels) for devices, platforms etc. + +## Releasing a new version + +*Refer to [dev.minetest.net/Releasing_Minetest](http://dev.minetest.net/Releasing_Minetest)* diff --git a/.github/ISSUE_TEMPLATE.md b/.github/ISSUE_TEMPLATE/bug_report.md index f6fc9ab0d..b6f351c15 100644 --- a/.github/ISSUE_TEMPLATE.md +++ b/.github/ISSUE_TEMPLATE/bug_report.md @@ -1,10 +1,11 @@ -##### Issue type -<!-- Pick one below and delete others --> - - Bug report - - Feature request - - Documentation issue - - Build issue - +--- +name: Bug report +about: Create a report to help us improve +title: '' +labels: Unconfirmed bug +assignees: '' +--- + ##### Minetest version <!-- Paste Minetest version between quotes below diff --git a/.github/ISSUE_TEMPLATE/feature_request.md b/.github/ISSUE_TEMPLATE/feature_request.md new file mode 100644 index 000000000..ebcfa98ee --- /dev/null +++ b/.github/ISSUE_TEMPLATE/feature_request.md @@ -0,0 +1,25 @@ +--- +name: Feature request +about: Suggest an idea for this project +title: '' +labels: Feature request +assignees: '' +--- + +## Problem + +A clear and concise description of what the problem is. +ie: Why is this needed? +Ex. I'm always frustrated when [...] + +## Solutions + +A clear and concise description of what you want to happen. + +## Alternatives + +A clear and concise description of any alternative solutions or features you've considered. + +## Additional context + +Add any other context or screenshots about the feature request here. diff --git a/.github/PULL_REQUEST_TEMPLATE.md b/.github/PULL_REQUEST_TEMPLATE.md new file mode 100644 index 000000000..ccec99bc5 --- /dev/null +++ b/.github/PULL_REQUEST_TEMPLATE.md @@ -0,0 +1,19 @@ +Add compact, short information about your PR for easier understanding: + +- Goal of the PR +- How does the PR work? +- Does it resolve any reported issue? +- If not a bug fix, why is this PR needed? What usecases does it solve? + +## To do + +This PR is a Work in Progress / Ready for Review. +<!-- ^ delete one --> + +- [ ] List +- [ ] Things +- [ ] To do + +## How to test + +<!-- Example code or instructions --> diff --git a/.github/SECURITY.md b/.github/SECURITY.md new file mode 100644 index 000000000..e2dd0432f --- /dev/null +++ b/.github/SECURITY.md @@ -0,0 +1,20 @@ +# Security Policy + +## Supported Versions + +We only support the latest stable version for security issues. +See the [releases page](https://github.com/minetest/minetest/releases). + +## Reporting a Vulnerability + +We ask that you report vulnerabilities privately, by contacting a core developer, +to give us time to fix them. You can do that by emailing one of the following addresses: + +* celeron55@gmail.com +* rubenwardy@minetest.net + +Depending on severity, we will either create a private issue for the vulnerability +and release a patch version of Minetest, or give you permission to file the issue publicly. + +For more information on the justification of this policy, see +[Responsible Disclosure](https://en.wikipedia.org/wiki/Responsible_disclosure). |