SOURCE_DATE_EPOCH from app's git otherwise fdroiddata metadata file

https://reproducible-builds.org/docs/source-date-epoch
This commit is contained in:
Hans-Christoph Steiner 2025-03-31 11:44:00 +02:00
parent 0b6e304922
commit 20b36f1970
5 changed files with 84 additions and 5 deletions

View file

@ -350,6 +350,8 @@ class ScannerTest(unittest.TestCase):
with mock.patch(
'fdroidserver.common.get_apk_id',
return_value=(app.id, build.versionCode, build.versionName),
), mock.patch(
'fdroidserver.common.get_source_date_epoch', lambda f: '1234567890'
):
with mock.patch(
'fdroidserver.common.is_debuggable_or_testOnly',