Problems with the update processing of my Apps

Currently, it looks like updates are not processed for 2 of my Apps (while it works for the other ones).

https://gitlab.com/fdroid/fdroiddata/-/blob/master/metadata/com.rechnen.app.yml contains version 1.4 and the F-Droid-Client shows the changelog for 1.4, but it does not provide the APK

https://gitlab.com/fdroid/fdroiddata/-/blob/master/metadata/io.timelimit.android.aosp.direct.yml has got a bigger problem - it was added recently and the updates are not detected at all while it works for https://gitlab.com/fdroid/fdroiddata/-/blob/master/metadata/io.timelimit.android.open.yml which uses the same way to mark updates using Tags.

What can I do to analyze the problems/ find the causes of them?

  1. really unlucky, got the vm error in the last 3 cycles: https://f-droid.org/wiki/index.php?title=com.rechnen.app/lastbuild_5&action=history nothing to do just wait (do not hold breath!)

  2. will check: fdroid checkupdates --verbose --auto --allow-dirty appid

2020-09-16 10:40:52,796 WARNING: ...io.timelimit.android.aosp.direct : Couldn't find package ID
...
2020-09-16 10:40:55,070 DEBUG: Directory: build/io.timelimit.android.aosp.direct
2020-09-16 10:40:55,070 DEBUG: > git remote set-head origin --auto
2020-09-16 10:40:55,990 DEBUG: Directory: build/io.timelimit.android.aosp.direct
2020-09-16 10:40:55,991 DEBUG: > git checkout -f origin/HEAD
2020-09-16 10:40:56,209 DEBUG: Directory: build/io.timelimit.android.aosp.direct
2020-09-16 10:40:56,209 DEBUG: > git clean -dffx
2020-09-16 10:40:56,323 DEBUG: ...fetch auto name from build/io.timelimit.android.aosp.direct
2020-09-16 10:40:56,325 DEBUG: Parsing manifest at 'build/io.timelimit.android.aosp.direct/build.gradle'
2020-09-16 10:40:56,326 DEBUG: ..got package=None, version=None, vercode=None
2020-09-16 10:40:56,327 DEBUG: Parsing manifest at 'build/io.timelimit.android.aosp.direct/app/src/main/AndroidManifest.xml'
2020-09-16 10:40:56,330 DEBUG: ..got package=None, version=None, vercode=None
2020-09-16 10:40:56,330 DEBUG: Parsing manifest at 'build/io.timelimit.android.aosp.direct/app/build.gradle'
2020-09-16 10:40:56,332 DEBUG: ..got package=None, version=3.6.0, vercode=97
2020-09-16 10:40:56,333 DEBUG: Parsing manifest at 'build/io.timelimit.android.aosp.direct/app/src/directVersion/AndroidManifest.xml'
2020-09-16 10:40:56,334 DEBUG: ..got package=None, version=None, vercode=None
2020-09-16 10:40:56,337 DEBUG: Parsing manifest at 'build/io.timelimit.android.aosp.direct/app/src/noServer/AndroidManifest.xml'
2020-09-16 10:40:56,337 DEBUG: ..got package=None, version=None, vercode=None
2020-09-16 10:40:56,338 DEBUG: Parsing manifest at 'build/io.timelimit.android.aosp.direct/app/src/directVersion/AndroidManifest.xml'
2020-09-16 10:40:56,339 DEBUG: ..got package=None, version=None, vercode=None
2020-09-16 10:40:56,339 DEBUG: Parsing manifest at 'build/io.timelimit.android.aosp.direct/app/src/main/AndroidManifest.xml'
2020-09-16 10:40:56,340 DEBUG: ..got package=None, version=None, vercode=None
2020-09-16 10:40:56,350 DEBUG: Parsing manifest at 'build/io.timelimit.android.aosp.direct/app/src/developmentServer/AndroidManifest.xml'
2020-09-16 10:40:56,350 DEBUG: ..got package=None, version=None, vercode=None
2020-09-16 10:40:56,351 DEBUG: ...couldn't get autoname

No idea

The end of the log:

2020-09-16 12:40:27,734 DEBUG: Parsing manifest at 'build/io.timelimit.android.aosp.direct/app/build.gradle'
2020-09-16 12:40:27,735 DEBUG: ..got package=None, version=3.6.0, vercode=97
2020-09-16 12:40:27,735 DEBUG: Parsing manifest at 'build/io.timelimit.android.aosp.direct/app/src/directVersion/AndroidManifest.xml'
2020-09-16 12:40:27,735 DEBUG: ..got package=None, version=None, vercode=None
2020-09-16 12:40:27,736 DEBUG: Parsing manifest at 'build/io.timelimit.android.aosp.direct/app/src/directVersion/AndroidManifest.xml'
2020-09-16 12:40:27,736 DEBUG: ..got package=None, version=None, vercode=None
2020-09-16 12:40:27,736 DEBUG: Parsing manifest at 'build/io.timelimit.android.aosp.direct/app/src/main/AndroidManifest.xml'
2020-09-16 12:40:27,737 DEBUG: ..got package=None, version=None, vercode=None
2020-09-16 12:40:27,739 DEBUG: Parsing manifest at 'build/io.timelimit.android.aosp.direct/app/src/developmentServer/AndroidManifest.xml'
2020-09-16 12:40:27,739 DEBUG: ..got package=None, version=None, vercode=None
2020-09-16 12:40:27,739 DEBUG: Parsing manifest at 'build/io.timelimit.android.aosp.direct/app/src/noServer/AndroidManifest.xml'
2020-09-16 12:40:27,739 DEBUG: ..got package=None, version=None, vercode=None
2020-09-16 12:40:27,739 DEBUG: ...couldn't get autoname
2020-09-16 12:40:27,740 DEBUG: Outputting JSON
2020-09-16 12:40:27,740 DEBUG: Popen(['git', 'cat-file', '--batch-check'], cwd=/home/jonas/Dokumente/fdroiddata, universal_newlines=False, shell=None, istream=<valid stream>)
2020-09-16 12:40:27,745 DEBUG: Popen(['git', 'diff', '--cached', '--abbrev=40', '--full-index', '--raw'], cwd=/home/jonas/Dokumente/fdroiddata, universal_newlines=False, shell=None, istream=None)
2020-09-16 12:40:27,757 DEBUG: Popen(['git', 'diff', '--abbrev=40', '--full-index', '--raw'], cwd=/home/jonas/Dokumente/fdroiddata, universal_newlines=False, shell=None, istream=None)
2020-09-16 12:40:27,802 DEBUG: Popen(['git', 'cat-file', '--batch-check'], cwd=/home/jonas/Dokumente/fdroidserver, universal_newlines=False, shell=None, istream=<valid stream>)
2020-09-16 12:40:27,807 DEBUG: Popen(['git', 'diff', '--cached', '--abbrev=40', '--full-index', '--raw'], cwd=/home/jonas/Dokumente/fdroidserver, universal_newlines=False, shell=None, istream=None)
2020-09-16 12:40:27,813 DEBUG: Popen(['git', 'diff', '--abbrev=40', '--full-index', '--raw'], cwd=/home/jonas/Dokumente/fdroidserver, universal_newlines=False, shell=None, istream=None)
2020-09-16 12:40:27,820 DEBUG: skip deploying full build logs: not enabled in config
2020-09-16 12:40:27,820 DEBUG: skip deploying full build logs: not enabled in config
2020-09-16 12:40:27,820 INFO: Finished

It looks like everything worked except for the AutoName (which I don’t understand because it is included in the build metadata file). Where/ how would it update the metadata files?

But didn’t you see

Couldn't find package ID

…above?

Thanks, that’s it.

After adding “UpdateCheckName: io.timelimit.android”, it finds the update. I will create a Pull Request for that.

The package name depends on the flavor and the base package name (io.timelimit.android) did not match the full package name of the flavor which confused the updater.

1 Like