AntennaPod/CONTRIBUTING.md
2015-12-28 11:18:33 +01:00

4.7 KiB

How to report a bug

  • Use the search function to see if someone else has already reported the bug. If an issue has already been opened, see if you can add any useful information to it.
  • Otherwise, create a new issue on the "issues" page
  • Describe the problem as detailed as possible.
  • Some bugs only occur on certain devices or versions of Android. Please add information about your device and the version of Android that is running on it (you can look these up under Settings → About Phone) as well as which version of AntennaPod you are using.
  • If the bug only seems to occur with a certain podcast, make sure to include the URL of that podcast.
  • If possible, add instructions on how to reproduce the bug.
  • If possible, add a logfile to your post. This is especially useful if the bug makes the application crash. You can create logfiles with an app like aLogcat. Just launch alogcat, then start AntennaPod and reproduce the bug. aLogcat should now display information about the bug when you start it.
  • Usually, you can make a screenshot of your smartphone by pressing [Power] + [Volume down] for a few seconds
  • Please use the following template:

App version: 1.x (from Google Play/F-Store/Custom build)

Android version: 5.x [Especially mention custom roms!]

Devide model:

Expected behaviour:

Current behaviour:

First occured: Version 1.x / about x days/weeks ago

Steps to reproduce:

  1. Do this
  2. Do that

Environment: Settings you have changed, e.g. Auto Download. "Unusual" devices you use, e.g. Bluetooth headphones. Do you still use Prestissimo?

Stacktrace/Logcat: [if available]

...

How to submit a feature request

  • Make sure you are using the latest version of AntennaPod. Perhaps the feature you are looking for has already been implemented.
  • Use the search function to see if someone else has already submitted the same feature request.
  • If an issue has already been opened, see if you can add anything useful to it.
  • Otherwise, create a new issue on the "issues" page
  • To make it easier for us to keep track of requests, please only make one feature request per issue
  • Give a brief explanation about the problem that currently exists and why your requested feature solves this problem.
  • Try do be as specific as possible. Please not only explain what the feature does, but also how. When your request is about changing or extending the UI, describe what the UI would look like and how the user would interact with it.

Translating AntennaPod

If you would like to translate the app into another language or improve an existing translation, you can visit the Transifex project page. From there, you can either join a language team if it already exists or create a new language team.

Submit a pull-request

  • If you want to work on a feature that has been requested or fix a bug that has been reported on the "issues" page, add a comment to it so that other people know that you are working on it.
  • Fork the repository
  • Almost all changes of AntennaPod are done on the develop branch. If a new version of AntennaPod is released, the develop branch is merged into master. As a result, the master branch probably doesn't contain the latest changes when you are reading this. Please make sure that you are branching from develop! Otherwise, there might be a lot of merge-conflicts when merging your changes into develop and therefore it might take longer to review your pull-request. Exceptions are changes in files like README.md, CONTRIBUTING.md and other files that are not directly related to the source code.
  • If your pull-request fixes a bug that has been reported or implements a feature that has been requested in another issue, try to mention it so that it can be closed once your pull-request has been merged. If you use special keywords in the commit comment or pull request text github will close the issues automatically when the changes lands at the master branch.
  • Although not every part of AntennaPod's source code is fully documented yet, it would be very nice if you could add documentation to your changes if it is a larger pull-request.
  • If possible, add unit tests for your pull-request and make sure that they pass. Information on how to add unit tests and run them can be found here: [TODO]

Improving this file

If you think this file needs clarification or additional information on certain topics, feel free to improve it via pull-requests or ask a question on the issues section.