It is great that you're reading this! We need volunteer developers to help this project come to fruition.
This guide is intended to direct you toward useful resources with the goal of enabling you to maximize your time and energy to contribute great things to the project.
- #olimex chat.freenode.net channel: Chat about your ideas with like-minded individuals; we want you working on things you're excited about.
- TERES-I user forum: Ask questions, provide comments and feedback on a wide variety of topics.
- TERES-I Overview: Where we are
- Roadmap: Where we are headed
- Wishlist: Where we desire your help the most
- Bug and issue reporting: Search for similar outstanding issues before submitting a new one
- Fork this repository
- Make local changes using the Git code versioning tool
- Commit and push the changes to your local fork
- Submit a Pull Request (PR) on this main repository and select your local branch to be merged
Start reading our code and you'll get the hang of it. We optimize for readability:
- We indent using four spaces (soft tabs)
- We ALWAYS put spaces after list items and method parameters (
[1, 2, 3]
, not[1,2,3]
), around operators (x += 1
, notx+=1
), and around hash arrows - This is open source software, so please consider the people who will read your code and make it look nice for them
- Comment your code and provide documentation when appropriate
- Compose documentation using one sentence/statement per line; this makes modifications easier to follow
Always write a clear log message for your commits. Simply saying "Update" is not adequate to understand what change(s) you made. One-line messages are fine for small changes, but bigger changes should look like this:
$ git commit -m "A brief summary of the commit (max 50 chars)
>
> An optional paragraph describing what changed and its impact."
Please ensure that all of your commits are atomic (one feature per commit). This helps prevent tons of headaches digging through code in an attempt to reproduce your steps.
Branches should be used for non-trivial changes that would take numerous commits to implement or if such changes could break the build. Branches are not inherently expected to build; they provide a staging area for your particular fix or feature.
Test your code against the master branch prior to submitting a PR! One test per feature is ideal, but more tests should be included for more complicated features.
Please submit a GitHub Pull Request (PR) including a clear list of what you've done (read more about pull requests). Tests and examples provided with your code will help us tremendously to understand your contribution and expedite the merge. We can always use more test coverage.
We hope that we have not scared you away with formality. This is a great community that shares like interests and intentions with the project. If you are reading this, you certainly share much of the same passion as we do. We look forward to seeing what great ideas you come up with!
Thanks, TERES Development Team