diff --git a/MANIFEST.in b/MANIFEST.in index 04434d18..4aa37974 100644 --- a/MANIFEST.in +++ b/MANIFEST.in @@ -560,19 +560,19 @@ include tests/keystore.jks include tests/lint.TestCase include tests/metadata/apk/info.guardianproject.urzip.yaml include tests/metadata/apk/org.dyndns.fules.ck.yaml -include tests/metadata/app.with.special.build.params.txt -include tests/metadata/com.politedroid.txt +include tests/metadata/app.with.special.build.params.yml +include tests/metadata/com.politedroid.yml include tests/metadata/dump/com.politedroid.yaml include tests/metadata/dump/org.adaway.yaml include tests/metadata/dump/org.smssecure.smssecure.yaml include tests/metadata/dump/org.videolan.vlc.yaml include tests/metadata/duplicate.permisssions.yml -include tests/metadata/fake.ota.update.txt +include tests/metadata/fake.ota.update.yml include tests/metadata/info.guardianproject.checkey/en-US/description.txt include tests/metadata/info.guardianproject.checkey/en-US/phoneScreenshots/checkey-phone.png include tests/metadata/info.guardianproject.checkey/en-US/phoneScreenshots/checkey.png include tests/metadata/info.guardianproject.checkey/en-US/summary.txt -include tests/metadata/info.guardianproject.checkey.txt +include tests/metadata/info.guardianproject.checkey.yml include tests/metadata/info.guardianproject.urzip/en-US/changelogs/100.txt include tests/metadata/info.guardianproject.urzip/en-US/full_description.txt include tests/metadata/info.guardianproject.urzip/en-US/images/featureGraphic.png @@ -583,25 +583,25 @@ include tests/metadata/info.guardianproject.urzip/en-US/video.txt include tests/metadata/info.guardianproject.urzip.yml include tests/metadata/info.zwanenburg.caffeinetile.yml include tests/metadata/no.min.target.sdk.yml -include tests/metadata/obb.main.oldversion.txt -include tests/metadata/obb.mainpatch.current.txt -include tests/metadata/obb.main.twoversions.txt -include tests/metadata/org.adaway.json -include tests/metadata/org.fdroid.ci.test.app.txt -include tests/metadata/org.fdroid.fdroid.txt +include tests/metadata/obb.main.oldversion.yml +include tests/metadata/obb.mainpatch.current.yml +include tests/metadata/obb.main.twoversions.yml +include tests/metadata/org.adaway.yml +include tests/metadata/org.fdroid.ci.test.app.yml +include tests/metadata/org.fdroid.fdroid.yml include tests/metadata/org.smssecure.smssecure/signatures/134/28969C09.RSA include tests/metadata/org.smssecure.smssecure/signatures/134/28969C09.SF include tests/metadata/org.smssecure.smssecure/signatures/134/MANIFEST.MF include tests/metadata/org.smssecure.smssecure/signatures/135/28969C09.RSA include tests/metadata/org.smssecure.smssecure/signatures/135/28969C09.SF include tests/metadata/org.smssecure.smssecure/signatures/135/MANIFEST.MF -include tests/metadata/org.smssecure.smssecure.txt +include tests/metadata/org.smssecure.smssecure.yml include tests/metadata/org.videolan.vlc.yml -include tests/metadata/raw.template.txt +include tests/metadata/raw.template.yml include tests/metadata-rewrite-yml/app.with.special.build.params.yml include tests/metadata-rewrite-yml/fake.ota.update.yml include tests/metadata-rewrite-yml/org.fdroid.fdroid.yml -include tests/metadata/souch.smsbypass.txt +include tests/metadata/souch.smsbypass.yml include tests/metadata.TestCase include tests/openssl-version-check-test.py include tests/org.bitbucket.tickytacky.mirrormirror_1.apk diff --git a/tests/lint.TestCase b/tests/lint.TestCase index 54cfc365..783b6f1f 100755 --- a/tests/lint.TestCase +++ b/tests/lint.TestCase @@ -48,8 +48,8 @@ class LintTest(unittest.TestCase): os.path.join(tmptestsdir, 'metadata'), ignore=shutil.ignore_patterns('apk', 'dump', '*.json')) self.assertFalse(fdroidserver.lint.check_for_unsupported_metadata_files(tmptestsdir + '/')) - shutil.copy(os.path.join(localmodule, 'tests', 'metadata', 'org.adaway.json'), - os.path.join(tmptestsdir, 'metadata')) + with open(os.path.join(tmptestsdir, 'metadata', 'org.adaway.json'), 'w') as fp: + fp.write('placeholder') self.assertTrue(fdroidserver.lint.check_for_unsupported_metadata_files(tmptestsdir + '/')) def test_forbidden_html_tags(self): diff --git a/tests/metadata.TestCase b/tests/metadata.TestCase index ff0e11d7..ab636a35 100755 --- a/tests/metadata.TestCase +++ b/tests/metadata.TestCase @@ -232,7 +232,7 @@ class MetadataTest(unittest.TestCase): fdroidserver.common.config = {'accepted_formats': ['txt']} randomlist = [] - randomapps = glob.glob(os.path.join(self.basedir, 'metadata', '*.txt')) + randomapps = glob.glob(os.path.join(self.basedir, 'metadata', '*.yml')) random.shuffle(randomapps) i = 1 for f in randomapps: diff --git a/tests/metadata/app.with.special.build.params.txt b/tests/metadata/app.with.special.build.params.txt deleted file mode 100644 index 3592fbce..00000000 --- a/tests/metadata/app.with.special.build.params.txt +++ /dev/null @@ -1,72 +0,0 @@ -AntiFeatures:UpstreamNonFree -Categories:System -License:GPL-3.0-only -Web Site: -Source Code:https://github.com/loadrunner/Facebook-Contact-Sync -Issue Tracker:https://github.com/loadrunner/Facebook-Contact-Sync/issues - -Auto Name:UberSync for Facebook -Summary:Sync your Facebook Contacts -Description: -To configure, go to "Settings => Accounts & Sync => Add Account". Depending on -how many friends you have, the first import might take a while, so be patient. - -* Facebook does not allow to export phone numbers or emails: only names, pictures and statuses are synced. -* Facebook users have the option to block one or all apps: if they opt for that, they will be EXCLUDED from your friends list. - -Appbrain SDK was removed before building. -. - -Repo Type:git -Repo:https://github.com/loadrunner/Facebook-Contact-Sync.git - -Build:1.0.0,32 - commit=b3879c973e7cac3a3319 - -Build:1.0.1,33 - commit=252c8dd4c9 - -Build:1.2.0,39 - commit=v1.2.0 - patch=appbrain.patch - srclibs=FacebookSDK@sdk-version-3.0.1 - rm=libs/appbrain-sdk-android.jar - prebuild=sed -i 's@\(reference.1=\).*@\1$$FacebookSDK$$@' project.properties && \ - sed -i 's/Class\[\]/Class\\[\]/g' $$FacebookSDK$$/src/com/facebook/model/GraphObject.java - -Build:1.2.2,42 - commit=v1.2.2 - patch=appbrain.patch - srclibs=FacebookSDK@sdk-version-3.0.2 - rm=libs/appbrain-sdk-android.jar - extlibs=android/android-support-v4.jar - prebuild=mv libs/android-support-v4.jar $$FacebookSDK$$/libs/ && \ - sed -i 's@\(reference.1=\).*@\1$$FacebookSDK$$@' project.properties && \ - sed -i 's/Class\[\]/Class\\[\]/g' $$FacebookSDK$$/src/com/facebook/model/GraphObject.java - -Build:2.1.1,48 - commit=2.1.1 - patch=manifest-ads.patch,mobilecore.patch - maven=yes - srclibs=FacebookSDK@sdk-version-3.0.2 - -Build:2.1.1-b,49 - commit=2.1.1 - patch=manifest-ads.patch,mobilecore.patch - maven=yes@.. - srclibs=FacebookSDK@sdk-version-3.0.2 - -Build:2.1.1-c,50 - commit=2.1.1 - patch=manifest-ads.patch,mobilecore.patch - maven=2 - srclibs=FacebookSDK@sdk-version-3.0.2 - -Build:2.1.2,51 - disable=Labelled as pre-release, so skipped - -Archive Policy:0 versions -Auto Update Mode:None -Update Check Mode:None -Current Version:2.1.2 -Current Version Code:49 diff --git a/tests/metadata/app.with.special.build.params.yml b/tests/metadata/app.with.special.build.params.yml new file mode 100644 index 00000000..e7755881 --- /dev/null +++ b/tests/metadata/app.with.special.build.params.yml @@ -0,0 +1,99 @@ +AntiFeatures: + - UpstreamNonFree +Categories: + - System +License: GPL-3.0-only +SourceCode: https://github.com/loadrunner/Facebook-Contact-Sync +IssueTracker: https://github.com/loadrunner/Facebook-Contact-Sync/issues + +AutoName: UberSync for Facebook +Summary: Sync your Facebook Contacts +Description: |- + To configure, go to "Settings => Accounts & Sync => Add Account". Depending on + how many friends you have, the first import might take a while, so be patient. + + * Facebook does not allow to export phone numbers or emails: only names, pictures and statuses are synced. + * Facebook users have the option to block one or all apps: if they opt for that, they will be EXCLUDED from your friends list. + + Appbrain SDK was removed before building. + +RepoType: git +Repo: https://github.com/loadrunner/Facebook-Contact-Sync.git + +Builds: + - versionName: 1.0.0 + versionCode: 32 + commit: b3879c973e7cac3a3319 + + - versionName: 1.0.1 + versionCode: 33 + commit: 252c8dd4c9 + + - versionName: 1.2.0 + versionCode: 39 + commit: v1.2.0 + patch: + - appbrain.patch + srclibs: + - FacebookSDK@sdk-version-3.0.1 + rm: + - libs/appbrain-sdk-android.jar + prebuild: + - sed -i 's@\(reference.1=\).*@\1$$FacebookSDK$$@' project.properties + - sed -i 's/Class\[\]/Class\\[\]/g' $$FacebookSDK$$/src/com/facebook/model/GraphObject.java + + - versionName: 1.2.2 + versionCode: 42 + commit: v1.2.2 + patch: + - appbrain.patch + srclibs: + - FacebookSDK@sdk-version-3.0.2 + rm: + - libs/appbrain-sdk-android.jar + extlibs: + - android/android-support-v4.jar + prebuild: + - mv libs/android-support-v4.jar $$FacebookSDK$$/libs/ + - sed -i 's@\(reference.1=\).*@\1$$FacebookSDK$$@' project.properties + - sed -i 's/Class\[\]/Class\\[\]/g' $$FacebookSDK$$/src/com/facebook/model/GraphObject.java + + - versionName: 2.1.1 + versionCode: 48 + commit: 2.1.1 + patch: + - manifest-ads.patch + - mobilecore.patch + maven: 'yes' + srclibs: + - FacebookSDK@sdk-version-3.0.2 + + - versionName: 2.1.1-b + versionCode: 49 + commit: 2.1.1 + patch: + - manifest-ads.patch + - mobilecore.patch + maven: yes@.. + srclibs: + - FacebookSDK@sdk-version-3.0.2 + + - versionName: 2.1.1-c + versionCode: 50 + commit: 2.1.1 + patch: + - manifest-ads.patch + - mobilecore.patch + maven: '2' + srclibs: + - FacebookSDK@sdk-version-3.0.2 + + - versionName: 2.1.2 + versionCode: 51 + disable: Labelled as pre-release, so skipped + +ArchivePolicy: 0 versions +AutoUpdateMode: None +UpdateCheckMode: None +CurrentVersion: 2.1.2 +CurrentVersionCode: 49 diff --git a/tests/metadata/com.politedroid.txt b/tests/metadata/com.politedroid.txt deleted file mode 100644 index 135e5e8d..00000000 --- a/tests/metadata/com.politedroid.txt +++ /dev/null @@ -1,40 +0,0 @@ -Categories:Time -License:GPL-3.0-only -Web Site: -Source Code:https://github.com/miguelvps/PoliteDroid -Issue Tracker:https://github.com/miguelvps/PoliteDroid/issues - -Auto Name:Polite Droid -Summary:Calendar tool -Description: -Activates silent mode during calendar events. -. - -Repo Type:git -Repo:https://github.com/miguelvps/PoliteDroid.git - -Build:1.2,3 - commit=6a548e4b19 - target=android-10 - antifeatures=KnownVuln,UpstreamNonFree,NonFreeAssets - -Build:1.3,4 - commit=ad865b57bf3ac59580f38485608a9b1dda4fa7dc - target=android-15 - -Build:1.4,5 - commit=456bd615f3fbe6dff06433928cf7ea20073601fb - target=android-10 - -Build:1.5,6 - commit=v1.5 - sudo=echo 'this is just a test' - gradle=yes - -Archive Policy:4 versions -Auto Update Mode:Version v%v -Update Check Mode:Tags -Current Version:1.5 -Current Version Code:6 - -No Source Since:1.5 diff --git a/tests/metadata/com.politedroid.yml b/tests/metadata/com.politedroid.yml new file mode 100644 index 00000000..c138b6c8 --- /dev/null +++ b/tests/metadata/com.politedroid.yml @@ -0,0 +1,47 @@ +Categories: + - Time +License: GPL-3.0-only +SourceCode: https://github.com/miguelvps/PoliteDroid +IssueTracker: https://github.com/miguelvps/PoliteDroid/issues + +AutoName: Polite Droid +Summary: Calendar tool +Description: Activates silent mode during calendar events. + +RepoType: git +Repo: https://github.com/miguelvps/PoliteDroid.git + +Builds: + - versionName: '1.2' + versionCode: 3 + commit: 6a548e4b19 + target: android-10 + antifeatures: + - KnownVuln + - UpstreamNonFree + - NonFreeAssets + + - versionName: '1.3' + versionCode: 4 + commit: ad865b57bf3ac59580f38485608a9b1dda4fa7dc + target: android-15 + + - versionName: '1.4' + versionCode: 5 + commit: 456bd615f3fbe6dff06433928cf7ea20073601fb + target: android-10 + + - versionName: '1.5' + versionCode: 6 + commit: v1.5 + sudo: echo 'this is just a test' + gradle: + - yes + +ArchivePolicy: 4 versions +AutoUpdateMode: Version v%v +UpdateCheckMode: Tags +CurrentVersion: '1.5' +CurrentVersionCode: 6 + +NoSourceSince: '1.5' diff --git a/tests/metadata/dump/com.politedroid.yaml b/tests/metadata/dump/com.politedroid.yaml index 5d80e30e..48b4ac44 100644 --- a/tests/metadata/dump/com.politedroid.yaml +++ b/tests/metadata/dump/com.politedroid.yaml @@ -182,4 +182,4 @@ builds: comments: {} id: com.politedroid lastUpdated: null -metadatapath: metadata/com.politedroid.txt +metadatapath: metadata/com.politedroid.yml diff --git a/tests/metadata/dump/org.adaway.yaml b/tests/metadata/dump/org.adaway.yaml index 6412aaa3..00e59bd2 100644 --- a/tests/metadata/dump/org.adaway.yaml +++ b/tests/metadata/dump/org.adaway.yaml @@ -47,10 +47,10 @@ MaintainerNotes: '' Name: null NoSourceSince: '' OpenCollective: null -Provides: org.sufficientlysecure.adaway +Provides: null Repo: https://github.com/dschuermann/ad-away.git RepoType: git -RequiresRoot: true +RequiresRoot: false SourceCode: https://github.com/dschuermann/ad-away Summary: Block advertisements Translation: https://www.transifex.com/dominikschuermann/adaway @@ -1085,11 +1085,7 @@ builds: timeout: null versionCode: '52' versionName: '3.0' -comments: - build:40: - - '#RootCommands srclib needs changing on fdroidserver' - build:42: - - '#RootCommands srclib needs changing on fdroidserver' +comments: {} id: org.adaway lastUpdated: null -metadatapath: metadata/org.adaway.json +metadatapath: metadata/org.adaway.yml diff --git a/tests/metadata/dump/org.smssecure.smssecure.yaml b/tests/metadata/dump/org.smssecure.smssecure.yaml index 688e7d26..5fc47857 100644 --- a/tests/metadata/dump/org.smssecure.smssecure.yaml +++ b/tests/metadata/dump/org.smssecure.smssecure.yaml @@ -364,4 +364,4 @@ builds: comments: {} id: org.smssecure.smssecure lastUpdated: null -metadatapath: metadata/org.smssecure.smssecure.txt +metadatapath: metadata/org.smssecure.smssecure.yml diff --git a/tests/metadata/fake.ota.update.txt b/tests/metadata/fake.ota.update.txt deleted file mode 100644 index 165da014..00000000 --- a/tests/metadata/fake.ota.update.txt +++ /dev/null @@ -1,42 +0,0 @@ -Categories:System -License:Apache-2.0 -Web Site:https://f-droid.org -Source Code:https://gitlab.com/fdroid/privileged-extension -Issue Tracker:https://gitlab.com/fdroid/privileged-extension/issues -Donate:https://f-droid.org/about - -Auto Name:Fake OTA Update -Summary:Tests whether OTA ZIP files are being include -Description: -F-Droid can make use of system privileges or permissions to -install, update and remove applications on its own. The only way to obtain those -privileges is to become a system app. - -This is where the Privileged Extension comes in - being a separate app and much -smaller, it can be installed as a system app and communicate with the main app -via AIDL IPC. - -This has several advantages: - -* Reduced disk usage in the system partition -* System updates don't remove F-Droid -* The process of installing into system via root is safer - -This is packaged as an OTA (Over-The-Air) update ZIP file. It must be installed -using TWRP or other Android recovery that can flash updates to the system from -the /data/data/org.fdroid.fdroid folder on the /data partition. The standalone -APK is called F-Droid Privileged Extension. -. - -Repo Type:git -Repo:https://gitlab.com/fdroid/privileged-extension.git - -Build:0.2.1,2000 - commit=0.2.1 - output=app/build/distributions/FDroidPrivilegedExtensionFromBinaries-$$VERSION$$.zip - build=gradle assembleUpdateZipFromBinariesDebug - -Auto Update Mode:Version %v -Update Check Mode:Tags -Current Version:0.2.1 -Current Version Code:2000 diff --git a/tests/metadata/fake.ota.update.yml b/tests/metadata/fake.ota.update.yml new file mode 100644 index 00000000..dc8b6b9c --- /dev/null +++ b/tests/metadata/fake.ota.update.yml @@ -0,0 +1,44 @@ +Categories: + - System +License: Apache-2.0 +WebSite: https://f-droid.org +SourceCode: https://gitlab.com/fdroid/privileged-extension +IssueTracker: https://gitlab.com/fdroid/privileged-extension/issues +Donate: https://f-droid.org/about + +AutoName: Fake OTA Update +Summary: Tests whether OTA ZIP files are being include +Description: |- + F-Droid can make use of system privileges or permissions to + install, update and remove applications on its own. The only way to obtain those + privileges is to become a system app. + + This is where the Privileged Extension comes in - being a separate app and much + smaller, it can be installed as a system app and communicate with the main app + via AIDL IPC. + + This has several advantages: + + * Reduced disk usage in the system partition + * System updates don't remove F-Droid + * The process of installing into system via root is safer + + This is packaged as an OTA (Over-The-Air) update ZIP file. It must be installed + using TWRP or other Android recovery that can flash updates to the system from + the /data/data/org.fdroid.fdroid folder on the /data partition. The standalone + APK is called F-Droid Privileged Extension. + +RepoType: git +Repo: https://gitlab.com/fdroid/privileged-extension.git + +Builds: + - versionName: 0.2.1 + versionCode: 2000 + commit: 0.2.1 + output: app/build/distributions/FDroidPrivilegedExtensionFromBinaries-$$VERSION$$.zip + build: gradle assembleUpdateZipFromBinariesDebug + +AutoUpdateMode: Version %v +UpdateCheckMode: Tags +CurrentVersion: 0.2.1 +CurrentVersionCode: 2000 diff --git a/tests/metadata/info.guardianproject.checkey.txt b/tests/metadata/info.guardianproject.checkey.txt deleted file mode 100644 index c6d7557c..00000000 --- a/tests/metadata/info.guardianproject.checkey.txt +++ /dev/null @@ -1,12 +0,0 @@ -Categories:Development,GuardianProject -License:GPL-3.0-only -Web Site:https://dev.guardianproject.info/projects/checkey -Source Code:https://github.com/guardianproject/checkey -Issue Tracker:https://dev.guardianproject.info/projects/checkey/issues -Translation:https://www.transifex.com/otf/checkey -Bitcoin:1Fi5xUHiAPRKxHvyUGVFGt9extBe8Srdbk - -Auto Name:Checkey - - -Current Version Code:9999999 diff --git a/tests/metadata/info.guardianproject.checkey.yml b/tests/metadata/info.guardianproject.checkey.yml new file mode 100644 index 00000000..2a0119c4 --- /dev/null +++ b/tests/metadata/info.guardianproject.checkey.yml @@ -0,0 +1,15 @@ +Categories: + - Development + - GuardianProject +License: GPL-3.0-only +WebSite: https://dev.guardianproject.info/projects/checkey +SourceCode: https://github.com/guardianproject/checkey +IssueTracker: https://dev.guardianproject.info/projects/checkey/issues +Translation: https://www.transifex.com/otf/checkey +Bitcoin: 1Fi5xUHiAPRKxHvyUGVFGt9extBe8Srdbk + +AutoName: Checkey + +AutoUpdateMode: None +UpdateCheckMode: None +CurrentVersionCode: 9999999 diff --git a/tests/metadata/obb.main.oldversion.txt b/tests/metadata/obb.main.oldversion.txt deleted file mode 100644 index 0a4e4956..00000000 --- a/tests/metadata/obb.main.oldversion.txt +++ /dev/null @@ -1,12 +0,0 @@ -Categories:Development -License:GPL-3.0-only -Source Code:https://github.com/eighthave/urzip -Bitcoin:1Fi5xUHiAPRKxHvyUGVFGt9extBe8Srdbk - -Auto Name:OBB Main Old Version - -Repo Type:git -Repo:https://github.com/eighthave/urzip.git - - -Current Version Code:99999999 diff --git a/tests/metadata/obb.main.oldversion.yml b/tests/metadata/obb.main.oldversion.yml new file mode 100644 index 00000000..1d18e69c --- /dev/null +++ b/tests/metadata/obb.main.oldversion.yml @@ -0,0 +1,14 @@ +Categories: + - Development +License: GPL-3.0-only +SourceCode: https://github.com/eighthave/urzip +Bitcoin: 1Fi5xUHiAPRKxHvyUGVFGt9extBe8Srdbk + +AutoName: OBB Main Old Version + +RepoType: git +Repo: https://github.com/eighthave/urzip.git + +AutoUpdateMode: None +UpdateCheckMode: None +CurrentVersionCode: 99999999 diff --git a/tests/metadata/obb.main.twoversions.txt b/tests/metadata/obb.main.twoversions.txt deleted file mode 100644 index 69fb5909..00000000 --- a/tests/metadata/obb.main.twoversions.txt +++ /dev/null @@ -1,12 +0,0 @@ -Categories:Development -License:GPL-3.0-only -Source Code:https://github.com/eighthave/urzip -Bitcoin:1Fi5xUHiAPRKxHvyUGVFGt9extBe8Srdbk - -Auto Name:OBB Two Versions - -Repo Type:git -Repo:https://github.com/eighthave/urzip.git - - -Current Version Code:99999999 diff --git a/tests/metadata/obb.main.twoversions.yml b/tests/metadata/obb.main.twoversions.yml new file mode 100644 index 00000000..69ca50d1 --- /dev/null +++ b/tests/metadata/obb.main.twoversions.yml @@ -0,0 +1,14 @@ +Categories: + - Development +License: GPL-3.0-only +SourceCode: https://github.com/eighthave/urzip +Bitcoin: 1Fi5xUHiAPRKxHvyUGVFGt9extBe8Srdbk + +AutoName: OBB Two Versions + +RepoType: git +Repo: https://github.com/eighthave/urzip.git + +AutoUpdateMode: None +UpdateCheckMode: None +CurrentVersionCode: 99999999 diff --git a/tests/metadata/obb.mainpatch.current.txt b/tests/metadata/obb.mainpatch.current.txt deleted file mode 100644 index 7cc4ae64..00000000 --- a/tests/metadata/obb.mainpatch.current.txt +++ /dev/null @@ -1,12 +0,0 @@ -Categories:Development -License:GPL-3.0-only -Source Code:https://github.com/eighthave/urzip -Bitcoin:1Fi5xUHiAPRKxHvyUGVFGt9extBe8Srdbk - -Auto Name:OBB Main+Patch Current Version - -Repo Type:git -Repo:https://github.com/eighthave/urzip.git - - -Current Version Code:99999999 diff --git a/tests/metadata/obb.mainpatch.current.yml b/tests/metadata/obb.mainpatch.current.yml new file mode 100644 index 00000000..865f34c6 --- /dev/null +++ b/tests/metadata/obb.mainpatch.current.yml @@ -0,0 +1,14 @@ +Categories: + - Development +License: GPL-3.0-only +SourceCode: https://github.com/eighthave/urzip +Bitcoin: 1Fi5xUHiAPRKxHvyUGVFGt9extBe8Srdbk + +AutoName: OBB Main+Patch Current Version + +RepoType: git +Repo: https://github.com/eighthave/urzip.git + +AutoUpdateMode: None +UpdateCheckMode: None +CurrentVersionCode: 99999999 diff --git a/tests/metadata/org.adaway.json b/tests/metadata/org.adaway.json deleted file mode 100644 index df71f112..00000000 --- a/tests/metadata/org.adaway.json +++ /dev/null @@ -1,285 +0,0 @@ -{ - "AutoName": "AdAway", - "AutoUpdateMode": "Version v%v", - "Categories": ["System", "Security"], - "CurrentVersion": "3.0", - "CurrentVersionCode": 52, - "Description": [ - "An ad blocker that uses the hosts file. The hosts file", - "contains a list of mappings between hostnames and IP addresses. When", - "an app requests an ad, that request is directed to 127.0.0.1 which does", - "nothing. There are options to run a web server", - "to respond to blocked hostnames and to direct requests to the IP", - "address of your choosing. You can download hosts files from the", - "app but it is possible to use your own and to add certain sites", - "to the white- and black-lists.", - "", - "[https://github.com/dschuermann/ad-away/raw/HEAD/CHANGELOG Changelog]", - "", - "Requires root: Yes. The hosts files is located in /system which is normally", - "read-only." - ], - "Donate": "http://sufficientlysecure.org/index.php/adaway", - "FlattrID": "369138", - "IssueTracker": "https://github.com/dschuermann/ad-away/issues", - "License": "GPL-3.0-only", - "Provides": "org.sufficientlysecure.adaway", - "Repo": "https://github.com/dschuermann/ad-away.git", - "RepoType": "git", - "RequiresRoot": true, - "SourceCode": "https://github.com/dschuermann/ad-away", - "Summary": "Block advertisements", - "Translation": "https://www.transifex.com/dominikschuermann/adaway", - "UpdateCheckMode": "Tags", - "WebSite": "http://sufficientlysecure.org/index.php/adaway", - - "builds": [ - { - "buildjni": true, - "commit": "ea5378a94ee0dc1d99d2cec95fae7e6d81afb2b9", - "subdir": "org_adaway/", - "versionCode": 13, - "versionName": "1.12" - }, - { - "buildjni": true, - "commit": "4128e59da2eac5c2904c7c7568d298ca51e79540", - "patch": ["defprop.patch"], - "subdir": "org_adaway/", - "versionCode": 16, - "versionName": "1.15" - }, - { - "buildjni": true, - "commit": "0b9985398b9eef7baf6aadd0dbb12002bc199d2e", - "patch": ["defprop.patch"], - "subdir": "org_adaway/", - "versionCode": 19, - "versionName": "1.18" - }, - { - "buildjni": true, - "commit": "ab27f4dab5f3ea5e228cfb4a6b0e1fbf53695f22", - "patch": ["defprop.patch"], - "subdir": "org_adaway/", - "versionCode": 20, - "versionName": "1.19" - }, - { - "buildjni": true, - "commit": "695e3801e4081026c8f7213a2345fc451d5eb89c", - "patch": ["defprop.patch"], - "subdir": "org_adaway/", - "versionCode": 21, - "versionName": "1.20" - }, - { - "buildjni": true, - "commit": "65138c11cc8b6affd28b68e125fbc1dff0886a4e", - "patch": ["defprop.patch"], - "subdir": "org_adaway/", - "versionCode": 22, - "versionName": "1.21" - }, - { - "commit": "unknown - see disabled", - "disable": "no source in repo", - "versionCode": 24, - "versionName": "1.23" - }, - { - "buildjni": true, - "commit": "f811e53e1e1d2ee047b18715fd7d2072b90ae76b", - "prebuild": "android update project -p ../com_actionbarsherlock", - "subdir": "org_adaway/", - "versionCode": 25, - "versionName": "1.24" - }, - { - "buildjni": true, - "commit": "ff97932761cdee68638dc2550751a64b2cbe18e7", - "prebuild": "android update project -p ../com_actionbarsherlock", - "subdir": "org_adaway/", - "versionCode": 26, - "versionName": "1.25" - }, - { - "buildjni": true, - "commit": "33d4d80998f30bafc88c04c80cbae00b03916f99", - "prebuild": "android update project -p ../com_actionbarsherlock", - "subdir": "org_adaway/", - "versionCode": 27, - "versionName": "1.26" - }, - { - "buildjni": true, - "commit": "743d25a7e287505461f33f4b8e57e4cf988fffea", - "prebuild": "android update project -p ../com_actionbarsherlock", - "subdir": "org_adaway/", - "versionCode": 28, - "versionName": "1.27" - }, - { - "buildjni": true, - "commit": "eaa07f4", - "prebuild": "android update project -p ../com_actionbarsherlock && rm -rf libs/armeabi/*", - "subdir": "org_adaway/", - "versionCode": 30, - "versionName": "1.29" - }, - { - "buildjni": false, - "commit": "71ced3f", - "prebuild": "android update project -p ../com_actionbarsherlock && rm -rf libs/armeabi/* && rm libs/android-support-v4.jar", - "subdir": "org_adaway/", - "versionCode": 33, - "versionName": "1.32" - }, - { - "buildjni": false, - "commit": "9d63c18", - "prebuild": "android update project -p ../com_actionbarsherlock && rm -rf libs/armeabi/*", - "subdir": "org_adaway/", - "versionCode": 34, - "versionName": "1.33" - }, - { - "buildjni": false, - "commit": "f2568b1", - "prebuild": "android update project -p ../com_actionbarsherlock && rm -rf libs/armeabi/* && android update project -p ../org_donations", - "subdir": "org_adaway/", - "versionCode": 35, - "versionName": "1.34" - }, - { - "buildjni": false, - "commit": "7442d5d", - "prebuild": "android update project -p ../com_actionbarsherlock && rm -rf libs/armeabi/* && android update project -p ../org_donations", - "subdir": "org_adaway/", - "versionCode": 36, - "versionName": "1.35" - }, - { - "buildjni": false, - "commit": "83fc713", - "prebuild": "android update project -p ../com_actionbarsherlock && rm -rf libs/armeabi/* && android update project -p ../org_donations", - "subdir": "org_adaway/", - "versionCode": 37, - "versionName": "1.36" - }, - { - "buildjni": false, - "commit": "70da32b567122b701cdcb1609b780eb85732028f", - "prebuild": "android update project -p ../com_actionbarsherlock && rm -rf libs/armeabi/* && android update project -p ../org_donations", - "subdir": "org_adaway/", - "versionCode": 38, - "versionName": "1.37" - }, - { - "buildjni": true, - "commit": "v2.1", - "extlibs": ["htmlcleaner/htmlcleaner-2.2.jar"], - "init": "rm android-libs/Donations/custom_rules.xml && git clone https://github.com/dschuermann/HtmlSpanner android-libs/HtmlSpanner", - "prebuild": "rm -rf ../update_zip libs/root-commands-1.2.jar libs/htmlspanner-0.2-fork.jar && cp -f libs/htmlcleaner-2.2.jar android-libs/HtmlSpanner/htmlspanner/libs/ && echo \"android.library.reference.3=$$RootCommands$$\" >> project.properties && echo \"android.library.reference.4=android-libs/HtmlSpanner/htmlspanner\" >> project.properties && find . -type f -print0 | xargs -0 sed -i 's/org.rootcommands/org.sufficientlysecure.rootcommands/g' && cp android-libs/Donations/ant-templates/other/DonationsConfig.java android-libs/Donations/src/org/donations/", - "srclibs": ["RootCommands@c940b0e503"], - "subdir": "AdAway", - "androidupdate": [".", - "android-libs/Donations", - "android-libs/ActionBarSherlock", - "android-libs/HtmlSpanner/htmlspanner"], - "versionCode": 40, - "versionName": "2.1" - }, - { - "buildjni": true, - "commit": "v2.3", - "extlibs": ["htmlcleaner/htmlcleaner-2.2.jar"], - "init": "rm android-libs/Donations/custom_rules.xml && git clone https://github.com/dschuermann/HtmlSpanner android-libs/HtmlSpanner", - "prebuild": "rm -rf ../update_zip libs/root-commands-1.2.jar libs/htmlspanner-0.2-fork.jar && cp -f libs/htmlcleaner-2.2.jar android-libs/HtmlSpanner/htmlspanner/libs/ && echo \"android.library.reference.3=$$RootCommands$$\" >> project.properties && echo \"android.library.reference.4=android-libs/HtmlSpanner/htmlspanner\" >> project.properties && find . -type f -print0 | xargs -0 sed -i 's/org.rootcommands/org.sufficientlysecure.rootcommands/g' && cp android-libs/Donations/ant-templates/other/DonationsConfig.java android-libs/Donations/src/org/donations/", - "srclibs": ["RootCommands@c940b0e503"], - "subdir": "AdAway", - "androidupdate": [".", - "android-libs/Donations", - "android-libs/ActionBarSherlock", - "android-libs/HtmlSpanner/htmlspanner"], - "versionCode": 42, - "versionName": "2.3" - }, - { - "buildjni": true, - "commit": "v2.6", - "gradle": true, - "preassemble": ["renameExecutables"], - "subdir": "AdAway", - "versionCode": 45, - "versionName": "2.6" - }, - { - "buildjni": true, - "commit": "v2.7", - "gradle": true, - "preassemble": ["renameExecutables"], - "subdir": "AdAway", - "versionCode": 46, - "versionName": "2.7" - }, - { - "buildjni": true, - "commit": "v2.8", - "gradle": true, - "preassemble": ["renameExecutables"], - "subdir": "AdAway", - "versionCode": 47, - "versionName": "2.8" - }, - { - "buildjni": true, - "commit": "v2.8.1", - "gradle": true, - "preassemble": ["renameExecutables"], - "subdir": "AdAway", - "versionCode": 48, - "versionName": "2.8.1" - }, - { - "buildjni": true, - "commit": "v2.9", - "gradle": true, - "preassemble": ["renameExecutables"], - "subdir": "AdAway", - "versionCode": 49, - "versionName": "2.9" - }, - { - "buildjni": true, - "commit": "v2.9.1", - "gradle": true, - "preassemble": ["renameExecutables"], - "subdir": "AdAway", - "versionCode": 50, - "versionName": "2.9.1" - }, - { - "buildjni": true, - "commit": "v2.9.2", - "gradle": true, - "preassemble": ["renameExecutables"], - "subdir": "AdAway", - "versionCode": 51, - "versionName": "2.9.2" - }, - { - "buildjni": true, - "commit": "v3.0", - "gradle": true, - "preassemble": ["renameExecutables"], - "subdir": "AdAway", - "versionCode": 52, - "versionName": "3.0" - } - ], - "comments": { - "build:40": ["#RootCommands srclib needs changing on fdroidserver"], - "build:42": ["#RootCommands srclib needs changing on fdroidserver"] - } -} diff --git a/tests/metadata/org.adaway.yml b/tests/metadata/org.adaway.yml new file mode 100644 index 00000000..41bdb083 --- /dev/null +++ b/tests/metadata/org.adaway.yml @@ -0,0 +1,330 @@ +Categories: + - System + - Security +License: GPL-3.0-only +WebSite: http://sufficientlysecure.org/index.php/adaway +SourceCode: https://github.com/dschuermann/ad-away +IssueTracker: https://github.com/dschuermann/ad-away/issues +Translation: https://www.transifex.com/dominikschuermann/adaway +Donate: http://sufficientlysecure.org/index.php/adaway +FlattrID: '369138' + +AutoName: AdAway +Summary: Block advertisements +Description: |- + An ad blocker that uses the hosts file. The hosts file + contains a list of mappings between hostnames and IP addresses. When + an app requests an ad, that request is directed to 127.0.0.1 which does + nothing. There are options to run a web server + to respond to blocked hostnames and to direct requests to the IP + address of your choosing. You can download hosts files from the + app but it is possible to use your own and to add certain sites + to the white- and black-lists. + + [https://github.com/dschuermann/ad-away/raw/HEAD/CHANGELOG Changelog] + + Requires root: Yes. The hosts files is located in /system which is normally + read-only. + +RepoType: git +Repo: https://github.com/dschuermann/ad-away.git + +Builds: + - versionName: '1.12' + versionCode: 13 + commit: ea5378a94ee0dc1d99d2cec95fae7e6d81afb2b9 + subdir: org_adaway/ + buildjni: + - yes + + - versionName: '1.15' + versionCode: 16 + commit: 4128e59da2eac5c2904c7c7568d298ca51e79540 + subdir: org_adaway/ + patch: + - defprop.patch + buildjni: + - yes + + - versionName: '1.18' + versionCode: 19 + commit: 0b9985398b9eef7baf6aadd0dbb12002bc199d2e + subdir: org_adaway/ + patch: + - defprop.patch + buildjni: + - yes + + - versionName: '1.19' + versionCode: 20 + commit: ab27f4dab5f3ea5e228cfb4a6b0e1fbf53695f22 + subdir: org_adaway/ + patch: + - defprop.patch + buildjni: + - yes + + - versionName: '1.20' + versionCode: 21 + commit: 695e3801e4081026c8f7213a2345fc451d5eb89c + subdir: org_adaway/ + patch: + - defprop.patch + buildjni: + - yes + + - versionName: '1.21' + versionCode: 22 + commit: 65138c11cc8b6affd28b68e125fbc1dff0886a4e + subdir: org_adaway/ + patch: + - defprop.patch + buildjni: + - yes + + - versionName: '1.23' + versionCode: 24 + disable: no source in repo + commit: unknown - see disabled + + - versionName: '1.24' + versionCode: 25 + commit: f811e53e1e1d2ee047b18715fd7d2072b90ae76b + subdir: org_adaway/ + prebuild: android update project -p ../com_actionbarsherlock + buildjni: + - yes + + - versionName: '1.25' + versionCode: 26 + commit: ff97932761cdee68638dc2550751a64b2cbe18e7 + subdir: org_adaway/ + prebuild: android update project -p ../com_actionbarsherlock + buildjni: + - yes + + - versionName: '1.26' + versionCode: 27 + commit: 33d4d80998f30bafc88c04c80cbae00b03916f99 + subdir: org_adaway/ + prebuild: android update project -p ../com_actionbarsherlock + buildjni: + - yes + + - versionName: '1.27' + versionCode: 28 + commit: 743d25a7e287505461f33f4b8e57e4cf988fffea + subdir: org_adaway/ + prebuild: android update project -p ../com_actionbarsherlock + buildjni: + - yes + + - versionName: '1.29' + versionCode: 30 + commit: eaa07f4 + subdir: org_adaway/ + prebuild: + - android update project -p ../com_actionbarsherlock + - rm -rf libs/armeabi/* + buildjni: + - yes + + - versionName: '1.32' + versionCode: 33 + commit: 71ced3f + subdir: org_adaway/ + prebuild: + - android update project -p ../com_actionbarsherlock + - rm -rf libs/armeabi/* + - rm libs/android-support-v4.jar + + - versionName: '1.33' + versionCode: 34 + commit: 9d63c18 + subdir: org_adaway/ + prebuild: + - android update project -p ../com_actionbarsherlock + - rm -rf libs/armeabi/* + + - versionName: '1.34' + versionCode: 35 + commit: f2568b1 + subdir: org_adaway/ + prebuild: + - android update project -p ../com_actionbarsherlock + - rm -rf libs/armeabi/* + - android update project -p ../org_donations + + - versionName: '1.35' + versionCode: 36 + commit: 7442d5d + subdir: org_adaway/ + prebuild: + - android update project -p ../com_actionbarsherlock + - rm -rf libs/armeabi/* + - android update project -p ../org_donations + + - versionName: '1.36' + versionCode: 37 + commit: 83fc713 + subdir: org_adaway/ + prebuild: + - android update project -p ../com_actionbarsherlock + - rm -rf libs/armeabi/* + - android update project -p ../org_donations + + - versionName: '1.37' + versionCode: 38 + commit: 70da32b567122b701cdcb1609b780eb85732028f + subdir: org_adaway/ + prebuild: + - android update project -p ../com_actionbarsherlock + - rm -rf libs/armeabi/* + - android update project -p ../org_donations + + - versionName: '2.1' + versionCode: 40 + commit: v2.1 + subdir: AdAway + init: + - rm android-libs/Donations/custom_rules.xml + - git clone https://github.com/dschuermann/HtmlSpanner android-libs/HtmlSpanner + srclibs: + - RootCommands@c940b0e503 + extlibs: + - htmlcleaner/htmlcleaner-2.2.jar + prebuild: + - rm -rf ../update_zip libs/root-commands-1.2.jar libs/htmlspanner-0.2-fork.jar + - cp -f libs/htmlcleaner-2.2.jar android-libs/HtmlSpanner/htmlspanner/libs/ + - echo "android.library.reference.3=$$RootCommands$$" >> project.properties + - echo "android.library.reference.4=android-libs/HtmlSpanner/htmlspanner" >> + project.properties + - find . -type f -print0 | xargs -0 sed -i 's/org.rootcommands/org.sufficientlysecure.rootcommands/g' + - cp android-libs/Donations/ant-templates/other/DonationsConfig.java android-libs/Donations/src/org/donations/ + androidupdate: + - . + - android-libs/Donations + - android-libs/ActionBarSherlock + - android-libs/HtmlSpanner/htmlspanner + buildjni: + - yes + + - versionName: '2.3' + versionCode: 42 + commit: v2.3 + subdir: AdAway + init: + - rm android-libs/Donations/custom_rules.xml + - git clone https://github.com/dschuermann/HtmlSpanner android-libs/HtmlSpanner + srclibs: + - RootCommands@c940b0e503 + extlibs: + - htmlcleaner/htmlcleaner-2.2.jar + prebuild: + - rm -rf ../update_zip libs/root-commands-1.2.jar libs/htmlspanner-0.2-fork.jar + - cp -f libs/htmlcleaner-2.2.jar android-libs/HtmlSpanner/htmlspanner/libs/ + - echo "android.library.reference.3=$$RootCommands$$" >> project.properties + - echo "android.library.reference.4=android-libs/HtmlSpanner/htmlspanner" >> + project.properties + - find . -type f -print0 | xargs -0 sed -i 's/org.rootcommands/org.sufficientlysecure.rootcommands/g' + - cp android-libs/Donations/ant-templates/other/DonationsConfig.java android-libs/Donations/src/org/donations/ + androidupdate: + - . + - android-libs/Donations + - android-libs/ActionBarSherlock + - android-libs/HtmlSpanner/htmlspanner + buildjni: + - yes + + - versionName: '2.6' + versionCode: 45 + commit: v2.6 + subdir: AdAway + gradle: + - yes + buildjni: + - yes + preassemble: + - renameExecutables + + - versionName: '2.7' + versionCode: 46 + commit: v2.7 + subdir: AdAway + gradle: + - yes + buildjni: + - yes + preassemble: + - renameExecutables + + - versionName: '2.8' + versionCode: 47 + commit: v2.8 + subdir: AdAway + gradle: + - yes + buildjni: + - yes + preassemble: + - renameExecutables + + - versionName: 2.8.1 + versionCode: 48 + commit: v2.8.1 + subdir: AdAway + gradle: + - yes + buildjni: + - yes + preassemble: + - renameExecutables + + - versionName: '2.9' + versionCode: 49 + commit: v2.9 + subdir: AdAway + gradle: + - yes + buildjni: + - yes + preassemble: + - renameExecutables + + - versionName: 2.9.1 + versionCode: 50 + commit: v2.9.1 + subdir: AdAway + gradle: + - yes + buildjni: + - yes + preassemble: + - renameExecutables + + - versionName: 2.9.2 + versionCode: 51 + commit: v2.9.2 + subdir: AdAway + gradle: + - yes + buildjni: + - yes + preassemble: + - renameExecutables + + - versionName: '3.0' + versionCode: 52 + commit: v3.0 + subdir: AdAway + gradle: + - yes + buildjni: + - yes + preassemble: + - renameExecutables + +AutoUpdateMode: Version v%v +UpdateCheckMode: Tags +CurrentVersion: '3.0' +CurrentVersionCode: 52 diff --git a/tests/metadata/org.fdroid.ci.test.app.txt b/tests/metadata/org.fdroid.ci.test.app.txt deleted file mode 100644 index 466b7af6..00000000 --- a/tests/metadata/org.fdroid.ci.test.app.txt +++ /dev/null @@ -1,2 +0,0 @@ -Repo Type:git -Repo:https://gitlab.com/eighthave/ci-test-app diff --git a/tests/metadata/org.fdroid.ci.test.app.yml b/tests/metadata/org.fdroid.ci.test.app.yml new file mode 100644 index 00000000..09c63ce0 --- /dev/null +++ b/tests/metadata/org.fdroid.ci.test.app.yml @@ -0,0 +1,7 @@ +License: Unknown + +RepoType: git +Repo: https://gitlab.com/eighthave/ci-test-app + +AutoUpdateMode: None +UpdateCheckMode: None diff --git a/tests/metadata/org.fdroid.fdroid.txt b/tests/metadata/org.fdroid.fdroid.txt deleted file mode 100644 index f5a5e199..00000000 --- a/tests/metadata/org.fdroid.fdroid.txt +++ /dev/null @@ -1,721 +0,0 @@ -Categories:System -License:GPL-3.0-or-later -Web Site:https://f-droid.org -Source Code:https://gitlab.com/fdroid/fdroidclient -Issue Tracker:https://gitlab.com/fdroid/fdroidclient/issues -Translation:https://hosted.weblate.org/projects/f-droid/f-droid -Changelog:https://gitlab.com/fdroid/fdroidclient/raw/HEAD/CHANGELOG.md -Donate:https://f-droid.org/about -FlattrID:343053 -Bitcoin:15u8aAPK4jJ5N8wpWJ5gutAyyeHtKX5i18 - -Auto Name:F-Droid -Summary:Application manager -Description: -Connects to F-Droid compatible repositories. The default repo is hosted at -f-droid.org, which contains only bona fide FOSS. - -Android is open in the sense that you are free to install apks from anywhere you -wish, but there are many good reasons for using a client/repository setup: - -* Be notified when updates are available -* Keep track of older and beta versions -* Filter apps that aren't compatible with the device -* Find apps via categories and searchable descriptions -* Access associated urls for donations, source code etc. -* Stay safe by checking repo index signatures and apk hashes -. - -Repo Type:srclib -Repo:fdroidclient - -Build:0.17,8 - commit=c626ce5f6d3e10ae15942f01ff028be310cc695a - init=rm -f build.xml - -Build:0.18,9 - commit=a6c9ed8d06b19315df9ba9041324f78139f7d238 - init=rm -f build.xml - -Build:0.19,10 - commit=540b7d0522f4d67a4896697f7342e4c75b4cbf59 - init=rm -f build.xml - -Build:0.20,11 - commit=ddacfb856ad66c1c367e20c9cbecbfb15fe00813 - init=rm -f build.xml - -Build:0.21,12 - commit=49fa56aa6626a190f2d711120b69e435e9e615b1 - init=rm -f build.xml - -Build:0.22,13 - commit=a6a33c942495cc4c74a7cb6e968efe0e00815e68 - init=rm -f build.xml - -Build:0.23,14 - commit=aa58a8aad1a1c3832eafb9f1bdd6db8292d2c172 - init=rm -f build.xml - -Build:0.24,15 - commit=9b5fe2976443255b95027abd412f1c1e7f3d27b2 - init=rm -f build.xml - -Build:0.25,16 - commit=43977cc493e47a4dc841c4192ae8a40fb14b639b - init=rm -f build.xml - -Build:0.28,19 - commit=f881aabe5bd0ac94771b03f1318a6e0972ab4128 - target=android-15 - -Build:0.29,20 - commit=87b229b95d0909bfd05c65c5670794e743626f6c - target=android-15 - -Build:0.30,21 - commit=497cb19840f79b31ae9590f5abd9e4df832b34ee - target=android-15 - -Build:0.31,22 - commit=f99f8a544c7cb4d4a48ad09da00ad281af05f2ac - target=android-15 - -Build:0.32,23 - commit=cc3970cc243e345416bfc62781ece6eeefd11495 - target=android-15 - -Build:0.33,24 - commit=58eb580159aa4d54767f0af1736cad233fec2475 - target=android-15 - -Build:0.34-test,25 - commit=335d27b725b0f92e9e8804ae09518cd47bc7b021 - target=android-15 - -Build:0.35-test,26 - commit=a06d18b029392669e98359f86c07e442a04e6a13 - target=android-15 - -Build:0.36-test,27 - commit=647e230c9e888c04bb0554078c5aa81da63548a0 - target=android-15 - -Build:0.37-test,28 - commit=3c02e3ccc147a34af42cedf7d85f18dc75c8efa8 - target=android-15 - -Build:0.38,38 - commit=99b52c988d203811f434d6ac40675a63d5ae41ab - target=android-15 - -Build:0.39-test,39 - commit=9a7d0b9f10710105d51d8206a7faa4408c60c20d - target=android-15 - -Build:0.40,40 - commit=51a67efdf1ee2819bee99d9263b2980dafaf761d - target=android-15 - -Build:0.42,42 - commit=36b815095ef51ca4f21887d973dbc0a50575cd65 - target=android-15 - -Build:0.43,43 - disable=sdk doesn't like tzm (at f2109e4e0bf1597c625221d8d2d10050f146ba5a) - commit=f2109e4e0bf1597c625221d8d2d10050f146ba5a - target=android-15 - -Build:0.44,44 - disable=nasty upgrade bug - commit=0.44 - target=android-15 - -Build:0.45,45 - commit=0.45 - target=android-15 - -Build:0.46,46 - commit=0.46 - target=android-15 - -Build:0.47-test,47 - commit=0.47-test - target=android-17 - -Build:0.48-test,48 - commit=0.48-test - target=android-17 - -Build:0.50,50 - commit=0.50 - -Build:0.51-test,51 - commit=0.51-test - -Build:0.52-test,52 - commit=0.52-test - submodules=yes - prebuild=rm -rf extern/Universal-Image-Loader/downloads - update=.,extern/Universal-Image-Loader/library - -Build:0.53-test,53 - commit=0.53-test - submodules=yes - scandelete=yes - -Build:0.54,540 - commit=0.54 - submodules=yes - scandelete=yes - -Build:0.55,550 - commit=0.55 - submodules=yes - -Build:0.56-test,560 - commit=0.56-test - submodules=yes - -Build:0.57-test,570 - commit=0.57-test - submodules=yes - -Build:0.58,580 - commit=0.58 - submodules=yes - -Build:0.59-test,590 - commit=0.59-test - submodules=yes - -Build:0.61-test,610 - commit=0.61-test - submodules=yes - -Build:0.62,620 - commit=0.62 - submodules=yes - -Build:0.63,630 - commit=0.63 - submodules=yes - -Build:0.64-test,640 - commit=0.64-test - submodules=yes - -Build:0.65,650 - commit=0.65 - submodules=yes - -Build:0.66,660 - commit=0.66 - submodules=yes - -Build:0.67-test,670 - commit=0.67-test - submodules=yes - -Build:0.68-test,680 - commit=0.68-test - submodules=yes - -Build:0.69-test,690 - commit=0.69-test - submodules=yes - -Build:0.70-test,700 - commit=0.70-test - submodules=yes - prebuild=./ant-prepare.sh - update=. - -Build:0.71,710 - disable=Broken MTM/AndroidPinning - commit=0.71 - submodules=yes - prebuild=./ant-prepare.sh - update=. - -Build:0.72,720 - disable=proguard issues - commit=0.72 - submodules=yes - prebuild=./ant-prepare.sh - update=. - -Build:0.73,730 - disable=local repos broken - commit=0.73 - submodules=yes - prebuild=./ant-prepare.sh - update=. - -Build:0.74,740 - disable=still some proguard issues - commit=0.74 - submodules=yes - prebuild=./ant-prepare.sh - update=. - -Build:0.75,750 - disable=repo update progress crasher - commit=0.75 - submodules=yes - prebuild=./ant-prepare.sh - update=. - -Build:0.76,760 - commit=0.76 - submodules=yes - prebuild=./ant-prepare.sh - update=. - -Build:0.77-test,770 - commit=0.77-test - subdir=F-Droid - submodules=yes - prebuild=./ant-prepare.sh - update=. - -Build:0.78,780 - commit=0.78 - subdir=F-Droid - submodules=yes - prebuild=./ant-prepare.sh - update=. - -Build:0.79-test,790 - commit=0.79-test - subdir=F-Droid - submodules=yes - prebuild=./ant-prepare.sh - update=. - -Build:0.80-test,800 - commit=0.80-test - subdir=F-Droid - submodules=yes - prebuild=./ant-prepare.sh - update=. - -Build:0.81-test,810 - commit=0.81-test - subdir=F-Droid - submodules=yes - prebuild=./ant-prepare.sh - update=. - -Build:0.82,820 - commit=0.82 - subdir=F-Droid - submodules=yes - prebuild=./ant-prepare.sh - update=. - -Build:0.83,830 - commit=0.83 - subdir=F-Droid - submodules=yes - prebuild=./ant-prepare.sh - update=. - -Build:0.84-test,840 - commit=0.84-test - subdir=F-Droid - submodules=yes - prebuild=./ant-prepare.sh - update=. - -Build:0.85-test,850 - commit=0.85-test - subdir=F-Droid - submodules=yes - prebuild=./ant-prepare.sh - update=. - -Build:0.86-test,860 - commit=0.86-test - subdir=F-Droid - submodules=yes - prebuild=./ant-prepare.sh - update=. - -Build:0.87-test,870 - commit=0.87-test - subdir=F-Droid - submodules=yes - prebuild=./ant-prepare.sh - update=. - -Build:0.88,880 - commit=0.88 - subdir=F-Droid - submodules=yes - prebuild=./ant-prepare.sh - update=. - -Build:0.89-test,890 - commit=0.89-test - subdir=F-Droid - submodules=yes - prebuild=./ant-prepare.sh - update=. - -Build:0.90-test,900 - commit=0.90-test - subdir=F-Droid - submodules=yes - prebuild=./ant-prepare.sh - update=. - -Build:0.91,910 - commit=0.91 - subdir=F-Droid - submodules=yes - prebuild=./ant-prepare.sh - update=. - -Build:0.92,920 - commit=0.92 - subdir=F-Droid - submodules=yes - prebuild=./ant-prepare.sh - update=. - -Build:0.93-test,930 - commit=0.93-test - subdir=F-Droid - submodules=yes - prebuild=./ant-prepare.sh - update=. - -Build:0.94-test,940 - commit=0.94-test - subdir=F-Droid - submodules=yes - gradle=yes - -Build:0.95-alpha1,95001 - commit=0.95-alpha1 - subdir=F-Droid - submodules=yes - gradle=yes - -Build:0.95-alpha2,95002 - commit=v0.95-alpha2 - subdir=F-Droid - submodules=yes - gradle=yes - -Build:0.95,95050 - commit=v0.95 - subdir=F-Droid - submodules=yes - gradle=yes - -Build:0.95.1,95150 - commit=v0.95.1 - subdir=F-Droid - submodules=yes - gradle=yes - -Build:0.96-alpha1,96001 - commit=v0.96-alpha1 - subdir=F-Droid - gradle=yes - -Build:0.96-alpha2,96002 - commit=v0.96-alpha2 - subdir=F-Droid - gradle=yes - -Build:0.96-alpha3,96003 - commit=v0.96-alpha3 - subdir=F-Droid - gradle=yes - -Build:0.96-alpha4,96004 - commit=v0.96-alpha4 - subdir=F-Droid - gradle=yes - -Build:0.96-alpha5,96005 - commit=v0.96-alpha5 - subdir=F-Droid - gradle=yes - -Build:0.96-alpha6,96006 - commit=v0.96-alpha6 - subdir=F-Droid - gradle=yes - -Build:0.96,96050 - commit=v0.96 - subdir=F-Droid - gradle=yes - scanignore=extern/AndroidPinning/res/raw/cacerts - -Build:0.96.1,96150 - commit=v0.96.1 - subdir=F-Droid - gradle=yes - scanignore=extern/AndroidPinning/res/raw/cacerts - -Build:0.97-alpha1,97001 - commit=v0.97-alpha1 - subdir=F-Droid - gradle=yes - scanignore=extern/AndroidPinning/res/raw/cacerts - -Build:0.97-alpha2,97002 - commit=v0.97-alpha2 - subdir=F-Droid - gradle=yes - -Build:0.97-alpha3,97003 - commit=v0.97-alpha3 - subdir=F-Droid - gradle=yes - -Build:0.97-alpha4,97004 - commit=v0.97-alpha4 - subdir=F-Droid - gradle=yes - -Build:0.97-alpha5,97005 - commit=v0.97-alpha5 - subdir=F-Droid - gradle=yes - -Build:0.97-alpha6,97006 - commit=v0.97-alpha6 - subdir=F-Droid - gradle=yes - -Build:0.97-alpha7,97007 - commit=v0.97-alpha7 - subdir=F-Droid - gradle=yes - -Build:0.97-alpha8,97008 - commit=v0.97-alpha8 - subdir=F-Droid - gradle=yes - -Build:0.97,97050 - commit=v0.97 - subdir=F-Droid - gradle=yes - -Build:0.98-alpha1,98001 - commit=v0.98-alpha1 - subdir=F-Droid - gradle=yes - -Build:0.98-alpha2,98002 - commit=v0.98-alpha2 - subdir=F-Droid - gradle=yes - -Build:0.98-alpha3,98003 - commit=v0.98-alpha3 - subdir=F-Droid - gradle=yes - -Build:0.98-alpha4,98004 - commit=v0.98-alpha4 - subdir=F-Droid - gradle=yes - -Build:0.98-alpha5,98005 - commit=v0.98-alpha5 - subdir=F-Droid - gradle=yes - -Build:0.98-alpha6,98006 - commit=v0.98-alpha6 - subdir=F-Droid - gradle=yes - -Build:0.98-alpha7,98007 - commit=v0.98-alpha7 - subdir=F-Droid - gradle=yes - -Build:0.98,98050 - commit=v0.98 - subdir=F-Droid - gradle=yes - -Build:0.98.1,98150 - commit=v0.98.1 - subdir=F-Droid - gradle=yes - -Build:0.99-alpha1,99001 - commit=v0.99-alpha1 - subdir=F-Droid - gradle=yes - -Build:0.99-alpha2,99002 - commit=v0.99-alpha2 - subdir=F-Droid - gradle=yes - -Build:0.99,99050 - commit=v0.99 - subdir=F-Droid - gradle=yes - -Build:0.99.1,99150 - commit=v0.99.1 - subdir=F-Droid - gradle=yes - -Build:0.99.2,99250 - commit=v0.99.2 - subdir=F-Droid - gradle=yes - -Build:0.100-alpha1,100001 - commit=v0.100-alpha1 - subdir=F-Droid - gradle=yes - -Build:0.100-alpha2,100002 - commit=v0.100-alpha2 - subdir=F-Droid - gradle=yes - -Build:0.100-alpha3,100003 - commit=v0.100-alpha3 - subdir=app - gradle=yes - -Build:0.100-alpha4,100004 - commit=v0.100-alpha4 - subdir=app - gradle=yes - -Build:0.100-alpha5,100005 - commit=v0.100-alpha5 - subdir=app - gradle=yes - -Build:0.100-alpha6,100006 - commit=v0.100-alpha6 - subdir=app - gradle=yes - -Build:0.100-alpha7,100007 - commit=v0.100-alpha7 - subdir=app - gradle=yes - -Build:0.100-alpha8,100008 - commit=v0.100-alpha8 - subdir=app - gradle=yes - -Build:0.100,100050 - commit=v0.100 - subdir=app - gradle=yes - -Build:0.100.1,100150 - commit=v0.100.1 - subdir=app - gradle=yes - -Build:0.101-alpha1,101001 - commit=v0.101-alpha1 - subdir=app - gradle=yes - -Build:0.101-alpha2,101002 - commit=v0.101-alpha2 - subdir=app - gradle=yes - -Build:0.101-alpha3,101003 - commit=v0.101-alpha3 - subdir=app - gradle=yes - -Build:0.101-alpha4,101004 - commit=v0.101-alpha4 - subdir=app - gradle=yes - -Build:0.101-alpha5,101005 - commit=v0.101-alpha5 - subdir=app - gradle=yes - -Build:0.101-alpha6,101006 - commit=v0.101-alpha6 - subdir=app - gradle=yes - -Build:0.101,101050 - commit=v0.101 - subdir=app - gradle=yes - -Build:0.102-alpha1,102001 - commit=v0.102-alpha1 - subdir=app - gradle=yes - -Build:0.102-alpha2,102002 - commit=v0.102-alpha2 - subdir=app - gradle=yes - -Build:0.102-alpha3,102003 - commit=v0.102-alpha3 - subdir=app - gradle=yes - -Build:0.102,102050 - commit=v0.102 - subdir=app - gradle=yes - -Build:0.102.1,102150 - commit=v0.102.1 - subdir=app - gradle=yes - -Build:0.102.2,102250 - commit=v0.102.2 - subdir=app - gradle=yes - -Build:0.102.3,102350 - commit=v0.102.3 - subdir=app - gradle=yes - -Build:0.103-alpha1,103001 - commit=v0.103-alpha1 - subdir=app - gradle=yes - -Build:0.103-alpha2,103002 - commit=v0.103-alpha2 - subdir=app - gradle=yes - -Build:0.103-alpha3,103003 - commit=v0.103-alpha3 - subdir=app - gradle=yes - -Archive Policy:12 versions -Auto Update Mode:None -Update Check Mode:Static -Current Version:0.102.3 -Current Version Code:102350 diff --git a/tests/metadata/org.fdroid.fdroid.yml b/tests/metadata/org.fdroid.fdroid.yml new file mode 100644 index 00000000..9471f9a6 --- /dev/null +++ b/tests/metadata/org.fdroid.fdroid.yml @@ -0,0 +1,951 @@ +Categories: + - System +License: GPL-3.0-or-later +WebSite: https://f-droid.org +SourceCode: https://gitlab.com/fdroid/fdroidclient +IssueTracker: https://gitlab.com/fdroid/fdroidclient/issues +Translation: https://hosted.weblate.org/projects/f-droid/f-droid +Changelog: https://gitlab.com/fdroid/fdroidclient/raw/HEAD/CHANGELOG.md +Donate: https://f-droid.org/about +FlattrID: '343053' +Bitcoin: 15u8aAPK4jJ5N8wpWJ5gutAyyeHtKX5i18 + +AutoName: F-Droid +Summary: Application manager +Description: |- + Connects to F-Droid compatible repositories. The default repo is hosted at + f-droid.org, which contains only bona fide FOSS. + + Android is open in the sense that you are free to install apks from anywhere you + wish, but there are many good reasons for using a client/repository setup: + + * Be notified when updates are available + * Keep track of older and beta versions + * Filter apps that aren't compatible with the device + * Find apps via categories and searchable descriptions + * Access associated urls for donations, source code etc. + * Stay safe by checking repo index signatures and apk hashes + +RepoType: srclib +Repo: fdroidclient + +Builds: + - versionName: '0.17' + versionCode: 8 + commit: c626ce5f6d3e10ae15942f01ff028be310cc695a + init: rm -f build.xml + + - versionName: '0.18' + versionCode: 9 + commit: a6c9ed8d06b19315df9ba9041324f78139f7d238 + init: rm -f build.xml + + - versionName: '0.19' + versionCode: 10 + commit: 540b7d0522f4d67a4896697f7342e4c75b4cbf59 + init: rm -f build.xml + + - versionName: '0.20' + versionCode: 11 + commit: ddacfb856ad66c1c367e20c9cbecbfb15fe00813 + init: rm -f build.xml + + - versionName: '0.21' + versionCode: 12 + commit: 49fa56aa6626a190f2d711120b69e435e9e615b1 + init: rm -f build.xml + + - versionName: '0.22' + versionCode: 13 + commit: a6a33c942495cc4c74a7cb6e968efe0e00815e68 + init: rm -f build.xml + + - versionName: '0.23' + versionCode: 14 + commit: aa58a8aad1a1c3832eafb9f1bdd6db8292d2c172 + init: rm -f build.xml + + - versionName: '0.24' + versionCode: 15 + commit: 9b5fe2976443255b95027abd412f1c1e7f3d27b2 + init: rm -f build.xml + + - versionName: '0.25' + versionCode: 16 + commit: 43977cc493e47a4dc841c4192ae8a40fb14b639b + init: rm -f build.xml + + - versionName: '0.28' + versionCode: 19 + commit: f881aabe5bd0ac94771b03f1318a6e0972ab4128 + target: android-15 + + - versionName: '0.29' + versionCode: 20 + commit: 87b229b95d0909bfd05c65c5670794e743626f6c + target: android-15 + + - versionName: '0.30' + versionCode: 21 + commit: 497cb19840f79b31ae9590f5abd9e4df832b34ee + target: android-15 + + - versionName: '0.31' + versionCode: 22 + commit: f99f8a544c7cb4d4a48ad09da00ad281af05f2ac + target: android-15 + + - versionName: '0.32' + versionCode: 23 + commit: cc3970cc243e345416bfc62781ece6eeefd11495 + target: android-15 + + - versionName: '0.33' + versionCode: 24 + commit: 58eb580159aa4d54767f0af1736cad233fec2475 + target: android-15 + + - versionName: 0.34-test + versionCode: 25 + commit: 335d27b725b0f92e9e8804ae09518cd47bc7b021 + target: android-15 + + - versionName: 0.35-test + versionCode: 26 + commit: a06d18b029392669e98359f86c07e442a04e6a13 + target: android-15 + + - versionName: 0.36-test + versionCode: 27 + commit: 647e230c9e888c04bb0554078c5aa81da63548a0 + target: android-15 + + - versionName: 0.37-test + versionCode: 28 + commit: 3c02e3ccc147a34af42cedf7d85f18dc75c8efa8 + target: android-15 + + - versionName: '0.38' + versionCode: 38 + commit: 99b52c988d203811f434d6ac40675a63d5ae41ab + target: android-15 + + - versionName: 0.39-test + versionCode: 39 + commit: 9a7d0b9f10710105d51d8206a7faa4408c60c20d + target: android-15 + + - versionName: '0.40' + versionCode: 40 + commit: 51a67efdf1ee2819bee99d9263b2980dafaf761d + target: android-15 + + - versionName: '0.42' + versionCode: 42 + commit: 36b815095ef51ca4f21887d973dbc0a50575cd65 + target: android-15 + + - versionName: '0.43' + versionCode: 43 + disable: sdk doesn't like tzm (at f2109e4e0bf1597c625221d8d2d10050f146ba5a) + commit: f2109e4e0bf1597c625221d8d2d10050f146ba5a + target: android-15 + + - versionName: '0.44' + versionCode: 44 + disable: nasty upgrade bug + commit: '0.44' + target: android-15 + + - versionName: '0.45' + versionCode: 45 + commit: '0.45' + target: android-15 + + - versionName: '0.46' + versionCode: 46 + commit: '0.46' + target: android-15 + + - versionName: 0.47-test + versionCode: 47 + commit: 0.47-test + target: android-17 + + - versionName: 0.48-test + versionCode: 48 + commit: 0.48-test + target: android-17 + + - versionName: '0.50' + versionCode: 50 + commit: '0.50' + + - versionName: 0.51-test + versionCode: 51 + commit: 0.51-test + + - versionName: 0.52-test + versionCode: 52 + commit: 0.52-test + submodules: true + prebuild: rm -rf extern/Universal-Image-Loader/downloads + androidupdate: + - . + - extern/Universal-Image-Loader/library + + - versionName: 0.53-test + versionCode: 53 + commit: 0.53-test + submodules: true + scandelete: + - yes + + - versionName: '0.54' + versionCode: 540 + commit: '0.54' + submodules: true + scandelete: + - yes + + - versionName: '0.55' + versionCode: 550 + commit: '0.55' + submodules: true + + - versionName: 0.56-test + versionCode: 560 + commit: 0.56-test + submodules: true + + - versionName: 0.57-test + versionCode: 570 + commit: 0.57-test + submodules: true + + - versionName: '0.58' + versionCode: 580 + commit: '0.58' + submodules: true + + - versionName: 0.59-test + versionCode: 590 + commit: 0.59-test + submodules: true + + - versionName: 0.61-test + versionCode: 610 + commit: 0.61-test + submodules: true + + - versionName: '0.62' + versionCode: 620 + commit: '0.62' + submodules: true + + - versionName: '0.63' + versionCode: 630 + commit: '0.63' + submodules: true + + - versionName: 0.64-test + versionCode: 640 + commit: 0.64-test + submodules: true + + - versionName: '0.65' + versionCode: 650 + commit: '0.65' + submodules: true + + - versionName: '0.66' + versionCode: 660 + commit: '0.66' + submodules: true + + - versionName: 0.67-test + versionCode: 670 + commit: 0.67-test + submodules: true + + - versionName: 0.68-test + versionCode: 680 + commit: 0.68-test + submodules: true + + - versionName: 0.69-test + versionCode: 690 + commit: 0.69-test + submodules: true + + - versionName: 0.70-test + versionCode: 700 + commit: 0.70-test + submodules: true + prebuild: ./ant-prepare.sh + androidupdate: + - . + + - versionName: '0.71' + versionCode: 710 + disable: Broken MTM/AndroidPinning + commit: '0.71' + submodules: true + prebuild: ./ant-prepare.sh + androidupdate: + - . + + - versionName: '0.72' + versionCode: 720 + disable: proguard issues + commit: '0.72' + submodules: true + prebuild: ./ant-prepare.sh + androidupdate: + - . + + - versionName: '0.73' + versionCode: 730 + disable: local repos broken + commit: '0.73' + submodules: true + prebuild: ./ant-prepare.sh + androidupdate: + - . + + - versionName: '0.74' + versionCode: 740 + disable: still some proguard issues + commit: '0.74' + submodules: true + prebuild: ./ant-prepare.sh + androidupdate: + - . + + - versionName: '0.75' + versionCode: 750 + disable: repo update progress crasher + commit: '0.75' + submodules: true + prebuild: ./ant-prepare.sh + androidupdate: + - . + + - versionName: '0.76' + versionCode: 760 + commit: '0.76' + submodules: true + prebuild: ./ant-prepare.sh + androidupdate: + - . + + - versionName: 0.77-test + versionCode: 770 + commit: 0.77-test + subdir: F-Droid + submodules: true + prebuild: ./ant-prepare.sh + androidupdate: + - . + + - versionName: '0.78' + versionCode: 780 + commit: '0.78' + subdir: F-Droid + submodules: true + prebuild: ./ant-prepare.sh + androidupdate: + - . + + - versionName: 0.79-test + versionCode: 790 + commit: 0.79-test + subdir: F-Droid + submodules: true + prebuild: ./ant-prepare.sh + androidupdate: + - . + + - versionName: 0.80-test + versionCode: 800 + commit: 0.80-test + subdir: F-Droid + submodules: true + prebuild: ./ant-prepare.sh + androidupdate: + - . + + - versionName: 0.81-test + versionCode: 810 + commit: 0.81-test + subdir: F-Droid + submodules: true + prebuild: ./ant-prepare.sh + androidupdate: + - . + + - versionName: '0.82' + versionCode: 820 + commit: '0.82' + subdir: F-Droid + submodules: true + prebuild: ./ant-prepare.sh + androidupdate: + - . + + - versionName: '0.83' + versionCode: 830 + commit: '0.83' + subdir: F-Droid + submodules: true + prebuild: ./ant-prepare.sh + androidupdate: + - . + + - versionName: 0.84-test + versionCode: 840 + commit: 0.84-test + subdir: F-Droid + submodules: true + prebuild: ./ant-prepare.sh + androidupdate: + - . + + - versionName: 0.85-test + versionCode: 850 + commit: 0.85-test + subdir: F-Droid + submodules: true + prebuild: ./ant-prepare.sh + androidupdate: + - . + + - versionName: 0.86-test + versionCode: 860 + commit: 0.86-test + subdir: F-Droid + submodules: true + prebuild: ./ant-prepare.sh + androidupdate: + - . + + - versionName: 0.87-test + versionCode: 870 + commit: 0.87-test + subdir: F-Droid + submodules: true + prebuild: ./ant-prepare.sh + androidupdate: + - . + + - versionName: '0.88' + versionCode: 880 + commit: '0.88' + subdir: F-Droid + submodules: true + prebuild: ./ant-prepare.sh + androidupdate: + - . + + - versionName: 0.89-test + versionCode: 890 + commit: 0.89-test + subdir: F-Droid + submodules: true + prebuild: ./ant-prepare.sh + androidupdate: + - . + + - versionName: 0.90-test + versionCode: 900 + commit: 0.90-test + subdir: F-Droid + submodules: true + prebuild: ./ant-prepare.sh + androidupdate: + - . + + - versionName: '0.91' + versionCode: 910 + commit: '0.91' + subdir: F-Droid + submodules: true + prebuild: ./ant-prepare.sh + androidupdate: + - . + + - versionName: '0.92' + versionCode: 920 + commit: '0.92' + subdir: F-Droid + submodules: true + prebuild: ./ant-prepare.sh + androidupdate: + - . + + - versionName: 0.93-test + versionCode: 930 + commit: 0.93-test + subdir: F-Droid + submodules: true + prebuild: ./ant-prepare.sh + androidupdate: + - . + + - versionName: 0.94-test + versionCode: 940 + commit: 0.94-test + subdir: F-Droid + submodules: true + gradle: + - yes + + - versionName: 0.95-alpha1 + versionCode: 95001 + commit: 0.95-alpha1 + subdir: F-Droid + submodules: true + gradle: + - yes + + - versionName: 0.95-alpha2 + versionCode: 95002 + commit: v0.95-alpha2 + subdir: F-Droid + submodules: true + gradle: + - yes + + - versionName: '0.95' + versionCode: 95050 + commit: v0.95 + subdir: F-Droid + submodules: true + gradle: + - yes + + - versionName: 0.95.1 + versionCode: 95150 + commit: v0.95.1 + subdir: F-Droid + submodules: true + gradle: + - yes + + - versionName: 0.96-alpha1 + versionCode: 96001 + commit: v0.96-alpha1 + subdir: F-Droid + gradle: + - yes + + - versionName: 0.96-alpha2 + versionCode: 96002 + commit: v0.96-alpha2 + subdir: F-Droid + gradle: + - yes + + - versionName: 0.96-alpha3 + versionCode: 96003 + commit: v0.96-alpha3 + subdir: F-Droid + gradle: + - yes + + - versionName: 0.96-alpha4 + versionCode: 96004 + commit: v0.96-alpha4 + subdir: F-Droid + gradle: + - yes + + - versionName: 0.96-alpha5 + versionCode: 96005 + commit: v0.96-alpha5 + subdir: F-Droid + gradle: + - yes + + - versionName: 0.96-alpha6 + versionCode: 96006 + commit: v0.96-alpha6 + subdir: F-Droid + gradle: + - yes + + - versionName: '0.96' + versionCode: 96050 + commit: v0.96 + subdir: F-Droid + gradle: + - yes + scanignore: + - extern/AndroidPinning/res/raw/cacerts + + - versionName: 0.96.1 + versionCode: 96150 + commit: v0.96.1 + subdir: F-Droid + gradle: + - yes + scanignore: + - extern/AndroidPinning/res/raw/cacerts + + - versionName: 0.97-alpha1 + versionCode: 97001 + commit: v0.97-alpha1 + subdir: F-Droid + gradle: + - yes + scanignore: + - extern/AndroidPinning/res/raw/cacerts + + - versionName: 0.97-alpha2 + versionCode: 97002 + commit: v0.97-alpha2 + subdir: F-Droid + gradle: + - yes + + - versionName: 0.97-alpha3 + versionCode: 97003 + commit: v0.97-alpha3 + subdir: F-Droid + gradle: + - yes + + - versionName: 0.97-alpha4 + versionCode: 97004 + commit: v0.97-alpha4 + subdir: F-Droid + gradle: + - yes + + - versionName: 0.97-alpha5 + versionCode: 97005 + commit: v0.97-alpha5 + subdir: F-Droid + gradle: + - yes + + - versionName: 0.97-alpha6 + versionCode: 97006 + commit: v0.97-alpha6 + subdir: F-Droid + gradle: + - yes + + - versionName: 0.97-alpha7 + versionCode: 97007 + commit: v0.97-alpha7 + subdir: F-Droid + gradle: + - yes + + - versionName: 0.97-alpha8 + versionCode: 97008 + commit: v0.97-alpha8 + subdir: F-Droid + gradle: + - yes + + - versionName: '0.97' + versionCode: 97050 + commit: v0.97 + subdir: F-Droid + gradle: + - yes + + - versionName: 0.98-alpha1 + versionCode: 98001 + commit: v0.98-alpha1 + subdir: F-Droid + gradle: + - yes + + - versionName: 0.98-alpha2 + versionCode: 98002 + commit: v0.98-alpha2 + subdir: F-Droid + gradle: + - yes + + - versionName: 0.98-alpha3 + versionCode: 98003 + commit: v0.98-alpha3 + subdir: F-Droid + gradle: + - yes + + - versionName: 0.98-alpha4 + versionCode: 98004 + commit: v0.98-alpha4 + subdir: F-Droid + gradle: + - yes + + - versionName: 0.98-alpha5 + versionCode: 98005 + commit: v0.98-alpha5 + subdir: F-Droid + gradle: + - yes + + - versionName: 0.98-alpha6 + versionCode: 98006 + commit: v0.98-alpha6 + subdir: F-Droid + gradle: + - yes + + - versionName: 0.98-alpha7 + versionCode: 98007 + commit: v0.98-alpha7 + subdir: F-Droid + gradle: + - yes + + - versionName: '0.98' + versionCode: 98050 + commit: v0.98 + subdir: F-Droid + gradle: + - yes + + - versionName: 0.98.1 + versionCode: 98150 + commit: v0.98.1 + subdir: F-Droid + gradle: + - yes + + - versionName: 0.99-alpha1 + versionCode: 99001 + commit: v0.99-alpha1 + subdir: F-Droid + gradle: + - yes + + - versionName: 0.99-alpha2 + versionCode: 99002 + commit: v0.99-alpha2 + subdir: F-Droid + gradle: + - yes + + - versionName: '0.99' + versionCode: 99050 + commit: v0.99 + subdir: F-Droid + gradle: + - yes + + - versionName: 0.99.1 + versionCode: 99150 + commit: v0.99.1 + subdir: F-Droid + gradle: + - yes + + - versionName: 0.99.2 + versionCode: 99250 + commit: v0.99.2 + subdir: F-Droid + gradle: + - yes + + - versionName: 0.100-alpha1 + versionCode: 100001 + commit: v0.100-alpha1 + subdir: F-Droid + gradle: + - yes + + - versionName: 0.100-alpha2 + versionCode: 100002 + commit: v0.100-alpha2 + subdir: F-Droid + gradle: + - yes + + - versionName: 0.100-alpha3 + versionCode: 100003 + commit: v0.100-alpha3 + subdir: app + gradle: + - yes + + - versionName: 0.100-alpha4 + versionCode: 100004 + commit: v0.100-alpha4 + subdir: app + gradle: + - yes + + - versionName: 0.100-alpha5 + versionCode: 100005 + commit: v0.100-alpha5 + subdir: app + gradle: + - yes + + - versionName: 0.100-alpha6 + versionCode: 100006 + commit: v0.100-alpha6 + subdir: app + gradle: + - yes + + - versionName: 0.100-alpha7 + versionCode: 100007 + commit: v0.100-alpha7 + subdir: app + gradle: + - yes + + - versionName: 0.100-alpha8 + versionCode: 100008 + commit: v0.100-alpha8 + subdir: app + gradle: + - yes + + - versionName: '0.100' + versionCode: 100050 + commit: v0.100 + subdir: app + gradle: + - yes + + - versionName: 0.100.1 + versionCode: 100150 + commit: v0.100.1 + subdir: app + gradle: + - yes + + - versionName: 0.101-alpha1 + versionCode: 101001 + commit: v0.101-alpha1 + subdir: app + gradle: + - yes + + - versionName: 0.101-alpha2 + versionCode: 101002 + commit: v0.101-alpha2 + subdir: app + gradle: + - yes + + - versionName: 0.101-alpha3 + versionCode: 101003 + commit: v0.101-alpha3 + subdir: app + gradle: + - yes + + - versionName: 0.101-alpha4 + versionCode: 101004 + commit: v0.101-alpha4 + subdir: app + gradle: + - yes + + - versionName: 0.101-alpha5 + versionCode: 101005 + commit: v0.101-alpha5 + subdir: app + gradle: + - yes + + - versionName: 0.101-alpha6 + versionCode: 101006 + commit: v0.101-alpha6 + subdir: app + gradle: + - yes + + - versionName: '0.101' + versionCode: 101050 + commit: v0.101 + subdir: app + gradle: + - yes + + - versionName: 0.102-alpha1 + versionCode: 102001 + commit: v0.102-alpha1 + subdir: app + gradle: + - yes + + - versionName: 0.102-alpha2 + versionCode: 102002 + commit: v0.102-alpha2 + subdir: app + gradle: + - yes + + - versionName: 0.102-alpha3 + versionCode: 102003 + commit: v0.102-alpha3 + subdir: app + gradle: + - yes + + - versionName: '0.102' + versionCode: 102050 + commit: v0.102 + subdir: app + gradle: + - yes + + - versionName: 0.102.1 + versionCode: 102150 + commit: v0.102.1 + subdir: app + gradle: + - yes + + - versionName: 0.102.2 + versionCode: 102250 + commit: v0.102.2 + subdir: app + gradle: + - yes + + - versionName: 0.102.3 + versionCode: 102350 + commit: v0.102.3 + subdir: app + gradle: + - yes + + - versionName: 0.103-alpha1 + versionCode: 103001 + commit: v0.103-alpha1 + subdir: app + gradle: + - yes + + - versionName: 0.103-alpha2 + versionCode: 103002 + commit: v0.103-alpha2 + subdir: app + gradle: + - yes + + - versionName: 0.103-alpha3 + versionCode: 103003 + commit: v0.103-alpha3 + subdir: app + gradle: + - yes + +ArchivePolicy: 12 versions +AutoUpdateMode: None +UpdateCheckMode: Static +CurrentVersion: 0.102.3 +CurrentVersionCode: 102350 diff --git a/tests/metadata/org.smssecure.smssecure.txt b/tests/metadata/org.smssecure.smssecure.txt deleted file mode 100644 index bf41a061..00000000 --- a/tests/metadata/org.smssecure.smssecure.txt +++ /dev/null @@ -1,126 +0,0 @@ -Categories:Phone & SMS -License:GPL-3.0-only -Web Site:http://www.smssecure.org -Source Code:https://github.com/SMSSecure/SMSSecure -Issue Tracker:https://github.com/SMSSecure/SMSSecure/issues -Translation:https://www.transifex.com/silence/silence - -Auto Name:SMSSecure -Summary:Send encrypted text messages (SMS) -Description: -SMSSecure is an SMS/MMS application that allows you to protect your privacy while communicating with friends. -Using SMSSecure, you can send SMS messages and share media or attachments with complete privacy. - -* Easy. SMSSecure works like any other SMS application. There's nothing to sign up for and no new service your friends need to join. -* Reliable. SMSSecure communicates using encrypted SMS messages. No servers or internet connection required. -* Private. SMSSecure uses the TextSecure encryption protocol to provide privacy for every message, every time. -* Safe. All messages are encrypted locally, so if your phone is lost or stolen, your messages are protected. -* Open Source. SMSSecure is Free and Open Source, enabling anyone to verify its security by auditing the code. -. - -Repo Type:git -Repo:https://github.com/SMSSecure/SMSSecure - -Build:0.3.3,5 - disable=builds, merge changes into upstream - commit=66367479a4f57f347b5cbe8f6f8f632adaae7727 - gradle=yes - srclibs=GradleWitness@10f1269c0aafdc1d478efc005ed48f3a47d44278,PreferenceFragment@717a45433b927d2f0dfc5328f79e77c9682c37bc,ShortcutBadger@3815ce2ec0c66acd7d7c0b4f2479df8fa70fed87,AospMms@android-5.1.0_r3 - forcevercode=yes - rm=libs/* - prebuild=touch signing.properties && \ - pushd $$GradleWitness$$ && \ - gradle jar && \ - popd && \ - cp $$GradleWitness$$/build/libs/GradleWitness.jar libs/gradle-witness.jar && \ - sed -i -e '20,22d' build.gradle && \ - pushd $$PreferenceFragment$$ && \ - gradle uploadArchives && \ - popd && \ - sed -i -e '/5470f5872514a6226fa1fc6f4e000991f38805691c534cf0bd2778911fc773ad/d' build.gradle && \ - mkdir smil && \ - pushd smil && \ - wget -c http://www.w3.org/TR/smil-boston-dom/java-binding.zip && \ - unzip java-binding.zip && \ - popd && \ - cp -fR smil/java/org src/ && \ - rm -fR smil && \ - sed -i -e '/org.w3c.smil/d' build.gradle && \ - cp -fR $$AospMms$$/src/org src/ - -Build:0.3.3,6 - disable=builds, wait for upstream - commit=9675ce5eecb929dcaddb43b3d9486fdb88b9ae1a - submodules=yes - gradle=yes - srclibs=GradleWitness@10f1269c0aafdc1d478efc005ed48f3a47d44278 - rm=libs/*.jar - prebuild=touch signing.properties && \ - pushd $$GradleWitness$$ && \ - gradle jar && \ - popd && \ - cp $$GradleWitness$$/build/libs/GradleWitness.jar libs/gradle-witness.jar - -Build:0.4.2,9 - disable=builds locally, but not on BS - commit=v0.4.2 - submodules=yes - gradle=yes - rm=libs/*.jar - prebuild=touch signing.properties && \ - ./build-witness.sh && \ - rm -rf libs/gradle-witness/build && \ - echo "org.gradle.jvmargs=-Xms512m -Xmx512m -XX:MaxPermSize=512m" >> gradle.properties - -Build:0.5.1,11 - commit=v0.5.1 - submodules=yes - gradle=yes - rm=libs/*.jar - prebuild=touch signing.properties && \ - ./build-witness.sh && \ - rm -rf libs/gradle-witness/build && \ - echo "org.gradle.jvmargs=-Xms512m -Xmx512m -XX:MaxPermSize=512m" >> gradle.properties - -Build:0.5.2,12 - disable=broken in upstream - commit=v0.5.2 - submodules=yes - gradle=yes - rm=libs/*.jar - prebuild=touch signing.properties && \ - ./scripts/build-witness.sh && \ - rm -rf libs/gradle-witness/build - -Build:0.5.3,100 - commit=v0.5.3 - submodules=yes - gradle=yes - rm=libs/*.jar - prebuild=touch signing.properties && \ - ./scripts/build-witness.sh && \ - rm -rf libs/gradle-witness/build - -Build:0.5.4,101 - commit=v0.5.4 - submodules=yes - gradle=yes - rm=libs/*.jar - prebuild=touch signing.properties && \ - ./scripts/build-witness.sh && \ - rm -rf libs/gradle-witness/build - -Build:0.6.0,102 - commit=v0.6.0 - submodules=yes - gradle=yes - rm=libs/*.jar - prebuild=touch signing.properties && \ - ./scripts/build-witness.sh && \ - rm -rf libs/gradle-witness/build - -Auto Update Mode:Version v%v -Update Check Mode:Tags -Current Version:0.6.0 -Current Version Code:102 - diff --git a/tests/metadata/org.smssecure.smssecure.yml b/tests/metadata/org.smssecure.smssecure.yml new file mode 100644 index 00000000..992deefe --- /dev/null +++ b/tests/metadata/org.smssecure.smssecure.yml @@ -0,0 +1,164 @@ +Categories: + - Phone & SMS +License: GPL-3.0-only +WebSite: http://www.smssecure.org +SourceCode: https://github.com/SMSSecure/SMSSecure +IssueTracker: https://github.com/SMSSecure/SMSSecure/issues +Translation: https://www.transifex.com/silence/silence + +AutoName: SMSSecure +Summary: Send encrypted text messages (SMS) +Description: |- + SMSSecure is an SMS/MMS application that allows you to protect your privacy while communicating with friends. + Using SMSSecure, you can send SMS messages and share media or attachments with complete privacy. + + * Easy. SMSSecure works like any other SMS application. There's nothing to sign up for and no new service your friends need to join. + * Reliable. SMSSecure communicates using encrypted SMS messages. No servers or internet connection required. + * Private. SMSSecure uses the TextSecure encryption protocol to provide privacy for every message, every time. + * Safe. All messages are encrypted locally, so if your phone is lost or stolen, your messages are protected. + * Open Source. SMSSecure is Free and Open Source, enabling anyone to verify its security by auditing the code. + +RepoType: git +Repo: https://github.com/SMSSecure/SMSSecure + +Builds: + - versionName: 0.3.3 + versionCode: 5 + disable: builds, merge changes into upstream + commit: 66367479a4f57f347b5cbe8f6f8f632adaae7727 + gradle: + - yes + srclibs: + - GradleWitness@10f1269c0aafdc1d478efc005ed48f3a47d44278 + - PreferenceFragment@717a45433b927d2f0dfc5328f79e77c9682c37bc + - ShortcutBadger@3815ce2ec0c66acd7d7c0b4f2479df8fa70fed87 + - AospMms@android-5.1.0_r3 + forcevercode: true + rm: + - libs/* + prebuild: + - touch signing.properties + - pushd $$GradleWitness$$ + - gradle jar + - popd + - cp $$GradleWitness$$/build/libs/GradleWitness.jar libs/gradle-witness.jar + - sed -i -e '20,22d' build.gradle + - pushd $$PreferenceFragment$$ + - gradle uploadArchives + - popd + - sed -i -e '/5470f5872514a6226fa1fc6f4e000991f38805691c534cf0bd2778911fc773ad/d' + build.gradle + - mkdir smil + - pushd smil + - wget -c http://www.w3.org/TR/smil-boston-dom/java-binding.zip + - unzip java-binding.zip + - popd + - cp -fR smil/java/org src/ + - rm -fR smil + - sed -i -e '/org.w3c.smil/d' build.gradle + - cp -fR $$AospMms$$/src/org src/ + + - versionName: 0.3.3 + versionCode: 6 + disable: builds, wait for upstream + commit: 9675ce5eecb929dcaddb43b3d9486fdb88b9ae1a + submodules: true + gradle: + - yes + srclibs: + - GradleWitness@10f1269c0aafdc1d478efc005ed48f3a47d44278 + rm: + - libs/*.jar + prebuild: + - touch signing.properties + - pushd $$GradleWitness$$ + - gradle jar + - popd + - cp $$GradleWitness$$/build/libs/GradleWitness.jar libs/gradle-witness.jar + + - versionName: 0.4.2 + versionCode: 9 + disable: builds locally, but not on BS + commit: v0.4.2 + submodules: true + gradle: + - yes + rm: + - libs/*.jar + prebuild: + - touch signing.properties + - ./build-witness.sh + - rm -rf libs/gradle-witness/build + - echo "org.gradle.jvmargs=-Xms512m -Xmx512m -XX:MaxPermSize=512m" >> gradle.properties + + - versionName: 0.5.1 + versionCode: 11 + commit: v0.5.1 + submodules: true + gradle: + - yes + rm: + - libs/*.jar + prebuild: + - touch signing.properties + - ./build-witness.sh + - rm -rf libs/gradle-witness/build + - echo "org.gradle.jvmargs=-Xms512m -Xmx512m -XX:MaxPermSize=512m" >> gradle.properties + + - versionName: 0.5.2 + versionCode: 12 + disable: broken in upstream + commit: v0.5.2 + submodules: true + gradle: + - yes + rm: + - libs/*.jar + prebuild: + - touch signing.properties + - ./scripts/build-witness.sh + - rm -rf libs/gradle-witness/build + + - versionName: 0.5.3 + versionCode: 100 + commit: v0.5.3 + submodules: true + gradle: + - yes + rm: + - libs/*.jar + prebuild: + - touch signing.properties + - ./scripts/build-witness.sh + - rm -rf libs/gradle-witness/build + + - versionName: 0.5.4 + versionCode: 101 + commit: v0.5.4 + submodules: true + gradle: + - yes + rm: + - libs/*.jar + prebuild: + - touch signing.properties + - ./scripts/build-witness.sh + - rm -rf libs/gradle-witness/build + + - versionName: 0.6.0 + versionCode: 102 + commit: v0.6.0 + submodules: true + gradle: + - yes + rm: + - libs/*.jar + prebuild: + - touch signing.properties + - ./scripts/build-witness.sh + - rm -rf libs/gradle-witness/build + +AutoUpdateMode: Version v%v +UpdateCheckMode: Tags +CurrentVersion: 0.6.0 +CurrentVersionCode: 102 diff --git a/tests/metadata/raw.template.txt b/tests/metadata/raw.template.txt deleted file mode 100644 index ec2fe286..00000000 --- a/tests/metadata/raw.template.txt +++ /dev/null @@ -1,9 +0,0 @@ -License:Unknown -Web Site: -Source Code: -Issue Tracker: -Changelog: -Summary:Template -Description: -Template -. diff --git a/tests/metadata/raw.template.yml b/tests/metadata/raw.template.yml new file mode 100644 index 00000000..bd0ae1a5 --- /dev/null +++ b/tests/metadata/raw.template.yml @@ -0,0 +1,7 @@ +License: Unknown + +Summary: Template +Description: Template + +AutoUpdateMode: None +UpdateCheckMode: None diff --git a/tests/metadata/souch.smsbypass.txt b/tests/metadata/souch.smsbypass.txt deleted file mode 100644 index d73822f0..00000000 --- a/tests/metadata/souch.smsbypass.txt +++ /dev/null @@ -1,52 +0,0 @@ -Categories:Phone & SMS -License:GPL-3.0-only -Web Site:https://gitlab.com/souch/SMSbypass -Source Code:https://gitlab.com/souch/SMSbypass/tree/HEAD -Issue Tracker:https://gitlab.com/souch/SMSbypass/issues -Donate:http://rodolphe.souchaud.free.fr/donate -FlattrID:cad90e036b975ed129a3ce80a0750466 - -Auto Name:Battery level -Summary:Filter SMS and show them in a fake app -Description: -In order to keep away curious eyes, SMS-bypass filters incoming SMS messages -before they reach your inbox. Based on bughunter2.smsfilter. - -Features: - -* Discrete fake app "Battery level": Long tap on Battery percentage will show SMS. -* Filter incoming SMS specified address: redirect the SMS to SMS-bypass messages list; remove SMS arrival sound or vibration; show a discreet notification icon (battery level); vibrate if checked in settings -* Add contact from contact list -* Export messages to a text file -. - -Repo Type:git -Repo:https://gitlab.com/souch/SMSbypass.git - -Build:0.8,5 - commit=v0.8 - subdir=app - gradle=yes - prebuild=sed -i -e '/minSdkVersion/amaxSdkVersion 19\n' build.gradle - -Build:0.8b,6 - disable=don't build, just use as template for AUM, correct VC is 8 - commit=2bd6164ff6391906af2af2b484de69a4ff926a01 - subdir=app - gradle=yes - -Build:0.8.1,8 - disable=mistagged - commit=v0.8.1 - subdir=app - gradle=yes - -Build:0.9,9 - commit=v0.9 - subdir=app - gradle=yes - -Auto Update Mode:Version v%v -Update Check Mode:Tags -Current Version:0.9 -Current Version Code:9 diff --git a/tests/metadata/souch.smsbypass.yml b/tests/metadata/souch.smsbypass.yml new file mode 100644 index 00000000..5733673a --- /dev/null +++ b/tests/metadata/souch.smsbypass.yml @@ -0,0 +1,61 @@ +Categories: + - Phone & SMS +License: GPL-3.0-only +WebSite: https://gitlab.com/souch/SMSbypass +SourceCode: https://gitlab.com/souch/SMSbypass/tree/HEAD +IssueTracker: https://gitlab.com/souch/SMSbypass/issues +Donate: http://rodolphe.souchaud.free.fr/donate +FlattrID: cad90e036b975ed129a3ce80a0750466 + +AutoName: Battery level +Summary: Filter SMS and show them in a fake app +Description: |- + In order to keep away curious eyes, SMS-bypass filters incoming SMS messages + before they reach your inbox. Based on bughunter2.smsfilter. + + Features: + + * Discrete fake app "Battery level": Long tap on Battery percentage will show SMS. + * Filter incoming SMS specified address: redirect the SMS to SMS-bypass messages list; remove SMS arrival sound or vibration; show a discreet notification icon (battery level); vibrate if checked in settings + * Add contact from contact list + * Export messages to a text file + +RepoType: git +Repo: https://gitlab.com/souch/SMSbypass.git + +Builds: + - versionName: '0.8' + versionCode: 5 + commit: v0.8 + subdir: app + gradle: + - yes + prebuild: sed -i -e '/minSdkVersion/amaxSdkVersion 19\n' build.gradle + + - versionName: 0.8b + versionCode: 6 + disable: don't build, just use as template for AUM, correct VC is 8 + commit: 2bd6164ff6391906af2af2b484de69a4ff926a01 + subdir: app + gradle: + - yes + + - versionName: 0.8.1 + versionCode: 8 + disable: mistagged + commit: v0.8.1 + subdir: app + gradle: + - yes + + - versionName: '0.9' + versionCode: 9 + commit: v0.9 + subdir: app + gradle: + - yes + +AutoUpdateMode: Version v%v +UpdateCheckMode: Tags +CurrentVersion: '0.9' +CurrentVersionCode: 9 diff --git a/tests/publish.TestCase b/tests/publish.TestCase index ac00d6d9..88cdc48a 100755 --- a/tests/publish.TestCase +++ b/tests/publish.TestCase @@ -149,9 +149,9 @@ class PublishTest(unittest.TestCase): os.mkdir(os.path.join(testdir, 'repo')) metadata_dir = os.path.join(testdir, 'metadata') os.mkdir(metadata_dir) - shutil.copy(os.path.join('metadata', 'com.politedroid.txt'), metadata_dir) - with open(os.path.join(metadata_dir, 'com.politedroid.txt'), 'a') as fp: - fp.write('\nBinaries:https://placeholder/foo%v.apk\n') + shutil.copy(os.path.join('metadata', 'com.politedroid.yml'), metadata_dir) + with open(os.path.join(metadata_dir, 'com.politedroid.yml'), 'a') as fp: + fp.write('\nBinaries: https://placeholder/foo%v.apk\n') os.mkdir(os.path.join(testdir, 'unsigned')) shutil.copy('repo/com.politedroid_6.apk', os.path.join(testdir, 'unsigned')) os.mkdir(os.path.join(testdir, 'unsigned', 'binaries')) diff --git a/tests/run-tests b/tests/run-tests index d769686e..b6a43c0d 100755 --- a/tests/run-tests +++ b/tests/run-tests @@ -327,7 +327,7 @@ if ! which apksigner; then fdroid_init_with_prebuilt_keystore echo "accepted_formats = ['txt']" >> config.py test -d metadata || mkdir metadata - cp $WORKSPACE/tests/metadata/com.politedroid.txt metadata/ + cp $WORKSPACE/tests/metadata/com.politedroid.yml metadata/ test -d repo || mkdir repo cp $WORKSPACE/tests/repo/com.politedroid_[0-9].apk repo/ $sed -i.tmp 's,archive_older = [0-9],archive_older = 3,' config.py @@ -413,7 +413,7 @@ cd $REPOROOT fdroid_init_with_prebuilt_keystore echo "accepted_formats = ['txt']" >> config.py test -d metadata || mkdir metadata -cp $WORKSPACE/tests/metadata/com.politedroid.txt metadata/ +cp $WORKSPACE/tests/metadata/com.politedroid.yml metadata/ $sed -i.tmp '/Archive Policy:/d' metadata/com.politedroid.txt test -d repo || mkdir repo cp $WORKSPACE/tests/repo/com.politedroid_[0-9].apk repo/ @@ -496,7 +496,7 @@ echo "accepted_formats = ['txt']" >> config.py echo 'allow_disabled_algorithms = True' >> config.py $sed -i.tmp 's,archive_older = [0-9],archive_older = 3,' config.py test -d metadata || mkdir metadata -cp $WORKSPACE/tests/metadata/com.politedroid.txt metadata/ +cp $WORKSPACE/tests/metadata/com.politedroid.yml metadata/ echo 'Summary:good test version of urzip' > metadata/info.guardianproject.urzip.txt echo 'Summary:good MD5 sig, disabled algorithm' > metadata/org.bitbucket.tickytacky.mirrormirror.txt $sed -i.tmp '/Archive Policy:/d' metadata/*.txt @@ -632,7 +632,7 @@ fi set -e mkdir $REPOROOT/metadata/ -cp $WORKSPACE/tests/metadata/org.smssecure.smssecure.txt $REPOROOT/metadata/ +cp $WORKSPACE/tests/metadata/org.smssecure.smssecure.yml $REPOROOT/metadata/ $fdroid readmeta # now make a fake duplicate @@ -872,7 +872,7 @@ REPOROOT=`create_test_dir` cd $REPOROOT fdroid_init_with_prebuilt_keystore mkdir $REPOROOT/metadata -cp -a $WORKSPACE/tests/metadata/obb.mainpatch.current.txt $REPOROOT/metadata +cp -a $WORKSPACE/tests/metadata/obb.mainpatch.current.yml $REPOROOT/metadata echo "accepted_formats = ['txt']" >> config.py cp $WORKSPACE/tests/repo/obb.mainpatch.current_1619.apk $REPOROOT/repo/ cp $WORKSPACE/tests/repo/obb.mainpatch.current_1619_another-release-key.apk $REPOROOT/repo/ @@ -1218,7 +1218,7 @@ fdroid_init_with_prebuilt_keystore echo "accepted_formats = ['txt']" >> config.py echo 'keydname = "CN=Birdman, OU=Cell, O=Alcatraz, L=Alcatraz, S=California, C=US"' >> config.py test -d metadata || mkdir metadata -cp $WORKSPACE/tests/metadata/com.politedroid.txt metadata/ +cp $WORKSPACE/tests/metadata/com.politedroid.yml metadata/ test -d repo || mkdir repo test -d unsigned || mkdir unsigned cp $WORKSPACE/tests/repo/com.politedroid_6.apk unsigned/ diff --git a/tests/valid-package-names/RandomPackageNames.java b/tests/valid-package-names/RandomPackageNames.java index 82d77bbe..80257fd8 100644 --- a/tests/valid-package-names/RandomPackageNames.java +++ b/tests/valid-package-names/RandomPackageNames.java @@ -115,7 +115,7 @@ public class RandomPackageNames { for (File f : new File("/home/hans/code/fdroid/fdroiddata/metadata").listFiles()) { String name = f.getName(); - if (name.endsWith(".yml") || name.endsWith(".txt")) { + if (name.endsWith(".yml")) { compare(name.substring(0, name.length() - 4)); } }