Skip to content

Latest commit

 

History

History
80 lines (61 loc) · 3.2 KB

CONTRIBUTING.md

File metadata and controls

80 lines (61 loc) · 3.2 KB

Contributing

Note: This project is in the public domain. If you contribute any non-trivial patches or translations the following applies:

I dedicate any and all copyright interest in this software to the
public domain. I make this dedication for the benefit of the public at
large and to the detriment of my heirs and successors. I intend this
dedication to be an overt act of relinquishment in perpetuity of all
present and future rights to this software under copyright law.

Would you like to contribute code?

  1. Fork SeriesGuide and clone your fork.
  2. See the notes about building the app below.
  3. Create a new branch (using GitHub or the command git checkout -b descriptive-branch-name dev).
  4. Make great commits.
  5. Start a pull request and reference issues if needed.

No code!

Building

To get started:

  1. Import the SeriesGuide folder as a new project in Android Studio.
  2. Select the pureDebug build variant (defined in app/build.gradle). Learn about product flavors.

Debug

Debug builds should just work.

TheTVDB, TMDB, trakt

To add shows or movies you need to create API keys for TheTVDB, TMDB and OAuth credentials for trakt. Place them in secret.properties in the project directory (where settings.gradle is):

SG_TVDB_API_KEY=<your api key>
SG_TMDB_API_KEY=<your api key>
SG_TRAKT_CLIENT_ID=<your trakt client id>
SG_TRAKT_CLIENT_SECRET=<your trakt client secret>

Release

To release some additional secret.properties values might be necessary:

# Play Store in-app billing public key
SG_IAP_KEY_A=<keypart>
SG_IAP_KEY_B=<keypart>
SG_IAP_KEY_C=<keypart>
SG_IAP_KEY_D=<keypart>

# Credentials to publish the API jar
SONATYPE_NEXUS_USERNAME=<your sonatype username>
SONATYPE_NEXUS_PASSWORD=<your sonatype password>

Crashlytics

To use Crashlytics create app/fabric.properties and add your API key and secret:

# app/fabric.properties
apiSecret=<secret>
apiKey=<key>