mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-11-05 15:00:30 +03:00
include version, commit, and android tools versions in local log
This includes more info to help track down problems with reproducible builds, like the specific version being built, and which exact versions of the Android SDK and NDK were used.
This commit is contained in:
parent
ad2b9b99c2
commit
3fb4cba178
1 changed files with 6 additions and 0 deletions
|
|
@ -1186,6 +1186,12 @@ def main():
|
|||
wikilog = str(vcse)
|
||||
except FDroidException as e:
|
||||
with open(os.path.join(log_dir, appid + '.log'), 'a+') as f:
|
||||
f.write('\n\n============================================================\n')
|
||||
f.write('versionCode: %s\nversionName: %s\ncommit: %s\n' %
|
||||
(build.vercode, build.version, build.commit))
|
||||
f.write('Build completed at '
|
||||
+ time.strftime("%Y-%m-%d %H:%M:%SZ", time.gmtime()) + '\n')
|
||||
f.write('\n' + tools_version_log + '\n')
|
||||
f.write(str(e))
|
||||
logging.error("Could not build app %s: %s" % (appid, e))
|
||||
if options.stop:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue