1
0
mirror of https://gitlab.com/fdroid/fdroidserver.git synced 2024-11-04 22:40:12 +01:00

Revert "scanner: promote jar and aar files present in the repo to errors"

This reverts commit 5f5d3ea896.

These new scanner rules for JARs causes most builds on fdroiddata to
break.  For example, at least the past 20 releases of
org.fdroid.fdroid.  fdroiddata needs to be cleaned up and prepared for
this before we can include 5f5d3ea896

I'm running fdroid scanner on the whole archive now, I'll post the log
to an issue once its done.  Ignoring test files would eliminate some
of these build failures, at least for most org.fdroid.fdroid builds.

refs #!325
This commit is contained in:
Hans-Christoph Steiner 2017-10-25 22:39:31 +02:00
parent fde964479d
commit ab02a6fcc3

View File

@ -202,10 +202,10 @@ def scan_source(build_dir, build):
if curfile == 'gradle-wrapper.jar':
removeproblem('gradle-wrapper.jar', path_in_build_dir, filepath)
else:
count += handleproblem('JAR file', path_in_build_dir, filepath)
warnproblem('JAR file', path_in_build_dir)
elif ext == 'aar':
count += handleproblem('AAR file', path_in_build_dir, filepath)
warnproblem('AAR file', path_in_build_dir)
elif ext == 'java':
if not os.path.isfile(filepath):