diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 636de406..f9878be9 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -41,7 +41,7 @@ metadata_v0:
image: registry.gitlab.com/fdroid/fdroidserver:buildserver
variables:
GIT_DEPTH: 1000
- RELEASE_COMMIT_ID: b0c05842d8c081cf5503b31e8ecc797dc95ed900 # 2.3a0
+ RELEASE_COMMIT_ID: a1c4f803de8d4dc92ebd6b571a493183d14a00bf # after ArchivePolicy: 0
script:
- git fetch https://gitlab.com/fdroid/fdroidserver.git $RELEASE_COMMIT_ID
- cd tests
diff --git a/tests/metadata/com.politedroid.yml b/tests/metadata/com.politedroid.yml
index a1ddc8bf..669520a6 100644
--- a/tests/metadata/com.politedroid.yml
+++ b/tests/metadata/com.politedroid.yml
@@ -39,6 +39,10 @@ Builds:
sudo: echo 'this is just a test'
gradle:
- yes
+ antifeatures:
+ - KnownVuln
+ - UpstreamNonFree
+ - NonFreeAssets
ArchivePolicy: 4 versions
AutoUpdateMode: Version v%v
diff --git a/tests/metadata/dump/com.politedroid.yaml b/tests/metadata/dump/com.politedroid.yaml
index 7a970436..17e6a8f3 100644
--- a/tests/metadata/dump/com.politedroid.yaml
+++ b/tests/metadata/dump/com.politedroid.yaml
@@ -122,7 +122,10 @@ Builds:
versionName: '1.4'
- androidupdate: []
antcommands: []
- antifeatures: {}
+ antifeatures:
+ KnownVuln: {}
+ NonFreeAssets: {}
+ UpstreamNonFree: {}
binary: null
build: ''
buildjni: []
diff --git a/tests/repo/entry.json b/tests/repo/entry.json
index 13514cc5..2f98dbab 100644
--- a/tests/repo/entry.json
+++ b/tests/repo/entry.json
@@ -3,7 +3,7 @@
"version": 20002,
"index": {
"name": "/index-v2.json",
- "sha256": "f4979b9db840cb51a99e80c20da676ba42b13133dbaa4819673bc43ed2ffc3f3",
+ "sha256": "ba000a3f5e1935d338f374c50cae529b8ce6d988ab3ed67c7a8cf437502f81ad",
"size": 52481,
"numPackages": 10
},
diff --git a/tests/repo/index-v1.json b/tests/repo/index-v1.json
index bf2f53ae..4b845994 100644
--- a/tests/repo/index-v1.json
+++ b/tests/repo/index-v1.json
@@ -231,6 +231,11 @@
"com.politedroid": [
{
"added": 1498176000000,
+ "antiFeatures": [
+ "KnownVuln",
+ "NonFreeAssets",
+ "UpstreamNonFree"
+ ],
"apkName": "com.politedroid_6.apk",
"hash": "70c2f776a2bac38a58a7d521f96ee0414c6f0fb1de973c3ca8b10862a009247d",
"hashType": "sha256",
@@ -689,4 +694,4 @@
}
]
}
-}
+}
\ No newline at end of file
diff --git a/tests/repo/index-v2.json b/tests/repo/index-v2.json
index fed40fb9..5a8deb1e 100644
--- a/tests/repo/index-v2.json
+++ b/tests/repo/index-v2.json
@@ -568,10 +568,13 @@
]
},
"antiFeatures": {
+ "KnownVuln": {},
"NoSourceSince": {
"en-US": "1.5"
},
- "NonFreeNet": {}
+ "NonFreeAssets": {},
+ "NonFreeNet": {},
+ "UpstreamNonFree": {}
}
},
"5bdbfa071cca4b8d05ced41d6b28763595d6e8096cca5bbf0f9253c9a2622e5d": {
@@ -1403,4 +1406,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/tests/repo/index.xml b/tests/repo/index.xml
index dfdb76b6..6935f675 100644
--- a/tests/repo/index.xml
+++ b/tests/repo/index.xml
@@ -318,7 +318,7 @@ APK is called F-Droid Privileged Extension.
https://github.com/miguelvps/PoliteDroid/issues
1.5
6
- NoSourceSince,NonFreeNet
+ KnownVuln,NoSourceSince,NonFreeAssets,NonFreeNet,UpstreamNonFree
1.5
6