1
0
mirror of https://gitlab.com/fdroid/fdroidserver.git synced 2024-11-16 11:50:10 +01:00
fdroidserver/tests/metadata
Hans-Christoph Steiner bf25b4ca03 eliminate app.builds everywhere, it should be app['Builds']
The .txt format was the last place where the lowercase "builds" was used,
this converts references everywhere to be "Builds".  This makes it possible
to load metadata YAML files with any YAML parser, then have it possible to
use fdroidserver methods on that data, like metadata.write_metadata().

The test files in tests/metadata/dump/*.yaml were manually edited by cutting
the builds: block and putting it the sort order for Builds: so the contents
should be unchanged.

```
sed -i \
 -e 's/app\.builds/app.get('Builds', \[\])/g' \
 -e "s/app\.get(Builds, \[\]) =/app\['Builds'] =/g" \
 -e "s/app\.get(Builds, \[\]) =/app\['Builds'] =/g" \
 -e "s/app\.get(Builds, \[\])/app.get('Builds', \[\])/g" \
 -e "s/app\.get('Builds', \[\])\.append/app\['Builds'\].append/g" \
 -e "s/app\['builds'\]/app.get('Builds', [])/g" \
 */*.*
```
2020-12-15 08:55:05 +01:00
..
apk purge update.scan_apk_aapt() 2020-10-22 09:53:51 +02:00
dump eliminate app.builds everywhere, it should be app['Builds'] 2020-12-15 08:55:05 +01:00
info.guardianproject.checkey/en-US update: always include name/summary/desc in index.xml if available 2017-07-19 15:07:50 +02:00
info.guardianproject.urzip/en-US update: fix fastlane scraping, it uses a subdir called 'images' 2017-05-18 16:13:17 +02:00
org.smssecure.smssecure/signatures added some developer-signing key metadata to tests 2017-09-26 14:11:09 +02:00
app.with.special.build.params.yml move all test metadata files to .yml format 2020-06-10 09:56:31 +02:00
com.politedroid.yml move all test metadata files to .yml format 2020-06-10 09:56:31 +02:00
duplicate.permisssions.yml aapt 26.0.0 is required to properly parse permissions and label 2017-12-28 23:07:26 +01:00
fake.ota.update.yml move all test metadata files to .yml format 2020-06-10 09:56:31 +02:00
info.guardianproject.checkey.yml add Liberapay: field with username as data 2020-06-16 15:35:28 +02:00
info.guardianproject.urzip.yml add opencollective metadata and index field 2020-03-10 14:56:03 +00:00
info.zwanenburg.caffeinetile.yml tests: include info.zwanenburg.caffeinetile in index tests 2018-10-10 16:02:34 +02:00
no.min.target.sdk.yml update: do not set targetSdkVersion if the APK is missing it 2018-10-10 15:29:02 +02:00
obb.main.oldversion.yml add Liberapay: field with username as data 2020-06-16 15:35:28 +02:00
obb.main.twoversions.yml move all test metadata files to .yml format 2020-06-10 09:56:31 +02:00
obb.mainpatch.current.yml move all test metadata files to .yml format 2020-06-10 09:56:31 +02:00
org.adaway.yml add Liberapay: field with username as data 2020-06-16 15:35:28 +02:00
org.fdroid.ci.test.app.yml move all test metadata files to .yml format 2020-06-10 09:56:31 +02:00
org.fdroid.fdroid.yml move all test metadata files to .yml format 2020-06-10 09:56:31 +02:00
org.smssecure.smssecure.yml move all test metadata files to .yml format 2020-06-10 09:56:31 +02:00
org.videolan.vlc.yml fix test metadata case for Builds app field 2018-08-14 12:31:12 +02:00
raw.template.yml move all test metadata files to .yml format 2020-06-10 09:56:31 +02:00
souch.smsbypass.yml move all test metadata files to .yml format 2020-06-10 09:56:31 +02:00