Lakka-LibreELEC/CONTRIBUTING.md

110 lines
4.1 KiB
Markdown
Raw Normal View History

2016-03-11 21:31:41 +00:00
### Questions about LibreELEC?
2016-03-11 21:31:41 +00:00
To get your questions answered, please ask in the LibreELEC [Forum], on IRC:
\#libreelec on Libera.Chat.
Do not open an issue.
2013-09-09 17:44:31 +00:00
### Issue Reports
**BEFORE you report a bug make sure you got the latest testing version of
2016-03-11 21:31:41 +00:00
LibreELEC. Your bug might be already fixed.**
2016-03-11 21:31:41 +00:00
If you are at all unsure whether it's a bug in LibreELEC or a problem with
something else, post in the LibreELEC [Forum] instead. If it turns out that it is
2013-08-28 18:43:19 +00:00
a bug, an issue can always be opened later.
2016-03-11 21:31:41 +00:00
If you are sure that it's a bug in LibreELEC and you have not found a [similar issue], open a new [issue]
and try to answer the following questions:
- What did you do?
- What did you expect to happen?
- What happened instead?
2013-09-09 17:44:31 +00:00
**It is also importent to provide logs for debugging.
A zip file can be found in the [logfiles] samba share, this will contain all the logs needed.**
2016-03-11 21:31:41 +00:00
Make sure to specify which version of LibreELEC you are using.
- LibreELEC version
- LibreELEC build
- LibreELEC arch
2013-08-28 18:43:19 +00:00
Please don't paste log messages in the issue reports or issue comments - use
[sprunge.us](http://sprunge.us) instead.
Feature requests are great, but they usually end up lying around the issue
tracker indefinitely. Sending a pull request is a much better way of getting a
2016-03-11 21:31:41 +00:00
particular feature into LibreELEC.
2014-12-06 19:36:18 +00:00
Please dont ask us to add 3rdparty drivers unless you are the maintainer/developer of the driver,
we have no manpower to support a non-mainlined kernel driver for your hardware.
2016-03-11 21:31:41 +00:00
However, LibreELEC comes with minimal set of kernel drivers enabled, if you are sure that your hardware
2014-12-06 19:36:18 +00:00
is supported in mainline kernel, feel free to send us a Pull Request to enable it in our
kernel defconfigs. We are always happy to support known-working hardware.
2014-02-17 19:03:22 +00:00
### Reporting build failures
As buildsystem / core packages (toolchain) / random libraries change from time to time, it is required
that you always do a clean build (make clean) before reporting build failures. Also make sure that you
have a clean, unmodified git clone, we can't fix bugs caused by you failed to merge / rebase on
your own fork.
2013-09-09 17:44:31 +00:00
### Pull Requests
- **Create topic branches**. Don't ask us to pull from your master branch.
- **One pull request per feature**. If you want to do more than one thing, send
multiple pull requests.
- **Send coherent history**. Make sure each individual commit in your pull
request is meaningful. If you had to make multiple intermediate commits while
developing, please squash them before sending them to us.
2013-05-12 11:19:51 +00:00
Please follow this process; it's the best way to get your work included in the project:
- [Fork](http://help.github.com/fork-a-repo/) the project, clone your fork,
and configure the remotes:
```bash
# clone your fork of the repo into the current directory in terminal
2016-03-11 21:31:41 +00:00
git clone git@github.com:<your username>/LibreELEC.tv.git
2013-05-12 11:19:51 +00:00
# navigate to the newly cloned directory
2016-03-11 21:31:41 +00:00
cd LibreELEC.tv
2013-05-12 11:19:51 +00:00
# assign the original repo to a remote called "upstream"
2016-03-16 08:51:21 +00:00
git remote add upstream https://github.com/LibreELEC/LibreELEC.tv.git
2013-05-12 11:19:51 +00:00
```
- If you cloned a while ago, get the latest changes from upstream:
```bash
# fetch upstream changes
git fetch upstream
# make sure you are on your 'master' branch
git checkout master
# merge upstream changes
git merge upstream/master
```
- Create a new topic branch to contain your feature, change, or fix:
```bash
git checkout -b <topic-branch-name>
```
- Commit your changes in logical chunks. or your pull request is unlikely
be merged into the main project. Use git's
[interactive rebase](https://docs.github.com/en/github/getting-started-with-github/about-git-rebase) feature to tidy up your commits before making them public.
2013-05-12 11:19:51 +00:00
- Push your topic branch up to your fork:
```bash
git push origin <topic-branch-name>
```
- [Open a Pull Request](https://help.github.com/articles/using-pull-requests) with a
clear title and description.
[Forum]: https://forum.libreelec.tv/
2016-03-11 21:31:41 +00:00
[issue]: https://github.com/LibreELEC/LibreELEC.tv/issues
[logfiles]: https://wiki.libreelec.tv/index.php?title=LibreELEC_FAQ#Support_Logs
2016-03-11 21:31:41 +00:00
[similar issue]: https://github.com/LibreELEC/LibreELEC.tv/search?&ref=cmdform&type=Issues