2016-09-27 11:43:43 +00:00
NewPipe contribution guidelines
===============================
2015-12-22 15:14:56 +00:00
2017-08-02 21:34:46 +00:00
PLEASE READ THESE GUIDELINES CAREFULLY BEFORE ANY CONTRIBUTION!
2015-12-22 15:14:56 +00:00
2016-09-27 12:14:59 +00:00
## Crash reporting
2015-12-22 15:14:56 +00:00
2018-12-01 08:21:57 +00:00
Do not report crashes in the GitHub issue tracker. NewPipe has an automated crash report system that will ask you to
send a report via e-mail when a crash occurs. This contains all the data we need for debugging, and allows you to even
add a comment to it. You'll see exactly what is sent, the system is 100% transparent.
2015-12-22 15:14:56 +00:00
2017-08-02 21:34:46 +00:00
## Issue reporting/feature requests
2015-12-22 15:14:56 +00:00
2018-12-01 08:21:57 +00:00
* Search the [existing issues ](https://github.com/TeamNewPipe/NewPipe/issues ) first to make sure your issue/feature
2020-04-04 10:10:54 +00:00
hasn't been reported/requested before.
* Check whether your issue/feature is already fixed/implemented.
* Check if the issue still exists in the latest release/beta version.
* If you are an Android/Java developer, you are always welcome to fix an issue or implement a feature yourself. PRs welcome!
2017-08-02 21:34:46 +00:00
* We use English for development. Issues in other languages will be closed and ignored.
2017-09-19 17:21:20 +00:00
* Please only add *one* issue at a time. Do not put multiple issues into one thread.
2020-04-04 10:10:54 +00:00
* Follow the template! Issues or feature requests not matching the template might be closed.
2015-12-22 15:14:56 +00:00
2017-08-02 21:34:46 +00:00
## Bug Fixing
2018-12-01 08:21:57 +00:00
* If you want to help NewPipe to become free of bugs (this is our utopic goal for NewPipe), you can send us an email to
2020-04-04 10:28:20 +00:00
< a href = "mailto:tnp@newpipe.schabi.org" > tnp@newpipe.schabi.org< / a > to let us know that you intend to help. We'll send you further instructions. You may, on request,
2020-04-04 10:10:54 +00:00
register at our [Sentry ](https://sentry.schabi.org ) instance (see section "Crash reporting" for more information).
2017-02-11 23:16:41 +00:00
2016-01-05 19:56:40 +00:00
## Translation
2015-12-22 15:14:56 +00:00
2020-04-04 10:10:54 +00:00
* NewPipe is translated via [Weblate ](https://hosted.weblate.org/projects/newpipe/strings/ ). You can log in there
2018-12-01 08:21:57 +00:00
with your GitHub account.
2020-04-04 10:10:54 +00:00
* If the language you want to translate is not on Weblate, you can add it: see [How to add a new language ](https://github.com/TeamNewPipe/NewPipe/wiki/How-to-add-a-new-language-to-NewPipe ) in the wiki.
2015-12-22 15:14:56 +00:00
2016-09-27 11:43:43 +00:00
## Code contribution
2015-12-23 08:31:11 +00:00
2020-04-04 10:10:54 +00:00
* Stick to NewPipe's style conventions: follow [checkStyle ](https://github.com/checkstyle/checkstyle ). It will run each time you build the project.
* Do not bring non-free software (e.g. binary blobs) into the project. Also, make sure you do not introduce Google
2018-12-01 08:21:57 +00:00
libraries.
2020-04-04 10:28:20 +00:00
* Stick to [F-Droid contribution guidelines ](https://f-droid.org/wiki/page/Inclusion_Policy ).
* Make changes on a separate branch with a meaningful name, not on the master neither dev branch. This is commonly known as *feature branch workflow* . You
2020-04-04 10:10:54 +00:00
may then send your changes as a pull request (PR) on GitHub.
2018-12-01 08:21:57 +00:00
* When submitting changes, you confirm that your code is licensed under the terms of the
[GNU General Public License v3 ](https://www.gnu.org/licenses/gpl-3.0.html ).
* Please test (compile and run) your code before you submit changes! Ideally, provide test feedback in the PR
description. Untested code will **not** be merged!
2017-08-02 21:34:46 +00:00
* Try to figure out yourself why builds on our CI fail.
2018-12-01 08:21:57 +00:00
* Make sure your PR is up-to-date with the rest of the code. Often, a simple click on "Update branch" will do the job,
2020-04-04 10:10:54 +00:00
but if not, you are asked to rebase the dev branch manually and resolve the problems on your own. You can find help [on the wiki ](https://github.com/TeamNewPipe/NewPipe/wiki/How-to-merge-a-PR ). That will make the
2018-12-01 08:21:57 +00:00
maintainers' jobs way easier.
* Please show intention to maintain your features and code after you contributed it. Unmaintained code is a hassle for
the core developers, and just adds work. If you do not intend to maintain features you contributed, please think again
about submission, or clearly state that in the description of your PR.
2017-08-02 21:34:46 +00:00
* Respond yourselves if someone requests changes or otherwise raises issues about your PRs.
2018-12-01 08:21:57 +00:00
* Send PR that only cover one specific issue/solution/bug. Do not send PRs that are huge and consists of multiple
independent solutions.
2015-12-23 08:31:11 +00:00
2015-12-22 15:14:56 +00:00
## Communication
2018-12-01 08:21:57 +00:00
* There is an IRC channel on Freenode which is regularly visited by the core team and other developers:
[#newpipe ](irc:irc.freenode.net/newpipe ). [Click here for Webchat ](https://webchat.freenode.net/?channels=newpipe )!
* If you want to get in touch with the core team or one of our other contributors you can send an email to
2020-04-04 10:10:54 +00:00
< a href = "mailto:tnp@newpipe.schabi.org" > tnp@newpipe.schabi.org< / a > . Please do not send issue reports, they will be ignored and remain unanswered! Use the GitHub issue
2018-12-01 08:21:57 +00:00
tracker described above!
2020-04-04 10:10:54 +00:00
* Feel free to post suggestions, changes, ideas etc. on GitHub or IRC!