Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release 2024.5 #1065

Merged
merged 164 commits into from
Dec 18, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
164 commits
Select commit Hold shift + click to select a range
c19df02
Update store description
UweTrottmann Oct 23, 2024
8b718ab
Update store description: re-write for easier translation
UweTrottmann Oct 24, 2024
08cda0e
Update store description: re-write for easier re-use in images
UweTrottmann Oct 24, 2024
d53b987
Update store description: help instead of support, better to translate
UweTrottmann Oct 24, 2024
f224536
Update store description: drop X Pass description
UweTrottmann Oct 24, 2024
31883a6
Move market_description.txt to subfolder, add download script
UweTrottmann Oct 24, 2024
3d120c8
market_description.txt: download latest from Crowdin
UweTrottmann Oct 24, 2024
27b6f92
market_description.txt: remove title, just use app name
UweTrottmann Oct 24, 2024
e7d9f28
market_description.txt: download latest from Crowdin
UweTrottmann Oct 24, 2024
3779865
Merge branch 'update-store-description' into dev
UweTrottmann Oct 24, 2024
ef245ca
Gradle: move keystore properties file out of repo
UweTrottmann Oct 25, 2024
57d1c4c
Update Gradle [8.7 -> 8.9]
UweTrottmann Oct 25, 2024
63206ce
Update Android plugin [8.5.1 -> 8.7.1]
UweTrottmann Oct 25, 2024
1d73deb
Regression: Downgrade Android plugin [8.7.1 -> 8.6.1]
UweTrottmann Oct 25, 2024
c27b872
OverviewFragment: also format absolute episode number
UweTrottmann Oct 25, 2024
c7bc644
Translations: in Danish use Android's term notifikationer
UweTrottmann Oct 25, 2024
159da2e
Docs: add backup JSON schema docs to repo
UweTrottmann Oct 27, 2024
bc784d0
Guidelines: drop coding prefix, add icons info
UweTrottmann Oct 25, 2024
c8566db
Docs: use lower case for file names
UweTrottmann Oct 27, 2024
bad2b8c
Docs: add legacy versions doc
UweTrottmann Oct 27, 2024
288ba16
CONTRIBUTING.md: resolve mardownlint issues
UweTrottmann Oct 27, 2024
ff0b5b3
CONTRIBUTING.md: link to new guidelines doc
UweTrottmann Oct 27, 2024
79cd3bd
CONTRIBUTING.md: update branch descriptions
UweTrottmann Oct 27, 2024
60c85b7
Docs: add random facts from Wiki
UweTrottmann Oct 27, 2024
7f5d349
More: refer to Community instead of Forum again
UweTrottmann Oct 29, 2024
b9f89be
Merge branch 'release-2024.4' into dev
UweTrottmann Oct 30, 2024
7895c73
WebTools: drop unused @JvmStatic
UweTrottmann Oct 25, 2024
9936315
Guidelines: add icon file name format
UweTrottmann Nov 1, 2024
6f20e75
MovieDetailsFragment: add button linking to release dates on TMDB
UweTrottmann Oct 25, 2024
a491511
Update create event icon to match icon for release dates
UweTrottmann Oct 25, 2024
585fc1e
Translations: add new title_release_dates string
UweTrottmann Oct 25, 2024
8a42b71
TmdbTools: remove slashes from URL elements, build using templates
UweTrottmann Nov 1, 2024
27e0c60
Merge pull request #1062 from UweTrottmann/link-movie-release-dates
UweTrottmann Nov 1, 2024
7359416
Merge branch 'fix-release-2024.4.6' into dev
UweTrottmann Nov 1, 2024
10a9495
Latest translations, exported from Crowdin on 2024-11-06
UweTrottmann Nov 1, 2024
e62602e
RELEASING.md: update to current process
UweTrottmann Nov 6, 2024
9f9a7ae
Lint: ignore some long vector paths for official icons
UweTrottmann Nov 6, 2024
60a4f79
Prepare version 2024.5.0 (21240500)
UweTrottmann Nov 6, 2024
754478c
Guidelines: add note about using compat loading for vector drawables
UweTrottmann Nov 6, 2024
4889102
Rename .java to .kt
UweTrottmann Sep 5, 2024
4496e27
Kotlin: convert TraktSettings
UweTrottmann Sep 5, 2024
bd65416
TraktSettings: restore copyright, use upper case for Trakt
UweTrottmann Sep 5, 2024
ac5aa15
TraktSettings: remove some unused methods, add notes
UweTrottmann Sep 5, 2024
c882870
TraktSettings: change to isInitialSync, inline reset method
UweTrottmann Sep 5, 2024
7d9634b
TraktSync: extract connection check
UweTrottmann Sep 5, 2024
f66f981
TraktSync: remove superfluous credentials checks
UweTrottmann Sep 5, 2024
e738046
Merge branch 'trakt-settings-refactor' into dev
UweTrottmann Nov 13, 2024
ace571d
TraktTools2: remove unused SearchResult class
UweTrottmann Sep 12, 2024
fd66724
Copyright: restore for TraktTools2
UweTrottmann Sep 12, 2024
fdac1e5
HexagonShowSync: add docs on upload() return value
UweTrottmann Nov 1, 2024
9dbe17f
Guidelines: add notes about dialogs
UweTrottmann Nov 14, 2024
562bc3a
Guidelines: note about growing TextInputLayout
UweTrottmann Nov 15, 2024
8cc0142
Backup docs: link to relevant classes
UweTrottmann Nov 15, 2024
bed6067
Shows discover: use plus symbol for add show button to be consistent
UweTrottmann Nov 21, 2024
f917063
Show notes: add new column to SgShow2
UweTrottmann Aug 22, 2024
b7bad9d
Show notes: restore when adding, sync
UweTrottmann Aug 22, 2024
84ab0c2
Show notes: prepare storing note
UweTrottmann Aug 22, 2024
129a3db
Show notes: add note button and display to ShowFragment
UweTrottmann Aug 22, 2024
8060d6a
Show notes: add EditNoteDialog
UweTrottmann Aug 22, 2024
7426f75
Show notes: make note a card
UweTrottmann Aug 22, 2024
31004e3
Update trakt-java [6.14.0 -> 6.16.0]
UweTrottmann Sep 5, 2024
cb2209f
Show notes: sync with Trakt
UweTrottmann Sep 5, 2024
af4b32b
TraktV2: use getPageCount helper method
UweTrottmann Sep 6, 2024
1597ed6
Show notes: only dismiss once note is sent and saved
UweTrottmann Sep 6, 2024
c27d43e
Show notes: add note Trakt ID column
UweTrottmann Sep 12, 2024
48ffa1f
Show notes: send to Trakt
UweTrottmann Sep 11, 2024
9ae6ff9
Show notes: use empty instead of null string to store no note
UweTrottmann Nov 7, 2024
fd36098
Show notes: do not trust database, fold blank text to empty string
UweTrottmann Nov 7, 2024
6bf52f9
Show notes: fail to save if text is too long instead of truncating
UweTrottmann Nov 7, 2024
11e28c5
Show notes: make text field use available space, grow as needed
UweTrottmann Nov 14, 2024
1f031b3
Show notes: use edit action instead of title for buttons and dialog
UweTrottmann Nov 15, 2024
207c6d7
Show notes: disable save button if text is too long
UweTrottmann Nov 15, 2024
0ae8cdf
Show notes: add to change log
UweTrottmann Nov 15, 2024
bec6279
Show notes: do not export null or blank note text after all
UweTrottmann Nov 15, 2024
e978d5f
Show notes: also update with text and ID from Trakt when uploading all
UweTrottmann Nov 15, 2024
be5cb00
Show notes: use existing TraktTools2 method to upload notes
UweTrottmann Nov 15, 2024
b50299b
Show notes: add new strings
UweTrottmann Nov 21, 2024
082130a
Show notes: when syncing with Trakt also update changed note IDs
UweTrottmann Nov 21, 2024
112b908
Show notes: add more logs to Trakt notes sync and edit actions
UweTrottmann Nov 21, 2024
47f3706
Show notes: handle Trakt note deletion returning null (void) response
UweTrottmann Nov 21, 2024
ba8dad2
Merge pull request #1050 from UweTrottmann/580-show-note
UweTrottmann Nov 21, 2024
53294b9
Copyright: restore for ImageTools
UweTrottmann Nov 16, 2024
9d88f64
ImageTools: rename episode image method, add docs
UweTrottmann Nov 16, 2024
c817098
Copyright: restore for ImageToolsTest
UweTrottmann Nov 16, 2024
04357fb
ImageTools: extract common URL building, add test for episode image
UweTrottmann Nov 16, 2024
5ba17b1
ImageTools: increase resolution of small size episode images
UweTrottmann Nov 16, 2024
75dbb5d
ImageTools: add parameter names for clarity
UweTrottmann Nov 21, 2024
043a2de
Merge pull request #1071 from UweTrottmann/higher-resolution-episode-…
UweTrottmann Nov 21, 2024
5a5c443
Android Studio: track inspection profiles
UweTrottmann Nov 21, 2024
8874a91
Guidelines: note to add parameter names for clarity
UweTrottmann Nov 21, 2024
59cb408
List widget config: use new action_save string, drop save_selection
UweTrottmann Nov 21, 2024
5762855
Follow-up: remove onKeyLongPress override from ShowsActivityImpl
UweTrottmann Nov 21, 2024
d2a2fc5
Latest translations, exported from Crowdin on 2024-11-21
UweTrottmann Nov 21, 2024
80db6a1
Prepare version 2024.5.1 (21240501)
UweTrottmann Nov 21, 2024
47a7dd9
README: use www links, make version badge link to release notes
UweTrottmann Nov 22, 2024
954abbf
CONTRIBUTING: ask to coordinate for larger changes
UweTrottmann Nov 22, 2024
18b1d84
Release notes: update link to preview program
UweTrottmann Nov 28, 2024
f7f1488
Latest translations, exported from Crowdin on 2024-11-28
UweTrottmann Nov 28, 2024
2361701
ShowsDistillationFragment: remove unused binding property
UweTrottmann Nov 28, 2024
d1dcbbc
WatchProviderFilter: disable reset button if no provider is selected
UweTrottmann Nov 28, 2024
34ab4d4
ListWidgetPreferenceFragment: use generic sort by string
UweTrottmann Nov 28, 2024
3fd6a80
Shows distillation: use generic sort by string
UweTrottmann Nov 28, 2024
2b33603
Strings: remove unused action_shows_sort string
UweTrottmann Nov 28, 2024
2354bdd
Shows: use more descriptive strings for filter and sort, show icons
UweTrottmann Nov 28, 2024
132a518
Shows distillation: show scrollbars
UweTrottmann Nov 28, 2024
d66dcf2
Watch provider dialog: remove type specific title, use dialog title
UweTrottmann Nov 28, 2024
088e307
Strings: remove unused action_movies_filter
UweTrottmann Nov 28, 2024
a8f0652
Shows discover: use generic filter action string
UweTrottmann Nov 28, 2024
33751e9
Strings: remove unused action_shows_filter
UweTrottmann Nov 28, 2024
db74f38
Use the generic "Sort by" string, drop item-specific variants
UweTrottmann Nov 28, 2024
dd71e08
Strings: update translations with added, removed and moved strings
UweTrottmann Nov 29, 2024
19fcf1f
Merge pull request #1078 from UweTrottmann/improve-show-filter-dialog
UweTrottmann Nov 29, 2024
e87a7b0
Lints: ignore setText with number warnings
UweTrottmann Nov 29, 2024
368964e
ViewTools: format DVD number (only affects legacy data)
UweTrottmann Nov 29, 2024
202e0ea
Lints: ignore long vector path for ic_edit_note_control_24dp.xml
UweTrottmann Nov 29, 2024
141cbc2
Lints: ingore ClickableViewAccessibility warnings
UweTrottmann Nov 29, 2024
568348c
Merge branch 'clean-up-lints' into dev
UweTrottmann Nov 29, 2024
247fa32
Dependencies: update threetenabp [1.4.7 -> 1.4.8]
UweTrottmann Nov 29, 2024
a187f62
Build: exclude Kotlin coroutines debug file from app bundle
UweTrottmann Nov 29, 2024
7618249
Dependencies: note about updating Kotlin
UweTrottmann Nov 29, 2024
0b8daa3
Dependencies: update AndroidX libraries
UweTrottmann Nov 29, 2024
17c367c
Turn predictive back animation back on after AndroidX fixes
UweTrottmann Nov 29, 2024
42cbe89
Build: compile with SDK 35 (Android 15)
UweTrottmann Nov 29, 2024
6cd72da
AndroidX core update: replace deprecated ActivityCompat calls
UweTrottmann Nov 29, 2024
b2fb6ec
AndroidX core update: replace deprecated NavUtils calls
UweTrottmann Nov 29, 2024
f6da229
Merge pull request #1079 from UweTrottmann/updates
UweTrottmann Dec 4, 2024
50665ad
Latest translations, exported from Crowdin on 2024-12-04
UweTrottmann Dec 4, 2024
9803268
Prepare version 2024.5.2 (21240502)
UweTrottmann Dec 4, 2024
3bc807e
Shows discover: revert floating button to search icon and description
UweTrottmann Dec 5, 2024
bda8358
Update Kotlin [1.9.24 -> 2.1.0] compatible with Gradle 8.9 and AGP 8.6.1
UweTrottmann Dec 5, 2024
115ed8d
Kotlin 2 follow-up: migrate to compose compiler plugin
UweTrottmann Dec 5, 2024
c0a2010
Build: drop room.incremental option, defaults to true
UweTrottmann Dec 5, 2024
a8e518d
Build: apply Android plugin using version catalog alias
UweTrottmann Dec 5, 2024
fbab551
Build: migrate Room to KSP
UweTrottmann Dec 5, 2024
f3018be
Revert "Update Gradle [8.7 -> 8.9]"
UweTrottmann Dec 5, 2024
dc16ec6
Downgrade Kotlin [2.1.0 -> 2.0.21], compatible with Room 2.6.1
UweTrottmann Dec 5, 2024
545f050
Revert "Build: apply Android plugin using version catalog alias"
UweTrottmann Dec 5, 2024
62c2a8a
Revert "Build: migrate Room to KSP"
UweTrottmann Dec 6, 2024
28c6d4c
Update compose BOM [2024.06.00 -> 2024.11.00]
UweTrottmann Dec 6, 2024
4c345e9
Update AndroidX lifecycle [2.8.4 -> 2.8.7]
UweTrottmann Dec 6, 2024
3637e93
Merge pull request #1081 from UweTrottmann/kotlin-2
UweTrottmann Dec 6, 2024
94f2ecc
GitHub Actions: update JDK [17 -> 21]
UweTrottmann Dec 6, 2024
8119130
Build: format app build script
UweTrottmann Dec 6, 2024
b7b1190
Bump actions/checkout from 4.1.7 to 4.2.2
dependabot[bot] Nov 1, 2024
4a16010
Bump actions/setup-java from 4.2.1 to 4.5.0
dependabot[bot] Nov 1, 2024
3c68598
Bump actions/upload-artifact from 4.3.3 to 4.4.3
dependabot[bot] Nov 1, 2024
3ae116c
Merge pull request #1082 from UweTrottmann/ci-updates
UweTrottmann Dec 6, 2024
b51d507
Copyright: restore for ListManageDialogFragment
UweTrottmann Dec 6, 2024
bbbe754
ListManageDialogFragment: access database via Room APIs
UweTrottmann Dec 6, 2024
ba2337e
Lists: confirm deletion, rename from remove to delete
UweTrottmann Dec 6, 2024
7da1b27
Lists: add separate layout for AddListDialogFragment
UweTrottmann Dec 11, 2024
a612ecb
Lists: move delete list button to the edge, use save action string
UweTrottmann Dec 11, 2024
edde7e5
Lists: update translations for list removed strings
UweTrottmann Dec 11, 2024
893806f
Merge pull request #1083 from UweTrottmann/confirm-list-deletion
UweTrottmann Dec 11, 2024
891ac94
Latest translations, exported from Crowdin on 2024-12-11
UweTrottmann Dec 11, 2024
8a0e294
Prepare version 2024.5.3 (21240503)
UweTrottmann Dec 11, 2024
91651f7
TraktEpisodeSync: stop (and allow retry) if uploading show fails
UweTrottmann Dec 12, 2024
1f5c4d6
Drawables: consistently use compat loading for all image views/buttons
UweTrottmann Dec 12, 2024
3120972
Guidelines: add more details and exceptions to compat drawable loading
UweTrottmann Dec 12, 2024
e1606f0
Latest translations, exported from Crowdin on 2024-12-13
UweTrottmann Dec 13, 2024
8f88bcb
Prepare version 2024.5.4 (21240504)
UweTrottmann Dec 13, 2024
3f22615
Latest translations, exported from Crowdin on 2024-12-13
UweTrottmann Dec 13, 2024
bec726f
Prepare version 2024.5.4 (21240505)
UweTrottmann Dec 13, 2024
ca494d0
Release notes: 2024.5.4 is the next stable release
UweTrottmann Dec 18, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 9 additions & 9 deletions .github/workflows/assemble-test-lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,11 @@ jobs:

steps:
- name: Check out
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
- name: Set up JDK 17
uses: actions/setup-java@99b8673ff64fbf99d8d325f52d9a5bdedb8483e9 # v4.2.1
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- name: Set up JDK 21
uses: actions/setup-java@8df1039502a15bceb9433410b1a100fbe190c53b # v4.5.0
with:
java-version: '17'
java-version: '21'
distribution: 'temurin'
cache: gradle

Expand Down Expand Up @@ -53,11 +53,11 @@ jobs:

steps:
- name: Check out
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
- name: Set up JDK 17
uses: actions/setup-java@99b8673ff64fbf99d8d325f52d9a5bdedb8483e9 # v4.2.1
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- name: Set up JDK 21
uses: actions/setup-java@8df1039502a15bceb9433410b1a100fbe190c53b # v4.5.0
with:
java-version: '17'
java-version: '21'
distribution: 'temurin'
cache: gradle

Expand All @@ -73,7 +73,7 @@ jobs:
run: ./gradlew :app:lintAmazonRelease

- name: Upload lint reports
uses: actions/upload-artifact@65462800fd760344b1a7b4382951275a0abb4808 # v4.3.3
uses: actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882 # v4.4.3
if: ${{ always() }} # also upload of lint errors
with:
name: Lint reports
Expand Down
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -41,12 +41,16 @@ $RECYCLE.BIN/
!.idea/codeStyleSettings.xml
!.idea/codeStyles
!.idea/copyright
!.idea/inspectionProfiles
!.idea/scopes

### Gradle
.gradle/
build/

## Kotlin
.kotlin/

## Proguard
unused.txt

Expand Down
1,004 changes: 1,004 additions & 0 deletions .idea/inspectionProfiles/Android_Lint.xml

Large diffs are not rendered by default.

73 changes: 73 additions & 0 deletions .idea/inspectionProfiles/Project_Default.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

42 changes: 41 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,47 @@
📝 = Notable change.

Releases marked with 🧪 (or previously with the "beta" suffix) were released on
[the beta program](https://github.com/UweTrottmann/SeriesGuide/wiki/Beta) only.
[the preview program](https://www.seriesgui.de/help/how-to/basics/preview) only.

## Version 2024.5

* 🌟 Shows: add a note to a show, synced with SeriesGuide Cloud or Trakt (VIP only).
* 🌟 Movies: add link to all release dates.
* 🔧 Shows: increase resolution of episode images.

### 2024.5.4 - 2024-12-13

* 🔨 Trakt: retry if show not yet in Trakt profile failed to upload during initial sync.
* 📝 Latest user interface translations from Crowdin.

### 2024.5.3 - 2024-12-11 🧪

* 🔧 Shows: revert to search symbol for primary button on discover screen.
* 🔧 Lists: ask for confirmation before deleting a list, actually call it delete instead of "just"
remove.
* 📝 Latest user interface translations from Crowdin.

### 2024.5.2 - 2024-12-04 🧪

* 🔧 Shows: when viewing the stream or purchase provider filters, the reset button is shown as
disabled when no provider is selected. Also tabs are renamed and display icons to differentiate
filter from sort options.
* 🔨 Show scrollbars for show filter and sort options.
* 🔧 Use common "Sort by" action name.
* 🔧 Android 15: turn predictive back animation back on after more issues are resolved.
* 📝 Latest user interface translations from Crowdin.

### 2024.5.1 - 2024-11-21 🧪

* 🌟 Shows: add a note to a show, synced with SeriesGuide Cloud or Trakt (VIP only).
* 🔧 Shows: increase resolution of episode images.
* 🔧 Shows: also use plus symbol for button on discover screen to be consistent.

### 2024.5.0 - 2024-11-06 🧪

* 🌟 Movies: add link to all release dates.
* 🔧 Overview: use local number format for absolute episode number.
* 📝 Latest user interface translations from Crowdin.

## Version 2024.4

Expand Down
37 changes: 22 additions & 15 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -1,28 +1,32 @@
# Contributing

**Note:** This work is licensed under the [Apache License 2.0](LICENSE.txt).
If you contribute any
ℹ️ This work is licensed under the [Apache License 2.0](LICENSE.txt).
If you contribute any
[non-trivial](http://www.gnu.org/prep/maintain/maintain.html#Legally-Significant)
patches or translations make sure you have read it and agree with it.

#### Would you like to contribute code?
**Would you like to contribute code?**

ℹ️ If you want to contribute larger changes, please talk to me first (comment on a related issue
or create one). Otherwise, it is likely I won't accept your merge request.

1. [Fork SeriesGuide](https://github.com/UweTrottmann/SeriesGuide/fork) and clone your fork.
2. See the notes about [building](#building) the app below.
2. See the notes about [building](#building) the app below. Take the [guidelines of this project](/docs/guidelines.md) into account.
3. Create a new branch ([using GitHub](https://help.github.com/articles/creating-and-deleting-branches-within-your-repository/)
or the command `git checkout -b descriptive-branch-name dev`).
4. Make [great commits](http://robots.thoughtbot.com/post/48933156625/5-useful-tips-for-a-better-commit-message). For non-trivial changes, add a copyright line at the top of the files you edited.
5. [Start a pull request](https://github.com/UweTrottmann/SeriesGuide/compare) and reference [issues](https://github.com/UweTrottmann/SeriesGuide/issues) if needed.

#### No code!
* You can [discuss or submit bug reports](https://github.com/UweTrottmann/SeriesGuide/issues).
* You can [suggest features](https://discuss.seriesgui.de).
* You can [translate the app](https://crowdin.com/project/seriesguide-translations).
**No code!**

- You can [discuss or submit bug reports](https://github.com/UweTrottmann/SeriesGuide/issues).
- You can [suggest features](https://discuss.seriesgui.de).
- You can [translate the app](https://crowdin.com/project/seriesguide-translations).

## Building

- `dev` is the main development and [test release](https://github.com/UweTrottmann/SeriesGuide/wiki/Beta) branch.
- `main` has always the latest [stable version](https://seriesgui.de).
- `dev` contains the latest changes.
- `main` contains the latest stable version.

To get started:

Expand All @@ -34,20 +38,23 @@ To get started:

Debug builds should just work.

### TMDB, trakt
To add shows or movies you need to create an API key for [TMDB](https://www.themoviedb.org/settings/api)
and OAuth credentials for [trakt](https://trakt.tv/oauth/applications).
### TMDB, Trakt

To add shows or movies you need to create an API key for [TMDB](https://www.themoviedb.org/settings/api)
and OAuth credentials for [Trakt](https://trakt.tv/oauth/applications).
Place them in `secret.properties` in the project directory (where `settings.gradle` is):

```
```text
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:
```

```text
# Play Store in-app billing public key
SG_IAP_KEY_A=<keypart>
SG_IAP_KEY_B=<keypart>
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,14 @@ Android app to help you keep track of your favorite TV shows and movies.
</p>

<p align="center">
<a href="https://seriesgui.de">Download</a> •
<a href="https://seriesgui.de/whypay">Support the dev</a> •
<a href="https://www.seriesgui.de">Download</a> •
<a href="https://www.seriesgui.de/whypay">Support the dev</a> •
<a href="CONTRIBUTING.md">Contributing</a> •
<a href="https://discuss.seriesgui.de/">Announcements & Help</a>
</p>

<p align="center">
<a href="https://seriesgui.de">
<a href="https://github.com/UweTrottmann/SeriesGuide/blob/main/CHANGELOG.md#release-notes">
<img src="https://img.shields.io/github/v/release/UweTrottmann/SeriesGuide?style=flat">
</a>
<a href="https://github.com/UweTrottmann/SeriesGuide/actions/workflows/assemble-test-lint.yml">
Expand Down
22 changes: 12 additions & 10 deletions RELEASING.md
Original file line number Diff line number Diff line change
@@ -1,26 +1,28 @@
# Release process

- If stable, create `release-<nr>` branch. If beta, stay on `dev`.
- Optional: Update translations.
- Change version code and name in [`build.gradle.kts`](/build.gradle.kts).
- Amend [`CHANGELOG.md`](/CHANGELOG.md).
- Deploy to test device.
- Push to GitHub and check build succeeds, tests are green and Lint file is OK.

- If it does not exist, create a `release-<minor-version>` branch
- Merge latest changes from `dev`
- Optional: Update translations
- Change version code and name in [`build.gradle.kts`](/build.gradle.kts)
- Update [`CHANGELOG.md`](/CHANGELOG.md)
- Push to GitHub
- If it does not exist, create a merge request against `main`
- Check build succeeds, tests are green and lint output is as expected

## Play Store (testing + production)

- `bundlePureRelease`
- Publish to alpha channel, test.

Published to beta channel:

- Tag like `v12.0.3`.

Published to production:
- Download universal APK from Play Store and attach to GitHub tag.

- Download universal APK from Play Store and attach to GitHub tag.

## Amazon App Store (stable only)
## Amazon App Store (production only)

- `assembleAmazonRelease`
- `bundleAmazonRelease`
- Test update on test device.
5 changes: 5 additions & 0 deletions api/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,11 @@ val sgCompileSdk: Int by rootProject.extra
val sgMinSdk: Int by rootProject.extra
val sgTargetSdk: Int by rootProject.extra

tasks.withType(JavaCompile::class.java).configureEach {
// Suppress JDK 21 warning about deprecated, but not yet removed, source and target value 8 support
options.compilerArgs.add("-Xlint:-options")
}

android {
namespace = "com.battlelancer.seriesguide.api"
compileSdk = sgCompileSdk
Expand Down
Loading
Loading