aboutsummaryrefslogtreecommitdiff
path: root/toolchain/generate-fastlane-metadata.py
AgeCommit message (Collapse)Author
2021-02-01Remove fastlane metadata generation from a given APKVolker Krause
This is no longer needed now that the metadata happens as part of the build process rather than afterwards on the signing system. This allows us to simplify the code here a bit.
2021-01-30Support the new Appstream file extension as wellVolker Krause
2021-01-20Consider Appstream donation URLs for creating F-Droid metadataVolker Krause
Those occur for example in Marble.
2020-12-28Consider local fastlane image assetsVolker Krause
This adds support for image assets not represented in the appstream data, such as the banner image for the F-Droid app, and it allows to override appstream screenshots by local ones. The latter is e.g. used by KTrip which provides Android-specific screenshots that way.
2020-12-24Preserve the rich-text subset supported by F-DroidVolker Krause
This should improve the alignment issues currently seen in bullet point lists that we use frequently in the description text.
2020-12-13Fix errors in python code, found by pylama in a strict CIDavid Faure
2020-12-10Check if file exists before removing the fastlane archiveVolker Krause
Locally unlink() seems to work just fine on non-existent files, but on binary factory that seems to be different for some reason.
2020-12-10Clean image folder and archive file before downloading/generating thoseVolker Krause
This matters when reusing output folders (as binary factory does for example), as we then retain outdated screenshots and just keep adding files to an already existing fastlane archive.
2020-12-08Retain screenshot order from the appstream fileVolker Krause
Also, check for the HTTP status code, so we don't end up with 404 error messages in image files here.
2020-12-05Don't fail if we haven't found any categoriesVolker Krause
This should fix the Okular build failure on binary factory.
2020-12-04Fix category extraction from desktop filesVolker Krause
This broke the builds for apps not having categories in their appstream files.
2020-12-01Add fastlane metadata generation for Android buildsVolker Krause
This is currently done on the signing machines as part of the F-Droid nightly pipeline, but should rather happen as part of the build process in the future. Compared to the binary factory script this has a few extensions already: - Besides recovering information from APKs we can now consume appdata files directly, or scan the entire source dir. - Screenshots from appdata files are downloaded. - The 'x-test' language is ignored. - Donation and translation information are added. - Add links to the source code repository, if we can determine that. The result is put into a single archive per APK, so we can easily transfer that to the signing machine via Jenkins alongside the APK.