1
0
mirror of https://gitlab.com/fdroid/fdroidserver.git synced 2024-09-21 04:10:37 +02:00

Merge branch 'scannerid' into 'master'

scanner - pickup by id, sort list

See merge request fdroid/fdroidserver!1487
This commit is contained in:
Hans-Christoph Steiner 2024-05-22 09:26:13 +00:00
commit b3748aa3f1
2 changed files with 7 additions and 6 deletions

View File

@ -60,13 +60,14 @@ class ExitCode(IntEnum):
def get_gradle_compile_commands(build): def get_gradle_compile_commands(build):
compileCommands = ['compile', compileCommands = ['api',
'provided',
'apk', 'apk',
'implementation',
'classpath', 'classpath',
'api', 'compile',
'compileOnly', 'compileOnly',
'id',
'implementation',
'provided',
'runtimeOnly'] 'runtimeOnly']
buildTypes = ['', 'release'] buildTypes = ['', 'release']
flavors = [''] flavors = ['']

View File

@ -53,7 +53,7 @@ class ScannerTest(unittest.TestCase):
'OtakuWorld': 2, 'OtakuWorld': 2,
'Zillode': 1, 'Zillode': 1,
'cn.wildfirechat.chat': 4, 'cn.wildfirechat.chat': 4,
'com.github.shadowsocks': 7, 'com.github.shadowsocks': 10,
'com.integreight.onesheeld': 16, 'com.integreight.onesheeld': 16,
'com.jens.automation2': 3, 'com.jens.automation2': 3,
'firebase-suspect': 1, 'firebase-suspect': 1,
@ -76,7 +76,7 @@ class ScannerTest(unittest.TestCase):
('source-files/com.nextcloud.client/build.gradle', 'generic', 28), ('source-files/com.nextcloud.client/build.gradle', 'generic', 28),
('source-files/com.kunzisoft.testcase/build.gradle', 'libre', 4), ('source-files/com.kunzisoft.testcase/build.gradle', 'libre', 4),
('source-files/cn.wildfirechat.chat/chat/build.gradle', 'yes', 33), ('source-files/cn.wildfirechat.chat/chat/build.gradle', 'yes', 33),
('source-files/org.tasks/app/build.gradle.kts', 'generic', 39), ('source-files/org.tasks/app/build.gradle.kts', 'generic', 43),
('source-files/at.bitfire.davdroid/build.gradle', 'standard', 16), ('source-files/at.bitfire.davdroid/build.gradle', 'standard', 16),
('source-files/se.manyver/android/app/build.gradle', 'indie', 29), ('source-files/se.manyver/android/app/build.gradle', 'indie', 29),
('source-files/osmandapp/osmand/build.gradle', 'free', 5), ('source-files/osmandapp/osmand/build.gradle', 'free', 5),