Skip to content

Commit 0f8d504

Browse files
committed
Add CONTRIBUTING file, adjust readme and code of conduct slightly.
1 parent d70bcd4 commit 0f8d504

File tree

3 files changed

+87
-18
lines changed

3 files changed

+87
-18
lines changed

code_of_conduct.md CONDUCT.md

+3-13
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,4 @@
1-
---
2-
layout: code-of-conduct
3-
version: v1.0
4-
---
1+
# Open Code of Conduct
52

63
This code of conduct outlines our expectations for participants within the Terasology community, as well as steps to reporting unacceptable behavior. We are committed to providing a welcoming and inspiring community for all and expect our code of conduct to be honored. Anyone who violates this code of conduct may be banned from the community.
74

@@ -52,7 +49,7 @@ characteristics above, including participants with disabilities.
5249

5350
### Reporting Issues
5451

55-
If you experience or witness unacceptable behavior—or have any other concerns—please report it by contacting us via [email protected]. All reports will be handled with discretion. In your report please include:
52+
If you experience or witness unacceptable behavior—or have any other concerns—please report it by contacting us via [email protected]. All reports will be handled with discretion. In your report please include:
5653

5754
- Your contact information.
5855
- Names (real, nicknames, or pseudonyms) of any individuals involved. If there are additional witnesses, please
@@ -63,11 +60,4 @@ After filing a report, a representative will contact you personally, review the
6360

6461
### Attribution & Acknowledgements
6562

66-
We all stand on the shoulders of giants across many open source communities. We'd like to thank the communities and projects that established code of conducts and diversity statements as our inspiration:
67-
68-
* [Django](https://www.djangoproject.com/conduct/reporting/)
69-
* [Python](https://www.python.org/community/diversity/)
70-
* [Ubuntu](http://www.ubuntu.com/about/about-ubuntu/conduct)
71-
* [Contributor Covenant](http://contributor-covenant.org/)
72-
* [Geek Feminism](http://geekfeminism.org/about/code-of-conduct/)
73-
* [Citizen Code of Conduct](http://citizencodeofconduct.org/)
63+
This code of conduct has been adopted from the [TODOGroup's template](https://github.com/todogroup/opencodeofconduct). See their [nicely formatted version](http://todogroup.org/opencodeofconduct/#Open+Code+of+Conduct) and consider adopting it for your own project(s) as well!

CONTRIBUTING.md

+77
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,77 @@
1+
Contributing to Terasology
2+
==================================
3+
4+
If you would like to contribute code, documentation, or other assets you can do so through GitHub by forking the repository and sending a pull request (PR). You can also simply report issues (bugs), but please search for any previous reports first.
5+
6+
*When submitting code, please make every effort to follow existing conventions and style in order to keep the code as readable as possible.*
7+
8+
Read on to learn more. For questions please join us in our [forum](http://forum.terasology.org/forum) or on `#terasology` (irc.freenode.net).
9+
10+
File an Issue
11+
-------------
12+
You can report bugs and feature requests to [GitHub Issues](https://github.com/MovingBlocks/Terasology/issues). As mentioned please look for a similar existing issue before submitting a new one.
13+
14+
For finding easy to do issues to start with look at the [Contributor-friendly](https://github.com/MovingBlocks/Terasology/labels/Contributor-friendly) issues.
15+
16+
We prefer questions and support requests be posted in the [forum](http://forum.terasology.org/forum).
17+
18+
__Please provide as much information as possible to help us solve problems and answer questions better!__
19+
20+
Commits and Commit Messages
21+
---------------------------
22+
Follow these guidelines when creating public commits and writing commit messages.
23+
24+
1. If your work spans multiple local commits make sure they can be merged directly into the target branch. If you have some commit and merge noise in the history have a look at git-rebase. Ideally, every commit should be able to be used in isolation -- that is, each commit must build and pass all tests.
25+
1. The first line of the commit message should be a descriptive sentence about what the commit is doing. It should be possible to fully understand what the commit does by just reading this single line.
26+
1. **Optional:** Following the single line description (ideally no more than 70 characters long) should be a blank line followed by a list with the details of the commit.
27+
1. **Optional:** Add `Fix/Fixing/Fixes/Close/Closing/Refs #issue` if you want to mark the issue mentioned as complete in the issue tracker when the change is merged.
28+
29+
License
30+
-------
31+
Submissions must be licensed under the [Apache License, Version 2.0](http://www.apache.org/licenses/LICENSE-2.0.html).
32+
33+
If you are adding a new file it should have a header like this (automatically available as a template in IntelliJ):
34+
~~~
35+
/*
36+
* Copyright 2016 MovingBlocks
37+
*
38+
* Licensed under the Apache License, Version 2.0 (the "License");
39+
* you may not use this file except in compliance with the License.
40+
* You may obtain a copy of the License at
41+
*
42+
* http://www.apache.org/licenses/LICENSE-2.0
43+
*
44+
* Unless required by applicable law or agreed to in writing, software
45+
* distributed under the License is distributed on an "AS IS" BASIS,
46+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
47+
* See the License for the specific language governing permissions and
48+
* limitations under the License.
49+
*/
50+
~~~
51+
52+
How to Submit a Pull Request
53+
----------------------------
54+
Pull requests are highly appreciated! Please follow the simple guidelines below.
55+
56+
1. Fork the repository to your personal GitHub account.
57+
1. Create a topic branch for every separate change you make. The branch should have a short but explanatory name, such as "MakesGrassGrow".
58+
1. Apply your changes, committing at logical breaks. Make sure your changes are well-tested.
59+
1. Check any unit tests that cover the affected code and if at all possible include new ones for new code.
60+
1. Push your branch to your personal account and [create a pull request](https://help.github.com/articles/using-pull-requests/).
61+
1. Watch for comments or acceptance on your PR. The PR can be updated by just pushing to the original branch.
62+
63+
__Please note:__ if you want to change multiple things that don't depend on each other, make sure you create a new branch off the main develop branch before making more changes - that way we can take in each change separately.
64+
65+
How to Merge a Pull Request
66+
---------------------------
67+
For trusted contributors with push access to our root repos you are welcome to help merge pull requests.
68+
69+
1. Consider what scope is suitable for the change being PRed.
70+
* **Trivial**: If it is a single typo fix in a comment or other *inactive text* it can be merged without further review.
71+
* **Patch**: Small bug fixes. Be careful: even a string value changed can have unexpected impact elsewhere if it gets used as a key somewhere, involved in our internationalization, etc. Consider any possible integrations (like our translation server) and test the change locally. Report any concerns in the PR or merge if all appears well.
72+
* **Minor**: If substantial code is being changed/added please review as able and ping relevant contributors with `@username` to bring their attention to the PR for review. Probably one additional person should review then either person can merge.
73+
* **Major**: If any involved code is likely to cause a backwards incompatibility of some sort the PR needs the most possible review as it would require a major release. Consider if it is possible to deprecate the old version of the feature and provide a bridge to the new version to restore backwards compatibility. Alternatively should the change be parked in a longer term branch waiting for the next major release?
74+
1. React appropriately to the scope and test what seems appropriate locally. Remember to run local multiplayer if it seems likely the change could cause an effect there.
75+
1. If any issues are found or concerns noted mention them in the PR and ping anybody appropriate with a `@username` mention.
76+
1. If sufficient review has been done and no issues have been noted push the merged code to GitHub to auto-close the PR as merged.
77+
1. Assign the PR and any completed issues to an appropriate milestone if available for later release handling.

README.markdown

+7-5
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,14 @@ Terasology
55

66
Terasology is a game that pays ample tribute to [Minecraft](http://www.minecraft.net) in initial look and origin, but stakes out its own niche by aiming for the NPC-helper and caretaker focus from such games as [Dwarf Fortress](http://www.bay12games.com/dwarves) and [Dungeon Keeper](http://en.wikipedia.org/wiki/Dungeon_Keeper), while striving for added depth and sophistication.
77

8-
Terasology is an open source project started by Benjamin "begla" Glatzel to research procedural terrain generation and efficient rendering techniques in Java using the [LWJGL](http://lwjgl.org). The engine uses a block-based voxel-like approach as seen in Minecraft. You can check out his blog at [Moving Blocks!](http://blog.movingblocks.net)
8+
Terasology is an open source project started by Benjamin "begla" Glatzel to research procedural terrain generation and efficient rendering techniques in Java using the [LWJGL](http://lwjgl.org). The engine uses a block-based voxel-like approach as seen in Minecraft.
99

1010
The creators of Terasology are a diverse mix of software developers, game testers, graphic artists, and musicians. Get involved by checking out our [Community Portal](http://forum.terasology.org/index.php), [Facebook Page](http://www.facebook.com/pages/Terasology/248329655219905), [Twitter](https://twitter.com/Terasology), [G+](https://plus.google.com/b/103835217961917018533), or [Reddit](http://www.reddit.com/r/Terasology)
1111

1212
Terasology is licensed under the [Apache 2.0 License](http://www.apache.org/licenses/LICENSE-2.0.html) and available in source code form at [GitHub](https://github.com/MovingBlocks/Terasology).
1313

14+
We encourage contributions from anybody and try to keep a warm and friendly community. See [our published code of conduct](https://github.com/MovingBlocks/Terasology/blob/develop/CONDUCT.md) adopted from the [template by the TODOGroup](https://github.com/todogroup/opencodeofconduct).
15+
1416
[![Build Status](http://jenkins.terasology.org/job/Terasology/badge/icon)](http://jenkins.terasology.org/job/Terasology/)
1517
[![Release](https://img.shields.io/github/release/MovingBlocks/Terasology.svg)](../../releases/latest)
1618
[![Downloads](https://img.shields.io/github/downloads/MovingBlocks/Terasology/latest/total.svg "Downloads")](../../releases/latest)
@@ -90,7 +92,7 @@ Note: Keys between the latest stable and latest develop build may differ.
9092
* [Home] - Increase viewing distance
9193
* [End] - Decrease viewing distance
9294
* [Escape] - Show/hide the game menu screen
93-
* [`] OR [F1] - Toggle full developer console (the "grave" key, usually above tab)
95+
* [F1] OR [`] - Toggle full developer console (the "grave" key, usually above tab)
9496
* [F2] - Toggle window focus and reveals a debug pane (only contains stuff if module(s) using it is enabled)
9597
* [F3] - Toggle debug mode and information
9698
* [F5] - Show behavior tree editor
@@ -125,7 +127,7 @@ More or completely alternative line-ups with certain modules / world types selec
125127
Console Commands
126128
--------
127129

128-
Press the `grave` key (usually the \` key immediately above `tab`) to show the in-game console. Mostly everything is case insensitive. Copy paste is supported and up/down arrow will cycle through commands you've used before. Hitting `tab` with a partially typed command will auto-complete it (including abbreviated camel case like lS for listShapes). For partial commands with multiple completion candidates you can `tab` again to cycle through them.
130+
Press the `F1` or `grave` key (usually the \` key immediately above `tab`) to show the in-game console. Mostly everything is case insensitive. Copy paste is supported and up/down arrow will cycle through commands you've used before. Hitting `tab` with a partially typed command will auto-complete it (including abbreviated camel case like lS for listShapes). For partial commands with multiple completion candidates you can `tab` again to cycle through them.
129131

130132
* help - Show in-game help (more thorough)
131133
* search [something] - searches for any command, prefab, or asset with "something" in its name, help text, etc
@@ -301,6 +303,6 @@ Soundtrack and Sound Effects
301303
Additional Notes
302304
--------
303305

304-
Terasology's base graphics use the awesome <strong><a href="http://www.carrotcakestudios.co.uk/gmcraft/">Good Morning Craft!</a></strong> texture pack by Louis Durrant. Make sure to visit his <a href="http://www.carrotcakestudios.co.uk/">homepage</a> and support his work.
306+
A few of Terasology's base textures use the awesome [Good Morning Craft](http://www.minecraftforum.net/forums/mapping-and-modding/resource-packs/1227051-16x-good-morning-craft) texture pack by Louis Durrant. Make sure to visit his <a href="http://www.carrotcakestudios.co.uk/">homepage</a> and support his work.
305307

306-
Our default font is ["Noto" by Google](http://www.google.com/get/noto), which is released under the [Apache 2.0 License](http://www.apache.org/licenses/LICENSE-2.0.html) just like Terasology.
308+
Our default font is ["Noto" by Google](http://www.google.com/get/noto), which is released under the [Apache 2.0 License](http://www.apache.org/licenses/LICENSE-2.0.html) just like Terasology. More on the [font in the wiki](https://github.com/MovingBlocks/Terasology/wiki/Text-and-Font).

0 commit comments

Comments
 (0)