Hi! I’m trying to deploy FOSSASIA Pocket Science Lab Android app on Fdroid and when I made the merge request, the build is failing with a error log related to exif tags in images in the app repository.
$ exiftool -all= `find metadata/ -name '*.jp*g' -o -name '*.png'`
0 image files updated
135 image files unchanged
$ echo "these images have EXIF that must be stripped:"
these images have EXIF that must be stripped:
$ git --no-pager diff --stat
$ git --no-pager diff --name-only --exit-code || export EXITVALUE=1
$ exit $EXITVALUE
ERROR: Job failed: exit code 1
Prior to making the merge request, I have run lint build in my PC and it build successfully so I made the commit. But in the merge request lint build it fails.
I ran the exif tool in the local repo and removed all exif tags from images using following commands;
Still it’s generating the same error message saying exif must be stripped. Didn’t I properly remove exif tags using the above mentioned exiftool commands? Or are there any other way to fix this issue?
org.fossasia.pslab: Build generated by `fdroid import` - remove disable line once ready
org.fossasia.pslab: Invalid license tag "GNU General Public License v3"! Use only tags from https://spdx.org/license-list
Thank you @Bubu and @relan The Build tag is incomplete it seems. I removed the disable tag and added commits and fdroid build now can fetch the repo. Now I’m stuck at a similar issue as in #1030 and working on it!
Great! Thanks again @relan ! I installed the gradle and now the build is getting successful. Now advancing into issue #2054! I’ve installed fdroid-server from apt. So now I’m going to install it using git!