Fix update checks

This commit is contained in:
Jochen Sprickerhof 2021-06-09 08:40:00 +02:00
parent e809d392c4
commit 5bf347ceb4
21 changed files with 46 additions and 96 deletions

View file

@ -211,15 +211,11 @@ Builds:
gradle: gradle:
- yes - yes
- versionName: ??-stable-release MaintainerNotes: UpdateCheckMode stays as HTTP as beta version are not reflected in
versionCode: 279 git tags.
commit: 2.7.9
subdir: app
gradle:
- yes
AutoUpdateMode: Version +-stable-release %v AutoUpdateMode: Version +-stable-release %v
UpdateCheckMode: Tags UpdateCheckMode: HTTP
UpdateCheckData: app/build.gradle|versionCode\s+(\d+)|.|versionName\s"([\d.]+)-stable" UpdateCheckData: https://raw.githubusercontent.com/Dar9586/NClientV2/master/app/build.gradle|versionCode\s+(\d+)|.|versionName\s"([\d.]+)-stable"
CurrentVersion: ?? CurrentVersion: 2.7.6
CurrentVersionCode: 279 CurrentVersionCode: 276

View file

@ -474,37 +474,6 @@ Builds:
- ./link_to_mupdf_1.16.1.sh - ./link_to_mupdf_1.16.1.sh
ndk: r21d ndk: r21d
- versionName: 8.3.109-fdroid
versionCode: 4030
disable: unexpected version name and version code
commit: 8.3.109
subdir: app/
sudo:
- apt-get update || apt-get update
- apt-get install -y g++ mesa-common-dev libxcursor-dev libxrandr-dev libxinerama-dev
libglu1-mesa-dev libxi-dev
gradle:
- fdroid
srclibs:
- MuPDF@1.16.1
rm:
- Builder/libs/
prebuild:
- sed -i -e '/F-DROID REMOVE THIS LINE/,+1d' ../build.gradle
- sed -i -e '/com.google.gms.google-services/d' -e '/com.google.android.gms/d'
-e '/com.cloudrail/d' -e '/include "armeabi-v7a", "arm64-v8a"/d' build.gradle
- sed -i -e '/^#!/a\set -e' -e 's|git clone .*|ln -s $$MuPDF$$ mupdf-$VERSION|'
-e 's/ndk-build $1/& -j`nproc` || exit 1/' ../Builder/link_to_mupdf_1.16.1.sh
- mkdir src/main/jniLibs/
- sed -i -e 's/21.2.6472646/21.3.6528147/' build.gradle
scanignore:
- Builder/fonts/fonts.zip
- app/src/fdroid/assets/fonts.zip
build:
- pushd ../Builder/
- ./link_to_mupdf_1.16.1.sh
ndk: r21d
MaintainerNotes: |- MaintainerNotes: |-
* Upstream builds separate APKs for each architecture but we build an universal APK. * Upstream builds separate APKs for each architecture but we build an universal APK.
* scanner will detect GMS (/com/google/android/gms) in these APKs; those are only stubs here, see https://gitlab.com/fdroid/fdroiddata/-/issues/2272#note_493741256 * scanner will detect GMS (/com/google/android/gms) in these APKs; those are only stubs here, see https://gitlab.com/fdroid/fdroiddata/-/issues/2272#note_493741256

View file

@ -124,10 +124,11 @@ MaintainerNotes: |-
Both SDK and NDK path are set to use fdroid ones. Both SDK and NDK path are set to use fdroid ones.
The auto accept license is disabled since fdroid sdkmanager doesn't support The auto accept license is disabled since fdroid sdkmanager doesn't support
the --licenses argument. the --licenses argument.
UpdateCheckMode stays as HTTP as the app has an older tag with a higher version number.
AutoUpdateMode: Version AutoUpdateMode: Version v%v
UpdateCheckMode: Tags ^v.*$ UpdateCheckMode: HTTP
UpdateCheckData: src/etherollapp/version.py|__version_code__ = (\d+)|.|__version__ UpdateCheckData: https://raw.githubusercontent.com/AndreMiras/EtherollApp/develop/src/etherollapp/version.py|__version_code__
= '(\d+\.\d+)' = (\d+)|.|__version__ = '(\d+\.\d+)'
CurrentVersion: '2020.0322' CurrentVersion: '2020.0322'
CurrentVersionCode: 721202322 CurrentVersionCode: 721202322

View file

@ -70,10 +70,11 @@ Builds:
MaintainerNotes: |- MaintainerNotes: |-
The auto accept license is disabled since fdroid sdkmanager doesn't support The auto accept license is disabled since fdroid sdkmanager doesn't support
the --licenses argument. the --licenses argument.
UpdateCheckMode stays as HTTP as the app has an older tag with a higher version number.
AutoUpdateMode: Version AutoUpdateMode: Version %v
UpdateCheckMode: Tags UpdateCheckMode: HTTP
UpdateCheckData: src/kivy_garden/zbarcam/version.py|__version_code__ = (\d+)|.|__version__ UpdateCheckData: https://raw.githubusercontent.com/kivy-garden/zbarcam/develop/src/kivy_garden/zbarcam/version.py|__version_code__
= '(\d+\.\d+)' = (\d+)|.|__version__ = '(\d+\.\d+)'
CurrentVersion: '2019.1020' CurrentVersion: '2020.0524'
CurrentVersionCode: 721202920 CurrentVersionCode: 721202524

View file

@ -20,6 +20,6 @@ Builds:
AutoUpdateMode: Version AutoUpdateMode: Version
UpdateCheckMode: Tags ^v.*$ UpdateCheckMode: Tags ^v.*$
UpdateCheckData: version.txt|version:\s.+\+(\d+)|.|version:\s(.+)\+ UpdateCheckData: version.txt|\+(\d+)|.|(.+)\+
CurrentVersion: v21.04 CurrentVersion: v21.04
CurrentVersionCode: 259 CurrentVersionCode: 259

View file

@ -35,9 +35,11 @@ Builds:
gradle: gradle:
- yes - yes
AutoUpdateMode: Version MaintainerNotes: Disable AUM till upstream tags releases https://github.com/m3sv/PlainUPnP/issues/83
UpdateCheckMode: Tags
AutoUpdateMode: None
UpdateCheckMode: None
UpdateCheckData: buildSrc/src/main/kotlin/dependencies.kt|versionCode = (\d+)|.|versionName UpdateCheckData: buildSrc/src/main/kotlin/dependencies.kt|versionCode = (\d+)|.|versionName
= "([\d\.]+)" = "([\d\.]+)"
CurrentVersion: 2.6.2 CurrentVersion: 2.7.0
CurrentVersionCode: 62 CurrentVersionCode: 64

View file

@ -45,6 +45,6 @@ Builds:
AutoUpdateMode: Version AutoUpdateMode: Version
UpdateCheckMode: Tags ^v.*$ UpdateCheckMode: Tags ^v.*$
UpdateCheckData: platform/android/cordova/config.xml|android-versionCode="(\d+)"|.|version="(.*)" UpdateCheckData: res/android/config.xml|android-versionCode="(\d+)"|.|version="(.*)"
CurrentVersion: 1.5.2 CurrentVersion: 1.5.2
CurrentVersionCode: 15201 CurrentVersionCode: 15201

View file

@ -66,14 +66,6 @@ Builds:
gradle: gradle:
- yes - yes
- versionName: 1.5.14
versionCode: 203
disable: crashlytics, see https://github.com/kenCode-de/smartcoins-wallet/issues/68
commit: v1.5.14
subdir: app
gradle:
- yes
AutoUpdateMode: None AutoUpdateMode: None
UpdateCheckMode: Tags UpdateCheckMode: Tags
UpdateCheckData: build.gradle|versionCode (.*)|.|versionName "(.*)" UpdateCheckData: build.gradle|versionCode (.*)|.|versionName "(.*)"

View file

@ -65,9 +65,9 @@ Builds:
- yes - yes
AutoUpdateMode: None AutoUpdateMode: None
UpdateCheckMode: Tags UpdateCheckMode: HTTP
VercodeOperation: '%c + 2 ' VercodeOperation: '%c + 2 '
UpdateCheckData: app/version.properties|VERSION_CODE=(.*)|app/build.gradle|versionName UpdateCheckData: https://raw.githubusercontent.com/quaddy-services/DynamicNightLight/HEAD/app/version.properties|VERSION_CODE=(.*)|https://raw.githubusercontent.com/quaddy-services/DynamicNightLight/master/app/build.gradle|versionName
"(.*)" "(.*)"
CurrentVersion: 2.0. CurrentVersion: 2.0.
CurrentVersionCode: 2110 CurrentVersionCode: 2110

View file

@ -212,7 +212,7 @@ MaintainerNotes: |-
(https://mindustrygame.github.io/wiki/modding/) (https://mindustrygame.github.io/wiki/modding/)
AutoUpdateMode: None AutoUpdateMode: None
UpdateCheckMode: Tags UpdateCheckMode: HTTP
UpdateCheckData: version_fdroid.txt|versionCode=(.*)|.|versionName=(.*) UpdateCheckData: https://raw.githubusercontent.com/Anuken/MindustryBuilds/master/version_fdroid.txt|versionCode=(.*)|.|versionName=(.*)
CurrentVersion: 6-fdroid-125 CurrentVersion: 6-fdroid-125
CurrentVersionCode: 125 CurrentVersionCode: 125

View file

@ -29,23 +29,6 @@ Builds:
- git apply ./fdroid.patch - git apply ./fdroid.patch
- $$flutter$$/bin/flutter build apk - $$flutter$$/bin/flutter build apk
- versionName: 1.4.2
versionCode: 30
disable: broken checkupdates
commit: v1.4.2
output: build/app/outputs/flutter-apk/app-release.apk
srclibs:
- flutter@1.26.0-17.5.pre
rm:
- ios
- .vscode
- raw_graphics
build:
- $$flutter$$/bin/flutter config --no-analytics
- sed -i 's/.*in_app_review.*//' pubspec.yaml
- git apply ./fdroid.patch
- $$flutter$$/bin/flutter build apk
AutoUpdateMode: Version AutoUpdateMode: Version
UpdateCheckMode: Tags ^v.*$ UpdateCheckMode: Tags ^v.*$
UpdateCheckData: pubspec.yaml|version:\s.+\+(\d+)|.|version:\s(.+)\+ UpdateCheckData: pubspec.yaml|version:\s.+\+(\d+)|.|version:\s(.+)\+

View file

@ -323,5 +323,5 @@ Builds:
AutoUpdateMode: Version AutoUpdateMode: Version
UpdateCheckMode: Tags UpdateCheckMode: Tags
UpdateCheckData: updateinfo.json|"versionCode":\s*(\d+)|.|"ver":\s*"([\d.]+) UpdateCheckData: updateinfo.json|"versionCode":\s*(\d+)|.|"ver":\s*"([\d.]+)
CurrentVersion: 3.5.7.6 CurrentVersion: 3.5.8.3
CurrentVersionCode: 646 CurrentVersionCode: 651

View file

@ -152,5 +152,6 @@ Builds:
AutoUpdateMode: Version v%v AutoUpdateMode: Version v%v
UpdateCheckMode: Tags UpdateCheckMode: Tags
UpdateCheckName: org.transdroid.full UpdateCheckName: org.transdroid.full
UpdateCheckData: app/build.gradle|versionCode\s(\d+)|.|versionName\s'([\d.]+)'
CurrentVersion: 2.5.10 CurrentVersion: 2.5.10
CurrentVersionCode: 230 CurrentVersionCode: 230

View file

@ -47,6 +47,6 @@ Builds:
- yes - yes
AutoUpdateMode: None AutoUpdateMode: None
UpdateCheckMode: Tags UpdateCheckMode: None
CurrentVersion: 3.0.1 CurrentVersion: 3.0.1
CurrentVersionCode: 409 CurrentVersionCode: 409

View file

@ -152,5 +152,6 @@ MaintainerNotes: The "build" commands are extracted from build_deps.sh.
AutoUpdateMode: Version %v AutoUpdateMode: Version %v
UpdateCheckMode: Tags ^[0-9.]+$ UpdateCheckMode: Tags ^[0-9.]+$
UpdateCheckData: app/build.gradle|versionCode\s(\d+)|.|versionName\s"([\d.]+)"
CurrentVersion: 1.0.5 CurrentVersion: 1.0.5
CurrentVersionCode: 149 CurrentVersionCode: 149

View file

@ -662,7 +662,8 @@ Builds:
- sed -i 's:\-Z build-std=core,alloc,std::' $$pEpJNIAdapter$$/android/external/**/Makefile - sed -i 's:\-Z build-std=core,alloc,std::' $$pEpJNIAdapter$$/android/external/**/Makefile
ndk: r20b ndk: r20b
AutoUpdateMode: None AutoUpdateMode: Version
UpdateCheckMode: Tags UpdateCheckMode: Tags ^v[0-9.]*$
UpdateCheckData: build.gradle|versionCode'\s*:\s*(\d+)|.|versionName'\s*:\s*'([\d.]+)'
CurrentVersion: 1.1.264 CurrentVersion: 1.1.264
CurrentVersionCode: 88 CurrentVersionCode: 88

View file

@ -22,7 +22,9 @@ Builds:
- huskyBlue - huskyBlue
prebuild: sed -i -e 's/buildnum()/168/g' build.gradle prebuild: sed -i -e 's/buildnum()/168/g' build.gradle
AutoUpdateMode: Version v%v MaintainerNotes: VC is generated on build, no way to check for updates.
UpdateCheckMode: Tags
AutoUpdateMode: None
UpdateCheckMode: None
CurrentVersion: 1.0.1 CurrentVersion: 1.0.1
CurrentVersionCode: 168 CurrentVersionCode: 168

View file

@ -74,6 +74,6 @@ Builds:
MaintainerNotes: Version and VC are generated on build, no way to check for updates. MaintainerNotes: Version and VC are generated on build, no way to check for updates.
AutoUpdateMode: None AutoUpdateMode: None
UpdateCheckMode: Tags UpdateCheckMode: None
CurrentVersion: 0.9.2 CurrentVersion: 0.9.2
CurrentVersionCode: 9200 CurrentVersionCode: 9200

View file

@ -239,6 +239,6 @@ MaintainerNotes: |-
App comes with Sentry.io but it is opt-in, so no Tracking AntiFeature needed. App comes with Sentry.io but it is opt-in, so no Tracking AntiFeature needed.
AutoUpdateMode: None AutoUpdateMode: None
UpdateCheckMode: Tags UpdateCheckMode: None
CurrentVersion: 2.7.2 CurrentVersion: 2.7.2
CurrentVersionCode: 2927098 CurrentVersionCode: 2927098

View file

@ -25,7 +25,7 @@ Builds:
target: android-8 target: android-8
AutoUpdateMode: None AutoUpdateMode: None
UpdateCheckMode: Tags UpdateCheckMode: None
CurrentVersion: '2.2' CurrentVersion: '2.2'
CurrentVersionCode: 8 CurrentVersionCode: 8

View file

@ -192,5 +192,6 @@ Builds:
AutoUpdateMode: None AutoUpdateMode: None
UpdateCheckMode: Tags UpdateCheckMode: Tags
UpdateCheckData: app/build.gradle|versionCode\s(\d+)|.|versionName\s"([\d.]+)"
CurrentVersion: 4.9.0.387 CurrentVersion: 4.9.0.387
CurrentVersionCode: 387 CurrentVersionCode: 387