From e5af5c2bfee540dc346b03b206d6d1da3a181235 Mon Sep 17 00:00:00 2001 From: Ralph Lange Date: Thu, 2 Apr 2020 14:40:34 +0200 Subject: [PATCH] appveyor: print dependency table and RELEASE.local --- appveyor/do.py | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/appveyor/do.py b/appveyor/do.py index 5d27b23..8bb1164 100644 --- a/appveyor/do.py +++ b/appveyor/do.py @@ -476,6 +476,17 @@ def prepare(args): print('{0}Building dependency {1} in {2}{3}'.format(ANSI_YELLOW, mod, place, ANSI_RESET)) call_make(cwd=place) #TBD: default should be silent + print('{0}Dependency module information{1}'.format(ANSI_CYAN, ANSI_RESET)) + print('Module Tag Binaries Commit') + print(100 * '-') + for mod in modlist(): + commit = sp.check_output(['git', 'log', '-n1', '--oneline'], cwd=places[setup[mod+"_VARNAME"]]).strip() + print("%-10s %-12s %-11s %s" % (mod, setup[mod], 'rebuilt', commit)) + + print('{0}Contents of RELEASE.local{1}'.format(ANSI_CYAN, ANSI_RESET)) + with open(os.path.join(cachedir, 'RELEASE.local'), 'r') as f: + print(f.read().strip()) + def build(args): setup_for_build() print('{0}Building the main module{1}'.format(ANSI_YELLOW, ANSI_RESET))